You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I use depth map that genreate from Depth Pro compareing with that from Kinect Dk,there are some point behind the suface .I think it should be like the Figure 1.I want to know what is the reason,and is it normal.there is the code.thank you Thanks♪(・ω・)ノ
`import open3d as o3d
import numpy as np
import cv2
When I use depth map that genreate from Depth Pro compareing with that from Kinect Dk,there are some point behind the suface .I think it should be like the Figure 1.I want to know what is the reason,and is it normal.there is the code.thank you Thanks♪(・ω・)ノ
`import open3d as o3d
import numpy as np
import cv2
color_image=o3d.io.read_image(r"E:\NJAU\code\function\My_open3d\test_plant\00000.jpg")
depth_image=o3d.io.read_image(r"E:\NJAU\code\function\My_open3d\test_plant\00000_pro.png")
print(f"dept_image,min:{np.min(depth_image)},max:{np.max(depth_image)}")
rgbd_image=o3d.geometry.RGBDImage.create_from_color_and_depth(color_image,depth_image)
print(rgbd_image)
matrix = np.array([[605.0721435546875, 0.0,644.199462890625],
![image](https://private-user-images.githubusercontent.com/77428685/390381761-22dddb02-53eb-4cbf-92a5-cbf7f07ccf84.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkzMzk1NjIsIm5iZiI6MTczOTMzOTI2MiwicGF0aCI6Ii83NzQyODY4NS8zOTAzODE3NjEtMjJkZGRiMDItNTNlYi00Y2JmLTkyYTUtY2JmN2YwN2NjZjg0LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTIlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjEyVDA1NDc0MlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTQ0NzE0ZmU3NTUxM2I2NWQwYmE2MTFhMmIyZWJiOGYwODU4ZDJhZmU0MWIwOTBkMThkOTM1YzFlYzI4M2Q0OTMmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.xJotQg8eppcRzdDTzILtHcnhiBUkxN4sKjxevHL6SSs)
![image](https://private-user-images.githubusercontent.com/77428685/390382121-623a6c3a-4724-46fa-a8cc-ef96a83dfd54.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkzMzk1NjIsIm5iZiI6MTczOTMzOTI2MiwicGF0aCI6Ii83NzQyODY4NS8zOTAzODIxMjEtNjIzYTZjM2EtNDcyNC00NmZhLWE4Y2MtZWY5NmE4M2RmZDU0LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTIlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjEyVDA1NDc0MlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTNlM2VhNTFkY2RhMTU1YTFhMGVlOWE1NDJiMTJkYWFiZTBmNzBlZDYxZTRhYzRmZTU2NzA4ODQ3OGIyZjdkYmYmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.AlbvcB4923jZguDGle3prLymrhUCD0aQZ3A79E83KY0)
[0.0, 604.8974609375, 364.885986328125],
[0.0, 0.0, 1.0]], dtype=np.float64)
pcd=o3d.geometry.PointCloud.create_from_rgbd_image(
rgbd_image,
o3d.camera.PinholeCameraIntrinsic(height=720,width=1280,
intrinsic_matrix=matrix)
)
pcd.transform([[1,0,0,0],[0,-1,0,0],[0,0,-1,0],[0,0,0,1]])
o3d.visualization.draw_geometries([pcd])
`
Figure 1 is Using depth map from Kinect DK
Figure 1
Figure 2 is using depth map from Depth Pro
Figure 2
The text was updated successfully, but these errors were encountered: