Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

VBAI: how to overlay results on original image

I have implemeted a number of steps in VBAI 2.5 and in the end need to show some of the results over the ORIGINAL grayscale image. However, because I have manipulated this image with a step to VA, in the display image step the only image available is this (now) black and white image. How can I get access to the original grayscale image for this overlay? (I am NOT using LabView)
Thanks
Kim
0 Kudos
Message 1 of 4
(3,654 Views)
kdalton,
Try these steps.

1)Acquire Image
2)Do whatever processing you need to do in VBAI or Vision Assistant
3)Call the "Select Image Function" Under "Inspection Steps:Acquire Images" and select the image you want. Make sure to check the box that says "Copy Current Image Overlay"
4)Call "Display Image"

Let me know if this solves your issue.

Nicholas C
National Instruments
Applications Engineering
Message 2 of 4
(3,647 Views)
That worked great. Now I need to add some custom overlays on my image, but the only options for image placement seem to be in pixels (I only will know my calibrated positions), at least using the Edit Custom Overlay. How do I overlay using my calibrated units?
Thanks
0 Kudos
Message 3 of 4
(3,635 Views)
kdalton,
I tried! Wow did I try. Unfortunately, even if you do a calibration and set up a coordinate system the custom overlay that is created during the display image step is purely based on the pixels. For example, if you create a custom overlay of a line that starts at coordinates 0,0 it will always start in the very top left corner of the image every time, not matter what calibration or coordinate system you have set up.

Nicholas C
National Instruments
Applications Engineering
0 Kudos
Message 4 of 4
(3,622 Views)