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
Handle to standard image creator module.
Function Documentation
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). |
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). |
Retrieve the value of a configuration parameter.
- Parameters:
-
Performs standard image quality and geometry checks at the given inputImage and stores the results in inputImageDescriptorRef.
- Parameters:
-
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.
Modify a configuration parameter.
- Parameters:
-