CvInvokeFastNlMeansDenoising Method |
http://www.emgu.com
Perform image denoising using Non-local Means Denoising algorithm:
http://www.ipol.im/pub/algo/bcm_non_local_means_denoising/
with several computational optimizations. Noise expected to be a Gaussian white noise.
Namespace:
Emgu.CV
Assembly:
Emgu.CV.World (in Emgu.CV.World.dll) Version: 4.1.1.3497 (4.1.1.3497)
Syntaxpublic static void FastNlMeansDenoising(
IInputArray src,
IOutputArray dst,
float h = 3f,
int templateWindowSize = 7,
int searchWindowSize = 21
)
Public Shared Sub FastNlMeansDenoising (
src As IInputArray,
dst As IOutputArray,
Optional h As Single = 3F,
Optional templateWindowSize As Integer = 7,
Optional searchWindowSize As Integer = 21
)
public:
static void FastNlMeansDenoising(
IInputArray^ src,
IOutputArray^ dst,
float h = 3f,
int templateWindowSize = 7,
int searchWindowSize = 21
)
static member FastNlMeansDenoising :
src : IInputArray *
dst : IOutputArray *
?h : float32 *
?templateWindowSize : int *
?searchWindowSize : int
(* Defaults:
let _h = defaultArg h 3f
let _templateWindowSize = defaultArg templateWindowSize 7
let _searchWindowSize = defaultArg searchWindowSize 21
*)
-> unit
Parameters
- src
- Type: Emgu.CVIInputArray
Input 8-bit 1-channel, 2-channel or 3-channel image. - dst
- Type: Emgu.CVIOutputArray
Output image with the same size and type as src. - h (Optional)
- Type: SystemSingle
Parameter regulating filter strength. Big h value perfectly removes noise but also removes image details, smaller h value preserves details but also preserves some noise. - templateWindowSize (Optional)
- Type: SystemInt32
Size in pixels of the template patch that is used to compute weights. Should be odd. - 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.
See Also