You are not logged in.

Dear visitor, welcome to Forum. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.


Thursday, December 12th 2019, 12:09am

Depthmap - "Height from ground" parameter instead of "offset"

Hi Klaus,

do you think in future would be possible to add another parameter to the depthmap definition that specify the height from the ground instead of using the offset?

I can immagine depthmap are mostly used from renders where it can be generated as a byproduct and the model could be too complicated to be exported as STL, while for photography you would use tools like everpano to generate a light model.

In the case of depthmap we would have to use the offset parameter that defines the distance from the nearest point:
this distance is highly dependent on what is visible in the scene and it requires to open the(very heavy, too complicated to be exported) model and start checking for the nearest point (or wait for the depthmap to be produced, check the whitest point, misure the distance with the camera) while it would be far more easy to use the height of the camera from the ground (often set to 160cm but anyway very trivial to find).
Furthermore, in your examples you use this value to position correctly the points on the ground, so it already has to be know.

I take that the offset is used to scale correctly the greyvalue of the map with the world coordinates, but it shouldn't be difficult to start counting from a middlepoint instead of the whitest value.

Let me know your thoughts *smile*