FbsImageDescriptor.h File Reference

Describes the FbsImageDescriptorHandle, which is used to hold all the metadata associated with a specific sample image. More...

#include "FbsTypes.h"
#include "FbsQuality.h"
#include "FbsLandmarkList.h"
#include "FoundationBridgeSDKDll.h"

Typedefs

typedef ImageDescriptorStruct * FbsImageDescriptorHandle
 Handle to metadata associated with a specific biometric sample image. Every FbsImageHandle inserted into an FbsImageCollectionHandle needs to be accompanied by an associated FbsImageDescriptorHandle.

Functions

FbsImageDescriptorHandle fbsCreateImageDescriptor ()
bool fbsDestroyImageDescriptor (FbsImageDescriptorHandle &handle)
bool fbsImageDescriptorSetModality (FbsImageDescriptorHandle handle, FbsModality modality)
bool fbsImageDescriptorGetModality (FbsImageDescriptorHandle handle, FbsModality &modality)
bool fbsImageDescriptorSetInstance (FbsImageDescriptorHandle handle, FbsInstance instance)
bool fbsImageDescriptorGetInstance (FbsImageDescriptorHandle handle, FbsInstance &instance)
bool fbsImageDescriptorSetDPI (FbsImageDescriptorHandle handle, int dpi)
bool fbsImageDescriptorGetDPI (FbsImageDescriptorHandle handle, int &dpi)
bool fbsImageDescriptorGetMaxMinutiaCount (FbsImageDescriptorHandle handle, int &minutiaCount)
bool fbsImageDescriptorSetMaxMinutiaCount (FbsImageDescriptorHandle handle, int minutiaCount)
bool fbsImageDescriptorSetImpressionType (FbsImageDescriptorHandle handle, FbsFingerImpressionType impressionType)
bool fbsImageDescriptorGetImpressionType (FbsImageDescriptorHandle handle, FbsFingerImpressionType &impressionType)
bool fbsImageDescriptorSetFingerRotationAngle (FbsImageDescriptorHandle handle, int angle)
bool fbsImageDescriptorGetFingerRotationAngle (FbsImageDescriptorHandle handle, int &angle)
bool fbsImageDescriptorSetFingerRotationTolerance (FbsImageDescriptorHandle handle, int tolerance)
bool fbsImageDescriptorGetFingerRotationTolerance (FbsImageDescriptorHandle handle, int &tolerance)
bool fbsImageDescriptorSetManualLandmarkList (FbsImageDescriptorHandle handle, FbsLandmarkListHandle &landmarkListHandle)
bool fbsImageDescriptorGetManualLandmarkList (FbsImageDescriptorHandle handle, FbsLandmarkListHandle &landmarkListHandle)
bool fbsImageDescriptorSetAlgorithms (FbsImageDescriptorHandle handle, const FbsAlgorithm *algorithmsToGenerate, int numberOfAlgorithms)
bool fbsImageDescriptorGetAlgorithms (FbsImageDescriptorHandle handle, const FbsAlgorithm *&algorithmsToGenerate, int &numberOfAlgorithms)
bool fbsImageDescriptorSetQualityProfile (FbsImageDescriptorHandle handle, FbsQualityProfile qualityProfile)
bool fbsImageDescriptorGetQualityProfile (FbsImageDescriptorHandle handle, FbsQualityProfile &qualityProfile)
bool fbsImageDescriptorGetStatus (FbsImageDescriptorHandle handle, FbsStatus &status)
bool fbsImageDescriptorGetAutoLandmarkList (FbsImageDescriptorHandle handle, FbsLandmarkListHandle &landmarkListHandle)
bool fbsImageDescriptorGetQuality (FbsImageDescriptorHandle handle, FbsQualityHandle &qualityHandle)
bool fbsImageDescriptorSetBioEngine6NativeTemplate (FbsImageDescriptorHandle handle, FbsBlobHandle be6TemplateHandle)


Detailed Description

Describes the FbsImageDescriptorHandle, which is used to hold all the metadata associated with a specific sample image.

