Class MicroQrCodeDecoderImage<T extends ImageGray<T>>

java.lang.Object
boofcv.alg.fiducial.microqr.MicroQrCodeDecoderImage<T>
All Implemented Interfaces:
VerbosePrint

public class MicroQrCodeDecoderImage<T extends ImageGray<T>>
extends Object
implements VerbosePrint
Given an image and a known location of a Micro QR Code, decode the marker.
  • Field Details

    • considerTransposed

      public boolean considerTransposed
  • Constructor Details

    • MicroQrCodeDecoderImage

      public MicroQrCodeDecoderImage​(@Nullable @Nullable String forceEncoding, Class<T> imageType)
      Parameters:
      forceEncoding - Force the default encoding to be this. Null for default
  • Method Details

    • process

      public void process​(List<PositionPatternNode> pps, T gray)
      Attempts to decode a marker at every found position pattern inside the image
      Parameters:
      pps - List of potential markers
      gray - Original gray scale image
    • setLensDistortion

      public void setLensDistortion​(int width, int height, @Nullable @Nullable LensDistortionNarrowFOV model)

      Specifies transforms which can be used to change coordinates from distorted to undistorted and the opposite coordinates. The undistorted image is never explicitly created.

      Parameters:
      width - Input image width. Used in sanity check only.
      height - Input image height. Used in sanity check only.
      model - distortion model. Null to remove a distortion model.
    • setVerbose

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