public class ContourEdgeIntensity<T extends boofcv.struct.image.ImageGray<T>>
extends java.lang.Object
| Constructor and Description |
|---|
ContourEdgeIntensity(int contourSamples,
int tangentSamples,
double tangentStep,
java.lang.Class<T> imageType)
Configures how the edge intensity is computed
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Class<T> |
getInputType() |
float |
getInsideAverage() |
float |
getOutsideAverage() |
void |
process(java.util.List<georegression.struct.point.Point2D_I32> contour,
boolean isCCW) |
void |
setImage(T image) |
public ContourEdgeIntensity(int contourSamples,
int tangentSamples,
double tangentStep,
java.lang.Class<T> imageType)
contourSamples - Sample of times it will sample along the image contour.tangentSamples - tangentStep - imageType - public void setImage(T image)
public void process(java.util.List<georegression.struct.point.Point2D_I32> contour,
boolean isCCW)
public float getOutsideAverage()
public float getInsideAverage()
public java.lang.Class<T> getInputType()