FbsResultList.h File Reference

Describes the FbsResultListHandle, a wrapper for the result data that is produced during searching. More...


Typedefs

typedef
TemplateMatcherResultStruct * 
FbsResultListHandle

Functions

FbsResultListHandle fbsCreateResultList ()
bool fbsDestroyResultList (FbsResultListHandle &handle)
bool fbsResultListNumberResults (FbsResultListHandle resultlist, int &numberOfScores)
bool fbsResultListGetIds (FbsResultListHandle resultlist, unsigned int index, FBSuint64 &outPersonId, FBSuint64 &outTransactionId)
bool fbsResultListGetScore (FbsResultListHandle resultlist, unsigned int index, FbsModality modality, float &outScore)
bool fbsResultListNumberInstances (FbsResultListHandle resultlist, unsigned int index, FbsModality modality, int &numberOfInstances)
bool fbsResultListGetInstance (FbsResultListHandle resultlist, unsigned int index, FbsModality modality, unsigned int instanceIndex, FbsInstance &instance)
bool fbsResultListNumberSamples (FbsResultListHandle resultlist, unsigned int index, FbsModality modality, FbsInstance instance, int &numberOfSamples)
bool fbsResultListGetSampleId (FbsResultListHandle resultlist, unsigned int index, FbsModality modality, FbsInstance instance, unsigned int sampleIndex, FBSuint64 &sampleId)
bool fbsResultListGetSampleScore (FbsResultListHandle resultlist, unsigned int index, FbsModality modality, FbsInstance instance, FBSuint64 sampleId, float &outScore)
bool fbsResultListGetAlgorithmScore (FbsResultListHandle resultlist, unsigned int index, FbsModality modality, FbsInstance instance, FBSuint64 sampleId, FbsAlgorithm algorithm, float &outScore)
bool fbsResultListGetBestSampleScore (FbsResultListHandle resultlist, unsigned int index, FbsModality modality, FbsInstance instance, FBSuint64 &sampleId, float &outScore)
bool fbsResultListToString (FbsResultListHandle resultlist, FbsBlobHandle outBlob)
bool fbsResultListToCsvString (FbsResultListHandle resultlist, FbsBlobHandle outBlob)
bool fbsProbeAnalysisGetXmlFormatedResultString (FbsResultListHandle resultlist, FbsBlobHandle outBlob)


Detailed Description

Describes the FbsResultListHandle, a wrapper for the result data that is produced during searching.

The FbsResultListHandle can be used to determine the overall score for each gallery member and has an interface that allowes the client to query individual modality and sample scores. The FbsResultListHandle is in essence an array of Results, each Result being a tree of sample scores that are fused to form an overall score.

FbsResultListHandle structure
---------------------------------------------------------------------------------------
Result | Result | Result | Result | ,etc
---------------------------------------------------------------------------------------
Result (PersonID + TransactionID)

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

Typedef Documentation

typedef TemplateMatcherResultStruct* FbsResultListHandle

Handle to search result information wrapper structure.


Function Documentation

FbsResultListHandle fbsCreateResultList (  ) 

Create an empty FbsResultListHandle. Client must create the empty result list handle, pass that to fbsTemplateMatcherIdentify, and destroy when done.

Returns:
FbsResultListHandle

bool fbsDestroyResultList ( FbsResultListHandle &  handle  ) 

Destroy an FbsResultListHandle. Client must create an empty result list handle, pass that to fbsTemplateMatcherIdentify, and destroy when done.

Parameters:
handle the FbsResultListHandle to be destroyed

bool fbsProbeAnalysisGetXmlFormatedResultString ( FbsResultListHandle  resultlist,
FbsBlobHandle  outBlob 
)

Probe analysis function

Parameters:
handle the FbsResultListHandle to be queried
outBlob output blob which contains the xml formated missanalysis result string

bool fbsResultListGetAlgorithmScore ( FbsResultListHandle  resultlist,
unsigned int  index,
FbsModality  modality,
FbsInstance  instance,
FBSuint64  sampleId,
FbsAlgorithm  algorithm,
float &  outScore 
)

Determine the algorithm score for a given sample within a given FbsModality/FbsInstance combination for a given element of the main result list.

Parameters:
handle the FbsResultListHandle to be queried
index specifies which element of the main result array is to be queried. Range is 0 to fbsResultListNumberResults-1.
modality the FbsModality of this particular sample
instance the FbsInstance of this particular sample
sampleId the sampleId of this particular sample
algorithm specifies which algorithmic score of this sample is to be retrieved
outScore output parameter specifying the algorithmic score for given sample within this FbsModality/FbsInstance combination for a given element of the main result list.

bool fbsResultListGetBestSampleScore ( FbsResultListHandle  resultlist,
unsigned int  index,
FbsModality  modality,
FbsInstance  instance,
FBSuint64 &  sampleId,
float &  outScore 
)

Determine the score for a best sample within a given FbsModality/FbsInstance combination for a given element of the main result list.

Parameters:
handle the FbsResultListHandle to be queried
index specifies which element of the main result array is to be queried. Range is 0 to fbsResultListNumberResults-1.
modality the FbsModality whose sampleId is being retrieved
instance the FbsInstance whose sampleId is being retrieved
sampleId output parameter specifying the sampleId of tbe best sample within this FbsModality/FbsInstance combination for a given element of the main result list.
outScore output parameter specifying the score for the best sample within this FbsModality/FbsInstance combination for a given element of the main result list.

