Open3D icon indicating copy to clipboard operation
Open3D copied to clipboard

How to save integrated color and depth image along with integrated.ply file in ReconstructionSystem

Open Resays opened this issue 7 years ago • 10 comments

Using the code from ReconstructionSystem, I want to have an integrated color and depth image with integrated.ply file, is it possible to have them both? cause later I will grab the objects from a newly constructed .ply file using programming python code

Resays avatar Jul 14 '19 12:07 Resays

anybody can help ? ... what should i do ?

Resays avatar Jul 15 '19 18:07 Resays

@yxlao take a look?

qianyizh avatar Jul 16 '19 17:07 qianyizh

Need more specific definition of the feature request. Meaning of 'Integrated color and depth image' is kind of ambiguous.

theNded avatar Jul 18 '19 16:07 theNded

Ok, let me explain it in details I successfully captured 100 images with realsense camera, right? then I successfully constructed a 3D scene using ReconstructionSystem provided in Open3D examples and as a result, ReconstructionSystem is displaying and saved a 3D .ply file as a whole scene so, I need to save the final color image and depth image after registration of these images as i'm receiving .ply file

I hope you may understand what I'm saying ... if anything else then I can show the process I followed.

Resays avatar Jul 20 '19 20:07 Resays

Can you specify if your requirement is in the following:

  1. 2D input color/depth images with estimated poses, or
  2. 3D colored point clouds by unprojecting input color/depth images using estimated poses, or
  3. 2D rendering from the ply.

theNded avatar Jul 20 '19 20:07 theNded

These are the images i used, color and depth 1 and this is the output .ply file i generated with ReconstructionSystem 11-1

This one was the camera intrinsic

{
    "width": 640,
	"height": 480,
	"intrinsic_matrix": [ 625.637, 0, 0, 0, 625.637, 0, 319.944, 241.388, 1 ]
}

output files are: files

and now i want to have a color and depth image along with .ply file

Resays avatar Jul 20 '19 20:07 Resays

  1. 2D rendering from the ply (color and depth) both images are required and can I get the objects from .ply file as well? using coding or giving points to ply file? crop_point_cloud is working with mouse clicks but I want to crop point cloud by giving points in the code like I have to detect the objects in point cloud and later need to grab only objects as 3D objects from whole point cloud file. is it possible?

Resays avatar Jul 20 '19 20:07 Resays

any help @theNded ?

Resays avatar Jul 28 '19 08:07 Resays

I'm not sure about the python interface, but we can render images in C++ using the precomputed camera poses. The camera poses can be obtained in python like this, and in C++ like this (there might have been changes in APIs).

Regarding the second request, we don't support masking in mesh now. If your input are point indices that are consistent with integrated.ply, then we may find a workaround for this to preprocess mesh before rendering.

theNded avatar Jul 31 '19 17:07 theNded

@Resays is this issue still bothering you?

germanros1987 avatar Aug 07 '20 01:08 germanros1987