Code for the paper "A New Shadow Removal Method using Color-Lines", International Conference on Computer Analysis of Images and Patterns (CAIP), 2017.
This code was tested on MATLAB 2016b on x64 windows.
demo.m presents a simple interaction for shadow removal.
You can deshadow your image with the following script:
img_shadow = im2double(imread('PHOTO_PATH'));
img_deshadow = shadowRemoval(img_shadow);
@inproceedings{yu2017shadow,
title={A New Shadow Removal Method using Color-Lines},
author={Yu, Xiaoming and Li, Ge and Ying, Zhenqiang and Guo, Xiaoqiang},
booktitle={International Conference on Computer Analysis of Images and Patterns},
year={2017}, }
Feel free to reach me if there is any questions (Xiaoming-Yu@pku.edu.cn).