NIST Biometric Evaluation Framework
Software components for biometric technology evaluations
Public Member Functions | List of all members
BiometricEvaluation::Palm::AN2KView Class Reference

A class to represent a single Palm view and derived information. More...

#include <be_palm_an2kview.h>

Inherits BiometricEvaluation::View::AN2KViewVariableResolution.

Public Member Functions

 AN2KView (const std::string &filename, const uint32_t recordNumber)
 Construct an AN2K palm view from a file. More...
 
 AN2KView (BiometricEvaluation::Memory::uint8Array &buf, const uint32_t recordNumber)
 Construct an AN2K palm view from a memory buffer. More...
 
Palm::Position getPosition () const
 Obtain the palm position. More...
 
QualityMetricSet getPalmQualityMetric () const
 Obtain the palm quality metric. More...
 
- Public Member Functions inherited from BiometricEvaluation::View::AN2KViewVariableResolution
Finger::Impression getImpressionType () const
 
std::string getSourceAgency () const
 
std::string getCaptureDate () const
 
std::string getComment () const
 Obtain the comment field. More...
 
Finger::CaptureTechnology getCaptureTechnology () const
 Obtain capture technology used to create this image. More...
 
Memory::uint8Array getUserDefinedField (const uint16_t field) const
 Obtain a user-defined field. More...
 
- Public Member Functions inherited from BiometricEvaluation::View::AN2KView
 AN2KView (const std::string filename, const RecordType typeID, const uint32_t recordNumber)
 Construct an AN2K view from a file. More...
 
 AN2KView (Memory::uint8Array &buf, const RecordType typeID, const uint32_t recordNumber)
 Construct an AN2K view from a buffer. More...
 
 ~AN2KView ()
 
std::vector< Finger::AN2KMinutiaeDataRecordgetMinutiaeDataRecordSet () const
 Obtain the set of minutiae records. More...
 
RecordType getRecordType () const
 Obtain the ANSI-NIST record type. More...
 
- Public Member Functions inherited from BiometricEvaluation::View::View
std::shared_ptr< Image::ImagegetImage () const
 Obtain the image used for the biometric view in the format contained in the record (JPEG, etc.) More...
 
Image::Size getImageSize () const
 Obtain the image size. More...
 
Image::Resolution getImageResolution () const
 Obtain the image resolution. More...
 
uint32_t getImageColorDepth () const
 Obtain the image color depth in bits-per-pixel. More...
 
Image::CompressionAlgorithm getCompressionAlgorithm () const
 Obtain the compression algorithm used on the image. More...
 
Image::Resolution getScanResolution () const
 Obtain the image scan resolution. More...
 

Additional Inherited Members

- Public Types inherited from BiometricEvaluation::View::AN2KViewVariableResolution
using AN2KQualityMetric = AN2KQualityMetric
 
using QualityMetricSet = std::vector< AN2KQualityMetric >
 
using PrintPositionCoordinate = PrintPositionCoordinate
 
using PrintPositionCoordinateSet = std::vector< PrintPositionCoordinate >
 
- Public Types inherited from BiometricEvaluation::View::AN2KView
enum class  RecordType : uint16_t {
  Type_1 = 1 , Type_2 = 2 , Type_3 = 3 , Type_4 = 4 ,
  Type_5 = 5 , Type_6 = 6 , Type_7 = 7 , Type_8 = 8 ,
  Type_9 = 9 , Type_10 = 10 , Type_11 = 11 , Type_12 = 12 ,
  Type_13 = 13 , Type_14 = 14 , Type_15 = 15 , Type_16 = 16 ,
  Type_17 = 17 , Type_99 = 99
}
 The type of AN2K record. More...
 
enum class  DeviceMonitoringMode {
  Controlled , Assisted , Observed , Unattended ,
  Unknown , NA
}
 The level of human monitoring for the image capture device. More...
 
- Static Public Member Functions inherited from BiometricEvaluation::View::AN2KViewVariableResolution
static QualityMetricSet extractQuality (FIELD *field, Feature::PositionType type)
 Read a Quality Metric Set from a variable resolution AN2K record. More...
 
static Memory::uint8Array parseUserDefinedField (const RECORD *const record, int fieldID)
 Read raw bytes from a user-defined AN2K field. More...
 
