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

Resizing/cropping the image #21

Open
ShrutheeshIR opened this issue Feb 20, 2020 · 1 comment
Open

Resizing/cropping the image #21

ShrutheeshIR opened this issue Feb 20, 2020 · 1 comment

Comments

@ShrutheeshIR
Copy link

Thanks for the great code!
I was wondering if I could crop our relevant parts of the image and then run TSDF on that. If I do that, would I have to change the camera intrinsics?
I will give out an example scenario. Suppose in the example sequence, I wish to reconstruct only the table, and I have masked out only the table from the sequence, I would then crop the image only to have the table, (and if necessary, resize it back to the original image dimensions). Is this possible? In this case, what changes do I have to make to the camera intrinsic and the pose?
Any link to theory would also be great!
Thanks

@plutoyuxie
Copy link

Hi, maybe I can give some advice since I have test this with my own data.
camera intrinsic is necessary to transform pixels of depth image to camera coordinate system.
In fact, you can modify the value of cx and cy in the camera-intrinsics.txt file if you crop the data.

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

2 participants