23 #if ! (defined(HAVE_IPP) || defined(HAVE_OPENCV)) 24 #error "Neither IPP nor OpenCV installed" 27 #ifndef __FIREVISION_FILTER_THRESHOLD_H_ 28 #define __FIREVISION_FILTER_THRESHOLD_H_ 30 #include <fvfilters/filter.h> 41 unsigned char max = 127,
unsigned char max_replace = 255);
44 unsigned char max,
unsigned char max_replace);
51 unsigned char min_replace;
52 unsigned char max_replace;
FilterThreshold(unsigned char min=128, unsigned char min_replace=0, unsigned char max=127, unsigned char max_replace=255)
Constructor.
virtual void apply()
Apply the filter.
void set_thresholds(unsigned char min, unsigned char min_replace, unsigned char max, unsigned char max_replace)
Set new thresholds.