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

How to save depth maps as images (e.g. bmp or jpg)? #482

Closed
vholod opened this issue Aug 19, 2019 · 2 comments
Closed

How to save depth maps as images (e.g. bmp or jpg)? #482

vholod opened this issue Aug 19, 2019 · 2 comments

Comments

@vholod
Copy link

vholod commented Aug 19, 2019

Hi,
How to save depth maps as images in the dmreacon code?
or
How to convert depth maps ( for example depth-L.mvei type ) to jpg (or another common format) format?

Many Thanks,
Vadim

@simonfuhrmann
Copy link
Owner

Depth maps are stored in their own file format because they are not ordinary images. They are float images. If you just want a visualization of the depth map, you can use UMVE (view inspect tab), and you can also store that visualization as a common PNG or JPEG image (photo icon).

If you need to visualize a lot of depth maps you will have to write your own tool, reading the .mvei images using MVE's libraries (or write your own parser, it's trivial and the file format is documented in the Wiki) and do the conversion from float image to byte image yourself.

@vholod
Copy link
Author

vholod commented Aug 20, 2019

Thank you very much

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