public class HysteresisEdgeTracePoints
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static float |
MARK_TRAVERSED |
| Constructor and Description |
|---|
HysteresisEdgeTracePoints() |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<EdgeContour> |
getContours()
Returns the found contours.
|
void |
process(boofcv.struct.image.GrayF32 intensity,
boofcv.struct.image.GrayS8 direction,
float lower,
float upper)
Performs hysteresis thresholding using the provided lower and upper thresholds.
|
protected void |
trace(int x,
int y,
int indexInten)
Traces along object's contour starting at the specified seed.
|
public static final float MARK_TRAVERSED
public void process(boofcv.struct.image.GrayF32 intensity,
boofcv.struct.image.GrayS8 direction,
float lower,
float upper)
intensity - Intensity image after edge non-maximum suppression has been applied. Modified.direction - 4-direction image. Not modified.lower - Lower threshold.upper - Upper threshold.protected void trace(int x,
int y,
int indexInten)
x - x-coordinate of seed pixel above thresholdy - y-coordinate of seed pixel above thresholdindexInten - Pixel index in the image array of coordinate (x,y)public java.util.List<EdgeContour> getContours()