08-06-2013 03:40 PM
Hello,
I have what is probably a simple problem - I have RAW images (1536 x 1944) saved in binary files consisting of unsigned 16 bit integers that I need to read into LabVIEW and be able to view on the front panel (so presumably convert to TIFF or something like that).
This is not information that was written using LabVIEW - it was actually written using the fwrite command in C++ if that is any help, and has no header information.
I found this example VI:
http://forums.ni.com/t5/LabVIEW/read-the-raw-image-file/td-p/505871/page/2
The picture of the final VI solution that is posted at that link - it looked promising, but the flatten pixmap function appears to only take in 8 or 24 bit inputs, not 16 bit inputs, and I was unsure it if was possible to configure it for 16. Is it possible to use this same structure to read in my binary files as well? If so, what changes need to be made? Otherwise do I need a different function? I am very new to image processing in LabVIEW.
Thank You.
08-07-2013 11:42 PM
Hello,
The flatten pixmap function does not appear to be able to take in 16 bit inputs and I cannot find a function that flattens a 16 bit pixmap. Is there any way you can convert your binary file into that of 8 or 24 bits?
Also, I don't know if this other forum thread may help or give context to the subject.
http://forums.ni.com/t5/LabVIEW/Can-a-16-bit-image-be-displayed-in-a-picture-control/td-p/33347