Hello Klaus, thank you for the Krpano program. This message will be a little bit longer
I made a program to generate an image depthmap the from laser scanner 32 bits float depthmap. The 8 bits depth limit is a big problem. Please see the images bellow.
I understood that krpano generates a 24 bits depthmap internally from stl. Could Krpano read the depthmap from a 24 bits RGB PNG as a 24 bits depthmap?
https://krpano.com/forum/wbb/inde…79766#post79766
I generated PNG depthmap using the RGB to code a 24 bits integer representing 16,777,216 units of depth. BLUE store the most significant byte and RED the less significant.
Could you consider making krpano able to read depthmaps from a color PNG file generated like this?
The files I generated can be download from here. Please let me know if you want more examples or the files generated in other way.
Bellow some images to illustrate the problems with 8 bits depthmaps. I did not yet upgrade my brand free license to the new version ...
In this scene, the maximum distance is around 29 m, when mapped to only 256 values allowed by 8 bits it, one unit is ~ 0.1133 m this results in strange artifacts as showed:
Limiting the max distance to 7.00 m makes one unit ~ 0.027 m. The artifacts are reduced but not eliminated and this introduces errors beyond 7.00 meters.
After 7 m it becomes like a sphere
Above, we can see the borders distorted as a sphere. Bellow, the full 29m range, but with larger artifacts
The pano are:
And an PNG BW 16 bits gray