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

Depthmaps format #12

Closed
adamroszyk opened this issue Mar 26, 2018 · 7 comments
Closed

Depthmaps format #12

adamroszyk opened this issue Mar 26, 2018 · 7 comments

Comments

@adamroszyk
Copy link

HI,
I have a depthmaps that looks like this: click

I've tried using them in your code in the form as show on the picture, and after making them grayscale, but generated point-cloud seems to be empty with those.

Any advices - how I should prepare pictures to make them work with your code ?

Regards.

@adamroszyk adamroszyk changed the title Depthams format Depthmaps format Mar 26, 2018
@andyzeng
Copy link
Owner

Depth maps should be saved in format: 16-bit PNG, depth in millimeters.

@adamroszyk
Copy link
Author

Ok, thanks for quick answer - what about the resolution - does it have to be 640x480. or I can just change it in code - and it should work ?

@andyzeng
Copy link
Owner

Changing it should work. I haven't tested it though. Keep in mind that your camera intrinsics matrix cam_k will likely also have to change.

@adamroszyk
Copy link
Author

Is it possible to apply different camera intrinsics to different frames ?
My frames are from iPhone, and it changes the camera intrinsics matrix every shoot.

@andyzeng
Copy link
Owner

It's possible, but you'll have to modify demo.cu so that it changes cam_K as it's looping through depth frames.

@adamroszyk
Copy link
Author

Perfect, thanks again !

@B-Betty
Copy link

B-Betty commented Mar 29, 2018

hello, @adamroszyk
how do you convert image 32-bit to 16-bit as with as depth in millimeters?

@andyzeng andyzeng closed this as completed Apr 4, 2018
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

3 participants