Class FactoryDetectLineAlgs
java.lang.Object
boofcv.factory.feature.detect.line.FactoryDetectLineAlgs
Factory for creating line and line segment detectors.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic <D extends ImageGray<D>>
DetectLineHoughFootSubimage<D>houghFootSub
(@Nullable ConfigHoughFootSubimage config, Class<D> derivType) Detects lines using a foot of norm parametrization and sub images to reduce degenerate configurations, seeDetectLineHoughFootSubimage
for details.static <D extends ImageGray<D>>
HoughTransformGradient<D>houghLineFoot
(ConfigHoughGradient configHough, ConfigParamFoot configParam, Class<D> derivType) static HoughTransformBinary
houghLinePolar
(ConfigHoughBinary configHough, ConfigParamPolar configParam) static <D extends ImageGray<D>>
HoughTransformGradient<D>houghLinePolar
(ConfigHoughGradient configHough, ConfigParamPolar configParam, Class<D> derivType) static <I extends ImageGray<I>,
D extends ImageGray<D>>
DetectLineSegmentsGridRansac<I,D> lineRansac
(@Nullable ConfigLineRansac config, Class<I> imageType, Class<D> derivType) Detects line segments inside an image using theDetectLineSegmentsGridRansac
algorithm.
-
Constructor Details
-
FactoryDetectLineAlgs
public FactoryDetectLineAlgs()
-
-
Method Details
-
lineRansac
public static <I extends ImageGray<I>,D extends ImageGray<D>> DetectLineSegmentsGridRansac<I,D> lineRansac(@Nullable @Nullable ConfigLineRansac config, Class<I> imageType, Class<D> derivType) Detects line segments inside an image using theDetectLineSegmentsGridRansac
algorithm.- Parameters:
config
- Configuration for line detectorimageType
- Type of single band input image.derivType
- Image derivative type.- Returns:
- Line segment detector
- See Also:
-
houghFootSub
public static <D extends ImageGray<D>> DetectLineHoughFootSubimage<D> houghFootSub(@Nullable @Nullable ConfigHoughFootSubimage config, Class<D> derivType) Detects lines using a foot of norm parametrization and sub images to reduce degenerate configurations, seeDetectLineHoughFootSubimage
for details.- Type Parameters:
D
- Image derivative type.- Parameters:
config
- Configuration for line detector. If null then default will be used.derivType
- Image derivative type.- Returns:
- Line detector.
- See Also:
-
houghLineFoot
public static <D extends ImageGray<D>> HoughTransformGradient<D> houghLineFoot(ConfigHoughGradient configHough, ConfigParamFoot configParam, Class<D> derivType) -
houghLinePolar
public static <D extends ImageGray<D>> HoughTransformGradient<D> houghLinePolar(ConfigHoughGradient configHough, ConfigParamPolar configParam, Class<D> derivType) -
houghLinePolar
public static HoughTransformBinary houghLinePolar(ConfigHoughBinary configHough, ConfigParamPolar configParam)
-