Package boofcv.alg.fiducial.microqr
Class MicroQrCodeDecoderImage<T extends ImageGray<T>>
java.lang.Object
boofcv.alg.fiducial.microqr.MicroQrCodeDecoderImage<T>
- All Implemented Interfaces:
VerbosePrint
Given an image and a known location of a Micro QR Code, decode the marker.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionMicroQrCodeDecoderImage(@Nullable String forceEncoding, String defaultEncoding, Class<T> imageType) -
Method Summary
Modifier and TypeMethodDescriptionvoidprocess(List<PositionPatternNode> pps, T gray) Attempts to decode a marker at every found position pattern inside the imagevoidsetLensDistortion(int width, int height, @Nullable LensDistortionNarrowFOV model) Specifies transforms which can be used to change coordinates from distorted to undistorted and the opposite coordinates.voidsetVerbose(@Nullable PrintStream out, @Nullable Set<String> configuration)
-
Field Details
-
considerTransposed
public boolean considerTransposed
-
-
Constructor Details
-
Method Details
-
process
Attempts to decode a marker at every found position pattern inside the image- Parameters:
pps- List of potential markersgray- 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:
setVerbosein interfaceVerbosePrint
-