-
Notifications
You must be signed in to change notification settings - Fork 13
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
Curved Depth Map #10
Comments
I think this may be due to the incorrect depth distance we used. You may try two different depths: i) distance from the point to the image plane or ii) distance from point to the camera center. Best, |
Hi thanks for the quick answer, where exactly I can find that distance parameter that you used? Can you refer to the file or line of code where I can find it |
For a point (x,y,z) in 3D space, the depth map extracted by network is the z coordinate, not the |
Is it possible to know at least what kind of visualization you use for the paper? Did you use Open3D or something else? |
I know that, but in the code the depth map is basically created in ConvertLayout function, in particular in this part of code:
My question is which parameters can I change so that the depthmap is not curved? I imagine that in the reconstruction you show in the paper you used a depth map, to make the 3d visualization. But not a curved one otherswise your results will look like the image I posted at the beginning of this issue. |
We use Open3D to visualize the reconstructed 3D model. |
Hi, @marcomiglionico94 |
Hi thanks for your reply. I am not very sure about this. When i return 1/depth the results of the depthmap are very strange since only a small part of the scene is included, the rest is missing. In fact before the values of the depthmap are between 0 and 1, but after i do 1/depth all the values are around 2 or 3, which I don't think is correct. Maybe you mean |
We add an example on NYU303 dataset. The actually depth is |
Hello, I realized that if I use 1/depth it only works if then I divide the values of the depthmap by the max value of it, only to scale the values between 0 and 1 so that I can visualize them. Do you know if that is the correct approach? or is there another way to scale the values of the depthmap between 0 and 1 so that I can visualize it? |
@marcomiglionico94 I wonder if it could be possible for you to briefly discuss how you solve the problem? |
@bertjiazheng and @marcomiglionico94 |
hey @marcomiglionico94, can you share the code you have implemented for 3D visualization. Also, I am trying to implement this function DisplayMeshLayout in reconstruction.py for my custom images in test.py It needs these as input This is I have implemented it in test.py DisplayMeshLayout(ups, downs, attribution, pwalls=params_layout, pceiling=pceiling, pfloor=pfloor, ixy1map=inputs['ixy1map'][i].cpu().numpy(), K_inv = np.linalg.inv(inputs['intri'][i].cpu().numpy())) I am getting this error:
|
Hi, I am trying to create a visualizer that allows me to visualize the room layout. I am using a custom image for inference.
The results look good, when i check the segmentation overlayed on my image. The main issue I have is when I try to use open 3d to plot, it looks like the depth map is curved. Do you have any explanation for this?
This is the overlayed image
This is my Open3d visualization of the polygons:
The main issue is the curvature, and that is due to the depth map extracted by the network. Any idea of how to solve it?
Thanks
The text was updated successfully, but these errors were encountered: