In a first exemplary embodiment of the present invention, an automated,
computerized method is provided for determining an illumination boundary
in an image. The method comprises the steps of performing dynamic
sampling in preselected local areas of the image to determine spectral
ratio information for the image at each of the preselected local areas,
and utilizing the spectral ratio information to identify an illumination
boundary.