public class HysteresisEdgeTracePoints extends Object
| Constructor and Description |
|---|
HysteresisEdgeTracePoints() |
| Modifier and Type | Method and Description |
|---|---|
List<EdgeContour> |
getContours()
Returns the found contours.
|
void |
process(ImageFloat32 intensity,
ImageSInt8 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 void process(ImageFloat32 intensity, ImageSInt8 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 List<EdgeContour> getContours()
Copyright © 2013. All Rights Reserved.