The FbsImageDescriptorHandle contains all the characterisitcs of a biometric sample image that is not a direct property of the source image. Width, height, bits per pixel, etc is information contained within the FbsImageHandle while DPI, landmarks, iris radius, FbsModality and FbsInstance are properties of the FbsImageDescriptorHandle. Manual landmarks and attributes can be set on the FbsImageDescriptorHandle before template creation occurs while automatically determined landmarks and quality attributes can be retrieved post template creation by retrieving an individual FbsImageDescriptorHandle from the FbsImageCollectionHandle after fbsTemplateCreatorCreateTemplates has been called. Not only is information that charaterizes the biometric sample included, but also information as to how this biometric sample is to be used as a possible future gallery member. Parameters controlling template creation and quality assessment per individual sample is set within the FbsImageDescriptorHandle. See fbsImageDescriptorSetAlgorithms and fbsImageDescriptorSetQualityProfile for details. Every FbsImageHandle inserted into an FbsImageCollectionHandle needs to be accompanied by an associated FbsImageDescriptorHandle. Furthermore depending on the modality and instance certain attrbiute functions must be set on the FbsImageDescriptorHandle or template creation will fail for the associated FbsImageHandle. At a minimum every biometric sample needs to have its modality and instance attrbiutes of the FbsImageDescriptorHandle set in order for template creation to succeed. Certain biometric samples may require more attributes to be set depending on the modality and instance of the biometric sample. If no attribute set default values may be used, (e.g. 500 for DPI). What attrbiutes are mandatory and what are the default values of certain attributes will be laid down by each of the attributes functions discussed below. Finally, the template creation status of a specific biometric sample within an FbsImageCollectionHandle can be queried using the FbsImageDescriptorHandle interface. Parameters and attributes of a specific biometric sample image that is only relevent to searching and not to template creation (e.g. Palm ROI) is set using a FbsProbeSampleDescriptorHandle and not using the FbsImageDescriptorHandle interface.

Copyright 2008:
L1 Identiy Solutions
Project:
Foundation Bridge
Language and Compiler:
C, tested with Microsoft Visual C++ 8.0 SP1

Typedef Documentation

typedef ImageDescriptorStruct* FbsImageDescriptorHandle

Handle to metadata associated with a specific biometric sample image. Every FbsImageHandle inserted into an FbsImageCollectionHandle needs to be accompanied by an associated FbsImageDescriptorHandle.


Function Documentation

FbsImageDescriptorHandle fbsCreateImageDescriptor (  ) 

bool fbsDestroyImageDescriptor ( FbsImageDescriptorHandle &  handle  ) 

Destroy an FbsImageDescriptorHandle

Parameters:
handle FbsImageDescriptorHandle to be destroyed. Reference will be set to 0.

bool fbsImageDescriptorGetAlgorithms ( FbsImageDescriptorHandle  handle,
const FbsAlgorithm *&  algorithmsToGenerate,
int &  numberOfAlgorithms 
)

Get the algorithmic template blocks that will be or have been produced for this biometric sample. Should always match array passed in via fbsImageDescriptorSetAlgorithms

Parameters:
handle the source FbsImageDescriptorHandle.
algorithmsToGenerate output reference to array of type FbsAlgorithm, specifying what algorithmic template blocks will be or have been produced.
numberOfAlgorithms output parameter specifying the size of the algorithmsToGenerate array. Returns a reference to the internal array data, do not destroy, modify or delete this reference.

bool fbsImageDescriptorGetAutoLandmarkList ( FbsImageDescriptorHandle  handle,
FbsLandmarkListHandle &  landmarkListHandle 
)

Get the automatically generated landmarks of an FbsImageDescriptorHandle produced during template creation. To retrieve the landmark list manually set by client see fbsImageDescriptorGetManualLandmarkList.

Parameters:
handle the source FbsImageDescriptorHandle.
landmarkListHandle out parameter specifying the landmarks that were generated for this biometric sample. Returns a reference to the internal manual landmark data, do not destroy or call any modification functions on this handle. Modification and destroy function will return error if client attempts to do so.

bool fbsImageDescriptorGetDPI ( FbsImageDescriptorHandle  handle,
int &  dpi 
)

Get the DPI of an FbsImageDescriptorHandle

Parameters:
handle the source FbsImageDescriptorHandle. Image descriptors which are not set to be finger or palm will return false.
dpi output parameter specifying the dpi value.

bool fbsImageDescriptorGetFingerRotationAngle ( FbsImageDescriptorHandle  handle,
int &  angle 
)

Get the finger rotation angle of an FbsImageDescriptorHandle

Parameters:
handle the source FbsImageDescriptorHandle. Image descriptors which are not set to be finger will return false.
angle output parameter specifying the rotation angle of this FbsImageDescriptorHandle.

bool fbsImageDescriptorGetFingerRotationTolerance ( FbsImageDescriptorHandle  handle,
int &  tolerance 
)

Get the finger rotation tolerance of an FbsImageDescriptorHandle

Parameters:
handle the source FbsImageDescriptorHandle. Image descriptors which are not set to be finger will return false.
tolerance output parameter specifying the rotation tolerance of this FbsImageDescriptorHandle.

bool fbsImageDescriptorGetImpressionType ( FbsImageDescriptorHandle  handle,
FbsFingerImpressionType &  impressionType 
)

