Image Component Library (ICL)
Classes | Private Types | Private Member Functions | Static Private Member Functions | Private Attributes | Friends | List of all members
icl::cv::ImageRegionData Struct Reference

Utility class for shallow copied data of image region class. More...

#include <ImageRegionData.h>

Classes

struct  ComplexInformation
 contains complex information, More...
 
struct  CSSParams
 
struct  RegionGraphInfo
 structure for representing region-graph information More...
 
struct  SimpleInformation
 

Private Types

typedef ImageRegionData IRD
 

Private Member Functions

 ImageRegionData (CornerDetectorCSS *css, int value, int id, unsigned int segmentSize, bool createGraph, const core::ImgBase *image)
 Constructor. More...
 
 ~ImageRegionData ()
 Destructor. More...
 
void link (ImageRegionData *a)
 
void addChild (ImageRegionData *a)
 adds a new child region More...
 
void showTree (int indent=0) const
 for debugging only More...
 
void showWithNeighbours () const
 for debugging only More...
 
ComplexInformationensureComplex ()
 utility function More...
 
SimpleInformationensureSimple ()
 utility function More...
 

Static Private Member Functions

static ImageRegionDatacreateInstance (CornerDetectorCSS *css, ImageRegionPart *topRegionPart, int id, bool createGraphInfo, const core::ImgBase *image)
 Utility factory function. More...
 

Private Attributes

int value
 image pixle value More...
 
int id
 Region-ID. More...
 
int size
 pixel-count More...
 
const core::ImgBaseimage
 underlying image More...
 
std::vector< LineSegmentsegments
 list of line segments More...
 
utils::Any meta
 meta data, that can be associated with a region structure More...
 
struct icl::cv::ImageRegionData::RegionGraphInfograph
 optional information about the region graph More...
 
struct icl::cv::ImageRegionData::SimpleInformationsimple
 simple image region information More...
 
struct icl::cv::ImageRegionData::ComplexInformationcomplex
 more complex image region information More...
 
CornerDetectorCSScss
 for corner detection More...
 

Friends

class RegionDetector
 
struct ImageRegion
 
bool region_search_border (std::set< IRD * > &, IRD *)
 
void collect_subregions_recursive (std::set< IRD * > &, IRD *)
 
bool is_region_contained (IRD *, IRD *)
 
bool region_search_outer_bb (const utils::Rect &, std::set< IRD * > &, IRD *)
 

Detailed Description

Utility class for shallow copied data of image region class.

Note: a nested class of ImageRegion is not possible as we need forward declarations of this class. Nested classes cannot be 'forward-declared'

Member Typedef Documentation

◆ IRD

Constructor & Destructor Documentation

◆ ImageRegionData()

icl::cv::ImageRegionData::ImageRegionData ( CornerDetectorCSS css,
int  value,
int  id,
unsigned int  segmentSize,
bool  createGraph,
const core::ImgBase image 
)
inlineprivate

Constructor.

◆ ~ImageRegionData()

icl::cv::ImageRegionData::~ImageRegionData ( )
inlineprivate

Destructor.

Member Function Documentation

◆ addChild()

void icl::cv::ImageRegionData::addChild ( ImageRegionData a)
inlineprivate

adds a new child region

◆ createInstance()

static ImageRegionData* icl::cv::ImageRegionData::createInstance ( CornerDetectorCSS css,
ImageRegionPart topRegionPart,
int  id,
bool  createGraphInfo,
const core::ImgBase image 
)
staticprivate

Utility factory function.

◆ ensureComplex()

ComplexInformation* icl::cv::ImageRegionData::ensureComplex ( )
inlineprivate

utility function

◆ ensureSimple()

SimpleInformation* icl::cv::ImageRegionData::ensureSimple ( )
inlineprivate

utility function

◆ link()

void icl::cv::ImageRegionData::link ( ImageRegionData a)
inlineprivate

◆ showTree()

void icl::cv::ImageRegionData::showTree ( int  indent = 0) const
private

for debugging only

◆ showWithNeighbours()

void icl::cv::ImageRegionData::showWithNeighbours ( ) const
private

for debugging only

Friends And Related Function Documentation

◆ collect_subregions_recursive

void collect_subregions_recursive ( std::set< IRD * > &  ,
IRD  
)
friend

◆ ImageRegion

friend struct ImageRegion
friend

◆ is_region_contained

bool is_region_contained ( IRD ,
IRD  
)
friend

◆ region_search_border

bool region_search_border ( std::set< IRD * > &  ,
IRD  
)
friend

◆ region_search_outer_bb

bool region_search_outer_bb ( const utils::Rect ,
std::set< IRD * > &  ,
IRD  
)
friend

◆ RegionDetector

friend class RegionDetector
friend

Member Data Documentation

◆ complex

struct icl::cv::ImageRegionData::ComplexInformation * icl::cv::ImageRegionData::complex
private

more complex image region information

◆ css

CornerDetectorCSS* icl::cv::ImageRegionData::css
private

for corner detection

◆ graph

struct icl::cv::ImageRegionData::RegionGraphInfo * icl::cv::ImageRegionData::graph
private

optional information about the region graph

◆ id

int icl::cv::ImageRegionData::id
private

Region-ID.

◆ image

const core::ImgBase* icl::cv::ImageRegionData::image
private

underlying image

◆ meta

utils::Any icl::cv::ImageRegionData::meta
private

meta data, that can be associated with a region structure

◆ segments

std::vector<LineSegment> icl::cv::ImageRegionData::segments
private

list of line segments

◆ simple

struct icl::cv::ImageRegionData::SimpleInformation * icl::cv::ImageRegionData::simple
private

simple image region information

◆ size

int icl::cv::ImageRegionData::size
mutableprivate

pixel-count

◆ value

int icl::cv::ImageRegionData::value
private

image pixle value


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