NIST Fingerprint Image Quality 2
NIST reference implementation fingerprint image quality analyzer.
nfiq2_interfacedefinitions.hpp
Go to the documentation of this file.
1 #ifndef NFIQ2_INTERFACEDEFINITIONS_HPP_
2 #define NFIQ2_INTERFACEDEFINITIONS_HPP_
3 
4 #include <nfiq2_data.hpp>
5 
6 #include <string>
7 #include <vector>
8 
9 namespace NFIQ2 {
11 namespace ActionableQualityFeedbackIdentifier {
12 
13 static const std::string EmptyImageOrContrastTooLow {
14  "EmptyImageOrContrastTooLow"
15 };
16 static const std::string UniformImage { "UniformImage" };
17 static const std::string FingerprintImageWithMinutiae {
18  "FingerprintImageWithMinutiae"
19 };
20 static const std::string SufficientFingerprintForeground {
21  "SufficientFingerprintForeground"
22 };
23 }
24 
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 };
31 }
32 
36  std::string identifier;
39 };
41 
43 typedef enum feature_data_type_e {
51 
53 typedef struct image_id_t {
55  std::string subjectID;
57  uint8_t fingerCode;
61 
63 typedef struct feature_data_t {
65  std::string featureID;
79 
81 typedef struct feature_speed_t {
83  std::string featureIDGroup;
88  std::vector<std::string> featureIDs;
90  double featureSpeed;
92 
96 typedef struct quality_feature_result_t {
100  uint32_t returnCode;
102 
104 typedef struct comparison_result_t {
112  uint32_t returnCode;
114 
116 typedef struct utility_result_t {
118  double utilityValue;
120  uint32_t returnCode;
122 
127 typedef struct utility_sample_t {
129  std::string databaseID;
135 
139 typedef struct quality_feature_sample_t {
148 
161  std::string comparisonType;
165 
174  std::vector<NFIQ2::ComparisonProbeResult> probes;
176 } // namespace NFIQ
177 
178 #endif /* NFIQ2_INTERFACEDEFINITIONS_HPP_ */
Binary data.
Definition: nfiq2_data.hpp:13
Classes and functions that contribute to the calculation of NFIQ2 scores.
Definition: nfiq2.hpp:25
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).