Is it possible to change size of point in point cloud?
I found API to set new camera intrinsic but could not find API to get user defined camera intrinsic?
Is it possible to change size of point in point cloud?
Yes. Please refer http://open3d.org/docs/tutorial/Basic/pointcloud.html#visualize-point-cloud. You can press + or - to increase/decrease point cloud size.
I found API to set new camera intrinsic but could not find API to get user defined camera intrinsic?
See http://open3d.org/docs/tutorial/Basic/rgbd_images/redwood.html. You can replace PinholeCameraIntrinsic.prime_sense_default with 3x3 numpy array.
Thanks for using Open3D. I recommend to go through 'basic' tutorial to be get familiar with the library quickly :)
Size of point
In the interactive mode, press - will reduce the size of the point and + will increase it.
Under the hood it is managed by py3d.RenderOption of py3d.Visualizer. Press o to save the render option to a json file and there is an item point_size. The json file can be edited and py3d.Visualizer.get_render_option().load_from_json() to programmatically set the point size.
User defined camera intrinsic
py3d.ViewControl has two functions convert_from_pinhole_camera_paramters and convert_to_pinhole_camera_parameters. You can access them to read/write the camera parameter of the visualizing window.
oops, just noticed Jaesik had already posted an answer 馃槃
Thanks, this is helpful.
Can we instantiate the Open3D visualizer with different point size, Is there API to do so?
Also one more question, can we rotate over Z Axis (like Ctrl+Mouse Drag in PCL)?
Oops sorry did not realize qianyizh had already replied instantiating visualizer from json file.
Also one more question, can we rotate over Z Axis (like Ctrl+Mouse Drag in PCL)?
I don't think we have Z-axis rotation. (@qianyizh can you correct me if I am wrong?). This request can be go for next milestone.
There is. Call draw_geometries_with_editing(), it will launch a py3d.VisualizerWithEditing. Then you can press X, Y, or Z to lock the rotation around a certain axis, under an orthogonal view. Key F releases the view to free view.
@qianyizh @syncle It might be useful to have sliders for the intrinsic matrix like the Demo section here:
http://ksimek.github.io/2013/08/13/intrinsic/
Oh, I somehow missed this valuable comment by @cysmith. This demo is really great. It is written in java script, so it might be good to find out the way to add UI in our visualizer. I've thinking about https://github.com/wjakob/nanogui for this. How do you think @qianyizh?
Nanogui looks pretty good.
hope that opend3d can have an GUI, or can be integrated with other GUIs to help programmers achieve large projects.
Nanogui looks beautiful and powerful~
The GUI is around the corner...so I am closing this issue.
Most helpful comment
hope that opend3d can have an GUI, or can be integrated with other GUIs to help programmers achieve large projects.