Research Article

Selective Segmentation for Global Optimization of Depth Estimation in Complex Scenes

Algorithm 2

Energy minimization process by graph cut.
Input: Labeling f, label sets L
Initialize finish finish = 1
Repeat
 For (α L)
Using one α-expansion of , find among
If <
   f f =
   finish finish = 0
end If
 end For
Until finish = 1
Return f