menorart Posted September 24, 2008 Share Posted September 24, 2008 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 More sharing options...
shaneis Posted September 24, 2008 Share Posted September 24, 2008 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 More sharing options...
menorart Posted September 25, 2008 Author Share Posted September 25, 2008 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 More sharing options...
John Dollus Posted September 25, 2008 Share Posted September 25, 2008 There was a research presentation during Sigraph showing this exact thing a few years ago - pretty sure it was the San Antonio conference. I'll see what i can dig up for you when I get home Link to comment Share on other sites More sharing options...
menorart Posted October 2, 2008 Author Share Posted October 2, 2008 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 More sharing options...
John Dollus Posted October 3, 2008 Share Posted October 3, 2008 I looked into this through the conference proceedings and could only locate what has been confined to the academic realm but nothing in a compiled library. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now