Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

Detection, and zoom on ROI

I am fairly new to nivision other than using to control and monitor some camera's. Now I need to use some analysis capabilities. I need to track the spot on the first image, zoom in on it as shown in the second image, and provide the area of the illuminated area. I have a seperate file that includes distance info.

 

I have been able to read in the input file and convert it so its in an image structure. I think I can apply a simple calibration to the image. What I dont have a clue is to how to best extract and zoom the spot. The spot size varies in both pattern and intensity, but is most always overlapping circular in nature with the different lobes.

 

 

Thanks

Thad

Download All
0 Kudos
Message 1 of 2
(3,038 Views)

Hi Thad,

 

There are a couple of tools in NI Vision that would help you find and extract this spot.  It is brighter than its surroundings and has a circular shape.  It is a little tricky to do with the x and z tools on the image though--will they be there for certain?  Or is this something that you have added after the fact?  I'd recommend taking a look at some of the image processing VIs and the machine vision VIs.  A few in particular I think would be helpful, such as Find Shapes, Find Circle, Count Particles, and possibly Match Pattern. 

 

As for the zooming part, why in particular do you need to zoom in on the spot?  How do you determine how much you will need to zoom?  It would be easy to get that spot then create a new image of it, or even make it a template for some other measurements.  If you give me a little more detail I think I could be of more assistance. 

 

If you are still having problems with this feel free to post back with the image without the X/Z markers on there. 

 

Cheers, 
Marti C
Applications Engineer
National Instruments
NI Medical
0 Kudos
Message 2 of 2
(2,991 Views)