Ask Your Question

hamid's profile - activity

2013-05-01 18:24:30 -0600 asked a question projecting light and shadows on a surface.

Hi I am trying to extract the lighting and the shadow from one surface and apply it to another type of surface. I convert the image to HSV and extract the Hue component and plot it which seems to give me a good indication of where the lighting and shadows are. However when I swap the hue component of the original image with my final image I get all sorts of greens and blues that are not desired. Are there any other techniques that can be used to project shadow and lighting?

2013-05-01 18:15:07 -0600 received badge  Scholar (source)
2013-05-01 18:14:22 -0600 received badge  Supporter (source)
2013-04-02 23:09:46 -0600 asked a question calcBackProjectPatch not supported?

I grabbed the code from the server and wanted to use calcBackProjectPatch, however it was commented out in the imgproc.hpp file. Is there a reason this function is commented out? Is there a version of openCV I need to grab so that I can use this function? Has this function been deprecated?