Documentation of 'boofcv.abst.feature.detect.line.DetectLineHoughPolar' Java class
DetectLineHoughPolar
boofcv.abst.feature.detect.line

Class DetectLineHoughPolar<I extends ImageGray,D extends ImageGray>

  • All Implemented Interfaces:
    DetectLine<I>


    public class DetectLineHoughPolar<I extends ImageGray,D extends ImageGray>
    extends java.lang.Object
    implements DetectLine<I>

    Full processing chain for detecting lines using a Hough transform with polar parametrization.

    USAGE NOTES: Blurring the image prior to processing can often improve performance. Results will not be perfect and to detect all the obvious lines in the image several false positives might be returned.

    See Also:
    HoughTransformLinePolar
    • Constructor Detail

      • DetectLineHoughPolar

        public DetectLineHoughPolar(int localMaxRadius,
                                    int minCounts,
                                    double resolutionRange,
                                    double resolutionAngle,
                                    float thresholdEdge,
                                    int maxLines,
                                    ImageGradient<I,D> gradient)
        Configures hough line detector.
        Parameters:
        localMaxRadius - Radius for local maximum suppression. Try 2.
        minCounts - Minimum number of counts for detected line. Critical tuning parameter and image dependent.
        resolutionRange - Resolution of line range in pixels. Try 2
        resolutionAngle - Resolution of line angle in radius. Try PI/180
        thresholdEdge - Edge detection threshold. Try 50.
        maxLines - Maximum number of lines to return. If ≤ 0 it will return them all.
        gradient - Algorithm for computing image gradient.

DataMelt 3.0 © DataMelt by jWork.ORG

Ads help maintain this website.