Skip to content

thebriantech/Region_Growing_and_Region_Merging_Segmentation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

38 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Region_Growing_and_Region_Merging_Segmentation

Region Growing Segmentation

  • 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

    alt text

Region Spliting and Merging Segmentation

  • 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

    alt text

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages