Red nodes indicate search tree S, blue nodes represent search tree T and yellow line is for the
path from the source s to sink t. Free nodes are represented as black circle while active node is by z
A and passive node is by P in Figure 5. The combination of minimum s-t cut and maximum flow
optimizations is accomplished with three steps-growth, augmentation and adoption in the
segmentation procedure.