public class EdgeIntensityEllipse<T extends boofcv.struct.image.ImageGray> extends BaseIntegralEdge<T>
Computes the edge intensity along the an ellipse.
Edge Intensity Definition:integral, integralImage| Constructor and Description |
|---|
EdgeIntensityEllipse(double tangentDistance,
int numContourPoints,
double passThreshold,
java.lang.Class<T> imageType)
Configures edge intensity calculation
|
| Modifier and Type | Method and Description |
|---|---|
double |
getEdgeIntensity() |
boolean |
process(georegression.struct.shapes.EllipseRotated_F64 ellipse)
Processes the edge along the ellipse and determines if the edge intensity is strong enough
to pass or not
|
getInputType, setImage, setTransformpublic EdgeIntensityEllipse(double tangentDistance,
int numContourPoints,
double passThreshold,
java.lang.Class<T> imageType)
tangentDistance - Distance along tangent it will integratenumContourPoints - Number of points along the contour it will sample. If ≤ 0
the test will always passpassThreshold - Threshold for passing. Value: 0 to (max - min) pixel value.imageType - Type of input imagepublic boolean process(georegression.struct.shapes.EllipseRotated_F64 ellipse)
ellipse - The ellipse in undistorted image coordinates.public double getEdgeIntensity()