FbsTemplateCreation.h File Reference

Describes the FbsTemplateCreatorHandle, the module used to transform an FbsImageCollectionHandle into templates stored in an FbsIdRecordHandle by creating templates for each individual biometric sample in the collection. More...

#include "FbsImage.h"
#include "FbsImageCollection.h"
#include "FbsIdRecord.h"
#include "FbsLandmarkList.h"
#include "FbsQuality.h"
#include "FoundationBridgeSDKDll.h"

Typedefs

typedef TemplateCreatorStruct * FbsTemplateCreatorHandle

Functions

FbsTemplateCreatorHandle fbsCreateTemplateCreator ()
bool fbsDestroyTemplateCreator (FbsTemplateCreatorHandle &handle)
bool fbsTemplateCreatorInit (FbsTemplateCreatorHandle templateCreator, FbsModality modality, FbsTemplateCreationMode mode, const FbsAlgorithm *algorithmsToInitialize, int numberOfAlgorithms, int numberOfThreadsA)
bool fbsTemplateCreatorCreateTemplates (FbsTemplateCreatorHandle templateCreator, FbsImageCollectionHandle imageCollection, FbsTemplateCreationType templateCreationType, FbsIdRecordHandle idRecord, FBSuint64 personId, FBSuint64 transactionId)
bool fbsTemplateCreatorFindLandmarks (FbsTemplateCreatorHandle templateCreator, FbsImageHandle image, FbsImageDescriptorHandle imageDescriptor)


Detailed Description

Describes the FbsTemplateCreatorHandle, the module used to transform an FbsImageCollectionHandle into templates stored in an FbsIdRecordHandle by creating templates for each individual biometric sample in the collection.

The FbsTemplateCreatorHandle can be used to do gallery template creation, probe template creation, quality assessment, and face finding. Depending on the configuration settings set for the individual sample through the FbsImageDescriptorHandle interface any and all of the above functionality can be performed with one function call. The FbsTemplateCreatorHandle can create templates for more than one modality at a time. The client must call the fbsTemplateCreatorInit for each modality that will be enabled for this FbsTemplateCreatorHandle.

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

Typedef Documentation

typedef TemplateCreatorStruct* FbsTemplateCreatorHandle

Handle to template creator module.


Function Documentation

FbsTemplateCreatorHandle fbsCreateTemplateCreator (  ) 

Create an uninitialized FbsTemplateCreatorHandle

Returns:
FbsTemplateCreatorHandle

bool fbsDestroyTemplateCreator ( FbsTemplateCreatorHandle &  handle  ) 

Destroy an FbsTemplateCreatorHandle

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

bool fbsTemplateCreatorCreateTemplates ( FbsTemplateCreatorHandle  templateCreator,
FbsImageCollectionHandle  imageCollection,
FbsTemplateCreationType  templateCreationType,
FbsIdRecordHandle  idRecord,
FBSuint64  personId,
FBSuint64  transactionId 
)

Create the templates for the samples in an FbsImageCollectionHandle and sotring in the given FbsIdRecordHandle

Parameters:
templateCreator FbsTemplateCreatorHandle that will perform the operation
imageCollection the source FbsImageCollectionHandle which houses the biometric samples and their metadata. The FbsImageCollectionHandle will also house. accessible through the individual FbsImageDescriptor, the create status, quality information and automatically created landmark data generated in the template creation process
templateCreationType specifies if you are creating gallery or probe templates or even both
idRecord destination FbsIdRecordHandle which will store all of the newly created templates. You must passed in an already creaty and empty FbsIdRecordHandle. See fbsCreateIdRecord.
personId the personId that will now be associated with this FbsIdRecordHandle. Important if :FbsIdRecordHandle is directly added to FbsTemplateMatcherHandle. Templates that are serialized out from the FbsIdRecordHandle do not contain this information.
transactionId the transactionId that will now be associated with this FbsIdRecordHandle. Important if :FbsIdRecordHandle is directly added to FbsTemplateMatcherHandle. Templates that are serialized out from the FbsIdRecordHandle do not contain this information.

bool fbsTemplateCreatorFindLandmarks ( FbsTemplateCreatorHandle  templateCreator,
FbsImageHandle  image,
FbsImageDescriptorHandle  imageDescriptor 
)

Finds landmarks at the input image and stores them in imageDescriptor.

Parameters:
templateCreator FbsTemplateCreatorHandle that will perform the operation
image the source FbsImageHandle for which the landmarks should be found.
imageDescriptor FbsImageDescriptorHandle which will get the landmarks of the image. After the landmark finding you can use the function fbsImageDescriptorGetAutoLandmarkList to get the found landmarks out of the imageDescriptor

bool fbsTemplateCreatorInit ( FbsTemplateCreatorHandle  templateCreator,
FbsModality  modality,
FbsTemplateCreationMode  mode,
const FbsAlgorithm *  algorithmsToInitialize,
int  numberOfAlgorithms,
int  numberOfThreadsA 
)

Initializes an FbsTemplateCreatorHandle to create templates for a specfied modality and for which specific algorithms.

Parameters:
handle FbsTemplateCreatorHandle to be initialized
modality the FbsModality that is to be enabled for this FbsTemplateCreatorHandle
mode the FbsTemplateCreationMode that is to be enabled for this modality. Usual options include fast vs. normal
algorithmsToInitialize specify what algorithms are enabled for this FbsTemplateCreatorHandle. Only algorithmic template blocks of the algorithms specified will be produced. If set to 0 the template creator will revert to the default for that modality found in the configuration files.
numberOfAlgorithms size of the algorithmsToInitialize array. If set to 0 the template creator will revert to the default for that modality found in the configuration files.


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