Ask Your Question


asked 2013-03-31 05:43:19 -0600

bandw3230 gravatar image

Does anyone have a C code for light-source-direction-estimation-from-a-single-image?

edit retag flag offensive close merge delete


-1 due to code begging

Guanta gravatar imageGuanta ( 2013-03-31 08:56:33 -0600 )edit

Like @Guanta said, please put some effort in it. IF you have googled for an approach, try implementing it and get back here with your suggestions and problems. Just posting a question which is basically telling us 'please solve my high school project' will not get you anywhere on this forum.

StevenPuttemans gravatar imageStevenPuttemans ( 2013-03-31 09:54:06 -0600 )edit

@StevenPuttemans: thanks for writing a more comprehensive statement, I was too lazy :)

Guanta gravatar imageGuanta ( 2013-03-31 10:03:07 -0600 )edit

Yes,it was too begging. Then, I would appreciate it if anyone could suggest where to find the algolithm so that I could implement it into C codes partly using OpenCV libraries.

bandw3230 gravatar imagebandw3230 ( 2013-03-31 18:17:47 -0600 )edit

I found a couple of papers where I could read a complete light-direction-estimation algorithm without communicating with each author. Though each algorithm has some strong limitations such as spherical for depicted objects, it will do as a starting point anyway, thanks.

bandw3230 gravatar imagebandw3230 ( 2013-04-03 23:33:04 -0600 )edit

Accept answers if our help satisfied your needs :)

StevenPuttemans gravatar imageStevenPuttemans ( 2013-04-04 01:43:24 -0600 )edit

1 answer

Sort by ยป oldest newest most voted

answered 2013-04-01 04:38:53 -0600

Basically this link says it all :

Steps to follow:

  • Click link
  • Pick a paper
  • Read the paper
  • Look for necessary techniques in C++ to build the algorithm, using google or search function

BTW looking at how recent these papers are (techniques invented in 2009-2010 are considered new in computer vision) it will be hard to find a copy paste algorithm. You will have to dig in it yourself unfortionately.

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2013-03-31 05:43:19 -0600

Seen: 1,569 times

Last updated: Apr 01 '13