EBN-ShapeSeg: Segmentation and Shape Analysis for Explaining Edible Bird’s Nest Grading

The edible bird’s nest (EBN) is a high-value bio-commodity whose commercial grading relies substantially on visual assessment of nest appearance and morphology. Although deep-learning classifiers can achieve high accuracy, their black-box nature limits insight into the morphology underlying confusion between adjacent grades. This study introduces EBN-ShapeSeg, an interpretable segmentation and shape-analysis framework designed to isolate geometric morphology from image-level visual artifacts through leakage-controlled binary segmentation and invariant shape-moment characterization. The dataset comprised 1,441 JPEG images representing eight commercial EBN grades, independently assigned by an EBN expert. Of these, 320 images (40 per grade) were manually segmented for model development and evaluation, with the remaining 1,121 images retaining their expert-assigned grades but without reference segmentation masks, reserved for inference-only downstream shape characterization using model-predicted masks. Across five architectures and three random seeds, U-Net++ with a ResNet-34 backbone achieved the best validation performance (Dice 0.9918) and a one-time primary test Dice of 0.9835. A post-hoc audit identified one invalid reference mask; excluding it in a transparently labeled sensitivity analysis, without reopening the immutable primary test set, resulted in a Dice coefficient of 0.9938. Predicted and ground-truth geometries showed very high agreement, with the second Hu moment achieving a correlation of 0.9986. In the inference-only reserve cohort, the second Hu moment distinguished the Cup and Triangle shape families with a large standardized difference (|d| = 1.0507). These results identify geometric shape as a quantifiable factor associated with grading variance and highlight nest-level grouping and stringent annotation auditing as essential standards for interpretable agricultural computer vision.

Authors

Institutions

Publication Details

Journal
Journal of Agriculture and Food Research
Published
2026-12-01
DOI
https://doi.org/10.1016/j.jafr.2026.103483
Primary Topic
Smart Agriculture and AI
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
article

EBN-ShapeSeg: Segmentation and Shape Analysis for Explaining Edible Bird’s Nest Grading

Pensiri Akkajit, Arsanchai Sukkuea, Tharika Puntlert
Journal of Agriculture and Food Research
Smart Agriculture and AI
article

EBN-ShapeSeg: Segmentation and Shape Analysis for Explaining Edible Bird’s Nest Grading

Pensiri Akkajit, Arsanchai Sukkuea, Tharika Puntlert
article en

Abstract

The edible bird’s nest (EBN) is a high-value bio-commodity whose commercial grading relies substantially on visual assessment of nest appearance and morphology. Although deep-learning classifiers can achieve high accuracy, their black-box nature limits insight into the morphology underlying confusion between adjacent grades. This study introduces EBN-ShapeSeg, an interpretable segmentation and shape-analysis framework designed to isolate geometric morphology from image-level visual artifacts through leakage-controlled binary segmentation and invariant shape-moment characterization. The dataset comprised 1,441 JPEG images representing eight commercial EBN grades, independently assigned by an EBN expert. Of these, 320 images (40 per grade) were manually segmented for model development and evaluation, with the remaining 1,121 images retaining their expert-assigned grades but without reference segmentation masks, reserved for inference-only downstream shape characterization using model-predicted masks. Across five architectures and three random seeds, U-Net++ with a ResNet-34 backbone achieved the best validation performance (Dice 0.9918) and a one-time primary test Dice of 0.9835. A post-hoc audit identified one invalid reference mask; excluding it in a transparently labeled sensitivity analysis, without reopening the immutable primary test set, resulted in a Dice coefficient of 0.9938. Predicted and ground-truth geometries showed very high agreement, with the second Hu moment achieving a correlation of 0.9986. In the inference-only reserve cohort, the second Hu moment distinguished the Cup and Triangle shape families with a large standardized difference (|d| = 1.0507). These results identify geometric shape as a quantifiable factor associated with grading variance and highlight nest-level grouping and stringent annotation auditing as essential standards for interpretable agricultural computer vision.

Journal of Agriculture and Food Research
Prince of Songkla University (TH), Suranaree University of Technology (TH), Walailak University (TH)
Smart Agriculture and AI
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon