NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Points, Not Pixels: Keypoints, Masks and Oblique Geometry for Floating-Roof Tank Fill Estimation from Overhead Imagery

Mohd Shahid Kaleem, Mohd Hozaifa Khan, Maaz KhanarXiv 2026

TL;DR

How do you measure the world's oil reserves from space? You look at the tiny crescent shadows inside floating-roof storage tanks. This paper argues that instead of using traditional "blob-like" image segmentation, we should predict sub-pixel keypoints and use 3D geometry to account for tilted satellite camera angles, leading to much more accurate fill estimates.

What Problem Does This Paper Address?

Global energy monitoring often relies on "overhead imagery"—pictures from satellites and planes. For oil, the key is the external floating-roof tank. As the tank fills, the roof rises; as it empties, the roof sinks. The distance from the top rim to the roof is a direct measure of the inventory.

From a satellite's perspective, this distance is only visible as a thin, crescent-shaped shadow cast by the rim onto the roof. There are two major headaches here:

  1. Resolution: At standard aerial resolutions (like 0.6 meters per pixel), these shadows might only be 2 to 5 pixels wide. Standard "masking" techniques (deciding if a pixel is shadow or not) are too "chunky" to measure something that small accurately.
  2. The "Nadir" Assumption: Most existing models assume the camera is looking straight down (the "nadir" view). In reality, satellites are often tilted. This off-nadir geometry creates parallax, which distorts the shadow and leads to massive errors if you use the standard math.

Methods

The authors propose a "Points, Not Pixels" approach. Instead of a standard segmentation model that colors in a shadow mask, they use a Keypoint Cascade.

First, a detector finds the tank. Then, a specialized neural network (ResNet-18) predicts 65 specific "anchors"—sub-pixel coordinates for the tank center, the rim, and the shadow boundaries. Because these are coordinates rather than grid-aligned pixels, the model can represent boundaries with much higher precision than the raw image resolution might suggest.

To turn these points into a fill level, they introduced the M3 Estimator. This is a closed-form mathematical model that takes the predicted keypoints plus the metadata of the image (sun angle and camera tilt) and calculates the roof depth. Unlike previous formulas, M3 explicitly models the camera's parallax, "un-distorting" the oblique view.

Figure 1. Shadow geometry and boundary representations for floating-roof tank fill estimation. (a) Roof depth ∆R = zC −zR produces a horizontal shadow displacement ∆R cot θ in the anti-solar direction, where θ is solar elevation. (b) Two representations of the thin shadow boundary: sub-pixel keypoints with rim-to-shadow correspondences dk, and a binary mask on the pixel grid.

Datasets

A major hurdle in this field is that real-world datasets (like NAIP) don't come with labels saying "this tank is 72% full." To solve this, the authors created SynTank-25k.

  • SynTank-25k: A new benchmark of nearly 25,000 physically-based, ray-traced renders. Because it's synthetic, the authors know the exact 3D geometry, fill level, and camera angle for every single frame.
  • NAIP (National Agriculture Imagery Program): The authors also tested their model on over 6,500 real-world tank images to check for "internal consistency"—essentially seeing if different mathematical paths to the same answer agreed with each other.

Key Insights and Ideas

  • The Rasterization Limit: When a shadow is only 3 pixels wide, a 1-pixel error in a segmentation mask represents a massive 33% error in fill estimation. Keypoints bypass this "pixel-grid" limitation by allowing the model to predict locations between pixels.
  • Geometry Matters More Than You Think: The paper shows that the "nadir assumption" (ignoring camera tilt) is a primary source of error. By simply accounting for the camera's angle in the M3 estimator, they reduced errors elevenfold at steep viewing angles.
  • Synthetic Data is a Great Teacher: Even though the model was trained on "fake" ray-traced tanks, it transferred remarkably well to real-world aerial imagery, proving that high-fidelity physics renders can bridge the gap when real-world labels are missing.
Figure 2. Synthetic test example with near-median fill error (seed 0). (a) Scene with the selected tank and rotated crop in red. (b) Sun-aligned 320 × 320 context crop with ground-truth and pre- dicted keypoints; the shadow direction points down.

Key Results

  • Accuracy Boost: On the SynTank-25k dataset, the keypoint pipeline reduced fill estimation error by 22% compared to a standard segmentation baseline.
  • Thin Shadow Performance: For shadows narrower than 6 pixels, the keypoint method was significantly more accurate than even "perfect" ground-truth binary masks.
  • Oblique Robustness: The M3 estimator maintained a low error rate (around 0.01 MAE) across all camera angles, whereas the standard nadir-based formula's error spiked to 0.14 at steeper tilts.
  • Real-World Consistency: On real NAIP data, about half of the tanks passed strict internal consistency checks, a promising sign for a model trained entirely on synthetic data.

Limitations and Future Work

  • Real-World Ground Truth: While the synthetic results are strong, the lack of "fill" labels for real-world tanks remains a challenge for final verification.
  • Tank Complexity: The current model assumes a perfectly flat roof and a simple cylindrical tank. In reality, roofs can tilt, warp, or have complex structures (like ladders and vents) that might confuse the keypoint detector.
  • Metadata Reliance: The M3 estimator requires accurate camera and sun metadata. If this metadata is missing or incorrect, the geometric "un-distorting" won't work. Future work could involve estimating this geometry directly from the image itself.

Summary updated

BibTeX
@misc{kaleem2026points,
  author = {Mohd Shahid Kaleem and Mohd Hozaifa Khan and Maaz Khan},
  title = {{Points, Not Pixels: Keypoints, Masks and Oblique Geometry for Floating-Roof Tank Fill Estimation from Overhead Imagery}},
  year = {2026},
  eprint = {2611.27624},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.27624},
}
Figure