- <init>
Constructs a connected component from a mask image. Pixels are created for areas
within the mask ima
- calculateRegularBoundingBox
- calculateArea
- calculateCentroid
- toPolygon
Converts this connected component into a Polygon representation by performing a
4-connected boundary
- calculateCentroidPixel
- process
Process this connected component with the given ConnectedComponentProcessor and
returns a new compon
- calculateConvexHull
Calculates the convex hull polygon for this connected component using Andrew's
montone algorithm.
- calculateDirection
- calculateOrientatedBoundingBox
Calculates the polygon that defines the minimum bounding box that best fits the
connected component,
- clone
Performs a deep copy on the connected component; that is, all pixels are also
cloned.
- getInnerBoundary
Returns an ordered list of pixels that are on the inner boundary of the shape.
That means that the b