public class LineDetector extends java.lang.Object implements ShapeDetector<Line>
Constructor and Description |
---|
LineDetector(double thetaIncrement) |
Modifier and Type | Method and Description |
---|---|
Line |
buildShape(int theta,
int r,
int scaleIndex,
int votes) |
int[] |
getHoughSpaceSizeAndGenerateLUT(int imageWidth,
int imageHeight) |
int |
getMaximumScaleIndex() |
int |
getMaximumVotesPerScale(int scaleIndex) |
int |
getMinimumScaleIndex() |
int |
getSamplesPerScaleIndex(int index) |
int |
getScaleCount() |
int |
getScaleIncrement() |
int[] |
getSignificantPointOfShape(int x,
int y,
int sample,
int scaleIndex) |
public int[] getHoughSpaceSizeAndGenerateLUT(int imageWidth, int imageHeight)
getHoughSpaceSizeAndGenerateLUT
in interface ShapeDetector<Line>
public int getScaleCount()
getScaleCount
in interface ShapeDetector<Line>
public int getMinimumScaleIndex()
getMinimumScaleIndex
in interface ShapeDetector<Line>
public int getMaximumScaleIndex()
getMaximumScaleIndex
in interface ShapeDetector<Line>
public int getScaleIncrement()
getScaleIncrement
in interface ShapeDetector<Line>
public int getSamplesPerScaleIndex(int index)
getSamplesPerScaleIndex
in interface ShapeDetector<Line>
public int getMaximumVotesPerScale(int scaleIndex)
getMaximumVotesPerScale
in interface ShapeDetector<Line>
public int[] getSignificantPointOfShape(int x, int y, int sample, int scaleIndex)
getSignificantPointOfShape
in interface ShapeDetector<Line>
public Line buildShape(int theta, int r, int scaleIndex, int votes)
buildShape
in interface ShapeDetector<Line>