How to implement shadow detection?

Hello all,
I have a question for you:
we have a portrait or portraits taken under different lightning conditions; some portraits have parts that are shadowed. What would be the best way to detect shadows on a human face?
I will make use of Viola-Jones algorithm to detect faces.
Regards, Matija.

 채택된 답변

Image Analyst
Image Analyst 2012년 12월 17일

0 개 추천

There is no built in MATLAB functionality for this. You'll need to write your own. See Section 8.3.10 of VisionBib: "8.3.10 Cloud Detection, Shadow Detection and Extraction" for algorithms. Read the relevant FAQ entry, then come back if you have MATLAB programming/syntax questions.

추가 답변 (0개)

질문:

2012년 12월 17일

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by