Interface WaterShedOptions

interface WaterShedOptions {
    mask?: Mask;
    points?: Point[];
    threshold?: number;
}

Properties

mask?: Mask

A binary image, the same size as the image. The algorithm will fill only if the current pixel in the binary mask is not null.

undefined
points?: Point[]

Points which should be filled by watershed filter.

- minimum points from getExtrema() function.
threshold?: number

Limit of filling. Maximum value that pixel can have.

1