Package boofcv.alg.feature.detect.line
Class HoughParametersPolar
java.lang.Object
boofcv.alg.feature.detect.line.HoughParametersPolar
- All Implemented Interfaces:
HoughTransformParameters
HoughTransformParameters
with a polar parameterization.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
initialize
(int width, int height, GrayF32 transform) boolean
isTransformValid
(int x, int y) void
lineToCoordinate
(LineParametric2D_F32 line, Point2D_F64 coordinate) void
parameterize
(int x, int y, float derivX, float derivY, Point2D_F32 parameter) void
parameterize
(int x, int y, GrayF32 transform) void
transformToLine
(float x, float y, LineParametric2D_F32 line)
-
Constructor Details
-
HoughParametersPolar
public HoughParametersPolar(double rangeResolution, int numBinsAngle)
-
-
Method Details
-
initialize
- Specified by:
initialize
in interfaceHoughTransformParameters
-
isTransformValid
public boolean isTransformValid(int x, int y) - Specified by:
isTransformValid
in interfaceHoughTransformParameters
-
lineToCoordinate
- Specified by:
lineToCoordinate
in interfaceHoughTransformParameters
-
transformToLine
- Specified by:
transformToLine
in interfaceHoughTransformParameters
-
parameterize
- Specified by:
parameterize
in interfaceHoughTransformParameters
-
parameterize
- Specified by:
parameterize
in interfaceHoughTransformParameters
-