LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Detect holes in filled circle

Solved!
Go to solution

Hi to all, first of all thanks a lot for reading this post and being able to help.

 

I would like to detect holes in a filled circle. See example:

holes.png

 

 

What is the best tool/way to detect this?

I have tried to detect them with "pattern matching" but the results are not reliable.

Any ideas?

 

Thanks a lot

 

0 Kudos
Message 1 of 6
(2,766 Views)

It depends...

 

What exactly do you want? What do you want to detect? The number of "broken" pixels? Coordinates of the holes? Or the number of holes?

 

Can you already successfully detect the circles? If so, detecting the holes can be done by labeling all objects, and then checking the coordinates. Or by masking out everything but the circles.

0 Kudos
Message 2 of 6
(2,732 Views)

Hi,

Thanks a lot for replying.

 

I would like to detect the number of holes and its area.

 

Right now I detect the big circle, not the holes inside of it.

0 Kudos
Message 3 of 6
(2,723 Views)

So use that circle as a (inverse) mask. Then do an object detection to detect the small holes.

0 Kudos
Message 4 of 6
(2,692 Views)

Thanks for replying,

What tool have I to use for object detection that you say? ¿pattern matching?

 

thanks again.

0 Kudos
Message 5 of 6
(2,688 Views)
Solution
Accepted by topic author Alvaro.S

I don't have access to an IMAQ installation right now, but I'd say something like the Particle Analysis Example is doing.

0 Kudos
Message 6 of 6
(2,684 Views)