Open3D-Python (70%)
Jupyter ๋ฒ์ ผ์ [์ด๊ณณ]์์ ํ์ธ ๊ฐ๋ฅ ํฉ๋๋ค.
1. ์ฝ๊ธฐ
import open3d
import numpy as np
#PCD ํ์ผ ์ฝ๊ธฐ
pc = open3d.read_point_cloud("./sample/lobby.pcd")
print(pc)
#txt ํ์ผ ์ฝ๊ธฐ
open3d.read_point_cloud("./sample/open3d_xyz.txt", format='xyz')2. ์์ฑ
import open3d
import numpy as np
pc_array = np.array([[1, 2, 3], [3, 4, 5]], dtype=np.float32)
print(pc_array)
pc = open3d.PointCloud()
pc.points = open3d.Vector3dVector(pc_array)
print(pc)3. ์ฐ๊ธฐ
์ง์ ํ๋ ํ์ฅ์ : pcd, ply, xyz, xyzrgb, xyzn, pts
4. ๋ณํ
5. ์ ๋ณด ์ถ๋ ฅ
Last updated
Was this helpful?