Package boofcv.alg.shapes.polygon
Class ContourEdgeIntensity<T extends ImageGray<T>>
java.lang.Object
boofcv.alg.shapes.polygon.ContourEdgeIntensity<T>
Computes the average value of points sampled outside and inside the contour at regular intervals. At each sample
location along the contour the local slope is computed using another contour point. This is then used to
compute the tangent. Then points inside and outside along the tangent are sampled using bilinear interpolation.
The value of these points are summed up and the average computed.
-
Constructor Summary
ConstructorDescriptionContourEdgeIntensity
(int contourSamples, int tangentSamples, double tangentStep, Class<T> imageType) Configures how the edge intensity is computed -
Method Summary
-
Constructor Details
-
Method Details
-
setImage
-
process
-
getInputType
-