Denoising is a feature built into Corona, which can be used to quickly make noisy images noise-free. It can significantly reduce render times by removing the need to wait until the noise refines during the rendering process.
How to use denoising?
Enabling denoising
Denoising can be enabled under Render Settings > Corona > General settings > Denoising:
Enabling denoising in render settings and available denoising modes. Click to enlarge.
Available denoising options include:
- Corona High-Quality
- NVIDIA GPU AI (fast preview)
- Intel CPU/GPU AI (speed-quality hybrid)
- Gather data for later
- Denoise amount - this can be seen as the opacity of the denoised image being overlaid on top of the original one
- Denoise radius - radius of the blurring filter. Increasing it may help reduce very strong noise. Decreasing can help prevent the loss of fine details. The default value usually works best.
1. Corona High-Quality Denoiser
The main purpose of denoising, along with adaptivity, is reducing the number of passes needed to get a noise-free image. The reported render time reductions are between 50 and 70%. Denoising also attempts to remove fireflies (single bright pixels) from the image.
Corona High-Quality Denoiser has three modes:
- High quality - full denoising
- Only remove fireflies - useful in scenes where fireflies are the only issue, much faster than full denoising
- Gather data for later - gathers denoising data for the standalone Corona Image Editor
There are two parameters controlling this denoising type:
- Denoise amount - this blends between the denoised and non-denoised image. The default value of 0,65 provides a good balance between denoising and fine detail.
- Denoise radius - radius of the blurring filter. Increasing it may help reduce very strong noise. Decreasing can help prevent the loss of fine details. The default value usually works best.
2. NVIDIA GPU AI (fast preview)
This denoiser's main purpose, as the name suggests, is to provide fast, noise-free previews. It is applied almost in real-time during interactive or regular rendering, and after the rendering is stopped. It requires a supported GPU to work (See: Hardware Requirements), which is detected during the installation.
NVIDIA GPU AI Denoiser works in a similar way to the Corona High Quality Denoiser, however, there are some substantial differences:
- It is performed purely on the GPU (Corona High Quality Denoiser - on the CPU)
- It uses machine learning (sometimes called "AI") to smartly blur noise, but also to produce detail (Corona High Quality Denoiser can not add detail to the image)
- It can be used during interactive rendering too (Corona High Quality Denoiser can only be applied after the regular rendering is finished)
- It works almost in real-time and is applied to the image progressively as it renders (Corona High Quality Denoiser takes time and is applied only once after the rendering is finished)
- It should be used mostly for interactive rendering, quick previews, and optionally for final stills (Corona High Quality Denoiser is designed to be used for high quality stills and animations)
- It should not be used for animations, since it does not offer any kind of temporal consistency - rendering different frames will most likely result in flickering and artifacts (Corona High Quality Denoiser can be used for animations, provided that the base image quality is good enough)
- NVIDIA GPU AI Denoiser, as opposed to the Corona High Quality Denoiser, does not feature any additional modes
The only setting available for this denoising type is Denoise Amount, which works exactly the same as for the Corona High Quality Denoiser – it blends the original non-denoised image with the denoised result, and this can be done interactively during rendering, or once rendering is finished.
NVIDIA GPU AI Denoiser requires additional components to be installed during the installation of Corona. This is done automatically if a supported GPU is detected. In the case of installation issues, the additional components can be installed manually.
3. Intel CPU/GPU AI (speed-quality hybrid)
This denoiser combines the features of the Corona High-Quality Denoiser and the NVIDIA GPU AI Denoiser. It can run on the CPU or the GPU, it does not have to be an Intel CPU or GPU though; it works fine with non-Intel hardware as well like AMD CPUs, and uses machine learning to produce noise-free results. However, it is slower than the NVIDIA GPU AI Denoiser (seconds vs. milliseconds), so it can be applied to interactive rendering too. (the Intel GPU Denoiser only)
The only setting available for this denoising type is Denoise Amount, which works exactly the same as for the Corona High-Quality Denoiser – it blends the original non-denoised image with the denoised result, and this can be done interactively during rendering or once rendering is finished.
Note: In Corona 11, the Intel AI denoiser is supported only by Windows-based systems, and its GPU mode only works on NVIDIA GPUs.
The Intel GPU AI or NVIDIA GPU AI denoiser can be selected from:
Render Settings > Corona > Performance settings Tab > Interactive Rendering > Fast preview Denoise during render:
4. Saving a CXR file and denoising it later
The "Gather data for later" option can be used to skip the actual denoising process but save the denoising data within the CXR file. Such file can be then denoised later using the Corona Image Editor. Since the denoising is calculated later, you can use this approach to try different Denoise radius values without re-rendering (otherwise, the Denoise radius is baked in at render time).
For more information about CXR file saving for later use, visit this link -> How to save a .CXR file from the VFB
5. Saving multiple versions of the rendering with different denoising amounts
Multiple "VirtualBeauty" passes can be used to save different versions of the same image at once with various amounts of denoising applied. This allows you to use masks (either generated from Corona or created manually) to blend between different denoising amounts in post, for example, if you wish to preserve flakes in car paint or fine bump mapping in carpets that might need a lower denoising level than other parts of the image. Individual denoising amount is specified in the properties of each VirtualBeauty pass regardless of the in-VFB setting:
Multiple VirtualBeauty elements visible on the Corona Multi-Pass list. The denoising value of each of the passes is different than the currently set "denoise amount" in Corona VFB. Click to enlarge.
Denoising other passes
Denoising can be applied to other passes too by enabling the "Apply denoising also to this render element" option in each pass's settings.
Examples
Below are some examples where denoising greatly improves image quality:
1. Denoising on and off
1.1. Denoising on - interior scene - 10 minutes.
(click to enlarge)
1.2. Denoising off - interior scene - 10 minutes.
(click to enlarge)
1.3. Denoising on - strong DOF - 10 minutes.
(click to enlarge)
1.4. Denoising off - strong DOF - 10 minutes.
(click to enlarge)
2. Denoise radius
2.1. Denoise radius: 1
Denoise amount: 1
(default settings)
2.2. Denoise radius: 0,25
Denoise amount: 1
Note that the details are sharper than with default settings, but there are some artifacts visible.
2.3. Denoise radius: 4
Denoise amount: 1
Note how details get blurred.