Ph.D. Dissertation · NAU 2023 · Degree Monograph

Research on Agricultural Products Volume Estimation Method Based on Depth Imaging and Machine Learning Technology

1College of Engineering, Nanjing Agricultural University, Nanjing, China
Nanjing Agricultural University · Doctor of Philosophy (Ph.D.) in Engineering: Agricultural Electrification and Automation Engineering (Supervisor: Prof. Chen Kunjie)

Doctoral end-to-end depth imaging, 3-D point-cloud surface reconstruction, morphological feature extraction, multi-family machine learning regression, processing-latency testing, and statistical validation pipeline developed at Nanjing Agricultural University (2017-2023).

Abstract

Summary

Accurate, non-contact size and weight grading in horticultural packing houses and poultry processing lines remains constrained by irregular three-dimensional commodity geometry, mutual fruit or egg occlusion on moving conveyors, and ambient illumination shifts. Conducted from September 2017 to December 2023 in the College of Engineering at Nanjing Agricultural University under Prof. Chen Kunjie, this doctoral dissertation formulates and validates depth-imaging and machine learning pipelines for agricultural product volume and mass estimation across five linked empirical investigations. Calibrated Kinect RGB-D sensors acquire multi-orientation depth frames that are filtered, background-subtracted, and transformed into 2-D contour descriptors, active shape cut masks, and 3-D reconstructed surface-integration meshes. Single-commodity regression models benchmarked across tomatoes, intact eggs, and dressed poultry establish RBF Support Vector Regression (RBF-SVR), Exponential Gaussian Process Regression (GPR), Bayesian-regularized artificial neural networks, and Bagged Decision Trees as reliable inline estimators: RBF-SVR achieves 97.06% mass accuracy and 96.94% volume accuracy on cherry tomatoes (allometric power law M = 1.312 V^0.9551, R² = 0.9824); Exponential GPR attains R² = 0.984 (RMSE = 1.175 cm³) on isolated eggs and 1.080 to 1.294 cm³ under partial occlusion via M-circle contour fitting; concave-convex polygon splitting resolves touching tomato clusters at R² = 0.982 for volume and R² = 0.971 for mass; Active Shape Models partition broiler carcasses into commercial cuts (whole carcass R² = 0.9981); and 25-model 3-D surface reconstruction benchmarks confirm Bagged Trees achieve R² = 0.9988 (RMSE = 5.335 cm³, ARE = 2.125%) in under 1.6 s per carcass with paired t-test agreement (P < 0.05).

Figure 1

Calibrated Overhead Kinect Acquisition Station (0.7 m)

Overhead depth sensor positioning (0.7 m focal distance above a 0.5 m belt) engineered for non-contact horticultural volume and mass acquisition without halting conveyor flow.
Figure 2

Conveyor Broiler Carcass 3-D Point-Cloud Reconstruction

Segmented overhead Kinect v2 depth silhouettes transformed into registered 3-D point clouds and closed surface meshes for surface-integration volume computation on moving shackle lines.
Quantitative Findings

Results

Across five experimental studies and 25 evaluated regression families spanning Support Vector Regression, Gaussian Process Regression, Decision Tree ensembles, Kernel Approximation, and Artificial Neural Networks, combining calibrated depth morphology with 3-D surface reconstruction consistently yields R² ≥ 0.982 on held-out postharvest samples. Paired two-sample t-tests between Bagged Tree predictions (1,420.874 ± 191.456 cm³) and physical Water Displacement Method reference measurements (1,412.736 ± 182.634 cm³) confirm agreement (P < 0.05) at < 1.6 s end-to-end processing time per moving carcass.

Predicted carcass volume plotted against physical Water Displacement Method (WDM) ground truth for Bagged Trees across the held-out test set (R² = 0.9988, RMSE = 5.335 cm³, ARE = 2.125%).

Master Doctoral Matrix: Commodities, Modalities & Held-Out Test Performance

