11-08-2005 10:04 PM
11-09-2005 08:01 PM
Hi Alias,
In Vision, there is an imaqInverse function which outputs the inverse of an image. I am assuming this is what you are using, because it only supports grayscale images and will give the 'invalid image type' error if a color image is used. You could use the Vision function Extract Color Planes which will give numeric values for R, G, and B. You can then perform simple math (255-x) to get the inverse and then use imaqReplaceColorPlanes to recompile the image.
Regards,
Ryan M.
Applications Engineer
National Instruments