VPX11 - Luminance, RGB curve, Brightness, Contrast, Gamma

browj2 Posté à 13/01/2020 20:20

This thread follows along from VPX Color Space thread, and discusses adjusting for luminance levels, or what most would term as brightness levels.

I would like to know how others do this, particularly for changing light conditions over the duration of a video clip.

In VPX11, I have set up my template for:

  1. Effects/Movie Settings (Master effects) - Color Space Correction turned on (to limit levels to between 7.5 and 100)
  2. Waveform Monitor Display 7.5 IRE Black checked so that 7.5 and 100 show up
  3. Project Settings/Movie Settings Color Space set to BT.709

I will not go into White Balance, which seems to have its own set of difficulties.

There are several ways to make adjustments to the luminance levels, which is usually the first thing to do for colour correction:

  1. Auto Exposure
  2. Auto Color which does an Auto Exposure at the same time
  3. Adjust the top and bottom points of RGB curve to bring the blacks and brights to within the legal limit, or reduce them to the legal limit
  4. Raise (or lower) Gamma to bring the brights to near the limit.

What not to use: Brightness!

There are a few problems. The first problem is that of selecting a frame to apply the adjustment, the second problem is keyframing. Auto Exposure, Auto Color/Auto Exposure are applied to the current frame and cannot be keyframed. Adjustments to the RGB curve cannot be keyframed. Thus, selection of the frame is important. Combining Auto Exposure or Auto Color/Auto Exposure with an adjustment to the RGB curve can cause problems as they could be cumulative.

RGB Curve Adjustments:

In the image below, this frame has the brightest level of the clip, i.e., the highest point in the Waveform Display, at just over 90.

The frame in the image below is at about the lowest upper level of the clip, at just under 70.

The idea behind Luminance Level Adjustment is to get the brightest points up to almost 100, unless one
wants something else.

If one uses this last frame and brings up the top of the RGB curve by dragging it to the left so that the brightest part is just below 100 (X=170.3), gives:

However, moving to the brightest part of the clip, the brights are now crushed against the 100 level. Compare this to the waveform in the first image.

Thus, one should look for the brightest part and make the adjustment there. Here are the before and after adjustments:

Before (RGB reset):

After (adjustment of top of RGB curve to X=237.4):

However, going back to the darkest part (at 2:08), this part could use some lift. Keyframing is required.

So what to do?

For anyone following this who is using MEP and does not have the Waveform and other instruments, what not to do is raise the brightness. Doing so moves the entire waveform upwards. Below is the result of raising Brightness to 86. The top moves up, but the darker parts move up and closer to the brighter part, reducing the dynamic range. Terrible result.

Thus, use Gamma. I reset Brightness and raised Gamma to 74. This brings the brights up, but leaves the darker parts at the bottom and stretches the shades in between.

This is almost as good as raising the RGB curve to about X=170.3:

However, a little bit of the definition seems to be lost. Increasing Contrast to about 53 or 54 may help.

Below with the RGB curve at X=237.4 (set for the brightest frame) and keyframing gamma gives fairly constant luminance for the entire clip:

Note that trying gamma high or mid does not have the same effect and is actually worse.

IMPACT OF USING AUTO EXPOSURE:

If the RGB curve has been modified, as I did setting the top point to X=237.4, clicking on Auto Exposure will crush the brights up at the top:

Reset RGB curve, turn on Auto Exposure gives (at the location of the brightest part of the clip):

Below is the waveform at the darkest location. Auto exposure only raises this slightly, similar to raising the RGB curve to X=237.4, thus keyframing Gamma will still be required:

Of course, applying Auto Exposure at this point would blow out the brights for the rest of the clip.

Conclusion: With a clip that changes exposure (upper brightness level) over time, try first Auto Exposure or Auto Color, then make adjustments using Gamma and a slight amount of Contrast, if necessary.

Alternatively, at the brightest frame, adjust the upper level of the RGB curve to bring the brightest part close to 100, 95 is probably best to avoid blowing out any brights.

Q1: Is this what others do?

Q2: Is there some other way?

MEP ONLY: Movie Edit Pro 2019 Plus/Premium does not have the colour curves. Strange, because PhotoStory Premium 2019 does.

Q3: Does MEP 2020 have the Color curves?

Alternative solution (especially for MEPP): Use New Blue ColorFast 2 if you have it. It contains scopes, like the Waveform monitor.

John CB

John C.B.

VideoPro X(16); Movie Studio 2024 Platinum; MM2024 with MM2023 Premium Edition; Samplitude Pro X8 Suite; see About me for more.

