Statistical Region Merging is a fast and robust algorithm to segment an image into regions of similar intensity or color.
The idea is to start with one region per pixel and then applying a statistical test on neighboring regions (in ascending order of intensity differences) whether the mean intensities are sufficiently similar enough to be merged.
For the moment, the plugin handles only grayscale images:
It asks for a value for Q, which is a rough estimate of the number of regions in the image. You can also choose whether you want the regions to be marked by the mean gray value, or by the index of the region:
This is a result for a low value of Q:
R. Nock, F. Nielsen (2004), “Statistical Region Merging”, IEEE Trans. Pattern Anal. Mach. Intell. 26: 1452-1458 .