Package boofcv.alg.feature.detect.line
Class HoughParametersFootOfNorm
java.lang.Object
boofcv.alg.feature.detect.line.HoughParametersFootOfNorm
- All Implemented Interfaces:
HoughTransformParameters
HoughTransformParameters
with a foot-of-norm 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 l)
-
Constructor Details
-
HoughParametersFootOfNorm
public HoughParametersFootOfNorm(int minDistanceFromOrigin) - Parameters:
minDistanceFromOrigin
- Distance from the origin in which lines will not be estimated. In transform space. Try 5.
-
-
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
-