1 #ifndef NFIQ2_INTERFACEDEFINITIONS_HPP_
2 #define NFIQ2_INTERFACEDEFINITIONS_HPP_
11 namespace ActionableQualityFeedbackIdentifier {
13 static const std::string EmptyImageOrContrastTooLow {
14 "EmptyImageOrContrastTooLow"
16 static const std::string UniformImage {
"UniformImage" };
17 static const std::string FingerprintImageWithMinutiae {
18 "FingerprintImageWithMinutiae"
20 static const std::string SufficientFingerprintForeground {
21 "SufficientFingerprintForeground"
26 namespace ActionableQualityFeedbackThreshold {
27 static const double EmptyImageOrContrastTooLow { 250.0 };
28 static const double UniformImage { 1.0 };
29 static const double FingerprintImageWithMinutiae { 5.0 };
30 static const double SufficientFingerprintForeground { 50000.0 };
174 std::vector<NFIQ2::ComparisonProbeResult>
probes;
Classes and functions that contribute to the calculation of NFIQ2 scores.
enum NFIQ2::feature_data_type_e QualityFeatureDataType
This type represents the type of quality feature data.
struct NFIQ2::comparison_result_t ComparisonResult
This type represents the result of a comparison scores computation.
struct NFIQ2::image_id_t ImageID
This type represents the ID of an image.
feature_data_type_e
This type represents the type of quality feature data.
@ e_QualityFeatureDataTypeBinary
Feature has binary data format.
@ e_QualityFeatureDataTypeUnknown
Type is not known.
@ e_QualityFeatureDataTypeDouble
Feature has floating point format.
struct NFIQ2::quality_feature_result_t QualityFeatureResult
This type represents the result of a quality feature extraction.
struct NFIQ2::feature_data_t QualityFeatureData
This type represents a structure for quality feature data.
struct NFIQ2::feature_speed_t QualityFeatureSpeed
This type represents a structure for timing information of features.
struct NFIQ2::quality_feature_sample_t QualityFeatureSample
This type represents the content of a quality feature exchange file.
struct NFIQ2::comparison_probe_result_t ComparisonProbeResult
This type represents the structure of a probe result for comparison scores computation.
struct NFIQ2::utility_sample_t UtilitySample
This type represents a sample for utility computation (image ID + utility result).
struct NFIQ2::comparison_scores_sample_t ComparisonScoresSample
This type represents the structure of a comparison scores sample.
struct NFIQ2::utility_result_t UtilityResult
This type represents the result of a utility value calculation.
ActionableQualityFeedback structure.
std::string identifier
Name of the actionable quality metric.
double actionableQualityValue
Numerical value associated with the actionable quality metric.
This type represents the structure of a probe result for comparison scores computation.
NFIQ2::ComparisonResult comparisonResult
Achieved score and return code between probe and reference image.
std::string comparisonType
The comparison type: "g" - Genuine comparison, "i" ...
NFIQ2::ImageID probeImageID
The ID of the probe/verification fingerprint image.
This type represents the result of a comparison scores computation.
double comparisonScore
The comparison score.
uint32_t returnCode
The return code of the comparison operation.
NFIQ2::ImageID probeImageID
The image ID of the probe image.
NFIQ2::ImageID referenceImageID
The image ID of the reference image.
This type represents the structure of a comparison scores sample.
std::vector< NFIQ2::ComparisonProbeResult > probes
A list of probe images + results for which comparisons where conducted.
NFIQ2::ImageID referenceImageID
The ID of the reference/enrollment fingerprint image.
This type represents a structure for quality feature data.
std::string featureID
The unique ID of the feature data.
double featureDataDouble
The feature value in floating point format (if type is e_QualityFeatureDataTypeDouble).
NFIQ2::QualityFeatureDataType featureDataType
The type of feature data.
NFIQ2::Data featureDataBinary
The feature value in binary data format (if type is e_QualityFeatureDataTypeBinary).
This type represents a structure for timing information of features.
double featureSpeed
The speed of feature data computation in milliseconds.
std::vector< std::string > featureIDs
The unique IDs of the features that are used for determining the speed.
std::string featureIDGroup
The name of the feature group.
This type represents the ID of an image.
std::string subjectID
User/subject ID of image.
uint8_t fingerCode
ISO finger code of fingerprint in image.
uint8_t acquisitionNumber
Acquisition number of image.
This type represents the result of a quality feature extraction.
uint32_t returnCode
The return code of the quality feature extraction operation.
NFIQ2::QualityFeatureData featureData
The quality feature data.
This type represents the content of a quality feature exchange file.
NFIQ2::QualityFeatureResult featureResult
The result of the quality feature computation (value + return code).
NFIQ2::ImageID fingerprintImageID
The ID of the fingerprint image.
This type represents the result of a utility value calculation.
double utilityValue
The utility value.
uint32_t returnCode
The return code of the utility computation operation.
This type represents a sample for utility computation (image ID + utility result).
std::string databaseID
The database ID where the fingerprint image is stored.
NFIQ2::ImageID fingerprintImageID
The ID of the fingerprint image.
NFIQ2::UtilityResult utilityResult
The result of the utility computation (value + return code).