Get finger/palm impression type of an FbsImageDescriptorHandle

Parameters:
handle the source FbsImageDescriptorHandle. Image descriptors which are not set to be finger or palm will return false.
impressionType output parameter specifying the impression of this finger FbsImageDescriptorHandle.

bool fbsImageDescriptorGetInstance ( FbsImageDescriptorHandle  handle,
FbsInstance &  instance 
)

Get the instance of an FbsImageDescriptorHandle

Parameters:
handle the source FbsImageDescriptorHandle.
instance output parameter specifying the instance value

bool fbsImageDescriptorGetManualLandmarkList ( FbsImageDescriptorHandle  handle,
FbsLandmarkListHandle &  landmarkListHandle 
)

Get the previously set manually labeled landmarks of an FbsImageDescriptorHandle. This does not return the auto generated landmarks that are produced during template creation. See fbsImageDescriptorGetAutoLandmarkList for that functionality.

Parameters:
handle the source FbsImageDescriptorHandle.
landmarkListHandle out parameter specifying the landmarks that were set on this image descriptor. Returns a reference to the internal manual landmark data, do not destroy or call any modification functions on this handle.

bool fbsImageDescriptorGetMaxMinutiaCount ( FbsImageDescriptorHandle  handle,
int &  minutiaCount 
)

To retrieve the maximum minutia count that will be created for an fingerprint image sample. Whatever fingerprint algorithms that can reduce the number of minutia in their final templates will use this parameter that has been set. This does NOT return the number of minutia that was created for this fingerprint sample.

Parameters:
handle the source FbsImageDescriptorHandle. Image descriptors which are not set to be finger or palm will return false.
minutiaCount output parameter specifying the max number of minutia to be created/stored for this fingerprint image.

bool fbsImageDescriptorGetModality ( FbsImageDescriptorHandle  handle,
FbsModality &  modality 
)

Gets the modality from an FbsImageDescriptorHandle

Parameters:
handle the source FbsImageDescriptorHandle
modality output parameter specifying the modality value

bool fbsImageDescriptorGetQuality ( FbsImageDescriptorHandle  handle,
FbsQualityHandle &  qualityHandle 
)

Get the generated quality values of an FbsImageDescriptorHandle produced during template creation by using the FbsQualityHandle.

Parameters:
handle the source FbsImageDescriptorHandle.
qualityHandle the FbsQualityHandle that can be used to query for all possible quality assessment values generated during template creation. Returns a reference to the internal quality handle, do not destroy or call any modification functions on this handle. Modification and destroy function will return error if client attempts to do so.

bool fbsImageDescriptorGetQualityProfile ( FbsImageDescriptorHandle  handle,
FbsQualityProfile &  qualityProfile 
)

Get the quality checks that will be or have been done for this biometric sample. Should always match array passed in via fbsImageDescriptorSetAlgorithms

Parameters:
handle the source FbsImageDescriptorHandle.
algorithmsToGenerate output reference to array of type FbsAlgorithm, specifying what algorithmic template blocks will be or have been produced.
qualityProfile FbsQualityProfile enumerator specifying what quality checks should be done on this specific biometric sample. Default is fbsQualityProfileNoChecksC.

bool fbsImageDescriptorGetStatus ( FbsImageDescriptorHandle  handle,
FbsStatus &  status 
)

Get the template creation for this biometric sample. In case of failure, each FbsImageDescriptorHandle of an FbsImageCollectionHandle can be polled to determine its template creation status. Template creation process should try to create templates for as many biometric samples as possible even if one or more samples fail to enroll.

Parameters:
handle the source FbsImageDescriptorHandle.
status output parameter specifying the template creation FbsStatus of this biometric sample.

bool fbsImageDescriptorSetAlgorithms ( FbsImageDescriptorHandle  handle,
const FbsAlgorithm *  algorithmsToGenerate,
int  numberOfAlgorithms 
)

Set the algorithmic template blocks that will be produced for this biometric sample. This function does not set an attribute that describes a particular biometric sample but rather acts a control parameter to any template creation process that might occur. This function can be used when creating probe templates to limit the matching algorithms used for certain biometric sample by limiting what sepcific probe algorithmic template blocks will be produced for this biometric sample. If both algorithmsToGenerate and numberOfAlgorithms, then descriptor will revert to default of no template creation and will request only alignment/segmentation (e.g. face finding) and depending on the quality profile it may perform quality checks as well. Or it will default to generate all possible algorithms depending on on the FbsTemplateCreationType that is passed in to fbsTemplateCreatorCreateTemplates

