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
Modifier and TypeFieldDescriptionboolean
Should it consider a marker which has been transposed?protected InterpolatePixelS<T>
Reads interpolated image pixel intensity valuesint
Maximum number of static bits that can be incorrect for orientation to be accepted -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
decodeMessage
(AztecCode marker) Reads the message data from the image then decodes it.protected boolean
decodeMode
(AztecPyramid locator, AztecCode marker) Reads the image and decodes the marker's modeboolean
process
(AztecPyramid locatorPattern, T gray, AztecCode marker) Attempts to decode a marker at the specified location of a previously found locator patternvoid
setVerbose
(@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:
setVerbose
in interfaceVerbosePrint
-