Image standardization

Initially supports flipping and colour inversion
This commit is contained in:
Daniel Drake
2007-10-27 12:07:11 +01:00
parent 0ddfef6c21
commit 9960a7ff34
5 changed files with 75 additions and 0 deletions

View File

@@ -92,6 +92,13 @@ int main(void)
goto out_close;
}
fp_img_standardize(img);
r = fp_img_save_to_file(img, "finger_standardized.pgm");
if (r) {
fprintf(stderr, "standardized img save failed, code %d\n", r);
goto out_close;
}
r = 0;
out_close:
fp_dev_close(dev);