Package boofcv.alg.shapes.polygon
Class DetectPolygonFromContour.Info
java.lang.Object
boofcv.alg.shapes.polygon.DetectPolygonFromContour.Info
- Enclosing class:
- DetectPolygonFromContour<T extends ImageGray<T>>
-
Field Summary
Modifier and TypeFieldDescriptionBoolean value for each corner being along the border.Contour that the shape was fit to.boolean
True if the shape's contour touches the image borderdouble
Average pixel intensity score along the polygon's edge inside and outsidedouble
Average pixel intensity score along the polygon's edge inside and outsideboolean
Was it created from an external or internal contourPolygon in undistorted image pixels.Polygon in the original (distorted) image pixels -
Constructor Summary
-
Method Summary
-
Field Details
-
external
public boolean externalWas it created from an external or internal contour -
edgeInside
public double edgeInsideAverage pixel intensity score along the polygon's edge inside and outside -
edgeOutside
public double edgeOutsideAverage pixel intensity score along the polygon's edge inside and outside -
contourTouchesBorder
public boolean contourTouchesBorderTrue if the shape's contour touches the image border -
borderCorners
Boolean value for each corner being along the border. If empty then non of the corners are long the border. true means the corner is a border corner. -
polygon
Polygon in undistorted image pixels. -
polygonDistorted
Polygon in the original (distorted) image pixels -
splits
-
contour
Contour that the shape was fit to. The point coordinates will be in undistorted coordinates if an undistortion function was passed in.
-
-
Constructor Details
-
Info
public Info()
-
-
Method Details
-
computeEdgeIntensity
public double computeEdgeIntensity() -
hasInternal
public boolean hasInternal() -
reset
public void reset()
-