Expand description
Channel manipulation.
Functions§
- alter_
blue_ channel - Increment or decrement every pixel’s Blue channel by a constant.
- alter_
channel - Alter a select channel by incrementing or decrementing its value by a constant.
- alter_
channels - Increment all 3 channels’ values by adding an amt to each channel per pixel.
- alter_
green_ channel - Increment or decrement every pixel’s Green channel by a constant.
- alter_
red_ channel - Increment or decrement every pixel’s Red channel by a constant.
- alter_
two_ channels - Increment/decrement two channels’ values simultaneously by adding an amt to each channel per pixel.
- color_
sim - Get the similarity of two colours in the lab colour space using the CIE76 formula.
- invert
- Invert RGB value of an image.
- remove_
blue_ channel - Remove the Blue channel’s influence in an image.
- remove_
channel - Set a certain channel to zero, thus removing the channel’s influence in the pixels’ final rendered colour.
- remove_
green_ channel - Remove the Green channel’s influence in an image.
- remove_
red_ channel - Remove the Red channel’s influence in an image.
- selective_
color_ convert - Selectively change pixel colours which are similar to the reference colour provided.
- selective_
desaturate - Selectively desaturate pixel colours which are similar to the reference colour provided.
- selective_
greyscale - Selectively changes a pixel to greyscale if it is not visually similar or close to the colour specified. Only changes the colour of a pixel if its RGB values are within a specified range.
- selective_
hue_ rotate - Selective hue rotation.
- selective_
lighten - Selectively lighten an image.
- selective_
saturate - Selectively saturate pixel colours which are similar to the reference colour provided.
- swap_
channels - Swap two channels.