Research Article

Local Stereo Matching Using Adaptive Local Segmentation

Algorithm 2

The final binary map calculation.
for   𝑖 = 1 to π‘Š   do
 for   𝑗 = 1 to π‘Š   do
  if   𝐁 𝑙 𝑖 , 𝑗 ∧ 𝐁 π‘Ÿ 𝑖 , 𝑗   then
   set   𝐁 𝑖 , 𝑗   to 1
  end if
 end for
end for