Jump to content

Light direction from photos


menorart
 Share

Recommended Posts

Hello community,

 

I need to evaluate the difficulty to develop a program able to extract the direction (3D vector) of light sources from room interior photos ?

 

The idea is to provide this tool as a helper to illuminate 3D objects added to these photos.

 

Could someone point me to any resource (algos , articles or even software) that could help me to get started ?

 

Thanks in advance for any tips.

Link to comment
Share on other sites

You can do this already - use tracking/ match-moving to align the geometry with the image plane, draw splines/ EP curves from shadow contact points to corresponding points on the terminating object. Extend curves until they converge and that is the location of your light source. More curves = more accuracy.

Link to comment
Share on other sites

Hi shaneis, thanks for theses advices.

 

My question however was more related to algorithms able to do this because I need to automate the shadow orientation detection process. This feature needs to be integrated in a larger augmented reality project.

 

After googling for a while I managed to get a couple of papers (thesis ...) but was not able to find any image processing lib (commercial or not) able to at least give an approximation of the light orientation in the image space (2D).

Link to comment
Share on other sites

Hi John , sorry for the late answer (took some time off).

 

That would be great if you could give me some link on these materials. As I said I have downloaded a couple of papers (none from siggraph) but there are highly complicated (lot of complex maths) and I would prefer to use an existing image analysis lib that (even partially) deals with this.

 

Thanks anyway for your help

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...