Image Component Library (ICL)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Classes | Private Types | Private Member Functions | Static Private Member Functions | Private Attributes | Friends
icl::cv::ImageRegionData Struct Reference

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

#include <ImageRegionData.h>

List of all members.

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.
 ~ImageRegionData ()
 Destructor.
void link (ImageRegionData *a)
void addChild (ImageRegionData *a)
 adds a new child region
void showTree (int indent=0) const
 for debugging only
void showWithNeighbours () const
 for debugging only
ComplexInformationensureComplex ()
 utility function
SimpleInformationensureSimple ()
 utility function

Static Private Member Functions

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

Private Attributes

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

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 
) [inline, private]

Constructor.

Destructor.


Member Function Documentation

void icl::cv::ImageRegionData::addChild ( ImageRegionData a) [inline, private]

adds a new child region

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

Utility factory function.

utility function

utility function

void icl::cv::ImageRegionData::link ( ImageRegionData a) [inline, private]
void icl::cv::ImageRegionData::showTree ( int  indent = 0) const [private]

for debugging only

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

more complex image region information

for corner detection

optional information about the region graph

Region-ID.

underlying image

meta data, that can be associated with a region structure

list of line segments

simple image region information

int icl::cv::ImageRegionData::size [mutable, private]

pixel-count

image pixle value


The documentation for this struct was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines