An illumination invariant shadow ratio is introduced. The invariant is calculated using RGB information.
The threshold value needs to be tuned by user for the test images.
A test image is included.
% For Academic & Educational Usage Only
% Please consider citing following reference articles.
%
% B. Sirmacek and C. Unsalan, "Damaged Building Detection in Aerial Images
% using Shadow Information", 4th International Conference on Recent Advances
% in Space Technologies RAST 2009, Istanbul, Turkey, June 2009.
%
% C. Unsalan and K. L. Boyer, "Linearized vegetation indices based on a formal
% statistical framework," IEEE Transactions on Geoscience and Remote Sensing,
% vol. 42, pp. 1575-1585, 2004.
Cite As
Beril Sirmacek (2024). Shadow Detection (https://www.mathworks.com/matlabcentral/fileexchange/54647-shadow-detection), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
- Image Processing and Computer Vision > Computer Vision Toolbox > Feature Detection and Extraction >
- Sciences > Geoscience >
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
matlab_shadow/
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 | References are added. |