Interface WaterShedOptions

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

Properties

mask?: Mask

Param: 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.

Default

undefined
points?: Point[]

Param: points

Points which should be filled by watershed filter.

Default

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

Param: threshold

Limit of filling. Maximum value that pixel can have.

Default

1