Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

invalid image type

When constructing a floating point grayscale image from image sensors and using Labview 8.5 with IMAQ the array to image vi the resulting image cannot be saved. The IMAQ save image vi produces the error "invalid image type". I have attached a zipped set of vi's with a hard coded 2D array of floating point data, reshaping the array and then calling the display and save vi's to demonstrate the problem. Anyone have any ideas?
0 Kudos
Message 1 of 2
(3,901 Views)

The error occurred because you can't save floating point data in BMP format. This format intendend for 8-bit or RGB images only.

If you need save SGL image, then use AIPD format. IMAQ Write File.vi located in vi.lib\vision\Files1.llb. Connect "AIPD" string to the file type input.

 

Andrey.

 

0 Kudos
Message 2 of 2
(3,893 Views)