01-30-2012 09:24 AM
Hi there.
In my application I need to transfer images from Imprex camera to LabView interface with Frame grabber, and then convert these images into .raw binary format. Camera works fine, so I've got the raw files using simple VI (attached "cup" picture). The problem starts, when I'm trying to read these files and recall them as images back in LabView (just to make sure I've got the right images). I found an example VI which used to make convertion form form binary-to-image, but it doesn't show the correct image. Could you check my VIs and point, where the problem is.
Thanks, ilya
Solved! Go to Solution.
01-30-2012 10:06 AM
You should write and read the same type of data. In your case you wrote IMAQ Image, but read 2D array.
Use IMAQ Image to Array before writing as shown here, for example: http://forums.ni.com/t5/Machine-Vision/can-imaq-write-tiff-file-2-save-array-of-SGL-values/m-p/18519...
In addition - why do you need RAW and do not use PNG or TIFF for storing image?
Andrey.
02-01-2012 05:19 AM
Yep, now it works great.
Thanks for your help, Andrey.
VIs attached.