| Top |
| FpImage * | fp_image_new () |
| guint | fp_image_get_width () |
| guint | fp_image_get_height () |
| gdouble | fp_image_get_ppmm () |
| GPtrArray * | fp_image_get_minutiae () |
| void | fp_image_detect_minutiae () |
| gboolean | fp_image_detect_minutiae_finish () |
| const guchar * | fp_image_get_data () |
| const guchar * | fp_image_get_binarized () |
| void | fp_minutia_get_coords () |
Some devices will provide the image data corresponding to a print this object allows accessing this data.
guint
fp_image_get_height (FpImage *self);
Gets the pixel height of an image.
gdouble
fp_image_get_ppmm (FpImage *self);
Gets the resolution of the image. Note that this is assumed to be fixed to 500 points per inch (~19.685 p/mm) for most drivers.
GPtrArray *
fp_image_get_minutiae (FpImage *self);
Gets the minutiae for an image. This data must not be modified or
freed. You need to first detect the minutiae using
fp_image_detect_minutiae().
void fp_image_detect_minutiae (FpImage *self,GCancellable *cancellable,GAsyncReadyCallback callback,gpointer user_data);
Detects the minutiae found in an image.
self |
A FpImage |
|
cancellable |
a GCancellable, or |
|
callback |
the function to call on completion |
|
user_data |
the data to pass to |
gboolean fp_image_detect_minutiae_finish (FpImage *self,GAsyncResult *result,GError **error);
Finish minutiae detection in an image
const guchar * fp_image_get_data (FpImage *self,gsize *len);
Gets the greyscale data for an image. This data must not be modified or freed.
const guchar * fp_image_get_binarized (FpImage *self,gsize *len);
Gets the binarized data for an image. This data must not be modified or
freed. You need to first detect the minutiae using
fp_image_detect_minutiae().
void fp_minutia_get_coords (FpMinutia *min,gint *x,gint *y);
Returns the coordinates of the found minutia. This is only useful for debugging purposes and the API is not considered stable for production.
typedef struct {
guint width;
guint height;
gdouble ppmm;
FpiImageFlags flags;
} FpImage;
Structure holding an image. The public fields are only public for internal use by the drivers.
Width of the image |
||
Height of the image |
||
Pixels per millimeter |
||
FpiImageFlags |
FpiImageFlags for required normalization |