Research Article

A Line-Based Adaptive-Weight Matching Algorithm Using Loopy Belief Propagation

Algorithm 2

The disparity map after execution of left-right consistency checking.
()   Establishing the table of pixel type according to (7)-(8)
()   
()    For each iteration
()     For each undependable pixel which is determined by
()      Searching the nearest dependable pixel and
()        //where represents initial disparity of pixel
()      If
()        Set as dependable pixel in
()      End
()    End
()   End
()  End