Image Component Library (ICL)
Public Member Functions | List of all members
icl::markers::RegionStructure Struct Referenceabstract

region structure interface class More...

#include <RegionStructure.h>

Inheritance diagram for icl::markers::RegionStructure:
icl::markers::TwoLevelRegionStructure

Public Member Functions

virtual bool match (const cv::ImageRegion &r) const =0
 answers the question whether a given region matches a region structure More...
 

Detailed Description

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

Member Function Documentation

◆ match()

virtual bool icl::markers::RegionStructure::match ( const cv::ImageRegion r) const
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.


The documentation for this struct was generated from the following file: