in a image with pixel size 3 mm, how can find the distances of all pixels from the bottom edge of image?
조회 수: 1 (최근 30일)
이전 댓글 표시
in a image with pixel size 3 mm, how can find the distances of all pixels from the bottom edge of image?
댓글 수: 0
답변 (1개)
Image Analyst
2015년 4월 17일
It's simply the distance in rows times 3 mm
[rows, columns, numberOfColorChannels) = size(yourImage);
distanceInMM = 3 * (rows - thePixelsRow);
댓글 수: 1
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!