Interface ExtremaOptions

interface ExtremaOptions {
    algorithm?: "square" | "cross" | "star";
    kind?: "maximum" | "minimum";
    mask?: Mask;
    maxEquals?: number;
}

Properties

algorithm?: "square" | "cross" | "star"

Chooses what kind of coverage algorithm to use to compute the extremum.

Default

'star'

kind?: "maximum" | "minimum"

Chooses what kind of extremum to compute.

Default

'maximum'

mask?: Mask

Uses mask to check if a point belongs to a ROI or not

Default

undefined

maxEquals?: number

Maximum number of points that can be equal to the extremum

Default

2