Documentation of 'boofcv.alg.feature.detect.line.LineImageOps' Java class
LineImageOps
boofcv.alg.feature.detect.line

Class LineImageOps



  • public class LineImageOps
    extends java.lang.Object
    • Constructor Detail

      • LineImageOps

        public LineImageOps()
    • Method Detail

      • pruneSimilarLines

        public static java.util.List<LineParametric2D_F32> pruneSimilarLines(java.util.List<LineParametric2D_F32> lines,
                                                                             float[] intensity,
                                                                             float toleranceAngle,
                                                                             float toleranceDist,
                                                                             int imgWidth,
                                                                             int imgHeight)
        Prunes similar looking lines, but keeps the lines with the most intensity.
        Parameters:
        lines -
        intensity -
        toleranceAngle -
        Returns:
      • pruneSmall

        public static void pruneSmall(java.util.List<LineSegment2D_F32> lines,
                                      float threshold)
      • mergeSimilar

        public static void mergeSimilar(java.util.List<LineSegment2D_F32> lines,
                                        float thresholdAngle,
                                        float thresholdDist)
      • convert

        public static LineSegment2D_F32 convert(LineParametric2D_F32 l,
                                                int width,
                                                int height)
        Find the point in which the line intersects the image border and create a line segment at those points
      • checkAddInside

        public static void checkAddInside(int width,
                                          int height,
                                          Point2D_F32 a,
                                          java.util.List<Point2D_F32> inside)

DataMelt 3.0 © DataMelt by jWork.ORG

Ads help maintain this website.