ai china

What the camera saw when it focused on a raindrop

4 sources 3 primary sources December 2, 2026

Loading reads and saves…
Text

In a daytime photograph from the Raindrop Clarity dataset, you can make out a car and a tree through wet glass. The drops have crisp edges. The leaves run together. Imagine an editor who could touch each bead of water and make it vanish. Even with the last drop gone, the leaves would still be a blur. The camera had already spent its sharpest focus on the glass. [1]

At the 2024 European Conference on Computer Vision, researchers from the National University of Singapore and two Chinese universities presented an experiment that lets you see what that editor would get. They took the wet glass away and made another exposure with the focus still set close. In this middle photograph the tree is dry-looking and soft. Only in a third exposure, with the focus moved back to the tree, can you see what a restoration model is being asked to recover. [1]

Sharp beads of water on glass obscure a parked car and a leafy tree that are both out of focus.
The wet exposure in the daytime raindrop-focused sequence. Photograph from Yeying Jin and colleagues, figure 3. [1]

Why take the middle photograph?

An influential 2018 experiment trained a neural network on pairs of pictures showing a scene with and without drops. An attention mechanism helped the network locate the affected parts of the picture and use surrounding detail to fill them in. Think of one blurry drop against a sharply focused building. A window frame runs up to the drop on one side and continues on the other. Those two edges give the model something to go on. [2]

Switch focus to the glass and even the stretch of frame between drops can lose its edge. To record that condition, the Raindrop Clarity team mounted a camera on a tripod and placed a pane of glass five to twenty-five centimetres in front of it. They sprayed the pane with water and photographed the drops. Keeping the viewpoint fixed while removing the pane gave them the middle exposure. Compare the wet shot with that exposure and both backgrounds have the same blur. Differences between them can now reveal where the water altered the image. Compare the middle exposure with the sharp one and you can see how much detail refocusing alone brought back. [1]

That distinction matters when judging an apparently successful repair. Suppose a model erases the bead over a window and draws a convincing vertical line through its centre. The middle photograph can help establish whether the bead disappeared. The sharp exposure can establish whether the frame actually ran through that spot. Without it, a straight line a few pixels to the left might look just as convincing. [1]

Reading the competition result

The authors released separate day and night test sets for the original experiment. For the 2025 NTIRE restoration challenge, the organizers mixed lighting conditions and withheld the reference photographs from competitors. Of the 731 test inputs, 524 had the drops in focus. A method particularly good at recovering a blurred background therefore had more opportunities to earn points than a reader imagining an even split might expect. [3][4]

Two entries illustrate what the final ranking rewards. EntroVision had a slight edge over Team Miracle on peak signal-to-noise ratio, a measure based on pixel error. Miracle scored better on structural similarity and on LPIPS, which compares features extracted by a neural network. Under the organizers’ combined scoring rule, Miracle placed first. Each metric compared the submitted restoration with the reference image. None asked a reader to decipher a street sign or identify a particular car. [4]

For someone choosing a model to read lettering through wet glass, the revealing test would be to transcribe the letters in the restored image, then check them against the sharp exposure. A model could improve the outline of a sign while closing the gap in a letter C. That small change might barely move a whole-image score and still change the reading. The quiet achievement of the three-exposure setup is that someone can go back to the same scene and settle the question. [1][4]

Sources

  1. Yeying Jin and colleagues, Raindrop Clarity, ECCV 2024. Figure 3 and the capture procedure.
  2. Rui Qian and colleagues, Attentive Generative Adversarial Network for Raindrop Removal From a Single Image, CVPR 2018.
  3. Raindrop Clarity project repository, original test sets and challenge data releases.
  4. Xin Li and colleagues, NTIRE 2025 Challenge on Day and Night Raindrop Removal for Dual-Focused Images, evaluation protocol and results.
Previous Which winds should AI forecast for a typhoon? Next The crease across the boy’s eyebrow

Recommended In ai china

Matched by subject and format