フィルターのクリア

How to scale data

1 回表示 (過去 30 日間)
flemingtb
flemingtb 2018 年 8 月 24 日
回答済み: Image Analyst 2018 年 8 月 24 日
I have point cloud data from a profilometer, where each scan line is a row and each column is a pixel in the line scan. i know what my pitch is between pixels and i know my scan count, frequency and velocity. I can calculate what my (x) and (Y) axis scales should be in terms of millimeters, how do i do this in Matlab?
Right now my data shows up as 1-2400 lines (Y), and 1-300 columns (X).

採用された回答

Image Analyst
Image Analyst 2018 年 8 月 24 日
Try this
yInMm = y * mmPerPixelX
xInMm = (1:300) * mmPerPixelY
where mmPerPixel is the sampling rate (pitch) that you say you already know for the two directions (which may not be the same in each direction).

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangePoint Cloud Processing についてさらに検索

タグ

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by