-
PROBLEM
- π(π₯,π¦) : input image (shape π π₯ π)
- π(π₯,π¦) : 1s at seed point and 0s elsewhere (shape π π₯ π)
- π : predicate to apply at each location (π₯,π¦)
-
SOLUTION
- Find all connected components in π(π₯,π¦) and reduce each connected component to one pixel; label all such pixels found as 1. All other pixels in π are labeled 0
- Form an image ππ such that at each point (π₯,π¦), ππ(π₯,π¦)=1 if the input image satisfies a given predicate,π, at those coordinates, and ππ(π₯,π¦)=0 otherwise.
- Let π be an image formed by appending to each seed point in π all the 1-valued points in ππ that are 8-connected to that seed point.
- Label each connected component in π with a different region label (e.g.,integers or letters). This is the segmented image obtained by region growing.
-
8-connected neighbors
-
PROBLEM
- π(π₯,π¦) : input image (shape π π₯ π)
- π : predicate to apply at each location (π₯,π¦)
-
SOLUTION
- Split into four disjoint quadrants any region Ri for which Q(Ri) = FALSE.
- When no further splitting is possible, merge any adjacent regions Rj and Rk for which Q(Rj U Rk) = TRUE.
-
Quadtree

