Clear Filters
Clear Filters

How to implement shadow detection?

1 view (last 30 days)
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.

Accepted Answer

Image Analyst
Image Analyst on 17 Dec 2012
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.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!