LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

measuring of specific area for each part in vision project

Hi. I have a project about measuring of specific zones for each particle. For example in enclosed file we want measure total black parts area for each of object 1,2 and 3. I used particle analyze function in Labview and vision assistance but problem is how should I detect that each black zone is to belong of which particle?

I will be appreciated to help me about this project

0 Kudos
Message 1 of 2
(2,228 Views)

What is a "Particle"?  What is a "Zone"?

 

Let me make some assumptions, and some suggestions based on those assumptions.

  • Assume a "Particle" is a connected region of Yellow, with possibly some Black connected regions inside it.
  • Assume a "Zone" is a connected Black region inside a Particle.
  • First, find all of the Particles in your Image.  In your example, there would be three.  One way to characterize them might be to create an ROI to define them, so let's assume that's what we do.
  • In a For Loop, subject each ROI to a search for Zones.  You can characterize these also by ROI, or some other measure.  Output an array of Zones for each Particle.  [Hmm -- this might be problematic, as 2D arrays need to be rectangular, and there's no expectation that each Particle has the same number of Zones, but you should be able to "pad" a Particle with "Null Zones", if necessary].

A challenging task, but I suspect NI's Machine Vision routines are equal to the task.

 

Bob Schor

0 Kudos
Message 2 of 2
(2,194 Views)