Oftentimes even when we use professional cameras for video shooting, we get upsetting results: gloomy or overexposed compositions, glares, black background. And if it’s an important event you were trying to capture, there comes huge disappointment. There can be many reasons why your footage came out in poor quality but what really matters is whether it can be fixed. And luckily, in many cases, it is possible, even if you aren’t a professional.
In this article, we will show you how to process photos and videos using simple color correction techniques. Specifically, we’ll be working with RGB curves to change brightness and contrast levels in VSDC Free Video Editor.
Download VSDC to your PC (the program runs on Windows only)
After you have installed and launched the program, import the file that needs to be edited. By clicking on it, go to the bottom part of the timeline and select "Color Correction." On the vertical panel in the opened window, click on the icon shaped like three different colored dots - "RGB curves." Upon clicking, the curves dialogue window will unfold.
Working with brightness and contrast of the image is one of the basics of color correction. To change these two parameters in VSDC, the so-called “method of shifting control points in the composite curve mode” is used. Control points are arbitrary points that belong to the curves of the color channels: red, green, and blue.
The composite curve mode is set by default, and when you open the RGB working area, it is indicated by a white circle (see the illustration on the right). In the graph, the horizontal axis reflects the original brightness values of the pixels, and the vertical axis - the desired (output) values that you get in the editing process. The maximum pixel brightness value is 255. Initially, when an image is loaded into the program, all the original pixel brightness values are equal to the output. That’s why the composite curve is a straight diagonal line passing through the points with coordinates (0; 0) and (255; 255). Points in the lower left corner correspond to black color (shadows), points in the upper right corner correspond to white color (light areas of the image).
A double-click on a specific area of the composite curve provides the necessary control point. Moving the control points (up and down, right or left) of the curve will change the overall color of the image by adjusting the brightness and contrast.
There are several ways to change the position of control points:
By changing the coordinates of the points in the lower left area of the graph, you adjust the dark tones in the image. Meanwhile, the upper right area can be used to adjust the light tones, and when you work with the middle region of the curve, it affects medium tones of the video.
Let’s now jump from theory to practice. By moving the control point up, as shown in the illustration below, you increase the output value of the pixels relative to the input value. In other words, higher (brighter) values are now assigned to the pixels in a given area, which means that the brightness of the video is increased. In the example below, we took a point in the region of dark tones with coordinates (0; 0). An increase in the output value of this point (upward shift) led to the brightening of the dark areas of the image: the black pixels (with the initial value of 0; 0) acquired a more gray tint.
Now, for a clearer example, let's do the opposite and darken the bright areas of the image. By shifting the control point down, you reduce the output pixel values in a given area, which means you lower the brightness. In the example below, a point of the light-colored area with the coordinates of the maximum value (255; 255) was taken as a guide. Reducing the output value of this point led to the darkening of the bright areas of the image.
The contrast level of the image directly depends on the composite curve inclination angle. Remember that the original curve has a tilt angle of 45°? Increasing the tilt angle increases the contrast level and on the contrary: decreasing the angle reduces the contrast level.
If in the editing process the curve takes on a non-linear look (for example, an S-shaped composite curve), then the contrast level is characterized by the angle of inclination of the tangent built to a specific control point, as shown in the illustration below.
So, what do you do if constructing imaginary tangents is not one of your talents? To find out the degree of change in contrast, you can use the simplest mathematical operations:
As an example, consider an image that has the following data:
Inputmin=0;
Inputmax=150.
As a result of adjustments, the image acquires the following values:
Outputmin=30;
Outputmax=250.
Determine the difference between the minimum and maximum values:
Differenceinput=150
Differenceoutput.=220
Comparing the resulting values, we can conclude that the output version of the image has more contrast than the input version (220> 150).
This way, using several control points, you can simultaneously adjust the brightness and the contrast levels in the areas of dark, light and medium tones independently. An extra control point can be deleted by clicking on it and pressing Delete.
Next, we will look at several ways to simultaneously change the levels of brightness and contrast you can apply in practice.
To simultaneously increase both brightness and contrast, you need to move the control point with coordinates (255; 255) to the left, say, to the value (200; 255).
Therefore, you will get:
To increase the brightness of the entire image while reducing the contrast, you need to drag the point with the coordinates (0; 0) up, for example, to the value (0; 50).
This way you get the following results:
As a control point, we’ll take the one with the coordinates (127; 127) - it corresponds with the middle tones of the image. Then we’ll move it up to the value (127; 170).
We will get the following results (see the illustration below):
To simultaneously reduce the brightness and contrast of the entire image, you must drag the control point with the coordinates (255; 255) down. For example, drag it to the value (255; 200).
This way we get the following:
To reduce the brightness of the entire image while simultaneously increasing the contrast, move the control point with coordinates (0; 0) - black color - to the right, for example, to a value (50; 0).
This way we get the following results:
As in the case with the non-linear brightness increase, we leave the black (0; 0) and white (255; 255) color points unchanged. As a control point, we take the one belonging to the mid-tone region, with coordinates (127; 127). By moving this control point down, for example, to the level (127; 70), we get the following results:
Since the level of contrast directly depends on the difference between the values of the lightest and darkest points of the image, the simplest way to increase the contrast of the image is to reduce the gap between the input values of the black and white points. In other words, we need to increase the input value for the black point (shift it to the right) and decrease it for the white point (shift it to the left). For a more detailed correction, see paragraphs 1 and 5.
Similarly to the previous example, the easiest way to reduce the overall level of image contrast is to bring the output values for the black and white points closer together, i.e. decrease the output value for the white point (shift it down) and increase it for the black point (shift it up).
After that, refer to the instructions in paragraphs 2 and 4.
If you need to increase the contrast of the mid-tones only, you should use an S-shaped curve. First, double click to create three control points on the curve. For example, place one in the mid-tone area (128; 128), one in the shadow area, and one in the area of light tones.
Leave the position of the first control point unchanged, shift the second one down (according to the principle described in paragraph 6), and drag the third point up (according to the principle described in paragraph 3). This way, the dark and the light areas of the image will become flatter. The angles of inclination of the tangents built to the control points in these areas will be less than 45°. That means the image details located in the darkest and lightest areas will become less clear, meanwhile, the mid-tones of the image become more contrasting.
Of course, the process of using an S-shaped curve will be slightly different for each image. However, the basic principle remains the same: by increasing the number and changing the position of the control points, it is possible to achieve both amplification and weakening of the visualization of details in the dark, light and medium tones independently.
The operation principle of this curve is opposite to the operation principle of the above described S-shaped curve.
To reduce the contrast of mid-tones with a simultaneous increase in clarity in the area of shadows and highlights, do the following:
This way, the light and dark areas of the image become more contrasting because the angles of inclination of the tangents built to the control points in these areas will be more than 45°. The image details in these areas will become clearer, while the mid-tones become flatter.
Working with color channels is one way to perform color correction in the RGB mode.
Each color in the RGB color space is achieved by mixing three basic colors: red (Red), green (Green) and blue (Blue). According to the theory we all know, if you mix red and green you get yellow; the mix of red and blue results in purple; the mixture of blue and green results in blue, and so on.
The brightness of each color is set at a value between 0 and 255. The point with zero values for all three curves (0; 0; 0) corresponds to the black color, and the point with the maximum values (255; 255; 255) – corresponds to white.
To switch to the color correction mode of an individual RGB curve, you need to select the desired color channel in the RGB color space.
Double-click on a particular section of the composite curve will create a control point. When you move the control points (up & down, right & left) of the curve, you change the overall color of the image by adjusting the brightness of a particular color in the selected area.
The principles of working with RGB channel curves are similar to the principles of changing the brightness and contrast levels of a video:
Please note that this process enhances other color channels in the editing area. In the example below, you can see that the decrease in the brightness of image mid-tones in the red channel has led to an increase in the values of blue-green colors and overall darkening of the image.