44 struct ImageRegionPart;
45 struct ImageRegionData;
105 template<
class T>
void calculateBoundaryIntern(
const core::Img<T> &image)
const;
108 void calculateThinnedBoundaryIntern()
const;
124 inline operator bool()
const {
return m_data; }
136 void sample(
core::ImgBase *image,
const std::vector<int> &channelColors);
151 const std::vector<LineSegment> &getLineSegments()
const;
160 const std::vector<utils::Point> &getBoundary(
bool thinned=
true)
const;
163 int getBoundaryPointCount(
bool thinned)
const;
172 float getBoundaryLength()
const;
179 const std::vector<utils::Point32f> &getBoundaryCorners()
const;
196 float getFormFactor()
const;
201 const std::vector<utils::Point> &getPixels()
const;
220 const std::vector<ImageRegion> &getSubRegions(
bool directOnly=
true)
const ;
230 const std::vector<ImageRegion> &getParentTree()
const ;
234 const std::vector<ImageRegion> &getNeighbours()
const ;
237 bool isBorderRegion()
const ;
243 void showTree()
const;
253 void setMetaData(
const utils::Any &any)
const;
undocument this line if you encounter any issues!
Definition: Any.h:37
ImageRegion(ImageRegionData *data=0)
Null-construktor.
Definition: ImageRegion.h:116
ICLQt_API ImgROI data(ImgQ &r)
creates full ROI ROI-struct
#define ICLCV_API
Definition: CompatMacros.h:177
Ipp64f icl64f
64Bit floating point type for the ICL
Definition: BasicTypes.h:52
ImageRegionData * m_data
Internally handled data (not shallow copied, but simply linked to the real data that is managed by th...
Definition: ImageRegion.h:102
ImageRegion Structure providing region feature information.
Definition: ImageRegion.h:99
Complex utility class for detection of connected image components.
Definition: RegionDetector.h:179
Single precission 3D Vectors Point class of the ICL.
Definition: Point32f.h:41
Utility class for shallow copied data of image region class.
Definition: ImageRegionData.h:50
Point class of the ICL used e.g. for the Images ROI offset.
Definition: Point.h:58
ICLQt_API void color(float r, float g=-1, float b=-1, float alpha=255)
sets the current color to given r,g,b,alpha value
const ImageRegionData * data() const
returns the internal data (do not use!) (const)
Definition: ImageRegion.h:130
ImageRegionData * data()
returns the internal data (do not use!)
Definition: ImageRegion.h:127
Rectangle class of the ICL used e.g. for the Images ROI-rect.
Definition: Rect.h:95
Simple generic data type implementation that uses a string based data representation.
Definition: Any.h:109
ImgBase is the Image-Interface class that provides save access to underlying Img-template .
Definition: ImgBase.h:131
data-struct to represent local PCA information
Definition: RegionPCAInfo.h:39