Webcam Denoise#
The webcam denoise filter removes the noise from the webcam video while preserving details.
The Strength value allows you to change the strength of the applied denoise filter by selecting a value of 0 or 1, and the default is 0.
Here is some additional information about the values:
The Strength of value 0 corresponds to a weak effect, which places a higher emphasis on texture preservation.
The Strength of value 1 corresponds to a strong effect, which places a higher emphasis on noise removal.
You can set the Strength value by using the NVVFX_SetF32 function.
This feature supports both 8-bit (U8) and 32-bit (F32) input and output formats.
For 32-bit (F32) Input and Output:
The input should be provided in a GPU buffer in BGR planar format, where each pixel component is a 32-bit float. In this case, the user must provide a normalized input scaled in the [-1, 1] range.
The output of the filter is a GPU buffer in BGR planar format, where each pixel component is a 32-bit float. The output will also be a scaled value in the [-1, 1] range.
For 8-bit (U8) Input and Output:
The input should be provided in a GPU buffer in BGR chunky format, where each pixel component is an 8-bit unsigned integer. In this case, the feature will internally scale the input as required.
The output of the filter is a GPU buffer in BGR chunky format, where each pixel component is an 8-bit unsigned integer.
The webcam denoising filter can be applied on videos and images, but for better denoising results, we recommend that you apply this filter only on videos.
This filter supports input images/videos in the 80p to 1080p resolution range.
Note
To remove temporal noise, webcam denoising uses a state variable to track the input video stream. Refer to Creating and Setting State Variables for Webcam Denoising for more information about how to track the input stream.