NukeX 6.3 Denoise Tutorial: part 1 from The Foundry on Vimeo.
Welcome to the first of two tutorials on the Denoise node for The Foundry’s NukeX. This tutorial will take you through the basics of Denoise and will quickly get you started. So, here’s some noisy footage. I will show you how to use Denoise to remove the noise from this footage without losing the detail. Let me just pause on a frame and bring up a Denoise node. The Denoise node can be found under the Filter menu, and it has two possible inputs: a source clip and a noise clip. I am going to go ahead and connect the source clip to the clip we want to denoise. Denoise works by estimating the noise levels within an analysis region and then removing anything below the estimated noise levels in the rest of the clip.
The first thing we need to do is find a suitable analysis region. A suitable analysis region is a region that’s flat, free from any detail, shadows, or highlights. If I zoom out on this clip, you can see there is a large blue screen area. This is ideal for sampling the noise. If you do not have a blue screen or a green screen, try to find as flat a region as possible. Or, alternatively, you can connect a separate clip to the noise clip and analyze the noise from there. I am going to move this box to the blue area over here, but before I do that, I am going to change the Analysis Mode from Pen Up to Analysis Button - that means I can move this, rescale it, and it won’t analyze it until I press Analyze Noise. OK, it has finished analyzing the noise, so we can now compute our result.
OK, so this is the Denoise result. I will go ahead and zoom in so we can compare that to the original. You can see it is quite a good result straight out of the box, but it is perhaps a little bit soft. I will now go through the parameters you can tune in order to change the output. OK, so the first parameter you can tune is the Source. This can either be Film or Digital, and alters the noise levels across intensity values. Setting the Source type to whatever the footage was captured on works best for most footage, but for some footage, you might need to switch this around. Essentially, setting the Source type to Digital will keep the noise levels constant, whereas setting it to film will preserve more noise or detail in the dark regions and will remove more noise or detail in the bright regions.
The next parameter to tune is the Noise Model. This can either be Constant or Modulated. It also alters the noise levels across intensity values, but does so in a way that is almost the opposite to the source type. By default, this is set to Modulated, which works well for most footage. For film footage, setting the Noise Model to Modulated will remove more noise in the dark regions. For digital footage, it will remove more noise in the bright regions. For example, if you have film footage with little noise in the dark regions and lots of detail you would like to preserve, you might want to try setting this to Constant. This footage has a lot of detail in the hair, so I’m going to try and set this to Constant and see what happens. You can see that this is actually better for this footage. It has kept the background flat, but brought out a lot more detail.
The next parameter is the Profile. This can either be Constant or Automatic. I will go through Automatic profiling in the next tutorial, so for now I will leave this Constant. The parameters described so far all affect the noise analysis, and changing any of these will force the analysis to be recomputed.
I will now go through the parameters you can tune in order to change the output after the analysis. Before I start doing anything, I am going to set the Luminance Blend to 1. By default, it is set to 0.7, which means the output contains 0.7 of the denoise luminance and 0.3 of the original luminance. Setting this to 1 allows you to see what the Denoise actually does, but you probably want to bring this back down for the final output.
The next thing I’m going to do is bring up the Sharpen to some excessive amount. Sharpening emphasizes any detail being kept, so by increasing it, it is easier to visualize this. To control the detail being kept, I need to tune the Denoise Amount and Roll Off in combination. Anything below the Denoise Amount will be removed, anything between the Denoise Amount and the Roll Off will be softly thresholded, and anything above the Roll Off will be kept. In order to increase the level of detail, I can decrease the Denoise Amount. If there is too much noise left in the output, I can increase the Denoise Amount. Equally, I can increase the Roll Off or decrease it. Increasing the Roll Off gives a much smoother output, so if you think your result is too soft, you can decrease the Roll Off. If you think it’s too sharp, then you can increase the Roll Off.
OK, so when you are happy with the detail being kept and the noise being removed, put the Sharpen back down again. You could leave a little bit in there if you wish. The next parameter to tune is the Smoothness. The Denoise Amount and the Roll Off are just the threshold; the Smoothness allows you to control the smoothness of the underlying image. For example, if your output is a bit blotchy, or if it’s too smooth, then you might want to increase or decrease the Smoothness. To illustrate this, I am going to increase the Denoise Amount to a very large number, so there are no details being kept. What we are left with is the underlying image. So, regardless of what we do, we are not going to be able to sharpen or smooth this anymore. If the output at this stage is blotchy, you have to tune the Smoothness. I will just show you what this does. So, if I increase it, it will all go smoother and it will sharpen as I decrease it. OK, so when I am happy with the Smoothness of the underlying image, I can bring the threshold back down again. Finally, I’m going to blend back some of the Luminance Blend. The Chrominance Blend works by the same principle, but you probably never want to tune this. So let’s compare this denoise result with the original. I have shown you how to use Denoise to remove the noise, while preserving the detail. Let’s play through and see the result.
OK, so I have taken you through some of the basics of Denoise. In the next tutorial, I will look at profiling and explain how you can tune the noise levels for different intensities, frequencies, and channels. I will also look at how you can import and export the noise analysis.
NukeX 6.3 Denoise Tutorial: part 2 from The Foundry on Vimeo.
Welcome to the second of two tutorials on the Denoise node for The Foundry’s NukeX. In the first tutorial, I took you through the basics of Denoise. In this tutorial, I will go through profiling and tuning of noise levels for different luminance values, frequencies, and color channels. So again, I have this footage I want to denoise, but this time I will take you through more advanced ways of using the tool.
The first thing I will explore is profiling. The noise Profile specifies this threshold across different intensities. By setting the Profile to Constant, it is, of course, constant across all intensities, but even so, we can go in and tune it. To tune the profile, open up the Tune Profile tab, select Tune Profile, and you can now tune the low light, midtone, and highlight regions. To visualize your profile, you can go into the Noise Analysis tab and press Plot Profile. You can then see how the profile changes as you tune it. If you are not quite sure how to tune the profile, you can deselect Tune Profile and set the Profile to Automatic. This will compute an automatic profile for the frame you are looking at. If you want to change the frame, you have to go down to Profile Frame, change it to another frame, and then press Recalculate Profile. This is the frame computed for 230 - you can see that it is quite flat. This is probably because there is not enough variation in this frame to build a good profile. You can still go in and tune it, but let’s see if we can obtain a better profile from a different clip.
I am going to bring in a different clip, shot with the same camera, and show you how to compute the profile, export it, and import it again. I will copy this node and select the original clip as the noise clip and the new clip as the source clip. I will then press Analyze Noise, not moving the region or anything. So, we will analyze the noise from exactly the same region as the original sequence. OK, I will then Recalculate Profile. So, this is the profile for the new clip. Let’s just view the full frame of the clip. You can see the noise levels are less in the shadows and highlights and more in the midtones. Let’s save this profile in Analysis File, so just put in a file name - it could be anything - and Export Profile. I can then remove this clip, remove this node, and go back to the original Denoise node, put in my profile name, and import it. You can see the profile has been imported and it looks exactly like it did before. When you import a profile, all parameters relevant to it will be locked. To unlock it, go into the Noise Analysis tab and change it to anything other than Lock Analysis, in this case, Analysis Button. I am going to copy this node again, so we can compare the results obtained with the Automatic profile and the Constant profile. Let me set this Profile to Constant and remove Plot Profile and the other Plot Profile. Let’s zoom in again. So, this is the original, this is the result using the Constant profile, and this is the result using the Automatic profile.
You can see that the Automatic profile has maybe a bit too much noise. So, let’s go in and tweak it a bit: Denoise Amount moved up from 1 to 1.42. We now have a flat background, but we also have more detail. Let’s compare that. So, you can see that the Automatic profile has kept a lot more detail, this hair sticking out, more detail around here as well. You can also tune the noise levels for different frequencies. Most of the noise is in the low to mid frequencies, so sometimes you can disable the low and very low frequencies. Go into Tune Frequencies and try disabling these. If disabling these does not introduce any more noise, then you can leave them disabled, otherwise you can try tuning them a bit.
Finally, you can also tune the noise levels for the luminance and the chrominance. The human eye is not very sensitive to color variations, so by default the Chrominance Gain is set to 5 times the estimated noise level. You might, however, want to reduce this to preserve the original color (2.05). This is our final result, compared to the original, and compared to the result we obtained after the first tutorial. So, I have taken you through profiling and the advanced tuning of Denoise. Thanks for watching the second tutorial on the Denoise node for The Foundry’s NukeX.