Package boofcv.alg.fiducial.aztec
Class AztecDecoderImage<T extends ImageGray<T>>
java.lang.Object
boofcv.alg.fiducial.aztec.AztecDecoderImage<T>
- All Implemented Interfaces:
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 Summary
FieldsModifier and TypeFieldDescriptionbooleanShould it consider a marker which has been transposed?protected InterpolatePixelS<T>Reads interpolated image pixel intensity valuesintMaximum number of static bits that can be incorrect for orientation to be accepted -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleandecodeMessage(AztecCode marker) Reads the message data from the image then decodes it.protected booleandecodeMode(AztecPyramid locator, AztecCode marker) Reads the image and decodes the marker's modebooleanprocess(AztecPyramid locatorPattern, T gray, AztecCode marker) Attempts to decode a marker at the specified location of a previously found locator patternvoidsetVerbose(@Nullable PrintStream out, @Nullable Set<String> configuration)
-
Field Details
-
interpolate
Reads interpolated image pixel intensity values -
maxOrientationError
public int maxOrientationErrorMaximum number of static bits that can be incorrect for orientation to be accepted -
considerTransposed
public boolean considerTransposedShould it consider a marker which has been transposed?- See Also:
-
-
Constructor Details
-
AztecDecoderImage
-
-
Method Details
-
process
Attempts to decode a marker at the specified location of a previously found locator pattern- Parameters:
locatorPattern- (Input) Coordinates of locator patterngray- (Input) Gray scale image of markermarker- (Output) storage for decoded marker- Returns:
- true if the marker could be decoded
-
decodeMode
Reads the image and decodes the marker's mode- Parameters:
locator- Locator patternmarker- Storage for decoded marker- Returns:
- true if successful or false if it failed
-
decodeMessage
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:
setVerbosein interfaceVerbosePrint
-