08-28-2009 11:40 PM
08-30-2009 08:50 PM
08-31-2009 01:14 AM
push~
09-01-2009 04:55 AM - edited 09-01-2009 04:56 AM
Hi Yip,
I think the Particle Analysis function in image processing category can help you.
I don't have VB development environment installed on my computer. C function should be imaqMeasureParticles.
Actually if your Vision Development Module is not evaluation version, you can prototype your algorithm in Vision Assistant. You can add the Particle Analysis step and choose "Center of Mass X" and "Center of Mass Y" as measurements in this step. Then you can convert the Vision Assistant sequence to C source code by clicking "Tools->Create C Code...". Though you use VB, the functions and their parameters are almost the same in VB and C. So you can refer to this generated code.
Sorry but I should say that too much push makes no sence here but may only make those people who would be willing to help you feel uncomfortable.