How can I find the length of Interfaces in Plastic Mixture

3 次查看(过去 30 天)
Hallo Everybody,
A Plastic Mixture consists of different components.I have to find the length of Interfaces between these Components. I can find the boundaries between the component wirh various way,for instance thresholding,sobel...
Can anyone help me that i can find the length of these boundaries???
Thanks
  4 个评论
Walter Roberson
Walter Roberson 2013-12-17
The image did not make it. If you need to, use one of the sites I linked to above and post the link here.

请先登录,再进行评论。

采纳的回答

Image Analyst
Image Analyst 2013-12-16
Once you have classified your image you will probably need to use glcm() to take the gray level cooccurrence matrix.
  9 个评论
Image Analyst
Image Analyst 2013-12-26
If you can get a good binary image, you can just call bwperim and sum up the image to count the number of boundary pixels. To get a good image you mgiht have to use an algorithm that makes sharp edges such as mean shift, or maybe this one: http://www.mathworks.com/matlabcentral/fileexchange/25619-image-segmentation-using-statistical-region-merging
Otherwise you can try the mean of the standard deviations, like I suggested. An alternative to the mean is the MAD - median absolute deviation, which is less prone to outliers than the mean. There is a Wikipedia article on it.
You should also look up web sites on spatial statistics. It is a whole field that is kind of like a melding of image analysis and statistics. Brian Ripley is a world expert in that area. So is Prof. Adrian Baddeley http://www.csiro.au/Organisation-Structure/Divisions/Computational-Informatics/CCI-People/AdrianBaddeley.aspx who has a good book on "Analysing spatial point patterns in R". Chapter 19 is especially interesting because it details methods that can be used to determine randomness (Poisson) vs. periodicity (grids) vs. clustering/clumping. I believe the book is online somewhere.

请先登录,再进行评论。

更多回答(1 个)

Keith Dalbey
Keith Dalbey 2013-12-26
You need to convert your image into an array of numbers (easy), then call countourc at the number/color of the interface you want to find, this will return multiple disconnected countours, from that you need to extract the specific countour you desire based on its location (which you will probably need to do manually) and then add up the lengths of the segments in that contour.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by