Water Stress and Precision Irrigation Through Vision

Water is the first variable anyone would like to measure in a field, and the hardest one to see. A plant runs short of water long before it wilts: its stomata close, its temperature rises by a few degrees, its growth slows, and yield has already been affected by the time the human eye notices anything wrong. Agriculture is also the largest user of freshwater: the FAO states that it accounts for 72 percent of withdrawals in many regions. Knowing where to irrigate, when and how much has become an economic and environmental question, and computer vision in agriculture offers a new kind of answer. A project dedicated to water stress turns images, whether thermal, multispectral or ordinary, into maps of water need at the scale of a plot, or even of a single tree. This article looks at the question from the data side. It describes the signals a plant emits, the sensors that capture them, the most widely used index, a worked numerical example, and then what annotation contributes and what it cannot contribute. It belongs to the overview of computer vision in agriculture and leads into the next topic, public agricultural datasets, where the scarcity of reliable water measurements is part of the story.

Why water stress matters to every project in computer vision in agriculture

In most crops, water shortage is not an event but a process. It starts with an invisible regulation, continues with discreet symptoms, and ends in damage. A grower who waits for visible signs intervenes too late. A grower who irrigates on a fixed calendar wastes water where it is not needed. Between the two lies a narrow window in which information is valuable: the plant is already hampered but has not yet lost yield. Computer vision in agriculture aims to open that window. It relies on a simple idea: a leaf that transpires cools down, and a leaf that closes its stomata warms up. The temperature of the canopy, measured from a distance, therefore becomes an indirect indicator of water status. Alongside temperature, the colour, texture and geometry of the foliage provide complementary clues. The subject is also a good test of what a vision project can and cannot do. An image does not measure water. It measures radiation, which must then be linked to a physiological state by a model. This two-step chain, from pixel to physical quantity and then to decision, structures the rest of the article.

What the plant shows before it wilts

Several signals accompany a water deficit, with very different delays and levels of reliability. The first is thermal. When water is available, the stomata stay open, transpiration cools the leaf and foliage temperature stays close to, or even below, air temperature. When water is short, the stomata close to limit losses, transpiration falls and the leaf warms. This is the earliest signal, and the one thermal imaging exploits. The second is spectral. A stressed plant changes the way it reflects light: pigments, chlorophyll content, cell structure. These changes appear in the near infrared and in the red, which makes it possible to compute vegetation indices. They are generally later than the thermal response, because they reflect structural changes rather than an immediate regulation. The third is geometric: leaf rolling, change of posture, drooping foliage, reduced ground cover. Visible to the naked eye and on an ordinary image, it appears late, sometimes when the damage is already done. It remains useful as a confirmation and as a ground truth label, because it is easy to spot. The fourth is context: soil moisture, the evaporative demand of the air, crop stage. These variables cannot be read on an image, but they condition the interpretation of all the others. The same canopy temperature does not mean the same thing on a humid morning and on a dry afternoon.

The sensors behind a project in computer vision in agriculture dedicated to water

Three families of sensors are used, often in combination. Ordinary cameras, in the visible range, capture the structure of the foliage and serve as a geometric reference. Multispectral cameras add bands in the red, the red edge and the near infrared. Thermal cameras measure surface temperature in the long wave infrared, with a much lower resolution than visible cameras. That difference in resolution matters. In a reference study on water stress measurement from an unmanned aircraft, the thermal camera had 320 by 240 pixels and delivered a ground resolution of 40 cm at 150 m altitude (Berni et al., 2009). For a tree crown three metres wide, that represents about seven to eight pixels across: enough for a tree level measurement, but with a significant risk of mixed pixels at the edge of the crown. The platform matters as much as the sensor. An unmanned aircraft covers a plot in a few tens of minutes and allows repeated campaigns. A centre pivot or an equipped tractor offers continuous coverage but with a more constrained viewing angle. A fixed sensor, installed at the edge of a field or on a mast, follows a precise area continuously but says nothing about the rest of the field. The choice depends on the scale of the decision, the crop and the desired measurement frequency. Finally, a reliable project in computer vision in agriculture is not limited to the camera. It almost always includes a weather station, which supplies air temperature and humidity, and reference measurements on the ground. Without them, the image is a map without a legend.

The crop water stress index: principle and worked example

