01-18-2005 08:26 AM
01-20-2005 08:25 AM
01-20-2005 08:55 AM
01-20-2005 02:12 PM
01-11-2007 08:39 PM
01-15-2007 09:12 AM
09-13-2007 08:51 AM
Hi !
Like almost everyone here, I'm want to save 16bits images into an AVI file
(witch seems the quickest format to save a live feed for several seconds or
minutes). It makes sense to me to use the RGB format (witch allows the use of
24bits) to avoid loosing data, but I'm not sure how you make this conversion...
If using imaqCast, the help file clearly said that when converting
IMAQ_IMAGE_I16 to IMAQ_IMAGE_RGB : "if the source value is greater than
255, the function sets each color component to 255".
The other way I can figure out is to use imaqReplaceColorPlanes to manually fill the RGB values with the LSB and MSB of the 16bits image values and then use imaqExractColorPlanes when reading back the file... with all the arithmetic and logical operations that will be needed to accomplish this.
Did I miss something or I really need to manipulate each color plane manually ?Thank you !
David St-Arneault
09-14-2007 10:37 AM
09-14-2007 10:49 AM
09-26-2007 02:51 PM