LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

particle recognition

Hello,
I am trying to count the number of particles in my picture and ideally would like to have a real-time application, where I would place the acquire, grab image, find circles and picture features into a while loop, but right now am getting a black screen for the one image. I do not know what is going on, so if anyone could clarify what the find circles VI actually does or any other VIs I should use instead for this application that would be really helpful. I have also included a picture of what I typically look at, so you have a better idea of what I want to do.

Thanks,
mgg
Download All
0 Kudos
Message 1 of 2
(2,807 Views)
Hello mgg,
 
Thank you for contacting National Instruments.  Probably the best way to illustrate how to detect particles is to look at the Particle Analysis Example that can be found in the Example Finder for LabVIEW.  Simply go to Help >> Find Examples and type in "particles" in the search bar under the Search tab.  You should be able to find an example called "Particle Analysis Example" that demonstrates how to use the Vision VIs to detect particles in an image.  Case 1 of the case structure inside the loop contains some code that creates a filepath, and passes it to the IMAQ Readfile VI.  This path points to a sample image for the demonstration.  You can replace that code with a filepath to the image that you wish to process.  All of the parameters will have to be adjusted to account for the differences between the sample image and your image.
 
Try running through the example before you make any changes to it just to see how the functions are processing the image to a point where the particles can be detected easily.
 
Regards,
 
Mike T
National Instruments
0 Kudos
Message 2 of 2
(2,774 Views)