This software package provides a MATLAB implementation of the foreground background segmentation approach that robust to the effects of shadows described in the following paper:
A. Ecins, C. Fermüller, and Y.Aloimonos, "Shadow Free Segmentation in Still Images using Local Density Measure", ICCP 2014
There is a number of 3rd party software packages that are used by this software:
-
My package of usefull MATLAB functions [link]
-
Berkeley segmentation code v1.2.0 [link]
-
Maxflow v3.0.1 [link]
-
Maxflow wrapper for MATLAB [link]
-
EDISSON wrapper for MATLAB [link]
-
libsvm v3.18 [link]
NOTE: I have renamed functions
svmtrain
andsvmpredict
tolibsvmtrain
andlibsvmpredict
in my installation to avoid confusion with the same functions available in MATLAB Statistics Toolbox. -
Local Binary Patterns (already included in this package) [link]
The package contains 4 important pieces of code. Each of them can be used standalone for their respective purpose:
fixation_segmentation
- fixation based foreground background segmentationshadow_boundary_recognition
- shadow boundary classfier trainingdensity_map
- image transformation that is robust to illumination changesshadow_free_seg
- shadow free segmentation
Each package had a demo file included. To try them out install the required 3rd party packages, open the demo file (e.g. shadow_free_seg_demo.m
) set the required paths to the isntalled packages and run the demo file.
All software was tested in Ubuntu 12.04, MATLAB R2014a. If you have any questions or comments feel free to contact me.