Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

How do I Setup a ROI using VB 6.0 and then threshold whats inside ROI

I am trying to set up a Oval Region on a viewer and then threshold and set up a particle filter on only that area inside the Oval and display the result in another viewer. I am not sure how to do this or if it can be done?
0 Kudos
Message 1 of 3
(3,201 Views)
Take a look at this example program on the website. It does overlays and thresholding in VB.

http://venus.ni.com/stage/we/niepd_web_display.DISPLAY_EPD4?p_answer=&p_guid=B45EACE3E8E356A4E034080020E74861&p_node=DZ52505&p_rank=&p_source=Internal&p_submitted=N
0 Kudos
Message 2 of 3
(3,197 Views)
I did finally get it working by using a oval region to create a mask image and then using that image with the cwimaqvision1.mask function to get the final image that i wanted.

Thanks for the help.
0 Kudos
Message 3 of 3
(3,167 Views)