Image.linearStretch

Discards any pixels below the black point and above the white point and levels the remaining pixels.

class Image
void
linearStretch

Parameters

blackPoint
Type: Quantum

Specifies the darkest color in the image.

whitePoint
Type: Quantum

Specifies the lightest color in the image.

Meta