26 typedef Point* PointPtr;
35 typedef Raster const* RasterConstPtr;
81 void AllocateMemory ();
82 void CleanUpMemory ();
84 inline double Distance (
Point& p1,
88 void BuildLowerLink ();
90 void BuildUpperLink ();
92 void CalcConvexArea (RasterPtr raster);
94 double ConvexArea2 ();
96 void DrawLine (
Raster& raster,
110 double TriangleArea (
Point& a,
117 PointListPtr upperPoints;
118 PointListPtr lowerPoints;
A class that is used by to represent a single image in memory.
ConvexHull * ConvexHullPtr
Used by Raster class and MorphOp derived classes to denote a single pixel location in Raster image...
RasterPtr Filter(const Raster &src, RasterPtr dest)
unsigned char uchar
Unsigned character.
RasterPtr Filter(const Raster &src)
Returns a image that represents the convex-hull of the 'src' image. param[in] src Source image that c...
void Draw(Raster &output)
Operator that will create a Convex Hull of a supplied image.
Base class for all Morphological operations.
virtual RasterPtr PerformOperation(RasterConstPtr _image)
Container object used to maintaining a list of pixel locations.
void Store(const Raster &input)
Build list of the upper and lower points in the image.
virtual OperationType Operation() const