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 Quantum

Specifies the darkest color in the image.

whitePoint Quantum

Specifies the lightest color in the image.

Meta