Proprietary Fingerprint Template III
API for participating in NIST's evaluation of proprietary fingerprint template algorithms.
Public Member Functions | Public Attributes | List of all members
PFTIII::FingerImage Struct Reference

Data and metadata for an image containing a single fingerprint. More...

#include <pftiii.h>

Collaboration diagram for PFTIII::FingerImage:
Collaboration graph

Public Member Functions

 FingerImage ()
 Default constructor. More...
 
 FingerImage (const uint16_t width, const uint16_t height, const uint16_t ppi, const std::vector< std::byte > &pixels, const Impression imp=Impression::Unknown, const FrictionRidgeCaptureTechnology frct=FrictionRidgeCaptureTechnology::Unknown, const FrictionRidgeGeneralizedPosition frgp=FrictionRidgeGeneralizedPosition::Unknown)
 FingerImage constructor. More...
 

Public Attributes

uint16_t width {}
 Width of the image. More...
 
uint16_t height {}
 Height of the image. More...
 
uint16_t ppi {}
 Resolution of the image in pixels per inch. More...
 
std::vector< std::byte > pixels {}
 Raw pixel data of image. More...
 
Impression imp {Impression::Unknown}
 Impression type of the depicted finger. More...
 
FrictionRidgeCaptureTechnology frct
 Capture technology that created this image. More...
 
FrictionRidgeGeneralizedPosition frgp
 Position of the depicted finger. More...
 

Detailed Description

Data and metadata for an image containing a single fingerprint.

Definition at line 89 of file pftiii.h.

Constructor & Destructor Documentation

◆ FingerImage() [1/2]

PFTIII::FingerImage::FingerImage ( )

Default constructor.

Definition at line 13 of file libpftiii.cpp.

◆ FingerImage() [2/2]

PFTIII::FingerImage::FingerImage ( const uint16_t  width,
const uint16_t  height,
const uint16_t  ppi,
const std::vector< std::byte > &  pixels,
const Impression  imp = Impression::Unknown,
const FrictionRidgeCaptureTechnology  frct = FrictionRidgeCaptureTechnology::Unknown,
const FrictionRidgeGeneralizedPosition  frgp = FrictionRidgeGeneralizedPosition::Unknown 
)

FingerImage constructor.

Parameters
widthWidth of the image.
heightHeight of the image.
ppiResolution of the image in pixels per inch.
pixelswidth * height bytes of image data, with pixels.front() representing the top-left pixel, and pixels.back() representing the bottom-right pixel. It is raw, single- channel image data, canonically coded as defined in ISO/IEC 19794-4:2005, section 6.2.
impImpression type of the finger.
frctCapture technology that created this image.
frgpFriction ridge generalized position of the finger.

Definition at line 18 of file libpftiii.cpp.

Member Data Documentation

◆ width

uint16_t PFTIII::FingerImage::width {}

Width of the image.

Definition at line 129 of file pftiii.h.

◆ height

uint16_t PFTIII::FingerImage::height {}

Height of the image.

Definition at line 131 of file pftiii.h.

◆ ppi

uint16_t PFTIII::FingerImage::ppi {}

Resolution of the image in pixels per inch.

Definition at line 133 of file pftiii.h.

◆ pixels

std::vector<std::byte> PFTIII::FingerImage::pixels {}

Raw pixel data of image.

width * height bytes of image data, with pixels.front() representing the top-left pixel, and pixels.back() representing the bottom-right pixel. It is raw, single- channel image data, canonically coded as defined in ISO/IEC 19794-4:2005, section 6.2.

Note
To pass pixels to a C-style array, invoke pixel's data() method (pixels.data()).

Definition at line 149 of file pftiii.h.

◆ imp

Impression PFTIII::FingerImage::imp {Impression::Unknown}

Impression type of the depicted finger.

Definition at line 151 of file pftiii.h.

◆ frct

FrictionRidgeCaptureTechnology PFTIII::FingerImage::frct
Initial value:
{
FrictionRidgeCaptureTechnology::Unknown}

Capture technology that created this image.

Definition at line 153 of file pftiii.h.

◆ frgp

FrictionRidgeGeneralizedPosition PFTIII::FingerImage::frgp
Initial value:
{
FrictionRidgeGeneralizedPosition::Unknown}

Position of the depicted finger.

Definition at line 156 of file pftiii.h.


The documentation for this struct was generated from the following files: