The MATLAB M-file below implements the stochastic watershed with and without the improvements proposed in:
The code depends on the DIPimage toolbox.
Download M-file. Remember that the DIPimage toolbox is required.
© 2013 Cris Luengo
Last modified March 7, 2013.