Desktop System - Windows 10 Pro 22H2; MB ROG STRIX B560-A Gaming WiFi; Graphics Card Zotac Gaming NVIDIA GeForce RTX-3060, PS; Power supply EVGA 750W; Intel Core i7-10700K @ 3.80GHz (UHD Graphics 630); RAM 32 GB; OS on Kingston SSD 1TB; secondary WD 2TB; others 1.5TB, 3TB, 500GB, 4TB, 5TB, 6TB, 8TB; three monitors - HP 25" main, LG 4K 27" second, HP 27" third; Casio WK-225 piano keyboard; M-Audio M-Track USB mixer.

Notebook - Microsoft Surface Pro 4, i5-6300U, 8 GB RAM, 256 SSD, W10 Pro 20H2.

YouTube Channel: @JCBrownVideos

Commentaires

johnebaker Posté à 14/01/2020 15:28

@browj2

Hi John

Q1 & 2 - wrt to MEP that is when I switch to VPX for curves and colour correction.

Q3 - MEP 2020 does not have this yet, it is interesting that Photostory 2020 does, I guess it will make its way into MEP, possibly at the next major update.

For colour correction I use a technique that has been used in the printing industry for over 30 years with the digitization of scanned images.

I first came across this about 20 years ago in Dan Margulis' book Professional Photoshop 5: The Classic Guide to Color Correction and the method still hold today.

It is easy to use for still images in any image editing software that have the Curves function and is easier to do then describe.

For video, I gave a brief description of the technique and an example of this back in June 2016 here.

Did VPX get the Colour dropper with RGB values indicated? I cannot find it, however I do remember a mention in another topic not so long ago ie within the last 18 months or so of an alternative which is in one of the effects (NewBlue ?)

HTH

John EB

 

 

 

 

VPX 15, Movie Studio 2024, 2023, and earlier versions 2015 and 2016, Music Maker Premium 2024.

PC - running Windows 11 23H2 Professional 64bit on Intel i7-8700K 3.2 GHz, 16GB RAM, RTX 2060 6GB 192-bit GDDR6, 1 x 1Tb Sabrent NVME SSD (OS and programs), 2 x 4TB HDD (Data) internal HDD + 1TB internal SSD (Work disc), + 6 ext backup HDDs.

Laptop - Lenovo Legion 5i Phantom - running Windows 11 23H2 on Intel Core i7-10750H, 16GB DDR4-SDRAM, 512GB SSD, 43.9 cm screen Full HD 1920 x 1080, Intel UHD 630 iGPU and NVIDIA GeForce RTX 2060 (6GB GDDR6)

Sony FDR-AX53e Video camera, DJI Osmo Action 3 and Sony HDR-AS30V Sports cams.

browj2 Posté à 14/01/2020 18:23

@CubeAce

Hi Ray,

As I indicated in the other thread, here is what happens to the image in the snow when I raise the luminance using the RGB curve"

Before:

After with the top of the RGB curve moved to X=170.3. That is, input = 170.3, output = 255:

I'll post a side-by-side video so that you can see the impact of keyframing gamma (luminance).

Notice that there is a bluish tinge in the snow at the left and right, but not in the middle. That is a different problem and one that I probably would not try to fix, but could using a gradation mask, I guess.

@johnebaker

As I mentioned in the other thread, there is no colour picker in the place where we need one, like under Brightness/Contrast. However, there is one under Glow that you can use. The only problem is that it gives RGB from 0 to 1.

You mentioned the Levels effect in a thread on PhotoStory. I tried this in VPX and noticed that the adjustments seem to be equal to moving the top and bottom of the RGB curve. For the top, it is Output end. Reducing the slider moves the curve up, increasing moves it down. This can be keyframed, and thus solves my problem of keyframing the top and bottom of the RGB curve to adjust for luminance.

There is also Gamma, which affects the contrast and brightness.

The only problem is that All and the colours cannot be done individually, thus you can't have an overall luminance adjustment and tweak a colour at the same time.

The Effect LAB Color also has a Lightness effect that could be used, so one could use a combination of LAB Color, Color Curves and Levels. Interesting.

John CB

Dernière modification de browj2 le 14/01/2020, 18:24, Modifié 1 fois au total.

John C.B.

VideoPro X(16); Movie Studio 2024 Platinum; MM2024 with MM2023 Premium Edition; Samplitude Pro X8 Suite; see About me for more.

Desktop System - Windows 10 Pro 22H2; MB ROG STRIX B560-A Gaming WiFi; Graphics Card Zotac Gaming NVIDIA GeForce RTX-3060, PS; Power supply EVGA 750W; Intel Core i7-10700K @ 3.80GHz (UHD Graphics 630); RAM 32 GB; OS on Kingston SSD 1TB; secondary WD 2TB; others 1.5TB, 3TB, 500GB, 4TB, 5TB, 6TB, 8TB; three monitors - HP 25" main, LG 4K 27" second, HP 27" third; Casio WK-225 piano keyboard; M-Audio M-Track USB mixer.

