Winter pruning of grapevines is labour-intensive and increasingly short of skilled workers, and a robotic pruner depends first of all on perceiving the structure of the plant. This thesis addresses that perception step: the semantic segmentation of dormant vines into their functional parts canes, cordon, the nodes from which the canes emerge, and last season’s dried bunches - in Time-of-Flight (ToF) images. A dataset of 100 frames was acquired in a vineyard near Padua with a ToF camera mounted on an over-the-row gantry, looking down at the row without any artificial backdrop, and annotated by hand. Three encoder-decoder architectures, U-Net, SegNet and PSPNet, were implemented and trained from scratch at matched capacity, and compared under a single protocol with four training objectives, a connectivity-oriented auxiliary loss (the Skeleton Recall Loss) and an ablation of the confidence channel. Because the dataset is small, the noise floor was measured before any comparison: three runs of one configuration, differing only in the random seed that sets the initial weights and the order of augmentation, spread by about 0.02 of mean Intersection over Union (IoU), and every difference reported here is read against that figure. The connectivity of the predicted structures was evaluated with clDice alongside that conventional overlap measure. The results favour the simplest configuration. U-Net trained with plain cross-entropy reaches a mean IoU of 0.67 over the four foreground classes and a clDice of 0.91, and none of the additions tested improves on it. Weighting the loss by class frequency, the standard remedy for imbalance, costs 0.023 of mean IoU instead of gaining it, because the weights trade precision for recall and IoU charges both errors alike; the choice among cross-entropy, a combined loss and the focal loss makes no measurable difference. PSPNet falls clearly behind, giving up 0.085 of IoU on the canes, the thinnest class, while the small lead of SegNet over U-Net does not clear the noise and costs 61% more time per epoch. The Skeleton Recall Loss does on the centreline exactly what it claims - topological recall rises by 0.026, topological precision falls by 0.030 - but the area metrics pay 0.043 of mean IoU for it, and it repays that price only where the centrelines are broken. The confidence channel of the camera carries no information beyond intensity and depth, and dropping it saves 8 to 12% of the training time at no measurable cost. Two continuations would extend the work furthest: a dataset larger than the cost of hand annotation currently allows, which the trained models can themselves help produce by preannotating new frames, and a second camera beside the row, whose view would let the structure be triangulated into the three dimensions a cutting point requires. Whether any of this transfers to other vineyards, cultivars and seasons remains to be measured
Deep Learning-Based Semantic Segmentation of Vineyard Components Using Time-of-Flight Imaging
GUARINI, TOMAS
2025/2026
Abstract
Winter pruning of grapevines is labour-intensive and increasingly short of skilled workers, and a robotic pruner depends first of all on perceiving the structure of the plant. This thesis addresses that perception step: the semantic segmentation of dormant vines into their functional parts canes, cordon, the nodes from which the canes emerge, and last season’s dried bunches - in Time-of-Flight (ToF) images. A dataset of 100 frames was acquired in a vineyard near Padua with a ToF camera mounted on an over-the-row gantry, looking down at the row without any artificial backdrop, and annotated by hand. Three encoder-decoder architectures, U-Net, SegNet and PSPNet, were implemented and trained from scratch at matched capacity, and compared under a single protocol with four training objectives, a connectivity-oriented auxiliary loss (the Skeleton Recall Loss) and an ablation of the confidence channel. Because the dataset is small, the noise floor was measured before any comparison: three runs of one configuration, differing only in the random seed that sets the initial weights and the order of augmentation, spread by about 0.02 of mean Intersection over Union (IoU), and every difference reported here is read against that figure. The connectivity of the predicted structures was evaluated with clDice alongside that conventional overlap measure. The results favour the simplest configuration. U-Net trained with plain cross-entropy reaches a mean IoU of 0.67 over the four foreground classes and a clDice of 0.91, and none of the additions tested improves on it. Weighting the loss by class frequency, the standard remedy for imbalance, costs 0.023 of mean IoU instead of gaining it, because the weights trade precision for recall and IoU charges both errors alike; the choice among cross-entropy, a combined loss and the focal loss makes no measurable difference. PSPNet falls clearly behind, giving up 0.085 of IoU on the canes, the thinnest class, while the small lead of SegNet over U-Net does not clear the noise and costs 61% more time per epoch. The Skeleton Recall Loss does on the centreline exactly what it claims - topological recall rises by 0.026, topological precision falls by 0.030 - but the area metrics pay 0.043 of mean IoU for it, and it repays that price only where the centrelines are broken. The confidence channel of the camera carries no information beyond intensity and depth, and dropping it saves 8 to 12% of the training time at no measurable cost. Two continuations would extend the work furthest: a dataset larger than the cost of hand annotation currently allows, which the trained models can themselves help produce by preannotating new frames, and a second camera beside the row, whose view would let the structure be triangulated into the three dimensions a cutting point requires. Whether any of this transfers to other vineyards, cultivars and seasons remains to be measured| File | Dimensione | Formato | |
|---|---|---|---|
|
Tesi_Guarini-Tomas-1.pdf
Accesso riservato
Dimensione
6.48 MB
Formato
Adobe PDF
|
6.48 MB | Adobe PDF |
The text of this website © Università degli studi di Padova. Full Text are published under a non-exclusive license. Metadata are under a CC0 License
https://hdl.handle.net/20.500.12608/115840