3
$\begingroup$

I have a object which is static, the camera is static and light source is moving. How can the depth mask be calculated ?

Concept is to use - calculate height from shadow length

enter image description here

Lets imagine a have more images likes this.

And light source is moving, which is sun, and from time it's position, distance, orientation can be calculated.

enter image description here

Yellow lines are sun rays.

Those circles are brightest pixel previously(direction of raw) of a very dark pixel. considering them highest i'n my knowledge . And those green lines as shadow. How can I calculated the depth mask of this terrain.

I'm ignoring the fact that, object/terrain can be colorful - no reflection/absorption.

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.