필터 지우기
필터 지우기

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 CenterFile Exchange에서 Point Cloud Processing에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by