ddd_pylib.labeling.
SeededWatershedOperator#
- class ddd_pylib.labeling.SeededWatershedOperator[source]#
Bases:
ImageOperatorApply seeded watershed on given image, it uses seeds, that can be calculated by FindExtrema if not given in the seeds attribute. The dt_image is for the FindExtrema and is a distance transformed image, that is calculated with DistanceTransform if not given.
- Parameters:
seeds – the seeds for the seeded watershed
dt_image – the distance transform image for the find extrema
min_value – the minimum value of the extrema
Methods
- getSeeds()[source]#
Get the seeds parameter
- Returns:
seeds for the seeded watershed
- Return type:
seeds