| Cv2FastNlMeansDenoisingColoredMulti Method (IEnumerableInputArray, OutputArray, Int32, Int32, Single, Single, Int32, Int32) |
Modification of fastNlMeansDenoisingMulti function for colored images sequences
Namespace:
OpenCvSharp
Assembly:
OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0
Syntax public static void FastNlMeansDenoisingColoredMulti(
IEnumerable<InputArray> srcImgs,
OutputArray dst,
int imgToDenoiseIndex,
int temporalWindowSize,
float h = 3f,
float hColor = 3f,
int templateWindowSize = 7,
int searchWindowSize = 21
)
Public Shared Sub FastNlMeansDenoisingColoredMulti (
srcImgs As IEnumerable(Of InputArray),
dst As OutputArray,
imgToDenoiseIndex As Integer,
temporalWindowSize As Integer,
Optional h As Single = 3F,
Optional hColor As Single = 3F,
Optional templateWindowSize As Integer = 7,
Optional searchWindowSize As Integer = 21
)
public:
static void FastNlMeansDenoisingColoredMulti(
IEnumerable<InputArray^>^ srcImgs,
OutputArray^ dst,
int imgToDenoiseIndex,
int temporalWindowSize,
float h = 3f,
float hColor = 3f,
int templateWindowSize = 7,
int searchWindowSize = 21
)
static member FastNlMeansDenoisingColoredMulti :
srcImgs : IEnumerable<InputArray> *
dst : OutputArray *
imgToDenoiseIndex : int *
temporalWindowSize : int *
?h : float32 *
?hColor : float32 *
?templateWindowSize : int *
?searchWindowSize : int
(* Defaults:
let _h = defaultArg h 3f
let _hColor = defaultArg hColor 3f
let _templateWindowSize = defaultArg templateWindowSize 7
let _searchWindowSize = defaultArg searchWindowSize 21
*)
-> unit
Parameters
- srcImgs
- Type: System.Collections.GenericIEnumerableInputArray
Input 8-bit 3-channel images sequence. All images should have the same type and size. - dst
- Type: OpenCvSharpOutputArray
Output image with the same size and type as srcImgs images. - imgToDenoiseIndex
- Type: SystemInt32
Target image to denoise index in srcImgs sequence - temporalWindowSize
- Type: SystemInt32
Number of surrounding images to use for target image denoising. Should be odd.
Images from imgToDenoiseIndex - temporalWindowSize / 2 to imgToDenoiseIndex - temporalWindowSize / 2 from srcImgs
will be used to denoise srcImgs[imgToDenoiseIndex] image. - h (Optional)
- Type: SystemSingle
Parameter regulating filter strength for luminance component. Bigger h value perfectly removes noise
but also removes image details, smaller h value preserves details but also preserves some noise. - hColor (Optional)
- Type: SystemSingle
The same as h but for color components. - templateWindowSize (Optional)
- Type: SystemInt32
Size in pixels of the template patch that is used to compute weights. Should be odd. Recommended value 7 pixels - searchWindowSize (Optional)
- Type: SystemInt32
Size in pixels of the window that is used to compute weighted average for given pixel.
Should be odd. Affect performance linearly: greater searchWindowsSize - greater denoising time. Recommended value 21 pixels
See Also