bool fbsResultListGetIds ( FbsResultListHandle  resultlist,
unsigned int  index,
FBSuint64 &  outPersonId,
FBSuint64 &  outTransactionId 
)

Retrieve the personId and transactionId for this index in the main result array

Parameters:
handle the FbsResultListHandle to be queried
index specifies which element of the main result array is to be queried. Range is 0 to fbsResultListNumberResults-1.
outPersonId output parameter specifying the personId of this element in the result array.
outTransactionId output parameter specifying the transactionId of this element in the result array.

bool fbsResultListGetInstance ( FbsResultListHandle  resultlist,
unsigned int  index,
FbsModality  modality,
unsigned int  instanceIndex,
FbsInstance &  instance 
)

Retrieve the nth FbsInstance for a given modality for a given element of the main result list.

Parameters:
handle the FbsResultListHandle to be queried
index specifies which element of the main result array is to be queried. Range is 0 to fbsResultListNumberResults-1.
modality the FbsModality whose nth instance is being retrieved.
instanceIndex specifies which FbsInstance is being retrieved for this FbsModality for the given element of the main result array. Range is 0 to fbsResultListNumberInstances-1.
instance output parameter specifying the instance at the given instanceIndex for this FbsModality for the given element of the main result array.

bool fbsResultListGetSampleId ( FbsResultListHandle  resultlist,
unsigned int  index,
FbsModality  modality,
FbsInstance  instance,
unsigned int  sampleIndex,
FBSuint64 &  sampleId 
)

Determine the nth sampleId for a given FbsModality/FbsInstance combination for a given element of the main result list.

Parameters:
handle the FbsResultListHandle to be queried
index specifies which element of the main result array is to be queried. Range is 0 to fbsResultListNumberResults-1.
modality the FbsModality whose sampleId is being retrieved
instance the FbsInstance whose sampleId is being retrieved
sampleIndex specifies which sampleId is being retrieved for a given FbsModality/FbsInstance combination for a given element of the main result list. Range is 0 to fbsResultListNumberSamples-1.
sampleId output parameter specifying sampleId for the given sample within this FbsModality/FbsInstance combination for a given element of the main result list.

bool fbsResultListGetSampleScore ( FbsResultListHandle  resultlist,
unsigned int  index,
FbsModality  modality,
FbsInstance  instance,
FBSuint64  sampleId,
float &  outScore 
)

Determine the sample score for a given sample within a given FbsModality/FbsInstance combination for a given element of the main result list.

Parameters:
handle the FbsResultListHandle to be queried
index specifies which element of the main result array is to be queried. Range is 0 to fbsResultListNumberResults-1.
modality the FbsModality of this particular sample
instance the FbsInstance of this particular sample
sampleId the sampleId of this particular sample
outScore output parameter specifying the score for given sample within this FbsModality/FbsInstance combination for a given element of the main result list.

bool fbsResultListGetScore ( FbsResultListHandle  resultlist,
unsigned int  index,
FbsModality  modality,
float &  outScore 
)

Retrieve the modality-specific or overall score for this index in the main result array

Parameters:
handle the FbsResultListHandle to be queried
index specifies which element of the main result array is to be queried. Range is 0 to fbsResultListNumberResults-1.
modality the FbsModality score that is to be retrieved. Use fbsModalityUnknownC to retrieve the overall fused score.
outScore output parameter containing the score.

bool fbsResultListNumberInstances ( FbsResultListHandle  resultlist,
unsigned int  index,
FbsModality  modality,
int &  numberOfInstances 
)

Retrieve the number of instances that are contained within this element of the result array for a given FbsModality

Parameters:
handle the FbsResultListHandle to be queried
index specifies which element of the main result array is to be queried. Range is 0 to fbsResultListNumberResults-1.
modality the FbsModality whose number of instances is being determined
numberOfInstances output parameter specifying the number of instances that are present for the given FbsModality

bool fbsResultListNumberResults ( FbsResultListHandle  resultlist,
int &  numberOfScores 
)

Determine the number of results in the main result array. Each result in the array corresponds to one transactionId.

Parameters:
handle the FbsResultListHandle to be queried
numberOfScores output parameter specifying the number of transactionId-specific scores.

bool fbsResultListNumberSamples ( FbsResultListHandle  resultlist,
unsigned int  index,
FbsModality  modality,
FbsInstance  instance,
int &  numberOfSamples 
)

Retrieve the number of samples that are contained within this element of the result array for a given FbsModality/FbsInstance combination

Parameters:
handle the FbsResultListHandle to be queried
index specifies which element of the main result array is to be queried. Range is 0 to fbsResultListNumberResults-1.
modality the FbsModality whose number of samples is being determined
instance the FbsInstance whose number of samples is being determined
numberOfSamples output parameter specifying the number of samples that are present for the given FbsModality/FbsInstance for the given element of the main result array.

bool fbsResultListToCsvString ( FbsResultListHandle  resultlist,
FbsBlobHandle  outBlob 
)

bool fbsResultListToString ( FbsResultListHandle  resultlist,
FbsBlobHandle  outBlob 
)


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