Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

Distinction of background and object of interest

Solved!
Go to solution

Hi , I have a problem of separation the objects of interest from the background. Attach file is the sample image. I have tried to use some methods such as " thresholding " or followed the particle analysis example in the Vision example. However, these mothods were not work in this application, because the resulting of above methods distroted the shape of the objects. In this application, the objects of interest are the particle in line shape, as they are marked numbering in the attach files, these particle can not be distroted, because after the separation they will be measured. If you have any idea or tools please guide me.

Please advise.

Skytalker.

0 Kudos
Message 1 of 16
(4,774 Views)
Please upload an uncompressed sample image.
Robert Eastlund
Graftek Imaging, Inc.
Phone: (512) 416-1099 x101
Email: eastlund@graftek.com
0 Kudos
Message 2 of 16
(4,751 Views)

Hi ,

This is the uncompressed images.

 

regards,

 

0 Kudos
Message 3 of 16
(4,744 Views)

Hey skytalker,

 

I can see the difficulty you are having separating the particles of interest from the background. This likely due to the fact that your region of interest is so close in pixel value to other objects in your image. The irregular shape and fact that the particles you care about are so different from each other. Out of curiosity, what sort of things are you looking to measure if you were able to completely separate the particles from the background? If it was known what you were interested in measuring in the end, it would help figure out how to go about filtering your particles.

 

-Ben 

Hope this helps.
-Ben

WaterlooLabs
0 Kudos
Message 4 of 16
(4,724 Views)

Hi Ben,
My target of this application is to measure the length and the thickness of (line shape) particles.  After the particles can be separated from its background i plan to use tool boxes such as Edge detection and Caliper to measure both thickness and the length of the particles.

Regards,

0 Kudos
Message 5 of 16
(4,713 Views)

Skytalker,

 

Here is a Vision Assistant v8.5 script that aims at isolating the elongated objects in the image.  The script seems to work ok for the two sample images provided.  The attached .zip file includes the script and the two resulting images.  Let me know if the example script is isolating the correct particles.  It probably needs more work.

 

-Robert

Robert Eastlund
Graftek Imaging, Inc.
Phone: (512) 416-1099 x101
Email: eastlund@graftek.com
Message 6 of 16
(4,708 Views)

Robert,

 

Nice work. I wouldn't have said you could get such a good result with just Niblack thresholding and particle filtering.

 

Vladimir


View my profile on LinkedIn
0 Kudos
Message 7 of 16
(4,694 Views)

Hi Ben,
Yes, the resulting images in the .zip are the one that I expected to have. I also tried to run the script through the last step, but i cannot get the resulting as yours. Is there any more steps needed ?
Regards,

0 Kudos
Message 8 of 16
(4,692 Views)

What version of Vision Assistant are you working with?

Robert Eastlund
Graftek Imaging, Inc.
Phone: (512) 416-1099 x101
Email: eastlund@graftek.com
0 Kudos
Message 9 of 16
(4,681 Views)
Hi Ben,
I'm using Vision Assistance 8.6

Regards,
0 Kudos
Message 10 of 16
(4,679 Views)