Tag: blob

Lindenberg's watershed-based blob detection for MATLAB

Just something I needed recently and haven’t found any existing standalone implementation. Algorithm description can be found on Wikipedia. Usage is quite simple:         % Where I is 1-, 2- or 3-dimensional image [~, index] = sort(reshape(I, numel(I), 1), 1, ‘descend’); blobs = ls_blob_detect(I, index);