Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

overlay results

I am detecting a shape on an image using VI assistant.  Shape Detection will show a numbered display of targets on each shape it found.  Once I create a Labview .vi from this script, the overlays of these targets do not show up.  I am not given an option to display the red targets when I create the vi.  Any way around this? 
0 Kudos
Message 1 of 5
(3,653 Views)
YOu will not see the overlay created in vision assistant.You need to use  overlay functions and input the shape parameters u need to overlay.
0 Kudos
Message 2 of 5
(3,646 Views)
When I add a overlay function to the end of my script chain, I do not see any parameters available to add.  This is version 8.6.  I remember back in the day I used to be able to pick and chose what parameters to overlay from previous functions. 
0 Kudos
Message 3 of 5
(3,637 Views)

Dear dre99gsx,

 

Overlays are not included in VIs built from Vision Assistant in part to improve code execution time, and increase the efficiency of the created VIs.   

 

The way you build overlays in LabVIEW will depend on what Vision functions you are using. If you are using a Clamp or Measure function, they usually return the search rectangle specified by it's coordinate location, it's rotation, and an array of point clusters consisting of found edges or points. You have to then use the coordinate data to draw overlays with the VIs in the Overlay palette, for instance, IMAQ Overlay Rectangle to draw the search area. 

 

Some Vision functions will return an ROI, or array of ROIs. You can use the IMAQ Overlay ROI function to convert these ROIs to overlays. 

 

You may want to file a product suggestion for Vision Assistant asking for a feature that lets you either include or exclude overlays functionality from your generated LabVIEW VI. You can do so from the Product Feedback section on the ni.com contact us page. These product suggestions are looked at when determining new features and improvements to include in future software releases. 

 

Best Regards,

 

~Nate 

0 Kudos
Message 4 of 5
(3,631 Views)

hi dre99gsx,

 

In addition to holmes reply you can post a image and let us know what you want to overlay,If you are having difficulltywith overlay function.

0 Kudos
Message 5 of 5
(3,614 Views)