Image Component Library (ICL)
|
region structure interface class More...
#include <RegionStructure.h>
Public Member Functions | |
virtual bool | match (const cv::ImageRegion &r) const =0 |
answers the question whether a given region matches a region structure More... | |
region structure interface class
A region structure can be defined arbitrarily, It defines how a single image region is matched agains a given structure instance
|
pure virtual |
answers the question whether a given region matches a region structure
Usually, this method is called for every region in an image. Therefore, a particular match-implementation should try to reject a match as fast as possible. E.g. by first checking whether the root region has a correct color value
Implemented in icl::markers::TwoLevelRegionStructure.