Documentation Index
Fetch the complete documentation index at: https://mintlify.com/usnistgov/NFIQ2/llms.txt
Use this file to discover all available pages before exploring further.
Overview
TheNFIQ2::Algorithm class applies trained random forest parameters to native quality measures, computing a unified quality score for fingerprint images. This is the primary class for performing NFIQ2 quality assessment.
Class Definition
Constructors
Default Constructor
May load from parameters compiled into source code, in which case this can be slow.
File-based Constructor
The file path containing the random forest model.
The md5 checksum of the provided file.
ModelInfo Constructor
Contains the random forest model and information about it.
Copy and Move Constructors
Core Methods
computeUnifiedQualityScore (FingerprintImageData)
Fingerprint image to analyze.
Computed unified quality score.
Exception if called before random forest parameters were loaded.
computeUnifiedQualityScore (Quality Measure Algorithms)
Computed quality measure algorithms.
Computed unified quality score.
Exception if called before random forest parameters were loaded.
See
QualityMeasures::computeNativeQualityMeasureAlgorithms for computing quality measure algorithms.computeUnifiedQualityScore (Features Map)
Map of quality measure algorithm identifiers to native quality measures.
Computed unified quality score.
Exception if called before random forest parameters were loaded.
See
QualityMeasures::computeNativeQualityMeasures for computing native quality measures.Quality Block Methods
getQualityBlockValues
Map of keys representing identifiers for the native quality measures (from nfiq2_constants.hpp), and values representing native quality measure values.
Native quality measure values mapped [0, 100], per ISO/IEC 29794-4:2024, suitable for inclusion in an ISO/IEC 39794-2 quality block.
Exception if unrecognized key value in nativeQualityMeasureValues.
getQualityBlockValue
Identifier for the native quality measure (from nfiq2_constants.hpp).
Native quality measure value.
Native quality measure value mapped [0, 100], per ISO/IEC 29794-4:2024, suitable for inclusion in an ISO/IEC 39794-2 quality block.
Exception if unrecognized value for nativeQualityMeasureIdentifier.
State Methods
getParameterHash
MD5 checksum of the random forest parameter file loaded.
Exception if called before random forest parameters were loaded.
isInitialized
true if some set of random forest parameters have been loaded, false otherwise.isEmbedded
true if random forest parameters are embedded, false otherwise.getEmbeddedFCT
Embedded FCT specified.
NFIQ2::Exception if parameters were not embedded or FCT was not specified.
Usage Example
See Also
- FingerprintImageData - Fingerprint image representation
- ModelInfo - Random forest model information