Image segmentation using statistical region merging

Very simple and fast image segmentation code using statistical region merging.


Updated 14 Feb 2010

View License

From the paper :

Nock, Richard and Nielsen, Frank 2004. Statistical Region Merging. IEEE Trans. Pattern Anal. Mach. Intell. 26, 11 (Nov. 2004), 1452-1458.

It uses an a disjoint-sets data structure with a union-find strategy:

Just run srmdemo.m !

Matlab implementation, Mex File is TODO

Cite As

Sylvain Boltz (2023). Image segmentation using statistical region merging (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2009b
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes

corrected matlab warnings, as well as a bug that can appear on synthetic images.

now with a parameter smallest_region_allowed=10; to filter out small regions at each scale

Now supports multiscale segmentation