Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Create image from ISO/IEC 19794-4 image data file

I am having a Bio metric finger print scanning device and we are able to read the data scanned by image. Now we have to make the image in accordace with the ISO compliance i.e. we have to add the Binary Data Interchange Record(BDIR) with the image data to follow the data record interchange format as specified in ISO/IEC 19794-4:2011.

UPDATE: I have an ISO/IEC 19794-4 image data file. I have to make image from the data. Now the data has the additional General header and Representation header information along with image data. How can I make image from this data. Should I just extract the image data from ISO/IEC 19794-4 image data and show it on screen?

OR

What is the proper way of creating and showing image from ISO/IEC 19794-4 image data file.

Thanks in advance

like image 1000
code_fish Avatar asked May 28 '13 08:05

code_fish


2 Answers

You can get inspiration from the source code of JMRTD. Especially the FingerImageInfo.java file.

like image 104
tbsalling Avatar answered Sep 28 '22 08:09

tbsalling


Disclaimer: I don't know the spec.

Anyway, if @Celino is right about the offsets and the formats for the image data you should be able to show the images fairly easy. ImageIO can read the data if it's either JPEG (JFIF) or PNG. If it's JPEG2000, you might need JAI (jai-imageio) to read it. However, if it's WSQ, I'm not sure if there's a plugin or Java library available.

like image 34
Harald K Avatar answered Sep 28 '22 08:09

Harald K