Matlab Pixel Measurement Question
古いコメントを表示
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 件のコメント
Ryan
2012 年 8 月 31 日
Do you have access to the image processing toolbox? Can you post an example image?
Coulton
2012 年 8 月 31 日
編集済み: Walter Roberson
2012 年 8 月 31 日
Image Analyst
2012 年 8 月 31 日
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
2012 年 8 月 31 日
Interestingly, similar images came up once before, http://www.mathworks.co.uk/matlabcentral/answers/25204-how-to-find-the-temperature-of-the-image
Coulton
2012 年 9 月 1 日
Image Analyst
2012 年 9 月 2 日
See my new code below.
Coulton
2012 年 9 月 6 日
採用された回答
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Image Processing Toolbox についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!