Package boofcv.alg.fiducial.aztec
Class AztecFinderPatternDetector<T extends ImageGray<T>>
java.lang.Object
boofcv.alg.fiducial.qrcode.SquareLocatorPatternDetectorBase<T>
boofcv.alg.fiducial.aztec.AztecFinderPatternDetector<T>
- All Implemented Interfaces:
VerbosePrint
public class AztecFinderPatternDetector<T extends ImageGray<T>>
extends SquareLocatorPatternDetectorBase<T>
Searches for Aztec finder patterns inside an image and returns a list of candidates. Finder patterns are found
by looking at the external contour of block quadrilaterals and looking for quadrilaterals that have a similar
center pixel. If one, two, or three match then that's consider a match for compact or full-range Aztec codes.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Candidate locator patterns. -
Field Summary
Modifier and TypeFieldDescriptiondouble
Two pyramid layers are considered to be close if they are within this fraction of side length of each otherdouble
At least this fraction of points is required to match a template when examining a potential pyramidFields inherited from class boofcv.alg.fiducial.qrcode.SquareLocatorPatternDetectorBase
interpolate, maxContourFraction, profilingMS, squareDetector, verbose
-
Constructor Summary
ConstructorDescriptionAztecFinderPatternDetector
(DetectPolygonBinaryGrayRefine<T> squareDetector) Configures the detector -
Method Summary
Modifier and TypeMethodDescriptionprotected void
Called after squares have been detected and you are using detected squares to identify locator patternsvoid
setVerbose
(@Nullable PrintStream out, @Nullable Set<String> set) Methods inherited from class boofcv.alg.fiducial.qrcode.SquareLocatorPatternDetectorBase
configureContourDetector, process, setLensDistortion
-
Field Details
-
minimumTemplateMatch
public double minimumTemplateMatchAt least this fraction of points is required to match a template when examining a potential pyramid -
distanceTolerance
public double distanceToleranceTwo pyramid layers are considered to be close if they are within this fraction of side length of each other
-
-
Constructor Details
-
AztecFinderPatternDetector
Configures the detector- Parameters:
squareDetector
- Square detector
-
-
Method Details
-
findLocatorPatternsFromSquares
protected void findLocatorPatternsFromSquares()Description copied from class:SquareLocatorPatternDetectorBase
Called after squares have been detected and you are using detected squares to identify locator patterns- Specified by:
findLocatorPatternsFromSquares
in classSquareLocatorPatternDetectorBase<T extends ImageGray<T>>
-
setVerbose
- Specified by:
setVerbose
in interfaceVerbosePrint
- Overrides:
setVerbose
in classSquareLocatorPatternDetectorBase<T extends ImageGray<T>>
-