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!