Image segmentation using statistical region merging

Very simple and fast image segmentation code using statistical region merging.
18K Downloads
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: http://en.wikipedia.org/wiki/Disjoint-set_data_structure

Just run srmdemo.m !

Matlab implementation, Mex File is TODO

Cite As

Sylvain Boltz (2024). Image segmentation using statistical region merging (https://www.mathworks.com/matlabcentral/fileexchange/25619-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
1.3.0.0

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

1.2.0.0

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

1.1.0.0

Now supports multiscale segmentation

1.0.0.0