FbsStandardImageCreation.h File Reference

Describes the FbsStandardImageCreatorHandle, this module is used to create standard images and to perform quality and geometry checks for standard images. More...

#include "FbsImage.h"
#include "FbsRoi.h"
#include "FbsImageDescriptor.h"
#include "FoundationBridgeSDKDll.h"

Typedefs

typedef
StandardImageCreatorStruct * 
FbsStandardImageCreatorHandle

Functions

FbsStandardImageCreatorHandle fbsCreateStandardImageCreator ()
bool fbsDestroyStandardImageCreator (FbsStandardImageCreatorHandle &handle)
bool fbsStandardImageCreatorInit (FbsStandardImageCreatorHandle standardImageCreator, FbsModality modality, FbsStandardImageCreationMode mode)
bool fbsStandardImageCreatorSetParameter (FbsStandardImageCreatorHandle standardImageCreator, FbsStandardImageCreationParameter parameter, float value)
bool fbsStandardImageCreatorGetParameter (FbsStandardImageCreatorHandle standardImageCreator, FbsStandardImageCreationParameter parameter, float &value)
bool fbsStandardImageCreatorCreateStandardImage (FbsStandardImageCreatorHandle standardImageCreator, FbsImageHandle inputImage, FbsImageDescriptorHandle inputImageDescriptor, FbsImageHandle outputImage, FbsImageDescriptorHandle outputImageDescriptor, FbsStandardImageType type)
bool fbsStandardImageCreatorCalculateCropCoordinates (FbsStandardImageCreatorHandle standardImageCreator, FbsImageHandle inputImage, FbsImageDescriptorHandle inputImageDescriptor, FbsRoiHandle croppingRoi, FbsStandardImageType type)
bool fbsStandardImageCreatorPerformImageChecks (FbsStandardImageCreatorHandle standardImageCreator, FbsImageHandle inputImage, FbsImageDescriptorHandle inputImageDescriptor)


Detailed Description

Describes the FbsStandardImageCreatorHandle, this module is used to create standard images and to perform quality and geometry checks for standard images.

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

Typedef Documentation

typedef StandardImageCreatorStruct* FbsStandardImageCreatorHandle

Handle to standard image creator module.


Function Documentation

FbsStandardImageCreatorHandle fbsCreateStandardImageCreator (  ) 

bool fbsDestroyStandardImageCreator ( FbsStandardImageCreatorHandle &  handle  ) 

Destroy an FbsStandardImageCreatorHandle

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

bool fbsStandardImageCreatorCalculateCropCoordinates ( FbsStandardImageCreatorHandle  standardImageCreator,
FbsImageHandle  inputImage,
FbsImageDescriptorHandle  inputImageDescriptor,
FbsRoiHandle  croppingRoi,
FbsStandardImageType  type 
)

Calculates the cropping coordinates to create a valid standard image out of the inputImage and stores them in croppingRoi.

Parameters:
standardImageCreator FbsStandardImageCreatorHandle that will perform the operation
inputImage the source FbsImageHandle.
inputImageDescriptor the source FbsImageDescriptorHandle. The inputImageDescriptor must contain the landmarks used to create the standard image. The inputImageDescriptor will get the quality check results for all checks which were performed at the input image.
croppingRoi the destination FbsRoiHandle. It will contain the cropping coordinates.
type FbsStandardImageType. It defines the type of the standard image for which the cropping coordinates should be calculated. For now only "fbsStandardImageTypeFaceFullFrontalC" is supported (because token images need scaling and rotation beside of cropping).

bool fbsStandardImageCreatorCreateStandardImage ( FbsStandardImageCreatorHandle  standardImageCreator,
FbsImageHandle  inputImage,
FbsImageDescriptorHandle  inputImageDescriptor,
FbsImageHandle  outputImage,
FbsImageDescriptorHandle  outputImageDescriptor,
FbsStandardImageType  type 
)