Cross-study comparison uniting all five peer-reviewed empirical studies completed for the 2023 Nanjing Agricultural University doctoral dissertation.

Commodity / StudyPublication VenueSegmentation / FeaturesTop ModelHeld-Out Accuracy / Error
Cherry Tomatoes (Single)J. Food Eng. 263 (2019)2-D + 3-D depth featuresRBF-SVM96.94% vol · 97.06% mass · Power law R² = 0.9824
Chicken Eggs (Occluded)J. Food Eng. 283 (2020)Curvature + k-closest M-circlesExponential GPRR² = 0.984 · RMSE 1.175 cm³ (1.080 / 1.294 occluded)
Tomato Clusters (Occluded)Int. J. Food Prop. 24 (2021)Concave-convex polygon splitRBF-SVM / Bayes ANNR² = 0.982 vol (1.268 cm³) · R² = 0.971 weight (1.468 g)
Broiler Carcass & 4 CutsPoultry Sci. 100 (2021)Active Shape Model (ASM) masksBayes ANN / RBF-SVRWhole R² = 0.9981 · Wings 0.9896 · Head/neck 0.9847
Online 3-D Chicken CarcassPoultry Sci. 103 (2024)3-D mesh + 2-D/3-D morphologyBagged TreesR² = 0.9988 · RMSE = 5.335 cm³ · ARE = 2.125% (< 1.6 s)

Paired t-Test Validation Against Physical Water Displacement Method (Table 15)

Bagged Trees volume estimates compared directly against laboratory Water Displacement Method (WDM) measurements on held-out poultry carcasses (P < 0.05).

ModelMeasured WDM Volume (cm³, mean ± SD)Estimated Volume (cm³, mean ± SD)Evaluation Latency
Bagged Trees (Ours)1,412.736 ± 182.6341,420.874 ± 191.456< 1.6 s / carcass (n = 30)
Detailed Study Record

Chapter Study I: Single Cherry Tomato Volume & Mass Calibration (J. Food Eng. 2019)

Multi-orientation Kinect depth acquisitions established how sensor height calibration (0.7 m above the 0.5 m conveyor belt) records surface height alongside 2-D silhouette descriptors. Across five candidate regression models, RBF-SVM reached 97.06% accuracy in mass estimation from 2-D features and 96.94% in volume estimation using combined 2-D and depth descriptors.

An empirical power-law calibration M = 1.312 V^0.9551 translated vision-estimated volumes directly into fruit mass on held-out test samples at R² = 0.9824 and RMSE = 15.84 g, creating an inline proxy for produce density sorting.

Depth Feature Extraction Workflow: Sequential acquisition, thresholding, orientation alignment, and 2-D/3-D feature extraction pipeline feeding five candidate regression models.
Allometric Mass-Volume Power Law (R² = 0.9824): Calibration curve establishing M = 1.312 V^0.9551 on held-out cherry tomato test samples (RMSE = 15.84 g).

Cherry Tomato RBF-SVM & Allometric Performance Summary

Target EstimatorInput RepresentationHeld-Out Performance
RBF-SVM Mass Estimator2-D geometric features97.06% prediction accuracy
RBF-SVM Volume EstimatorCombined 2-D + 3-D depth features96.94% prediction accuracy
Allometric Calibration ModelM = 1.312 × V^0.9551R² = 0.9824 · RMSE = 15.84 g
Detailed Study Record

Chapter Study II: Splitting Occluded Tomato Clusters on Moving Belts (Int. J. Food Prop. 2021)

Packing-line belts rarely isolate single fruits cleanly; mutual contact distorts projected silhouettes and breaks naive area-to-volume regressors. Concave and convex contour vertex detection combined with polygon approximation separates touching multi-tomato clusters cleanly prior to feature computation.

