23 #include <fvfilters/median.h> 25 #include <core/exception.h> 29 #elif defined(HAVE_OPENCV) 31 # include <opencv2/imgproc.hpp> 33 # error "Neither IPP nor OpenCV available" 52 this->mask_size = mask_size;
64 IppiSize mask = { mask_size, mask_size };
65 IppiPoint anchor = { (mask_size + 1) / 2, (mask_size + 1) / 2 };
74 if ( status != ippStsNoErr ) {
77 #elif defined(HAVE_OPENCV) 82 src_roi[0]->line_step);
92 cv::medianBlur(srcm, dstm, mask_size);
fawkes::point_t start
ROI start.
unsigned int x
x coordinate
unsigned int width
ROI width.
unsigned char ** src
Source buffers, dynamically allocated by Filter ctor.
Base class for exceptions in Fawkes.
unsigned int y
y coordinate
ROI ** src_roi
Source ROIs, dynamically allocated by Filter ctor.
unsigned int height
ROI height.
unsigned int line_step
line step
unsigned char * dst
Destination buffer.
unsigned int pixel_step
pixel step
ROI * dst_roi
Destination ROI.