Class AztecDecoderImage<T extends ImageGray<T>>

java.lang.Object
boofcv.alg.fiducial.aztec.AztecDecoderImage<T>
All Implemented Interfaces:
VerbosePrint

public class AztecDecoderImage<T extends ImageGray<T>> extends Object implements VerbosePrint
Given location of a candidate finder patterns and the source image, decode the marker. Note: A fixed feature is a feature on the marker which is not dynamically computed. E.g. the pyramid.
  • Field Details

    • interpolate

      protected InterpolatePixelS<T extends ImageGray<T>> interpolate
      Reads interpolated image pixel intensity values
    • maxOrientationError

      public int maxOrientationError
      Maximum number of static bits that can be incorrect for orientation to be accepted
    • considerTransposed

      public boolean considerTransposed
      Should it consider a marker which has been transposed?
      See Also:
  • Constructor Details

    • AztecDecoderImage

      public AztecDecoderImage(Class<T> imageType)
  • Method Details

    • process

      public boolean process(AztecPyramid locatorPattern, T gray, AztecCode marker)
      Attempts to decode a marker at the specified location of a previously found locator pattern
      Parameters:
      locatorPattern - (Input) Coordinates of locator pattern
      gray - (Input) Gray scale image of marker
      marker - (Output) storage for decoded marker
      Returns:
      true if the marker could be decoded
    • decodeMode

      protected boolean decodeMode(AztecPyramid locator, AztecCode marker)
      Reads the image and decodes the marker's mode
      Parameters:
      locator - Locator pattern
      marker - Storage for decoded marker
      Returns:
      true if successful or false if it failed
    • decodeMessage

      protected boolean decodeMessage(AztecCode marker)
      Reads the message data from the image then decodes it. Results are stored in Marker
    • setVerbose

      public void setVerbose(@Nullable @Nullable PrintStream out, @Nullable @Nullable Set<String> configuration)
      Specified by:
      setVerbose in interface VerbosePrint