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)
- modality score
- instance (no score is available per instance but rather only per sample)
- Sample (sampleId) score
- Algorithm score
- Algorithm score
- Algorithm score
- Sample (sampleId) score
- Algorithm score
- Algorithm score
- Algorithm score
- instance (no score is available per instance but rather only per sample)
- Sample (sampleId) score
- Algorithm score
- Algorithm score
- Algorithm score
- Sample (sampleId) score
- Algorithm score
- Algorithm score
- Algorithm score
- instance (no score is available per instance but rather only per sample)
- Sample (sampleId) score
- Algorithm score
- Algorithm score
- Algorithm score
- Sample (sampleId) score
- Algorithm score
- Algorithm score
- Algorithm score
- instance (no score is available per instance but rather only per sample)
- Sample (sampleId) score
- Algorithm score
- Algorithm score
- Algorithm score
- Sample (sampleId) score
- Algorithm score
- Algorithm score
- Algorithm score
- modality score
- instance (no score is available per instance but rather only per sample)
- Sample (sampleId) score
- Algorithm score
- Algorithm score
- Algorithm score
- Algorithm score
- Copyright 2008:
- L1 Identiy Solutions
- Project:
- Foundation Bridge
- Language and Compiler:
- C, tested with Microsoft Visual C++ 8.0 SP1
Typedef Documentation
Handle to search result information wrapper structure.
Function Documentation
Probe analysis function
- Parameters:
-
| handle | the FbsResultListHandle to be queried |
| outBlob | output blob which contains the xml formated missanalysis result string |
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. |
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. |
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. |
Retrieve the nth FbsInstance for a given modality for a given element of the main result list.
- Parameters:
-
Determine the nth sampleId for a given FbsModality/FbsInstance combination for a given element of the main result list.
- Parameters:
-
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. |
Retrieve the modality-specific or overall score for this index in the main result array
- Parameters:
-
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 |
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. |
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. |