gives the negative of image, in which all colors have been negated.
gives the negative of a color.
gives a list of negative images or colors.
- ColorNegate, also known as color inversion, replaces every pixel in the image with the negative of that pixel.
- ColorNegate maps every pixel value or color v to 1-ν. For images with defined color spaces, negation happens in the RGBColor space. »
- ColorNegate returns a color or an image of the same ColorSpace as the input.
- ColorNegate works with colors as well as arbitrary 2D and 3D images.
Examplesopen allclose all
Negative of the color Yellow:
DeleteSmallComponents deletes small white components:
Properties & Relations (6)
Color negation happens in the RGBColor space:
ColorNegate of an RGB image is equivalent to mapping every pixel v to 1-v: