Fine-Tuned Vision Transformers Capture Complex Wheat Spike Morphology for Volume Estimation from RGB Images
Olivia Zumsteg, Nico Graf, Aaron Haeusler, Norbert Kirchgessner, Nicola Storni, Lukas Roth, Andreas Hund
TL;DR
The paper tackles non-destructive estimation of wheat spike volume from RGB images, a challenging task due to depth loss, projection effects, and irregular spike geometry. It develops a large, diverse dataset with ground-truth volumes from structured-light scans and rigorously compares area-based and geometric baselines against neural-network models based on Vision Transformers (DINOv2/DINOv3) with MLP/LSTM/Transformer heads, exploring both frozen and fine-tuned backbones and multi-view fusion. Key findings show that fine-tuned DINOv3 with an MLP downstream yields the best indoor six-view accuracy (Corr ≈ 0.97, MAPE ≈ 4.67%), and field-adapted single-view models still achieve strong performance (Corr ≈ 0.90, MAPE ≈ 8.39%), while object shape significantly influences baseline methods. The study demonstrates a fast, non-destructive pipeline for wheat spike volume phenotyping, introduces the concept of fruiting capacity as summed volume per area, and provides practical models that generalize from controlled indoor setups to field conditions, enabling scalable phenotyping for breeding and crop-yield analyses.
Abstract
Estimating three-dimensional morphological traits such as volume from two-dimensional RGB images presents inherent challenges due to the loss of depth information, projection distortions, and occlusions under field conditions. In this work, we explore multiple approaches for non-destructive volume estimation of wheat spikes using RGB images and structured-light 3D scans as ground truth references. Wheat spike volume is promising for phenotyping as it shows high correlation with spike dry weight, a key component of fruiting efficiency. Accounting for the complex geometry of the spikes, we compare different neural network approaches for volume estimation from 2D images and benchmark them against two conventional baselines: a 2D area-based projection and a geometric reconstruction using axis-aligned cross-sections. Fine-tuned Vision Transformers (DINOv2 and DINOv3) with MLPs achieve the lowest MAPE of 5.08\% and 4.67\% and the highest correlation of 0.96 and 0.97 on six-view indoor images, outperforming fine-tuned CNNs (ResNet18 and ResNet50), wheat-specific backbones, and both baselines. When using frozen DINO backbones, deep-supervised LSTMs outperform MLPs, whereas after fine-tuning, improved high-level representations allow simple MLPs to outperform LSTMs. We demonstrate that object shape significantly impacts volume estimation accuracy, with irregular geometries such as wheat spikes posing greater challenges for geometric methods than for deep learning approaches. Fine-tuning DINOv3 on field-based single side-view images yields a MAPE of 8.39\% and a correlation of 0.90, providing a novel pipeline and a fast, accurate, and non-destructive approach for wheat spike volume phenotyping.