The most widespread index is called CWSI, for Crop Water Stress Index. It compares the temperature difference between canopy (Tc) and air (Ta) with two bounds: that of a well watered crop, and that of a crop that no longer transpires at all. In its empirical form, it is written: CWSI = [(Tc − Ta) − (Tc − Ta)LL] / [(Tc − Ta)UL − (Tc − Ta)LL] The lower bound (LL) comes from a reference line, established on well irrigated plants, which links the temperature difference to the vapour pressure deficit of the air. A study on citrus gives an example: for mandarin, the lower bound is written −0.500 × vapour pressure deficit + 4.056, with the deficit in kilopascals (González-Dugo et al., 2014). The upper bound (UL) corresponds to a leaf that no longer transpires. It is derived from the intercept of that line, corrected for air temperature. A worked example illustrates the calculation. Assume a vapour pressure deficit of 3.0 kPa. The lower bound is then −0.500 × 3.0 + 4.056, or 2.556 °C. Assume, for the sake of the example, an upper bound of 5.0 °C (a value chosen for illustration). A canopy measured 3.8 °C above the air gives a CWSI of (3.8 − 2.556) / (5.0 − 2.556), or 0.51: the tree is halfway between the well irrigated state and the non transpiring state. At 2.0 °C, the index would be negative, a sign of a comfortable crop. At 5.0 °C, it would be 1.0. The relationship between this index and the real water status remains imperfect. The 2009 airborne imaging study reports a coefficient of determination of 0.82 between the index and leaf water potential, and 0.91 with canopy conductance. The citrus study, using stem water potential measurements, finds 0.66 for mandarin and 0.59 for orange. In other words, the index explains between 59 percent and 91 percent of the variance depending on the study, the crop and the reference quantity. It is a good signal, not a truth.

From the mixed pixel to the irrigation zone

The main technical trap is resolution. A 40 cm thermal pixel falling on the edge of a crown contains both leaf and soil, and dry soil is much hotter than foliage. Take the same example. Bare soil at 42 °C with air at 30 °C is a difference of 12 °C. A pixel made up of 60 percent canopy (difference of 3.8 °C) and 40 percent soil shows a difference of 0.6 × 3.8 + 0.4 × 12, or 7.08 °C. The index computed on that pixel is then (7.08 − 2.556) / 2.444, or 1.85, whereas the canopy alone gives 0.51. The mixed pixel signals extreme stress where the plant is halfway: the irrigation decision would be distorted. The correction relies on segmentation. On a high resolution visible or multispectral image, canopy pixels are separated from soil and shadow pixels, and only pure sunlit foliage pixels are kept for the index. This mask is precisely the type of data an annotator can produce. A serious project in computer vision in agriculture therefore devotes a significant share of its effort to this intermediate step, less spectacular than the index itself but indispensable to its reliability.

What annotation describes in computer vision in agriculture for irrigation

A common misconception is that an annotator can label a plant’s water stress level by looking at the image. This is wrong, and it is a costly source of error. Early water stress cannot be seen with the naked eye. The stress label comes from physiological measurements taken in the field at the same moment as the image. Annotation works on other objects. The first is the canopy mask: sunlit foliage, shaded foliage, bare soil, residues, cast shadow, and artificial structures such as drippers, stakes or tarps. This breakdown makes it possible to compute the index only on the relevant pixels. The second is the identification of reference surfaces. Some protocols place wet or dry reference surfaces in the field, whose temperature is used for calibration. They have to be located consistently on every image. The third is the individualisation of plants: a box or polygon per tree, per plant or per row, which links a field measurement to the right zone of the image. A shift of a few pixels can link the measurement of one tree to the crown of its neighbour. The fourth concerns late visible symptoms: rolling, wilting, yellowing. They serve as confirmation labels, more useful to validate the system than to raise an early alert. In all these cases, the guidelines must be written with an agronomist. A cast shadow and a dark leaf look alike on a thermal image, and a metal stake heats up more than foliage. These subtleties are not obvious to an untrained annotator, and they directly affect the computed index.

Calibrating images against field measurements

A raw thermal map is not a stress map. To make it usable, images must be linked to field measurements taken at the same time on the same plants. The usual references are stem or leaf water potential, measured with a pressure chamber, and stomatal conductance, measured with a porometer. These measurements are slow and costly: an operator takes a few dozen per half day. They therefore limit the number of ground truth labels available, far more than the number of images. Time slots matter. Temperature measurements are more stable around solar noon, and the citrus study cited above uses averages computed over one hour centred on that moment. A campaign that mixes morning and afternoon acquisitions introduces variability that has nothing to do with water. A proper calibration set contains, for each observation, the image, the precise time, the measured weather, the plant identifier, the reference measurement and the shooting conditions. In computer vision in agriculture, metadata is worth as much as pixels: without it, the dataset cannot be reused.

Turning the index into an irrigation decision

The last step, the one that justifies the project, is to convert the index map into action. The plot is divided into management zones, a trigger threshold is set, and the zones that exceed it are irrigated. An illustrative example shows what is at stake. Consider a 40 hectare plot, or 400,000 m², divided into 20 zones of 2 hectares. Uniform irrigation of 30 mm, or 0.03 m, delivers 400,000 × 0.03 = 12,000 m³ of water. If the index map shows that only eight zones exceed the threshold, targeted irrigation covers 160,000 m² and delivers 4,800 m³, that is 7,200 m³ less, or 60 percent less. This figure is a textbook case: in reality, gains depend on the heterogeneity of the plot, the crop and the climate, and can be much smaller. The threshold itself is an agronomic choice, not a universal value. A crop may tolerate moderate stress at certain stages and not at others, such as flowering. In a project in computer vision in agriculture, the vision model provides the information and the agronomist sets the decision rule. Separating these two responsibilities avoids granting the model an authority it does not have.