Evaluated across seven regression algorithms trained on isolated tomato geometry, RBF-SVM reached R² = 0.982 (RMSE = 1.2683 cm³) for fruit volume and Bayesian-regularized neural networks achieved R² = 0.971 (RMSE = 1.468 g) for fruit weight across isolated and clustered runs.

Single & Multi-Fruit Belt Acquisitions: RGB and depth frames spanning isolated single fruits and partially occluded multi-tomato clusters.
Orientation-Invariant 2-D & 3-D Descriptors: Geometric measurements parameterized around radial contours, axes ratios, and surface height profiles.
Polygon & Watershed Occlusion Separation: Concave/convex polygon approximation recovering clean individual fruit boundaries from touching conveyor clusters.
Volume & Weight Held-Out Regression: Predicted vs. physical measurements attaining R² = 0.982 for volume (RBF-SVM) and R² = 0.971 for mass (Bayesian ANN).

Single vs. Partially Occluded Tomato Regression Results (7 Models)

Estimated PropertySelected Top ModelTest R²Test RMSE
Displacement Volume (cm³)RBF Support Vector Machine0.9821.2683 cm³
Fruit Mass (g)Bayesian Regularized ANN0.9711.468 g
Detailed Study Record

Chapter Study III: Infrared-Depth Chicken Egg Volume & M-Circle Segmentation (J. Food Eng. 2020)

Hatchery and table-egg grading lines present ellipsoidal geometry compounded by tight tray packing and specular shell reflections. Contour curvature analysis paired with a k-closest M-circle-center fitting algorithm separated both simple adjacent pairs and complex multi-egg clusters.

Across 13 trained regression models using non-contact infrared depth descriptors, Exponential Gaussian Process Regression (GPR) achieved R² = 0.984 and RMSE = 1.175 cm³ on isolated eggs, sustaining 1.080 cm³ under simple occlusion and 1.294 cm³ under complex occlusion.

Exponential GPR Accuracy Across Egg Occlusion Regimes (13 Models Evaluated)

Belt / Tray ConfigurationSegmentation AlgorithmTest RMSE (cm³)Validation Status
Isolated Single EggMorphological depth thresholding1.175R² = 0.984
Simple Multi-Egg ContactContour curvature + M-circle centers1.080Held-out validation
Complex Multi-Egg ClusterContour curvature + k-closest M-circles1.294Held-out validation
Detailed Study Record

Chapter Study IV: Broiler Carcass & Anatomical Cut Weight Estimation (Poultry Sci. 2021)

Whole-carcass inspection masks uneven value across commercial poultry cuts. This chapter formulated an Active Shape Model (ASM) capable of segmenting overhead broiler depth frames into drumsticks, breasts, wings, and head-neck regions under processing-plant ambient illumination.

Among five evaluated regression families, Bayesian-regularized neural networks predicted whole-carcass (R² = 0.9981) and head-neck mass (R² = 0.9847), whereas RBF-SVR excelled across articulated cuts (wings R² = 0.9896, breast R² = 0.9352, drumsticks R² = 0.9129).

Active Shape Model Cut Segmentation & Per-Part Weight Accuracy

Anatomical TargetBest Regression FamilyHeld-Out R²
Whole Broiler CarcassBayesian Regularized ANN0.9981
WingsRBF Support Vector Regression0.9896
Head and NeckBayesian Regularized ANN0.9847
BreastRBF Support Vector Regression0.9352
DrumsticksRBF Support Vector Regression0.9129
Detailed Study Record

Chapter Study V: Live Conveyor 3-D Carcass Reconstruction & 25-Model Benchmark (Poultry Sci. 2024)

The culminating experimental study replaced static 2-D projections with real-time 3-D surface reconstruction on moving shackle conveyors imaged from a calibrated 1.2 m height and 2.0 m standoff with Kinect v2. Background subtraction, ROI cropping, boundary smoothing, and point-cloud alignment yield watertight triangular meshes whose geometric surface-integration volume joins nine 2-D and 3-D morphological predictors.

