To convert the raw point cloud profile data received from the Gocator protocol from pixel value to engineering units, please refer to the below formula:
X: XOffset + XResolution * data[arrayIndex].x;
Z: ZOffset + ZResolution * data[arrayIndex].y;
For resampled, uniform spacing profile data, the following formulas apply:
X: XOffset + XResolution * arrayIndex;
Z: ZOffset + ZOffset + ZResolution * data[arrayIndex];
For resampled, uniform spacing surface data, the following formulas apply:
X: XOffset + columnIndex * XResolution
Y: YOffset + rowIndex * YResolution
Z: ZOffset + height_map[rowIndex][columnIndex] * ZResolution
Comments
0 comments
Please sign in to leave a comment.