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!