Benchmarking 25 regression architectures across Regression Trees, SVRs, GPRs, Kernel Approximation, Tree Ensembles, and Neural Networks identified Bagged Trees as top performer (test R² = 0.9988, RMSE = 5.335 cm³, MAE = 4.950 cm³, MSE = 28.462 cm⁶, ARE = 2.125%), finishing end-to-end acquisition, reconstruction, and inference in under 1.6 s across 30 timed carcasses.

Live Processing-Line Acquisition Geometry (1.2 m × 2.0 m): Side-profile Kinect v2 acquisition geometry positioned beside suspended poultry shackles along a moving industrial processing conveyor.
Depth Background Subtraction & Noise Filtering (a-f): Sequential raw depth frame (a), background suppression (b), morphological erosion/opening (c-e), and smooth ROI mask (f).
Normalized Depth Height Maps Before Mesh Conversion: Calibrated foreground depth distributions separating thoracic height gradients from conveyor hangers across raw and filtered views.
2-D & 3-D Surface Morphological Descriptors: Major/minor axes, perimeter, convex area, eccentricity, reconstructed surface area, and surface-integration volume predictors.
Reconstructed Multi-View 3-D Surface Meshes (a-e): Registered anterior, lateral, and rotated 3-D surface meshes converted from Kinect v2 depth point clouds.
Online Conveyor Latency Over 30 Timed Carcasses (< 1.6 s): End-to-end runtime per moving carcass from depth frame acquisition to Bagged Tree volume prediction across 900-1,700 cm³ carcasses (mean ≤ 1.6 s).

25-Model Quantitative Comparison: Top Performers vs. Baseline Regressors (Tables 13 & 14)

Selected held-out test metrics from all 25 evaluated algorithms for online 3-D chicken carcass volume prediction.

Model (Index)Train R²Val R²Test R²Test RMSE (cm³)Test MAE (cm³)ARE (%)
Bagged Trees (#16, Ours)0.99020.98560.99885.3354.9502.125
Exponential GPR (#13)0.99890.99470.99846.1135.6392.971
Rational Quadratic GPR (#10)0.97120.96390.99837.0166.0273.036
Matern 5/2 GPR (#12)0.99380.98530.99828.4757.7653.456
Fine Gaussian SVR (#7)0.98520.98150.992812.9786.1683.015
Medium Neural Network (#20)0.98000.97510.992213.4436.1023.250
Bayesian Reg. ANN (#24)0.99220.98990.991014.5396.7722.975
Fine Tree (#1)0.93380.90530.959121.5328.9374.613
Linear SVR (#4)0.87260.85720.908828.77310.7524.973
Detailed Study Record

Literature Taxonomy, Calibration Physics & Continuity at SAAIL Lab (Zanzibar)

Alongside five experimental systems papers, the doctoral synthesis mapped vision-based metrology across live birds, carcasses, cuts, and eggs (Poultry Science 2021 Review, 144 citations; 503 combined citations across all six doctoral publications), isolating low-quality mesh granularity (5-10% sensitivity) and background illumination shifts as dominant deployment failure modes.

At SAAIL Lab (IIT Madras Zanzibar), those exact calibration and occlusion lessons inform current lightweight computer vision pipelines for Zanzibar export clove grading, smallholder foliar disease diagnostics under domain shift (DGS-Bench, CropGuardNet), and point-of-care edge vision systems.

Overhead calibration field-of-view verification used on the processing conveyor during online 3-D volume data acquisition.
Reference Formats

Citation

@phdthesis{nyalala2023volume,
  title={Research on Agricultural Products Volume Estimation Method Based on Depth Imaging and Machine Learning Technology},
  author={Nyalala, Innocent},
  school={Nanjing Agricultural University},
  department={College of Engineering, Agricultural Electrification and Automation Engineering},
  address={Nanjing, China},
  year={2023},
  note={Supervisor: Prof. Chen Kunjie}
}