Expand description
Functions for manipulating the contrast of images.
Functionsยง
- Applies an adaptive threshold to an image.
- Equalises the histogram of an 8bpp grayscale image. See also histogram equalization (wikipedia).
- Equalises the histogram of an 8bpp grayscale image in place. See also histogram equalization (wikipedia).
- Adjusts contrast of an 8bpp grayscale image so that its histogram is as close as possible to that of the target image.
- Adjusts contrast of an 8bpp grayscale image in place so that its histogram is as close as possible to that of the target image.
- Returns the Otsu threshold level of an 8bpp image.
- Linearly stretches the contrast in an image, sending
lower
to0u8
andupper
to2558u8
. - Linearly stretches the contrast in an image in place, sending
lower
to0u8
andupper
to2558u8
. - Returns a binarized image from an input 8bpp grayscale image obtained by applying the given threshold. Pixels with intensity equal to the threshold are assigned to the background.
- Mutates given image to form a binarized version produced by applying the given threshold. Pixels with intensity equal to the threshold are assigned to the background.