LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

particle analysis

hey,
im encountering a problem with the imaq particle analysis. when im observing the number of pixels that are making up the area of an object im finding that the number is falling to 1 or 0 pixels all of a sudden in the middle of a sequence of values in the thousands. its as if an image frame of the sequence being acquired has gone blank for no reason. however im also monitoring the the images and there arent any blank frames occuring. anyone have similar problems,any solutions?
cheers
0 Kudos
Message 1 of 5
(2,896 Views)
I have dealt with IMAQ Vision some for a program I wrote. It's not the most robust of tool sets. It takes a lot of trial and error to get it working right. My rec would be to start with one of the example vi's and modify it for your purpose.

Can you post the code you're trying to fix? The particle analysis routine takes a number of vision vi's to implement, all of which need the right parameters. I can't get more specific without seeing the code.
0 Kudos
Message 2 of 5
(2,888 Views)
Thanks for yoyr reply, ive attemped to calibrate my system but the result are way off, i think the pixel area dropping to 1 or 0 is the reason. heres the code im using.
0 Kudos
Message 3 of 5
(2,876 Views)
i have been considering my problem and i think its more conceptual more thatn any thing. the particle analysis is used for finding the area in pixels of one object, however what i want to do is find the number of pixels above a certain intensity threshold intensity, but of a number of individual objects. the webcam is measuring ball bearings running down a conveyor.therefore the bearings will separate and dont form a solid blob. is there anyway out of this prblem, is there some kind of fill hole function that might solve it.
0 Kudos
Message 4 of 5
(2,872 Views)
If you have the IMAQ Vision Toolkit, find the example entitled "Particle Analysis Example.vi". It's in the Examples\Vision\Functions\Binary Analysis folder. It uses the IMAQ Fillhole.vi, and I believe it readily applies to your situation.
0 Kudos
Message 5 of 5
(2,860 Views)