public class PixelsFeature extends ConnectedComponent implements ComponentFeature
ConnectedComponent.ConnectMode| Constructor and Description |
|---|
PixelsFeature() |
| Modifier and Type | Method and Description |
|---|---|
void |
addSample(IntValuePixel p)
Add a pixel to this feature
|
PixelsFeature |
clone()
Performs a deep copy on the connected component; that is, all pixels are
also cloned.
|
void |
merge(ComponentFeature f)
Merge another feature with this one
|
asciiHeader, binaryHeader, calculateAreaRatio, calculateAreaRatio, calculateBoundaryDistanceFromCentre, calculateConvexHull_AndrewsMontone, calculateConvexHull_Melkman, calculateConvexHull, calculateOrientatedBoundingBox, calculateOrientatedBoundingBoxAspectRatio, calculatePercentageConvexHullFit, code4, code8, estimateNumberOfVertices, floodFill, freemanChainCode, getInnerBoundary, getOuterBoundary, isLeft, nextEdgePixelACW4, nextEdgePixelACW4, nextEdgePixelACW8, process, process, processInplace, toPolygonaddPixel, addPixel, bottomRightMostPixel, calculateArea, calculateAverageHeightWidth, calculateAverageHeightWidth, calculateBinaryMask, calculateCentroid, calculateCentroidPixel, calculateDirection, calculateMoment, calculateMoment, calculateMomentNormalised, calculateRegularBoundingBox, calculateRegularBoundingBoxAspectRatio, crop, extractPixels1d, extractPixels1d, extractPixels2d, find, find, fromShape, getPixels, iterator, merge, normMatrix, readASCII, readBinary, reposition, toFImage, toFImage, topLeftMostPixel, toString, toStringImage, transform, translate, writeASCII, writeBinaryequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitforEach, spliteratorpublic PixelsFeature()
public void merge(ComponentFeature f)
ComponentFeaturemerge in interface ComponentFeaturef - the feature to mergepublic void addSample(IntValuePixel p)
ComponentFeatureaddSample in interface ComponentFeaturep - the pixel to addpublic PixelsFeature clone()
ConnectedComponentclone in interface ComponentFeatureclone in class ConnectedComponent