Validating a project in computer vision in agriculture: how many zones, how many dates

A serious validation compares the system’s decisions with those an expert equipped with field measurements would make. The practical question is how many observations are needed for the comparison to be meaningful. Suppose the system correctly classifies 85 percent of zone and date pairs on a sample of 200 pairs. The 95 percent confidence interval of this accuracy is about ± 4.9 points, between 80 and 90 percent. To reduce that interval to ± 2.5 points, about four times as many observations would be needed. Each reference observation requires a physiological measurement in the field, which sets the real cost of validation. Stratification is also needed. An average accuracy of 85 percent can hide 95 percent in normal conditions and 60 percent on hot, windy days, which are precisely the ones that matter. The validation set must therefore cover several crops, several stages, several weather conditions and, ideally, several seasons. A water stress system validated on a single season remains a prototype.

The limits of remote measurement

Several factors degrade thermal measurement, and a project must know them in order not to mistake them for a stress signal. Wind cools the canopy independently of transpiration. Passing clouds change the incoming radiation within minutes and create artificial differences between two passes. The viewing angle changes the proportion of soil and foliage visible. Camera calibration drifts with its own temperature. And crop cover varies with stage: a young plant leaves a lot of soil exposed. These limits do not make computer vision in agriculture unusable for water management. They require protocols: a fixed time slot, clear skies, reference surfaces, regular calibration, and a record of conditions. The annotated dataset must carry this information so that the model can learn to neutralise it, or at least so that usable images can be sorted from the others.

Organising a project in computer vision in agriculture around measurement campaigns

The agronomic calendar sets the pace. A crop is under water stress for only a few weeks a year, sometimes a few days, and missing the window means waiting for the next season. A project in computer vision in agriculture dedicated to irrigation is therefore planned backwards: start from the dates when stress is expected, prepare sensors, protocols and annotation guidelines in advance, and provide enough annotation capacity to process the images within days, so that the next campaign can be corrected. A reasonable organisation proceeds in four stages. Scoping defines the crop, the scale of decision, the sensor and the reference measurements. A pilot, on a representative sample of images, validates the guidelines and measures annotation throughput. The campaign itself produces the images and the measurements. Finally, a post campaign review compares the model predictions with field measurements and adjusts the guidelines. Infoscribe AI works on the annotation part of this type of project, with fully manual annotation, structured quality control and a tool hosted on its own infrastructure, within an ISO 27001:2022 certified approach. Its annotation service for agriculture covers drone, satellite and field imagery, with agronomic supervision for the definition of classes. For a water stress project, it is the rigour of masks and guidelines that determines the quality of the computed index.

Frequent mistakes in computer vision in agriculture projects on irrigation

  • Asking annotators to label the water stress level from a simple visible image.
  • Computing the index on mixed pixels of foliage and soil, without a canopy mask.
  • Mixing in one dataset acquisitions made at different times of day and in different conditions.
  • Forgetting to record air temperature and humidity at the moment of capture.
  • Having few reference measurements and drawing conclusions from a sample that is too small.
  • Validating the system on a single season, a single crop or a single plot.
  • Setting a universal irrigation threshold, regardless of crop stage.
  • Neglecting the effect of wind, clouds and viewing angle.
  • Linking a field measurement to the wrong plant, for lack of precise identification on the image.
  • Entrusting the writing of guidelines to non specialists, without agronomic review.

Key takeaways

Water stress shows first in temperature, then in colour, and last in shape. A project in computer vision in agriculture that targets the irrigation decision relies on canopy temperature and on an index, the CWSI, which compares the difference from air temperature with two reference bounds. That index explains only part of the water status, between 59 and 91 percent of the variance depending on the studies cited. Annotation does not produce the stress label, which comes from physiological measurements. It produces canopy masks, the identification of reference surfaces, the individualisation of plants and the marking of symptoms. Without those masks, a mixed pixel of foliage and soil can make a plant halfway to stress look like a plant in distress. Validating computer vision in agriculture requires enough observations, stratified by crop, stage and weather, and several seasons. The decision threshold remains agronomic. The next topic, public agricultural datasets, shows why these conditions are rarely met in open databases, and the overview of the discipline places irrigation within the full range of uses. To scope an annotation pilot on the images of your irrigation programme and obtain an estimate of throughput and quality, describe your project to the team. References: FAO, press release on renewable water availability and agricultural withdrawals (fao.org); Berni et al., 2009, thermal and multispectral remote sensing from an unmanned aerial vehicle for water stress monitoring (Remote Sensing of Environment); González-Dugo et al., 2014, crop water stress index in citrus (Agricultural and Forest Meteorology). The bounds and numerical examples in this article are illustrative.
Tags

Découvrez nos articles