Notebook - Microsoft Surface Pro 4, i5-6300U, 8 GB RAM, 256 SSD, W10 Pro 20H2.

YouTube Channel: @JCBrownVideos

browj2 Posté à 14/01/2020 19:32

@CubeAce

Here is the video:

John CB

John C.B.

VideoPro X(16); Movie Studio 2024 Platinum; MM2024 with MM2023 Premium Edition; Samplitude Pro X8 Suite; see About me for more.

Desktop System - Windows 10 Pro 22H2; MB ROG STRIX B560-A Gaming WiFi; Graphics Card Zotac Gaming NVIDIA GeForce RTX-3060, PS; Power supply EVGA 750W; Intel Core i7-10700K @ 3.80GHz (UHD Graphics 630); RAM 32 GB; OS on Kingston SSD 1TB; secondary WD 2TB; others 1.5TB, 3TB, 500GB, 4TB, 5TB, 6TB, 8TB; three monitors - HP 25" main, LG 4K 27" second, HP 27" third; Casio WK-225 piano keyboard; M-Audio M-Track USB mixer.

Notebook - Microsoft Surface Pro 4, i5-6300U, 8 GB RAM, 256 SSD, W10 Pro 20H2.

YouTube Channel: @JCBrownVideos

browj2 Posté à 14/01/2020 20:27

@CubeAce

For those who do not have VPX but have NB ColorFast 2, here is an image with the Waveform turned on in ColorFast and the Brightness adjusted upwards under Primary Correction. Note that Brightness under ColorFast 2 does not do the same thing as Brightness under the normal Brightness/Contrast effect. Here, Brightness controls the higher end of the luminance curve without affecting black levels. Exposure raises or lowers the overall image luminance, which is the equivalent of the normal Brightness command.

Some of the definition is lost but can be brought back in by adjusting Primary Correction/Gamma upwards, or Gamma Under Brightness/Contrast downwards.

I notice that ColorFast seems to introduce a redish tinge in the middle white part that would need to be corrected with the Color picker, white strength and tweak commands, I presume.

The interesting part is to scrub along the clip with the Waveform turned on, no effects applied, and watch the Waveform graph as the brightest part goes up and down. That is when you realize that you can do something to improve the luminance. Without the scopes, you are at a huge disadvantage.

John CB

Dernière modification de browj2 le 14/01/2020, 20:32, Modifié 1 fois au total.

John C.B.

VideoPro X(16); Movie Studio 2024 Platinum; MM2024 with MM2023 Premium Edition; Samplitude Pro X8 Suite; see About me for more.

Desktop System - Windows 10 Pro 22H2; MB ROG STRIX B560-A Gaming WiFi; Graphics Card Zotac Gaming NVIDIA GeForce RTX-3060, PS; Power supply EVGA 750W; Intel Core i7-10700K @ 3.80GHz (UHD Graphics 630); RAM 32 GB; OS on Kingston SSD 1TB; secondary WD 2TB; others 1.5TB, 3TB, 500GB, 4TB, 5TB, 6TB, 8TB; three monitors - HP 25" main, LG 4K 27" second, HP 27" third; Casio WK-225 piano keyboard; M-Audio M-Track USB mixer.

Notebook - Microsoft Surface Pro 4, i5-6300U, 8 GB RAM, 256 SSD, W10 Pro 20H2.

YouTube Channel: @JCBrownVideos

CubeAce Posté à 14/01/2020 22:00

@browj2

Thanks for the info John.

Although it's difficult for me to assess without the tools it shows that some tools are better than others for specific jobs.

I have to say though that on my monitors there is a slight emphasis toward a green tinge than a red one. But then again at the moment my monitors are set to an Adobe profile. Worse the two monitors have differing amounts of tonal gain between black and white with the NVIDIA card giving me deeper blacks and brighter whites than the monitor plugged into the Intel chip that no amount of colour profiling is able to rectify. They are identical monitors and if I switch connections, the second monitor has the better tonal resolution. So it looks like I'm going to have to get one of those dummy head things for the Intel chip and connect my monitors to my graphics card to get identical output to both.

Ray.

 

Windows 10 Enterprise. Version 22H2 OS build 19045.4291 Direct X 12.1 latest hardware updates for Western Digital hard drives.

Asus ROG STRIX Z390-F Gaming motherboard Rev 1.xx with Supreme FX inboard audio using the S1220A code. Driver No 6.0.8960.1 Bios version 1401

Intel i9900K Coffee Lake 3.6 to 5.1GHz CPU with Intel UHD 630 Graphics .Driver version 31.0.101.2127 with 64GB of 3200MHz Corsair DDR4 ram.

