Griaule Biometrics

Home » Fingerprint SDK 2009 Developer's Manual » Programming Reference Guide » Fingerprint SDK ActiveX Reference Guide » Extraction methods » ExtractEx

ExtractEx

Extracts a fingerprint template, in a specified format, from the supplied fingerprint raw image.

 

Prerequisites The Fingerprint SDK library must have been previously initialized.
The template array must be already allocated. The recommended size is GR_MAX_SIZE_TEMPLATE bytes.

 

 

Return On success, the template quality code is returned. On failure, the appropriate error code is returned.

 

Parameters

[in] rawImage

A raw grayscale fingerprint image.

[in] width

Fingerprint image width in pixels.

[in] height

Fingerprint image height in pixels.

[in] res

Fingerprint image resolution in DPI.

[out] tpt

The byte array in which the fingerprint template will be stored.

[in,out] tptSize

[in] The maximum size in bytes of the byte array supplied.
[out] The size in bytes of the extracted template.

[in] context

Context in which the extraction will be performed.

[in] tptFormat

The template format to be used.

See also

 

 

 

 

 

 

Declaration

C++ .NET

int ExtractEx (ref object RawImage, int width, int height, int res, ref byte[] tpt, ref int tptSize, int context, int tptFormat);

C#

int ExtractEx (ref object RawImage, int width, int height, int res, ref Array tpt, ref int tptSize, int context, int tptFormat);

VB6

Function ExtractEx (ByRef RawImage As Variant, ByVal width As Long, ByVal height As Long, ByVal res As Long, ByRef tpt() As Byte, ByRef tptSize As Long, ByVal context As Long, ByVal tptFormat As Long) As Long

VB .NET

Function ExtractEx (ByRef RawImage As Object, ByVal width As Integer, ByVal height As Integer, ByVal res As Integer, ByRef tpt As Array, ByRef tptSize As Integer, ByVal context As Integer, ByVal tptFormat As Long) As Integer

Delphi

function ExtractEx(var rawimage: OleVariant; width: integer; height: integer; res: integer; var tpt: PSafeArray; var tptSize: integer; context: integer; tptFormat: integer): integer;