Simple but effective example of "Region Growing" from a single seed point.
The region is iteratively grown by comparing all unallocated neighbouring pixels to the region. The difference between a pixel's intensity value and the region's mean, is used as a measure of similarity. The pixel with the smallest difference measured this way is allocated to the region.
This process stops when the intensity difference between region mean and new pixel becomes larger than a certain treshold
Dirk-Jan Kroon (2023). Region Growing (https://www.mathworks.com/matlabcentral/fileexchange/19084-region-growing), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!