Matlab Pixel Measurement Question
Mostrar comentarios más antiguos
I have images that are only black and white. The white pixels are essentially a streak that can have any orientation (it can look like \ or / or | etc). My question is can Matlab measure the overall length of each streak no matter what the orientation?
Might I add that I hope to do this with an algorithm (i.e. automatically)
7 comentarios
Ryan
el 31 de Ag. de 2012
Do you have access to the image processing toolbox? Can you post an example image?
Coulton
el 31 de Ag. de 2012
Editada: Walter Roberson
el 31 de Ag. de 2012
Image Analyst
el 31 de Ag. de 2012
Is it in the same place every time (so we can crop out most of the clutter)? Will you allow manual method such as imdistline() or improfile()? You need to upload another image so we can see what kind of variation in the images could be encountered. Otherwise I'll simply go from one known pixel to another known pixel with improfile and threshold the profile to find the distance, but I doubt this approach will work for other images.
Walter Roberson
el 31 de Ag. de 2012
Interestingly, similar images came up once before, http://www.mathworks.co.uk/matlabcentral/answers/25204-how-to-find-the-temperature-of-the-image
Coulton
el 1 de Sept. de 2012
Image Analyst
el 2 de Sept. de 2012
See my new code below.
Coulton
el 6 de Sept. de 2012
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Image Processing Toolbox en Centro de ayuda y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!