A physics-based method for shadow compensation in scenes illuminated by daylight is proposed. If the daylight is represented by a simplified form of the blackbody law and the camera filters are of infinitely narrow bandwidth, the relationship between red/blue (rm) and green/blue (gm) ratios as the blackbody's temperature changes is a simple power law where the exponent is independent of the surface reflectivity. When the CIE daylight model is used instead of the blackbody and finite bandwidths for the camera are assumed, it is shown that the power law still holds with a slight change to the exponent. This means that images can be transformed into a map of rm/gmA and then thresholded to yield a shadow-independent classification. Exponent A can be precalculated from the CIE daylight model and the camera filter characteristics. Results are shown for four outdoor images that contain sunny and shadowed parts with vegetation and background. It is shown that the gray-level distributions of the pixels in the transformed images are quite similar for a given component whether or not it is in shadow. The transformation leads to bimodal histograms from which thresholds can easily be selected to give good classifications.
scite is a Brooklyn-based organization that helps researchers better discover and understand research articles through Smart Citations–citations that display the context of the citation and describe whether the article provides supporting or contrasting evidence. scite is used by students and researchers from around the world and is funded in part by the National Science Foundation and the National Institute on Drug Abuse of the National Institutes of Health.