wkjarosz / hdrview

A simple research-oriented image viewer with an emphasis on examining and comparing high-dynamic range (HDR) images, and including minimalistic editing and tonemapping capabilities.
Other
291 stars 11 forks source link

support for depth image #90

Closed LogWell closed 2 years ago

LogWell commented 2 years ago

The cvkit can display the raw values stored in the depth image, how to set it up in hdrview (it seems to be normalized) image

wkjarosz commented 2 years ago

HDRView is currently primarily intended for rgba images. I haven't ever tried to load depth images personally, so am not even sure what it does when faced with such an image. This is a limiation, which would be great to lift at some point, but solving it well would require a significant rework of how HDRView stores and maintains image channels.

Maybe for depth images it's possible to special-case the loader and viewer code. I would welcome a pull request with such an improvement if it can be done elegantly and unobtrusively.

wkjarosz commented 2 years ago

Closing this issue for now, but please submit a pull request if you are able to fix this. Thanks.