Module imgproc_rs::tone[][src]

A module for image tone operations

Functions

brightness

Adjusts brightness by adding bias to each RGB channel if method is Tone::Rgb, or adding bias to the L* channel of input in CIELAB if method is Tone::Lab

contrast

Adjusts contrast by multiplying each RGB channel by gain if method is Tone::Rgb, or multiplying the L* channel of input in CIELAB by gain if method is Tone::Lab

gamma

Performs a gamma correction. max indicates the maximum allowed pixel value of the image

histogram_equalization

Performs a histogram equalization on input

saturation

Adjusts saturation by adding saturation to the saturation value (S) of input in HSV