Class ConfigHoughGradient

All Implemented Interfaces:
Configuration, Serializable

public class ConfigHoughGradient extends Object implements Configuration
Configuration for HoughTransformGradient
See Also:
  • Field Details

    • localMaxRadius

      public int localMaxRadius
      Lines in transform space must be a local max in a region with this radius. Try 5;
    • minCounts

      public int minCounts
      Minimum number of counts/votes inside the transformed image. Try 5.
    • minDistanceFromOrigin

      public int minDistanceFromOrigin
      Lines which are this close to the origin of the transformed image are ignored. Try 5.
    • maxLines

      public int maxLines
      Maximum number of lines to return. If ≤ 0 it will return them all.
    • mergeAngle

      public double mergeAngle
      If two lines have a slope within this tolerance (radians) then they can be merged.
    • mergeDistance

      public double mergeDistance
      If two lines are within this distance of each other then they can be merged. units = pixels.
    • refineRadius

      public int refineRadius
      Radius of mean-shift refinement. Set to zero to turn off.
    • edgeThreshold

      public ConfigEdgeThreshold edgeThreshold
      How the gradient is thresholded
  • Constructor Details

    • ConfigHoughGradient

      public ConfigHoughGradient()
    • ConfigHoughGradient

      public ConfigHoughGradient(int maxLines)
    • ConfigHoughGradient

      public ConfigHoughGradient(int localMaxRadius, int minCounts, int minDistanceFromOrigin, float thresholdEdge, int maxLines)
  • Method Details