Adobe Scan 09-Sept-2024
Adobe Scan 09-Sept-2024
Region growing is aprocedure that groups pixels or sub regions into larger regions
based on predefined criteria for growth. It has the following steps.
An initial set of small areas is iteratively merged according to similarity
constraints.
Start by choosing an arbitrary seed pixel and compare it with neighboring
pixels.
§ Region is grown from the seed pixel by adding in neighboring pixels that are
similar, increasing the size of the region.
When the growth of one region stops we simply choose another seed pixel
which does not yet belong to any region and start again.
This whole process is continued until all pixels belong to some region. It is a
bottom up method.
RegionGrowing algorithm
Let f(x, y) denote an input array, S(*, y) denote aseed array containing 1S at the
locations of seed points and OS elsewhere, and Qdenote a predicate to be applied at
ageSegmetation 4.27
cchlocation ( , y). Arrays j and S are assumed to be of the same size. A basic
region growing algorithm based on
8-connectivity may be stated as follows.
Siep 1
: Find all connected components in S(x, y) and erode cach connected
component to one pixel, label all such pixels found as 1. AIl other
pixels in S are labeled 0.
: Form an image fo such that, at a pair of coordinates (x, y), Let
Step2
fo (I, y)=1 if the input image satisfies the given predicate, Q at
those coordinates, otherwise letfo (x, y) =0
Step 3 : Let g be an image formed by appending to each seed point in S all
the 1-valued points info that are 8-connected to that seed point.
Step 4 : Label each connected component in g with a different region label
i.e., segmented image obtained by region growing
However, starting with a particular seed pixel and letting this region grow
completely before trying other seeds biases the segmentation in favour of the regions
which are segmented first.
This can have several undesirable effects.
Current region dominates the growth process-ambiguities around edges
of adjacent regionsmay not be resolved correctly.
Different choices of seeds may give different segmentation results.
Problems can occur if the (arbitrarily chosen) seed point lies on an edge.
R1 R2 R1 R2
R
R41| R42
Rs R& R3 R4s| R44
(a) whole image (b) First split (c) Second split
Fig. 4.15.
Quadtree
We can also describe the splitting of the image
using a tree structure called quad
tree that is trees in which each node has exactly four
descendants.
The images coiresponding to the nodes of a
quad tree sometimes are called quad
regions or quad images.
R1 R2
Ra1 R42 Ra RA
R43 R44
Ra1 R42 (Ras)
R43 (Ra)
R44)
Fig. 4.16. Quad tree structure of partitioned image
geSegmentation 4.29
the process is stopped only with splitting, the result may have adjacent regions
.-th identical properties. Therefore, further merging as well as splitting is needed.
When the combined pixels of two adjacent regions satisfy the predicate Q, that is,
o adjacent regions R, and R are merged only if
Q(R,UR) = TRUE
Split and Merge Algorithm
Step 1 Split into four disjoint quadrants any region R, for which
Q(R) = FALSE
Step 2 When no further splitting is possible, merge any adjacent regions R
and R for which Q R,UR)= TRUE.
Step 3 Stop when no further merging is possible.