gives the negative of a color.
gives the negative of image, in which all colors have been negated.
negates every frame of a video.
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 color v to 1-ν.
- For images with defined color spaces, negation happens in the RGBColor space. »
- ColorNegate works with colors as well as 2D and 3D images. The color space and data type of the input are preserved.
Examplesopen allclose all
Negative of the color Yellow:
DeleteSmallComponents deletes small white components:
Properties & Relations (7)
Color negation happens in the RGBColor space:
ColorNegate of an RGB image is equivalent to mapping every pixel v to 1-v:
Wolfram Research (2008), ColorNegate, Wolfram Language function, https://reference.wolfram.com/language/ref/ColorNegate.html (updated 13).
Wolfram Language. 2008. "ColorNegate." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 13. https://reference.wolfram.com/language/ref/ColorNegate.html.
Wolfram Language. (2008). ColorNegate. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/ColorNegate.html