24 #ifndef _FIREVISION_CLASSIFIER_BORDER_SHRINKER_H_ 25 #define _FIREVISION_CLASSIFIER_BORDER_SHRINKER_H_ 27 #include <fvclassifiers/shrinker.h> 29 namespace firevision {
45 unsigned int border_right = 0,
46 unsigned int border_top = 0,
47 unsigned int border_bottom = 10);
54 unsigned int border_left;
55 unsigned int border_right;
56 unsigned int border_top;
57 unsigned int border_bottom;
virtual void shrink(ROI *roi)
Shrink! Do the actual shrinking.
virtual ~BorderShrinker()
Virtual empty destructor.
Shrinker class to shrink ROIs.
BorderShrinker(unsigned int border_left=0, unsigned int border_right=0, unsigned int border_top=0, unsigned int border_bottom=10)
CloseShrinker shrinks ROIs It will make sure that any ROI that passes it will NOT be in the border re...