This software has been designed to detect water bodies that are out in the open on cross-country terrain at close range (out to 30 meters), using imagery acquired from a stereo pair of color cameras mounted on a terrestrial, unmanned ground vehicle (UGV). This detector exploits the fact that the color variation across water bodies is generally larger and more uniform than that of other naturally occurring types of terrain, such as soil and vegetation. Non-traversable water bodies, such as large puddles, ponds, and lakes, are detected based on color variation, image intensity variance, image intensity gradient, size, and shape.

At ranges beyond 20 meters, water bodies out in the open can be indirectly detected by detecting reflections of the sky below the horizon in color imagery. But at closer range, the color coming out of a water body dominates sky reflections, and the water cue from sky reflections is of marginal use. Since there may be times during UGV autonomous navigation when a water body does not come into a perception system’s field of view until it is at close range, the ability to detect water bodies at close range is critical. Factors that influence the perceived color of a water body at close range are the amount and type of sediment in the water, the water’s depth, and the angle of incidence to the water body. Developing a single model of the mixture ratio of light reflected off the water surface (to the camera) to light coming out of the water body (to the camera) for all water bodies would be fairly difficult. Instead, this software detects close water bodies based on local terrain features and the natural, uniform change in color that occurs across the surface from the leading edge to the trailing edge.

From a water body’s leading edge to the trailing edge, brightness and saturation levels tend to increase, with saturation content changing at a faster rate than the brightness content. For all the pixels on a water body, a plot of brightness/saturation vs. incidence angle is fairly linear with high slope. Fortuitously, this slope tends to be higher for water than other naturally occurring terrain. This phenomenology was exploited here to develop software that detects water bodies at close range. First, candidate water regions are identified in image space by locating regions having low texture. Next, the color changes are evaluated across each candidate water region to locate those consistent with water. Finally, an ellipse fit is performed on remaining candidate water regions and size and aspect ratio filtering is applied to prune regions that geometrically are not likely to be water.

This work was done by Arturo L. Rankin of Caltech for NASA’s Jet Propulsion Laboratory.

In accordance with Public Law 96-517, the contractor has elected to retain title to this invention. Inquiries concerning rights for its commercial use should be addressed to:

Innovative Technology Assets Management
Mail Stop 202-233
4800 Oak Grove Drive
Pasadena, CA 91109-8099
E-mail: This email address is being protected from spambots. You need JavaScript enabled to view it.


This Brief includes a Technical Support Package (TSP).

Water Detection Based on Color Variation (reference NPO-47088) is currently available for download from the TSP library.

Please Login at the top of the page to download.

White Papers

When Wire Feedthroughs Make Sense
Sponsored by Douglas Electrical Components
A Soft Control Architecture: Breakthrough in Hard Real-Time Design for Complex Systems
Sponsored by Kingstar
Noise Analysis in Precision Analog Designs
Sponsored by Avnet
HAIs and Chemical Resistance
Sponsored by Eastman
Power Control For Automotive Applications
Sponsored by Maxim Integrated
Stencil-less Jet Printing for PCB Assembly
Sponsored by Imagineering

White Papers Sponsored By:

The U.S. Government does not endorse any commercial product, process, or activity identified on this web site.