23 #include <fvfilters/median.h> 25 #include <core/exception.h> 29 #elif defined(HAVE_OPENCV) 30 # if CV_MAJOR_VERSION < 2 || (CV_MAJOR_VERSION == 2 && CV_MINOR_VERSION < 4) 31 # include <opencv/cv.h> 33 # include <opencv/cv.hpp> 35 # error "Neither IPP nor OpenCV available" 54 this->mask_size = mask_size;
66 IppiSize mask = { mask_size, mask_size };
67 IppiPoint anchor = { (mask_size + 1) / 2, (mask_size + 1) / 2 };
76 if ( status != ippStsNoErr ) {
79 #elif defined(HAVE_OPENCV) 84 src_roi[0]->line_step);
94 cv::medianBlur(srcm, dstm, mask_size);
fawkes::upoint_t start
ROI start.
unsigned int y
y coordinate
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.
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.