Creates a standard image out of the inputImage and stores it in outputImage.

Parameters:
standardImageCreator FbsStandardImageCreatorHandle that will perform the operation
inputImage the source FbsImageHandle.
inputImageDescriptor the source FbsImageDescriptorHandle. The inputImageDescriptor must contain the landmarks used to create the standard image. The inputImageDescriptor contains the FbsQualityProfile which defines the image checks that should be applied at the input image. The check results will be stored in the FbsQualityHandle which is member of this inputImageDescriptor.
outputImage the destination FbsImageHandle. It will contain the created standard image.
outputImageDescriptor the destination FbsImageDescriptorHandle. It will contain the landmarks and the quality check results calculated at the output image. The FbsQualityProfile inside this outputImageDescriptor defined the quality checks which should be applied at the outputImage.
type FbsStandardImageType. It defines the type of the standard image which should be created (fbsStandardImageTypeFaceTokenC, fbsStandardImageTypeFaceFullFrontalC).

bool fbsStandardImageCreatorGetParameter ( FbsStandardImageCreatorHandle  standardImageCreator,
FbsStandardImageCreationParameter  parameter,
float &  value 
)

Retrieve the value of a configuration parameter.

Parameters:
handle source FbsStandardImageCreatorHandle
parameter the FbsStandardImageCreationParameter that will be retrieved
value output parameter specifying the current value of this FbsStandardImageCreationParameter

bool fbsStandardImageCreatorInit ( FbsStandardImageCreatorHandle  standardImageCreator,
FbsModality  modality,
FbsStandardImageCreationMode  mode 
)

Initializes an FbsStandardImageCreatorHandle to create standard images and perform quality and geometry checks.

Parameters:
handle FbsStandardImageCreatorHandle to be initialized
modality the FbsModality that is to be enabled for this FbsStandardImageCreatorHandle
mode the FbsStandardImageCreationMode that is to be enabled for this modality. Usual options include Iso, Ansi, ...

bool fbsStandardImageCreatorPerformImageChecks ( FbsStandardImageCreatorHandle  standardImageCreator,
FbsImageHandle  inputImage,
FbsImageDescriptorHandle  inputImageDescriptor 
)

Performs standard image quality and geometry checks at the given inputImage and stores the results in inputImageDescriptorRef.

Parameters:
standardImageCreator FbsStandardImageCreatorHandle that will perform the operation
inputImage the source FbsImageHandle.
inputImageDescriptor the source FbsImageDescriptorHandle. The FbsImageDescriptorHandle must contain the landmarks used to create the standard image. The FbsImageDescriptorHandle must contain the quality profile which defines the checks that will be performed at the image. See FbsImageDescriptorHandle for how to set the quality profile. Possible quality profiles:
fbsQualityProfileTokenChecksC --> checks if image fulfills all token image requirements fbsQualityProfileTokenGeometryChecksC --> checks if image fulfills the token image geometry requirements fbsQualityProfileTokenCandidateChecksC --> checks if image can be used to create a valid token image from fbsQualityProfileFullfrontalChecksC --> checks if image fulfills all full frontal image requirements fbsQualityProfileFullfrontalGeometryChecksC --> checks if image fulfills the full frontal image geometry requirements fbsQualityProfileFullfrontalCandidateChecksC --> checks if image can be used to create a valid full frontal image from

The FbsImageDescriptorHandle will get the quality check results for all checks which were performed at the input image. See FbsImageDescriptorHandle for how to get the quality handle. See FbsQuality for how to get the detailed check results.

bool fbsStandardImageCreatorSetParameter ( FbsStandardImageCreatorHandle  standardImageCreator,
FbsStandardImageCreationParameter  parameter,
float  value 
)

Modify a configuration parameter.

Parameters:
handle FbsStandardImageCreatorHandle to be modified
parameter the FbsStandardImageCreationParameter that will be modified
value the new value of this FbsStandardImageCreationParameter


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