Converting from Pixels to mm
2 ビュー (過去 30 日間)
古いコメントを表示
Hi,
I am new for Matlab. I am facing hard time to converting Pixels to mm. Y-Axis is in um and X-Axis has to be in mm. Because I have another chart in X as mm and Y as um. I have to compile these 2 charts together. Therefore I need to change it.
Thanks, Win
0 件のコメント
採用された回答
Sean de Wolski
2012 年 3 月 12 日
doc meshgrid
to generate xdata and ydata that can correspond to any unit you like.
その他の回答 (1 件)
Image Analyst
2012 年 3 月 12 日
You need to know a spatial calibration factor. For example you snap an image of a ruler and measure how many pixels 12 inches is. Let's say it's 120 pixels. Then you have 10 pixels per inch. So if your distance in your image is 360 pixels, that would be 360 pixels / (10 pixels/inch) = 36 inches.
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Convert Image Type についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!