I am a 8-year labview experience programmer, but new to image procession or NI-Vision. And now I have come to a problem with image conversion.
I have a image acquision board which acquires 1k*1k 10 bit grayscale image, I saved the acquired image into *.raw format (binary), and now I am required to convert these image into bmp (jpeg,png,or diff) format. When I try to use the "Imaq save 2" VI , I got a error saying something like "not supported image type". After searching this forum, it seems as if I should use a color-type image to save as the bmp format,but to receive my 10 bit raw data, I should first create a U16 Grayscale image. So how can I solve this problem?
My guess: You are referring to the "IMAQ Write File 2.VI" as I don't know any "IMAQ Save ... VIs".
The "IMAQ Write File 2.VI" does not support writing 16-bit BMPs. You can take this information from the supported image types of this VI, see here. Look at the images above the VI description: "IMAQ Write File BMP 2" says, it accepts the image types "U8" and "RGB32".