Fast (but approximate)version of non-local means algorith similar to CPU function (running sums technique) More...
#include <gpu.hpp>
Public Member Functions | |
void | simpleMethod (const GpuMat &src, GpuMat &dst, float h, int search_window=21, int block_size=7, Stream &s=Stream::Null()) |
Simple method, recommended for grayscale images (though it supports multichannel images) More... | |
void | labMethod (const GpuMat &src, GpuMat &dst, float h_luminance, float h_color, int search_window=21, int block_size=7, Stream &s=Stream::Null()) |
Processes luminance and color components separatelly. More... | |
Fast (but approximate)version of non-local means algorith similar to CPU function (running sums technique)
void cv::gpu::FastNonLocalMeansDenoising::labMethod | ( | const GpuMat & | src, |
GpuMat & | dst, | ||
float | h_luminance, | ||
float | h_color, | ||
int | search_window = 21 , |
||
int | block_size = 7 , |
||
Stream & | s = Stream::Null() |
||
) |
Processes luminance and color components separatelly.
void cv::gpu::FastNonLocalMeansDenoising::simpleMethod | ( | const GpuMat & | src, |
GpuMat & | dst, | ||
float | h, | ||
int | search_window = 21 , |
||
int | block_size = 7 , |
||
Stream & | s = Stream::Null() |
||
) |
Simple method, recommended for grayscale images (though it supports multichannel images)