Image Component Library (ICL)
|
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. | |
~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 | |
ComplexInformation * | ensureComplex () |
utility function | |
SimpleInformation * | ensureSimple () |
utility function | |
Static Private Member Functions | |
static ImageRegionData * | createInstance (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::ImgBase * | image |
underlying image | |
std::vector< LineSegment > | segments |
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 | |
CornerDetectorCSS * | css |
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 *) |
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'
typedef ImageRegionData icl::cv::ImageRegionData::IRD [private] |
icl::cv::ImageRegionData::ImageRegionData | ( | CornerDetectorCSS * | css, |
int | value, | ||
int | id, | ||
unsigned int | segmentSize, | ||
bool | createGraph, | ||
const core::ImgBase * | image | ||
) | [inline, private] |
Constructor.
icl::cv::ImageRegionData::~ImageRegionData | ( | ) | [inline, private] |
Destructor.
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.
ComplexInformation* icl::cv::ImageRegionData::ensureComplex | ( | ) | [inline, private] |
utility function
SimpleInformation* icl::cv::ImageRegionData::ensureSimple | ( | ) | [inline, private] |
utility function
void icl::cv::ImageRegionData::link | ( | ImageRegionData * | a | ) | [inline, private] |
void icl::cv::ImageRegionData::showTree | ( | int | indent = 0 | ) | const [private] |
for debugging only
void icl::cv::ImageRegionData::showWithNeighbours | ( | ) | const [private] |
for debugging only
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] |
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 [mutable, private] |
pixel-count
int icl::cv::ImageRegionData::value [private] |
image pixle value