1000 watt EVGA modular power supply.

1 x 250GB Evo 970 NVMe: drive for C: drive backup 1 x 1TB Sabrent NVMe drive for Operating System / Programs only. + x2 WD BLACK 2TB internal SATA 7,200rpm hard drives.1 for internal projects, 1 for Library clips/sounds/music/stills./backup of working projects. 1x500GB SSD current project only drive, 1x WD RED 2TB drive for latest footage storage. Total 21TB of 6 external WD drives for backup.

ASUS NVIDIA GeForce RTX 3060 12GB. nVidia Studio driver version 551.23. - 3584xCUDA cores Direct X 12.1. Memory interface 192bit Memory bandwidth 360.05GB/s 12GB of dedicated GDDR6 video memory, shared system memory 16307MB PCi Express x8 Gen3. Two Samsung 27" LED SA350 monitors with 5000000:1 contrast ratios at 60Hz.

Running MEP Premium 21.0.2.138 and VPX 20.0.3.180 (UDP3)

M Audio Axiom AIR Mini MIDI keyboard Ver 5.10.0.3507

VXP 14, MEP 2022, Vegas Studio 16, Vegas Pro 18, Cubase 4. CS6, NX Studio, Mixcraft 9 Pro.

Audio System 5 x matched bi-wired 150 watt Tannoy Reveal speakers plus one Tannoy 15" 250 watt sub with 5.1 class A amplifier. Tuned to room with Tannoy audio application.

Ram Acoustic Studio speakers amplified by NAD amplifier.

Rogers LS7 speakers run from Cambridge Audio P50 amplifier

Schrodinger's Backup. "The condition of any backup is unknown until a restore is attempted."

Scenestealer Posté à 15/01/2020 12:53

@browj2

Hi John

Brightness

It is useful to look at the controls in MEP as being like the traditional controls on a TV or monitor.

Brightness is used to raise the black level primarily. Contrast is used to raise the white level primarily and with the two together you can get a full range of luminance.

Auto Exposure achieves this automatically by pushing the brightest part to 100% and the darkest down to zero. This works fine for a locked off shot whose composition changes little but any camera movement or zoom that changes the scene usually causes the problems you describe because of the nature of consumer cameras where the AGC is nearly always active along with some other automatic contrast or backlight control. These are supposed to make things better but often do not leading me to spend a lot of time dealing with the problems as you describe.

My method depending on the shot is:- with the RGB parade up

Try Auto Exposure and sometimes Autocolour at different points in the shot - usually on a frame that is in the mid contrast of the other frames, or on other frames to get a different overall effect.

Bin that if I can not get a half decent look, or carry on tweaking.

Adjust curves by creating some kind of S curve depending on whether there is a problem in the bright areas where I will leave the top of the curve where it is and drag a point below it to the right and push above the middle to the left to give it some pop.

If I want some blacker blacks then I will drag the bottom of the curve to the right to get black down to zero and then often use the HDR gamma at about 10 to 20 to bring out detail and give it some pop in the darker areas. HDR is very useful because it does not change the brighter parts of the shot.

Fluctuations in brightness and contrast I usually deal with by KFraming the Selective Brightness control in conjunction with KFraming the Contrast at the same temporal points (if I can be bothered).

As you inferred it would be good if the Curves could be KF'd instead, but I have had some success with extreme fluctuations within a shot by employing the NB Auto Contrast plugin that does a reasonable attempt at correcting dynamically thru the shot.

On the RGB Parade instrument I keep an eye to see if any of the colours wave forms appear to be out of whack with the others and use any of the controls in Color or Secondary CC to correct.

@johnebaker's Colour balancing / correction method is a good method but often a shot may not have a neutral object in it, or it is too small to distinguish in the RGB waveform display to check the level across the 3 x colours in which case I create a window over the object with the Section command which excludes the other objects giving me a clear view of the colour levels in the parade.

BTW that pink area in your snow shot may be due to one colour clipping which you would see more clearly if you use the parade.

Peter

 

System Specs: Intel 6th Gen i7 6700K 4Ghz O.C.4.6GHz, Asus Z170 Pro Gaming MoBo, 16GB DDR4 2133Mhz RAM, Samsung 850 EVO 512GB SSD system disc WD Black 4TB HDD Video Storage, Nvidia GTX1060 OC 6GB, Win10 Pro 2004, MEP2016, 2022 (V21.0.1.92) Premium and prior, VPX7, VPX12 (V18.0.1.85). Microsoft Surface Pro3 i5 4300U 1.9GHz Max 2.6Ghz, HDGraphics 4400, 4GB Ram 128GB SSD + 64GB Strontium Micro SD card, Win 10Pro 2004, MEP2015 Premium.