|
Gradation Curves TutorialThe filter configuration window:
The x-axis represents the input values, the y-axis the output values. With the initial 45° line the input values will be the same as the output values and no processing will be done. Index:Basic manipulations using the RGB curve Advanced manipulations using the RGB curve Basic manipulations using the R/G/B curves Advanced manipulations using the YUV / HSV curve Other tutorials can be found under Links Basic manipulations using the RGB curve:Brightness:
If the curve is moved down vertically the brightness decreases: The contrary is possible as well:
If the curve is moved up vertically the brightness increases: Contrast:
If the inclination of the curve is decreased the contrast decreases: The contrary is possible as well:
If the inclination of the curve is increased the contrast increases: Gamma:
If the curve is bent down the gamma value decreases: The contrary is possible as well:
If the curve is bent up the gamma value increases: Coring:
If the curve is set to zero for a certain range all of these input values will be set to zero: Advanced manipulations using the RGB curve:Advanced correction:
The curve brightens up dark areas while darkens bright areas. Color reduction:
If the curve has got steps the amount of colors will be reduced. Larger steps will result in less colors: Funky Colors:
A curve like this can give funky results: Basic manipulations using the individual R/G/B curves:Increasing the amount of red:
To activate the individual manipulations of the R/G/B curves "RGB + R/G/B" must be selected under Processing. Reducing the amount of blue:
This curve decreases the amount of blue considerably in a non linear way. Advanced manipulations using the YUV color space:Black and white video:
First set the ChromaB and ChromaR curves to a straight line with the value of 128. The result of this is a grayscale video. Depending on the position the curve jumps from 0 to 255 the result will be different. The HSV or Lab space could be used as well to achieve this effect. Demonstration - zero Luminance:
If the Luminance channel is set to zero only the chroma channels will be visible. If your source is video and not from professional equipment you will probably notice the reduced resolution of the chroma channels: Since the source of this sample was a digital photo, the chroma channels have the full resolution (4:4:4). Advanced manipulations using the HSV color space:Heri's toonize-inks:
Changing the Value curve in this way while leaving the Hue and Saturation curve unchanged will result in a cartoon like effect: Read more here: Heri's tutorial (Unofficial VirtualDub Support Forums) Advanced manipulations using the Lab color space:General information about the color difference channels (a/b) and the Lab space:
The a (red-green) and b (yellow-blue) curves are two special curves (just like cb and cr in YUV) that can be used to manipulate two colors at once. In the lower left part of the curves (green & blue) lowering values will increase the amount of green and blue whereas in the upper right part lowering the values would decrease the amount of red and green. Advanced color correction:
The source is a photo taken with a digital camera in an oceanarium with suboptimal light conditions. The above curves will apply a nice correction: The Lab color space was designed to approximate human vision. So although the YUV space uses a similar logic with a luma channel and two color difference channels manipulating the Cr and Cb channels will give different results compared to a and b. In my personal experience the a/b channels are much more suited to manipulate/correct colors than Cr/Cb of the YUV space. After experimenting with the Lab space some time now I do generally like it a lot for different kinds of manipulations, corrections and enhancements. Sepia "300like" color look:
The colors are reduced and there is a shift to red and yellow:
|