static Finger::CaptureTechnology convertCaptureTechnology (const char *str)
 Convert a friction ridge capture technology code from a string. More...
 
- Static Public Member Functions inherited from BiometricEvaluation::View::AN2KView
static DeviceMonitoringMode convertDeviceMonitoringMode (const char *dmm)
 Convert a device monitoring mode indicator from an AN2K record. More...
 
static Image::CompressionAlgorithm convertCompressionAlgorithm (const uint16_t recordType, const unsigned char *an2kValue)
 Convert a compression algorithm indicator from an AN2K finger image record. More...
 
- Static Public Attributes inherited from BiometricEvaluation::View::AN2KView
static const double MinimumScanResolutionPPMM
 Constants to define the minimum resolution used for fingerprint images in an AN2k record. More...
 
static const double HalfMinimumScanResolutionPPMM
 
static const int FixedResolutionBitDepth = 8
 The defined bit-depth for fixed-resolution images. More...
 
- Protected Member Functions inherited from BiometricEvaluation::View::AN2KViewVariableResolution
 AN2KViewVariableResolution (const std::string &filename, const RecordType typeID, const uint32_t recordNumber)
 Construct an AN2K finger view from a file. More...
 
 AN2KViewVariableResolution (Memory::uint8Array &buf, const RecordType typeID, const uint32_t recordNumber)
 Construct an AN2K finger view using from a memory buffer. More...
 
Feature::FGPSet getPositions () const
 Obtain the set of finger positions. More...
 
Finger::PositionDescriptors getPositionDescriptors () const
 Obtain the position descriptors. More...
 
PrintPositionCoordinateSet getPrintPositionCoordinates () const
 Obtain print position coordinates. More...
 
QualityMetricSet getQualityMetric () const
 Obtain quality metrics for associated image record. More...
 
- Protected Member Functions inherited from BiometricEvaluation::View::AN2KView
Memory::AutoBuffer< ANSI_NISTgetAN2K () const
 Obtain the complete ANSI/NIST record set. More...
 
RECORDgetAN2KRecord () const
 Obtain a pointer to the single ANSI/NIST record. More...
 
- Protected Member Functions inherited from BiometricEvaluation::View::View
 View ()
 
 ~View ()
 
void setImageSize (const BiometricEvaluation::Image::Size &imageSize)
 Mutator for the image size. More...
 
void setImageColorDepth (uint32_t imageColorDepth)
 Mutator for the image color depth. More...
 
void setImageResolution (const BiometricEvaluation::Image::Resolution &imageResolution)
 Mutator for the image resolution. More...
 
void setScanResolution (const BiometricEvaluation::Image::Resolution &scanResolution)
 Mutator for the image scan resolution. More...
 
void setImageData (const BiometricEvaluation::Memory::uint8Array &imageData)
 Mutator for the image data. More...
 
void setCompressionAlgorithm (const Image::CompressionAlgorithm &ca)
 Mutator for the compression algorithm. More...
 

Detailed Description

A class to represent a single Palm view and derived information.

A Palm::AN2KView object represents an ANSI/NIST Type-15 record, and can return the image as well as the other information associated with that image, such as the minutiae from the corresponding Type-9 record.

Definition at line 30 of file be_palm_an2kview.h.

Constructor & Destructor Documentation

◆ AN2KView() [1/2]

BiometricEvaluation::Palm::AN2KView::AN2KView ( const std::string &  filename,
const uint32_t  recordNumber 
)

Construct an AN2K palm view from a file.

The file must contain the entire AN2K record, not just the palm image and/or minutiae records.

◆ AN2KView() [2/2]

BiometricEvaluation::Palm::AN2KView::AN2KView ( BiometricEvaluation::Memory::uint8Array buf,
const uint32_t  recordNumber 
)

Construct an AN2K palm view from a memory buffer.

The buffer must contain the entire AN2K record, not just the palm image and/or minutiae records.

Member Function Documentation

◆ getPosition()

Palm::Position BiometricEvaluation::Palm::AN2KView::getPosition ( ) const

Obtain the palm position.

Returns
The palm position.

◆ getPalmQualityMetric()

QualityMetricSet BiometricEvaluation::Palm::AN2KView::getPalmQualityMetric ( ) const

Obtain the palm quality metric.

Returns
QualityMetricSet containing the set of metrics the palm image.

The documentation for this class was generated from the following file: