Image Component Library (ICL)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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::RegionGraphInfo
graph
 optional information about the region graph More...
 
struct
icl::cv::ImageRegionData::SimpleInformation
simple
 simple image region information More...
 
struct
icl::cv::ImageRegionData::ComplexInformation
complex
 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

Constructor & Destructor Documentation

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

Constructor.

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

Destructor.

Member Function Documentation

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

adds a new child region

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

Utility factory function.

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

utility function

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

utility function

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

for debugging only

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

for debugging only

Friends And Related Function Documentation

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

Member Data Documentation

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

more complex image region information

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

for corner detection

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

optional information about the region graph

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

Region-ID.

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

underlying image

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

meta data, that can be associated with a region structure

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

list of line segments

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

simple image region information

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

pixel-count

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

image pixle value


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