Skip to content
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

Preprocessing of my own depth maps #24

Open
Azpril45 opened this issue Oct 18, 2017 · 3 comments
Open

Preprocessing of my own depth maps #24

Azpril45 opened this issue Oct 18, 2017 · 3 comments

Comments

@Azpril45
Copy link

Dear @shurans

Thanks for sharing your work.
I have read your paper and had some questions about the preprocessing procedure. It will be appreciated that if you can give me some help.
In the paper, you said that you make some modifications to the standard TSDF and turned it to flipped
TSDF which has the strong gradient on the surface, providing a more meaningful signal for the network to learn better geometric features.
I want to use this flipped TSDF to generate my own volume data from a single depth image like this
zraw1
This is a hand pose depth image from NYU hand pose dataset.

I tried to do some modifications on your suncg_data_layer.cu layer to generate a 3d volume date. However, a parameter names camera pose confused me. I did some researches and it seems like a 4x4 matrix.

Can you tell me how can I generate a 3d volume data from my own depth image by using flipped TSDF you described or give me some hints about it?

Thank you
Sincerely yours

Tony

@JamesTonG321
Copy link

Dear @Azpril45,
I'm interested in your work, is that you do some modifications in suncg_data_layer.cu layer to make the standard TSDF to she flipped TSDF?
Thank you.

@shurans
Copy link
Owner

shurans commented Oct 18, 2017

Hi @Azpril45,

  1. Transforming from standard tsdf (not projective tsdf) to flipped tsdf is very simple: for each voxel, if its tsdf value is (+/-)d then the flipped tsdf value is (+/-)(1-d). Therefore if you have code to compute standard tsdf you just need to change one line of code to get the flipped tsdf.
  2. the camera pose is 3D transformation matrix from camera coordinate to world coordinate.

@jiunyen-ching
Copy link

Hi @Azpril45 are you able to backproject the depth map to its correct positions in the world coordinate frame?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants