Definition of the data model for a polygon.
Definition of position or mathematical vector on 2D plane.
Implementation of the blob-based feature.
double GetPerimeter() const
CBlobFeature(double area, double perimeter, const i2d::CVector2d &position, double angle=0.0, const i2d::CVector2d &scale=i2d::CVector2d(1.0, 1.0), const i2d::CPolygon &contour=i2d::CPolygon())
double GetCircularity() const
double GetCompactness() const
iipr::CObjectFeature BaseClass
bool Serialize(iser::IArchive &archive) override
Load or store state of this object as a archive stream.
const i2d::CPolygon & GetContour() const
bool CopyFrom(const IChangeable &object, CompatibilityMode mode=CM_WITHOUT_REFS) override
std::unique_ptr< istd::IChangeable > CloneMe(CompatibilityMode mode=CM_WITHOUT_REFS) const override
Make a copy of this object.
Implementation of a general image object feature.
Represent input/output persistence archive.
CompatibilityMode
Control how relationship betweeen objects are interpreted.
@ CM_WITHOUT_REFS
External references are simple ignored.
Contains the image processing classes.