boofcv.examples.features
Class ExampleLineDetection
- java.lang.Object
-
- boofcv.examples.features.ExampleLineDetection
-
public class ExampleLineDetection extends java.lang.ObjectDemonstrates simple examples for detecting lines and line segments.
-
-
Constructor Summary
Constructors Constructor and Description ExampleLineDetection()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method and Description static <T extends ImageGray,D extends ImageGray>
voiddetectLines(java.awt.image.BufferedImage image, java.lang.Class<T> imageType, java.lang.Class<D> derivType)Detects lines inside the image using different types of Hough detectorsstatic <T extends ImageGray,D extends ImageGray>
voiddetectLineSegments(java.awt.image.BufferedImage image, java.lang.Class<T> imageType, java.lang.Class<D> derivType)Detects segments inside the imagestatic voidmain(java.lang.String[] args)
-
-
-
Method Detail
-
detectLines
public static <T extends ImageGray,D extends ImageGray> void detectLines(java.awt.image.BufferedImage image, java.lang.Class<T> imageType, java.lang.Class<D> derivType)
Detects lines inside the image using different types of Hough detectors- Parameters:
image- Input image.imageType- Type of image processed by line detector.derivType- Type of image derivative.
-
detectLineSegments
public static <T extends ImageGray,D extends ImageGray> void detectLineSegments(java.awt.image.BufferedImage image, java.lang.Class<T> imageType, java.lang.Class<D> derivType)
Detects segments inside the image- Parameters:
image- Input image.imageType- Type of image processed by line detector.derivType- Type of image derivative.
-
main
public static void main(java.lang.String[] args)
-
-
DataMelt 3.0 © DataMelt by jWork.ORG