Class SquareBinary_to_FiducialDetector<T extends ImageGray<T>>

All Implemented Interfaces:
FiducialDetector<T>

public class SquareBinary_to_FiducialDetector<T extends ImageGray<T>> extends SquareBase_to_FiducialDetector<T,DetectFiducialSquareBinary<T>>
  • Constructor Details

    • SquareBinary_to_FiducialDetector

      public SquareBinary_to_FiducialDetector(DetectFiducialSquareBinary<T> detector, double targetWidth)
  • Method Details

    • getSideWidth

      public double getSideWidth(int which)
      Description copied from class: FiducialDetectorPnP
      Width of the fiducial. used to compute stability
      Specified by:
      getSideWidth in class FiducialDetectorPnP<T extends ImageGray<T>>
      Parameters:
      which - specifies which fiducial
      Returns:
      the width
    • getSideHeight

      public double getSideHeight(int which)
      Description copied from class: FiducialDetectorPnP
      Height of the fiducial. used to compute stability
      Specified by:
      getSideHeight in class FiducialDetectorPnP<T extends ImageGray<T>>
      Parameters:
      which - specifies which fiducial
      Returns:
      the height
    • getWidth

      public double getWidth(int which)
      Description copied from interface: FiducialDetector
      Returns the width of the fiducial in world units. If not square then it returns a reasonable approximation. Intended for use in visualization and not precise calculations.
      Parameters:
      which - Fiducial's index
      Returns:
      Fiducial's width.