Question

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

Was it helpful?

Solution

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

OTHER TIPS

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.

If you see Table B-2 of ISO 19794-4, have an example of file were uncompressed image data will be from 15th bytes from end of file. But this depends of what compression algorithm is been used: WSQ, JPEG, JPEG2000 or PNG. I don`t know a commercial or opensource libray that take an ISO file and converts to image.

Needs to read entire specification to understand this standard. It`s like a normal image file, have a header telling somethings about image and after that the pixel data. But if you see annex B maybe you can understand better this standard.

I already work with this standard and we have a library developed by us to use it. If you need more specific question, please ask and I will try answer without violating my NDA at work.

There are some commercial libs available to decode WSQ, search for Neurotechnology, Cognaxon ... All these are native C libs so you need to integrate them via JNI.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top