Matlab Pixel Measurement Question
Ältere Kommentare anzeigen
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 Kommentare
Ryan
am 31 Aug. 2012
Do you have access to the image processing toolbox? Can you post an example image?
Coulton
am 31 Aug. 2012
Bearbeitet: Walter Roberson
am 31 Aug. 2012
Image Analyst
am 31 Aug. 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
am 31 Aug. 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
am 1 Sep. 2012
Image Analyst
am 2 Sep. 2012
See my new code below.
Coulton
am 6 Sep. 2012
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Image Processing Toolbox finden Sie in Hilfe-Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!