How can I find the length of Interfaces in Plastic Mixture
5 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Türker
el 16 de Dic. de 2013
Comentada: Türker
el 26 de Dic. de 2013
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 comentarios
Walter Roberson
el 17 de Dic. de 2013
The image did not make it. If you need to, use one of the sites I linked to above and post the link here.
Respuesta aceptada
Image Analyst
el 16 de Dic. de 2013
Once you have classified your image you will probably need to use glcm() to take the gray level cooccurrence matrix.
9 comentarios
Image Analyst
el 26 de Dic. de 2013
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.
Más respuestas (1)
Keith Dalbey
el 26 de Dic. de 2013
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.
Ver también
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!