







![]() ![]() |
SourceAFIS Fingerprint Recognition System |
Fingerprint..::.Image Property |
Fingerprint Class See Also Send Feedback |
Namespace:
SourceAFIS.Simple
Assembly:
SourceAFIS (in SourceAFIS.dll)
Syntax
Visual Basic (Declaration) |
---|
Public Property Image As Byte(,) Get Set |
C# |
---|
public byte[,] Image { get; set; } |
Visual C++ |
---|
public: property array<unsigned char,2>^ Image { array<unsigned char,2>^ get (); void set (array<unsigned char,2>^ value); } |
JavaScript |
---|
function get_image(); function set_image(value); |
Field Value
Raw fingerprint image that was used to extract the Template or other image attached later after extraction. This property is nullNothingnullptra null reference (Nothing in Visual Basic) by default.
Remarks
This is the fingerprint image. This property must be set before call to Extract(Person) in order to generate valid Template. Once the Template is generated, Image property has only informational meaning and it can be set to nullNothingnullptra null reference (Nothing in Visual Basic) to save space. It is however recommended to keep the original image just in case it is needed to regenerate the Template in future.
The format of this image is a simple raw 2D array of bytes. Every byte represents shade of gray from black (0) to white (255). When indexing the 2D array, Y axis goes first, X axis goes second, e.g. Image[y, x]. To convert to/from Bitmap object, use AsBitmap property. To convert to/from BitmapSource object, use AsBitmapSource property.
Accessors of this property do not clone the image. To avoid unwanted sharing of the byte array, call Clone()()()() on the Image.