Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

Drawing imaqFile to Canvas

Hi,
I purchased Imaq Vision and I'm now updating my CVI based camera measurement system with it. Previously I used GetImage -function (see attachment) for loading and displaying 24 bit bitmaps (with CanvasDrawBitmap). Is it possible to use imaqReadFile (and pattern recognision functions etc) and still use canvas for display bitmaps? What would be the easiest way to get access to RGB values? (Is it possible to found a simple colorTable/numColors example somewhere?)
Thank you in advance...
0 Kudos
Message 1 of 2
(3,177 Views)
As long as you do not modify the image type, you should be able to display the image as you are currently doing. However, you may want to consider using the display functions that are provided with Vision. I think that you may find there will be more functionality with the Vision display. To access the RGB values, you may want to first extract a color plane and then gaather the pixel values from each of the planes accordingly. I hope this helps.

Chris D
0 Kudos
Message 2 of 2
(3,177 Views)