Image Component Library (ICL)
Public Types | Public Member Functions | Public Attributes | List of all members
icl::cv::ImageRegionPart Struct Reference

The ImageRegionPart represents a intermediate region part for the connected component analysis. More...

#include <ImageRegionPart.h>

Public Types

typedef std::vector< ImageRegionPart * > children_container
 internally used type for buffering children More...
 
typedef std::vector< WorkingLineSegment * > segment_container
 internally used type for buffring segments More...
 

Public Member Functions

ImageRegionPartinit (WorkingLineSegment *s)
 initializes this instance with the first WorkingLoineSegment More...
 
bool is_top () const
 returns whether this ImageRegionPart is on top More...
 
bool is_counted () const
 returns whether this ImageRegionPart has already been counted More...
 
bool is_collected () const
 returns whether this ImageRegionPart has already been collected More...
 
void notify_counted ()
 sets the counted bit to true More...
 
void notify_collected ()
 sets the collected bit to true More...
 
ImageRegionPartadopt ()
 

Public Attributes

children_container children
 list or vector of all contained regions More...
 
segment_container segments
 list of vector of all directly contained LineSegments More...
 
icl8u flags
 binary flags 0b_____[collected][counted][top] More...
 
int val
 chached value More...
 

Detailed Description

The ImageRegionPart represents a intermediate region part for the connected component analysis.

Member Typedef Documentation

◆ children_container

internally used type for buffering children

◆ segment_container

internally used type for buffring segments

Member Function Documentation

◆ adopt()

ImageRegionPart* icl::cv::ImageRegionPart::adopt ( )
inline

◆ init()

ImageRegionPart* icl::cv::ImageRegionPart::init ( WorkingLineSegment s)
inline

initializes this instance with the first WorkingLoineSegment

◆ is_collected()

bool icl::cv::ImageRegionPart::is_collected ( ) const
inline

returns whether this ImageRegionPart has already been collected

◆ is_counted()

bool icl::cv::ImageRegionPart::is_counted ( ) const
inline

returns whether this ImageRegionPart has already been counted

◆ is_top()

bool icl::cv::ImageRegionPart::is_top ( ) const
inline

returns whether this ImageRegionPart is on top

◆ notify_collected()

void icl::cv::ImageRegionPart::notify_collected ( )
inline

sets the collected bit to true

◆ notify_counted()

void icl::cv::ImageRegionPart::notify_counted ( )
inline

sets the counted bit to true

Member Data Documentation

◆ children

children_container icl::cv::ImageRegionPart::children

list or vector of all contained regions

◆ flags

icl8u icl::cv::ImageRegionPart::flags

binary flags 0b_____[collected][counted][top]

◆ segments

segment_container icl::cv::ImageRegionPart::segments

list of vector of all directly contained LineSegments

◆ val

int icl::cv::ImageRegionPart::val

chached value


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