algorithm - Removing shadows from white clear surface -
i have image of object taken in studio. image lighten multiple sources , stands on mate white background. background lighten.
most of shadows fall on background eliminated lights there still little light shadows remove.
until now, solutions found involved in manual intervention. know if there known methods or if has idea how approach such problem.
the object can contain white elements , @ point can't change background color (to green or blue).
thanks.
if have strong contrast between foreground , background use simple floodfill algorithm stops on hitting large contrast difference classify pixels background , foreground. adjust levels of background saturate shadows white while retaining reasonable edge quality. helps if input data higher resolution output. if have soft edges or need edge quality you'll need employ algorithm each edge pixel estimates background color, foreground color , transparency. approach soft scissors paper siggraph 2007.
Comments
Post a Comment