-
Notifications
You must be signed in to change notification settings - Fork 4.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
create color point cloud #12488
Comments
Hi @jooseuk There is a Python Open3D script for real-time depth+color pointcloud generation at isl-org/Open3D#473 (comment) that you could try. |
Thank you for your answer. However, I want to create a color point cloud from the color and depth images I already have. I want to align the color and depth images and create them using only the internal parameters of the depth camera. The internal parameters of the depth camera at this time are [1280x720 p[645.865 356.59] f[642.496 642.496] Brown Conrady [0 0 0 0 0]]. |
Thank you for your answer. However, I want to create a color point cloud from the color and depth images I already have. I want to align the color and depth images and create them using only the internal parameters of the depth camera. The internal parameters of the depth camera at this time are [1280x720 p[645.865 356.59] f[642.496 642.496] Brown Conrady [0 0 0 0 0]]. |
There are not many Open3D references for using existing depth and color images rather than live ones from the camera. It sounds as though a RealSense user at #9970 (comment) was trying to do something similar in their scripting with offline images. |
Hi @jooseuk Do you require further assistance with this case, please? Thanks! |
Case closed due to no further comments received. |
Before opening a new issue, we wanted to provide you with some useful suggestions (Click "Preview" above for a better view):
All users are welcomed to report bugs, ask questions, suggest or request enhancements and generally feel free to open new issue, even if they haven't followed any of the suggestions above :)
Issue Description
<Describe your issue / question / feature request / etc..>
The following code configures the resolution for both the color and depth streams to 1280x720, and the output of the code, when you print "Depth Intrinsics: ", is as follows: "Depth Intrinsics: [ 1280x720 p[645.865 356.59] f[642.496 642.496] Brown Conrady [0 0 0 0 0] ]. You are asking if the following code, using open3d, is the correct way to obtain a color point cloud, and if there is a better method.
#color point cloud
import cv2
import numpy as np
import open3d as o3d
import os
for k in range(9):
# path
color_image_path = os.path.join(r'C:\Users\juseok\Desktop\example\data\ori',"color_"+str(k+1) + '.png')
depth_image_path = os.path.join(r'C:\Users\juseok\Desktop\example\data\ori',"depth_"+str(k+1) + '.png')
The text was updated successfully, but these errors were encountered: