FbsLandmarkList.h File Reference

Describes the FbsLandmarkListHandle, which is used to hold all the landmark information associated with a specific sample image. More...

#include "FbsTypes.h"
#include "FoundationBridgeSDKDll.h"

Typedefs

typedef LandmarkListStruct * FbsLandmarkListHandle
 Handle to landmark metadata associated with a specific biometric sample image. The interface for FbsImageDescriptorHandle has methods for retriving autmoatically generated landmarks and for retrieving and setting manually created landmarks of a biometic sample.

Functions

FbsLandmarkListHandle fbsCreateLandmarkListHandle ()
bool fbsDestroyLandmarkListHandle (FbsLandmarkListHandle &handle)
bool fbsLandmarkListAddFaceLandmark (FbsLandmarkListHandle handle, int x, int y, FbsLandmarkType type)
bool fbsLandmarkListGetFaceLandmark (FbsLandmarkListHandle handle, int indexA, int &x, int &y, FbsLandmarkType &type)
bool fbsLandmarkListGetNumberOfLandmarks (FbsLandmarkListHandle handle, int &numberOfLandmarks)
bool fbsLandmarkListGetRollAngle (FbsLandmarkListHandle handle, float &rollAngle)


Detailed Description

Describes the FbsLandmarkListHandle, which is used to hold all the landmark information associated with a specific sample image.

The FbsLandmarkListHandle contains all of the landmark information of a biometric sample image, two examples of which are eye positions and finger minutia information. Manual landmarks can be set on the FbsImageDescriptorHandle before template creation occurs while automatically determined landmarks retrieved post template creation by querying the FbsImageDescriptorHandle from the FbsImageCollectionHandle after fbsTemplateCreatorCreateTemplates has been called. As of present only face landmarks are supported. It is expected that each modality will have a separate set of landmark functions in its interface that is most appropriate for setting and retrieving landmarks for that specific modality.

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

Typedef Documentation

typedef LandmarkListStruct* FbsLandmarkListHandle

Handle to landmark metadata associated with a specific biometric sample image. The interface for FbsImageDescriptorHandle has methods for retriving autmoatically generated landmarks and for retrieving and setting manually created landmarks of a biometic sample.


Function Documentation

FbsLandmarkListHandle fbsCreateLandmarkListHandle (  ) 

bool fbsDestroyLandmarkListHandle ( FbsLandmarkListHandle &  handle  ) 

Destroy an FbsLandmarkListHandle. This function should not be called on any FbsLandmarkListHandle that has been added to an FbsImageDescriptorHandle or that has been retrieved from an FbsImageDescriptorHandle. Any attempt to do so will result in error.

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

bool fbsLandmarkListAddFaceLandmark ( FbsLandmarkListHandle  handle,
int  x,
int  y,
FbsLandmarkType  type 
)

Add a landmark to the FbsLandmarkListHandle. Common landmarks include fbsLandmarkTypeRightEyeC and fbsLandmarkTypeLeftEyeC which is the method of adding manual eye positions to an FbsImageDescriptorHandle prior to template creation. This function should only be called on FbsLandmarkListHandle prior to that handle being inserted into an FbsImageDescriptorHandle.

Parameters:
handle the FbsLandmarkListHandle to be modified.
x coordinate of this landmark
y coordinate of this landmark
type the type of landmark being inserted into this FbsLandmarkListHandle

bool fbsLandmarkListGetFaceLandmark ( FbsLandmarkListHandle  handle,
int  indexA,
int &  x,
int &  y,
FbsLandmarkType &  type 
)

Retrieve a landmark from the FbsLandmarkListHandle. Common landmarks include fbsLandmarkTypeRightEyeC and fbsLandmarkTypeLeftEyeC. This function could be called on an FbsLandmarkListHandle post template creation to retrieve the eye positions generated during template creation. The client can retrieve the automatically generated landmark list from the FbsImageDescriptorHandle and then call this function to retrieve the eye positions for example.

Parameters:
handle the source FbsLandmarkListHandle
indexA the index of this landmark in this FbsLandmarkListHandle. Range is 0 to fbsLandmarkListGetNumberOfLandmarks-1.
x coordinate of this landmark
y coordinate of this landmark
type the type of landmark for this index in FbsLandmarkListHandle

bool fbsLandmarkListGetNumberOfLandmarks ( FbsLandmarkListHandle  handle,
int &  numberOfLandmarks 
)

Retrieve the number of landmark in an FbsLandmarkListHandle.

Parameters:
handle the source FbsLandmarkListHandle
numberOfLandmarks output parameter specifying size of landmark list

bool fbsLandmarkListGetRollAngle ( FbsLandmarkListHandle  handle,
float &  rollAngle 
)

Retrieve the rotation angle, available for face landmarks only

Parameters:
handle the source FbsLandmarkListHandle
rollAngle output parameter specifying roll angle = 180 * atan2(y1-y2, x1-x2) / PI


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