Parameters:
handle the FbsImageDescriptorHandle to be modified.
algorithmsToGenerate array of type FbsAlgorithm, specifying what algorithmic template blocks will be produced. Default is no template creation. Only segementation (e.g. face finding) will be done.
numberOfAlgorithms size of algorithmsToGenerate array

bool fbsImageDescriptorSetBioEngine6NativeTemplate ( FbsImageDescriptorHandle  handle,
FbsBlobHandle  be6TemplateHandle 
)

Set BioEngine6 native template to be used to generate other fingerprint template types. Implemented for testing...

Parameters:
handle the FbsImageDescriptorHandle to be modified.
be6TemplateHandle input parameter containing the BioEngine6 template for this image. The blob must be destoyed by the client

bool fbsImageDescriptorSetDPI ( FbsImageDescriptorHandle  handle,
int  dpi 
)

Sets the DPI of an FbsImageDescriptorHandle

Parameters:
handle the FbsImageDescriptorHandle to be modified. This function must be called for all finger/palm FbsImageDescriptorHandle. No default is provided.
dpi the dpi value.

bool fbsImageDescriptorSetFingerRotationAngle ( FbsImageDescriptorHandle  handle,
int  angle 
)

Sets the finger rotation angle

Parameters:
handle the FbsImageDescriptorHandle to be modified. Image descriptors which are not set to be finger will return false.
angle input parameter specifying the rotation angle.

bool fbsImageDescriptorSetFingerRotationTolerance ( FbsImageDescriptorHandle  handle,
int  tolerance 
)

Sets the finger rotation tolerance

Parameters:
handle the FbsImageDescriptorHandle to be modified. Image descriptors which are not set to be finger will return false.
tolerance input parameter specifying the rotation tolerance.

bool fbsImageDescriptorSetImpressionType ( FbsImageDescriptorHandle  handle,
FbsFingerImpressionType  impressionType 
)

Sets the finger/palm impression type of an FbsImageDescriptorHandle

Parameters:
handle the FbsImageDescriptorHandle to be modified. No default is provided.
impressionType the impression type for this finger image descriptor.

bool fbsImageDescriptorSetInstance ( FbsImageDescriptorHandle  handle,
FbsInstance  instance 
)

Sets the instance of an FbsImageDescriptorHandle

Parameters:
handle the FbsImageDescriptorHandle to be modified. This function must be called on every FbsImageDescriptorHandle. No default is provided.
instance the FbsInstance value. For finger/palm this will be the position information, for face only fullFrontal is supported as of now, for iris left, right, and unknown are supported

bool fbsImageDescriptorSetManualLandmarkList ( FbsImageDescriptorHandle  handle,
FbsLandmarkListHandle &  landmarkListHandle 
)

Set manually labeled landmarks of an FbsImageDescriptorHandle. Commonly done before template creation such as when manual eye positions are given for a face image, or for when the iris boundaries are given in that modality.

Parameters:
handle the FbsImageDescriptorHandle to be modified. No default is provided but in most cases auto computed landmarks will be generated.
landmarkListHandle input parameter specifying the landmarks of this image. The ownership of the FbsLandmarkListHandle will move to the FbsImageDescriptorHandle After this operation landmarkListHandle reference will be set to 0.

bool fbsImageDescriptorSetMaxMinutiaCount ( FbsImageDescriptorHandle  handle,
int  minutiaCount 
)

To set the maximum minutia count that will be created for an fingerprint image sample. Whatever fingerprint algorithms that can reduce the number of minutia in their final templates will use this parameter.

Parameters:
handle the FbsImageDescriptorHandle to be modified. Default for finger is for now 255. Image descriptors which are not set to be finger or palm will return false.
minutiaCount input parameter specifying the max number of minutia to be created/stored for this fingerprint image.

bool fbsImageDescriptorSetModality ( FbsImageDescriptorHandle  handle,
FbsModality  modality 
)

Sets the modality of an FbsImageDescriptorHandle

Parameters:
handle the FbsImageDescriptorHandle to be modified. This function must be called on every FbsImageDescriptorHandle. No default is provided.
modality the FbsModality value.

bool fbsImageDescriptorSetQualityProfile ( FbsImageDescriptorHandle  handle,
FbsQualityProfile  qualityProfile 
)

Set the quality checks that will be done for this biometric sample. This function does not set an attribute that describes a particular biometric sample but rather acts a control parameter to any quality assessment process that might occur.

Parameters:
handle the FbsImageDescriptorHandle to be modified.
qualityProfile FbsQualityProfile enumerator specifying what quality checks should be done on this specific biometric sample. Default is fbsQualityProfileNoChecksC.


Generated on Wed Jun 17 16:45:08 2009 for ABIS Foundation SDK by  doxygen 1.5.8