Class ChessboardCornerEdgeIntensity<T extends ImageGray<T>>


public class ChessboardCornerEdgeIntensity<T extends ImageGray<T>>
extends Object
Computes edge intensity for the line between two corners. Assumes the edge is approximately straight. This means lens distortion between two points can't be too massive. Orientation of corners is used to estimate which side of the line should be white/black
  • Constructor Details

    • ChessboardCornerEdgeIntensity

      public ChessboardCornerEdgeIntensity​(Class<T> imageType)
  • Method Details

    • setImage

      public void setImage​(T image)
    • process

      public float process​(ChessboardCorner ca, ChessboardCorner cb, double direction_a_to_b)
      Computes a value for the line intensity between two corners.
      ca - corner a
      cb - corner b
      direction_a_to_b - Direction from a to b in radians.
      the line intensity. more positive more intense. Units = pixels intensity
    • getLengthSamples

      public int getLengthSamples()
    • setLengthSamples

      public void setLengthSamples​(int lengthSamples)
    • getImageType

      public Class<T> getImageType()