Class ConfigRefinePolygonLineToImage

java.lang.Object
boofcv.factory.shape.ConfigRefinePolygonLineToImage
All Implemented Interfaces:
Configuration, Serializable

public class ConfigRefinePolygonLineToImage extends Object implements Configuration
Configuration parameters for RefinePolygonToGrayLine
See Also:
  • Field Details

    • cornerOffset

      public double cornerOffset
      How far away in pixels it will start sampling the line from a corner. Corners can become highly aliased with ambiguous borders.
    • lineSamples

      public int lineSamples
      Number of times along the line it will be sampled
    • sampleRadius

      public int sampleRadius
      Number of points tangent to the line in each direction it samples. In total the number of samples along a line will be lineSamples*(2*sampleRadius+1)
    • maxIterations

      public int maxIterations
      Maximum number of iterations
    • convergeTolPixels

      public double convergeTolPixels
      Convergence tolerance in pixels
    • maxCornerChangePixel

      public double maxCornerChangePixel
      Maximum number of pixels a corner can be adjusted in a single iteration. This becomes important with very small shapes and can prevent divergence.
  • Constructor Details

    • ConfigRefinePolygonLineToImage

      public ConfigRefinePolygonLineToImage()
  • Method Details