Implementation and complexity of the watershed-from-markers algorithm computed as a minimal cost forest
Petr Felkel, Mario Bruckwschwaiger, Rainer Wegenkittl

TL;DR
This paper presents an optimized implementation of the watershed-from-markers algorithm using Image Foresting Transform, significantly reducing memory usage while maintaining efficiency for large 3D datasets.
Contribution
It introduces five implementation modifications of the IFT algorithm, achieving minimal memory consumption suitable for large 3D medical images.
Findings
Memory usage reduced to 19-45% of typical datasets
Maintains O(m+C) time complexity
Enables segmentation of large 3D datasets on standard PCs
Abstract
The watershed algorithm belongs to classical algorithms in mathematical morphology. Lotufo et al. published a principle of the watershed computation by means of an Image Foresting Transform (IFT), which computes a shortest path forest from given markers. The algorithm itself was described for a 2D case (image) without a detailed discussion of its computation and memory demands for real datasets. As IFT cleverly solves the problem of plateaus and as it gives precise results when thin objects have to be segmented, it is obvious to use this algorithm for 3D datasets taking in mind the minimizing of a higher memory consumption for the 3D case without loosing low asymptotical time complexity of O(m+C) (and also the real computation speed). The main goal of this paper is an implementation of the IFT algorithm with a priority queue with buckets and careful tuning of this implementation to…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
