Probabilistic VNIR Hyperspectral Screening of Pesticide Residues in Olives and Leaves

Abstract This study advances non-invasive screening of pesticide residues in olives by (i) extending visible–near-infrared (VNIR) hyperspectral imaging (HSI) from fruit to leaves (adaxial/abaxial) as easy-to-sample matrices; (ii) replacing hard-decision with probabilistic models, partial least squares discriminant analysis (PLS-DA) and extreme gradient boosting (XGBoost); and (iii) introducing a tunable reject-option via an indecision band to trade coverage for reliability. An intelligent pixel-selection pipeline (radiometric normalization, HSV masking of glare/defects, and mask-conditioned random sampling of $$\sim 10^4$$ <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML"> <mml:mrow> <mml:mo>∼</mml:mo> <mml:msup> <mml:mn>10</mml:mn> <mml:mn>4</mml:mn> </mml:msup> </mml:mrow> </mml:math> pixels per sample) was used. Ground-truth labels were obtained by GC–MS/MS against EU MRLs. On fruit, deltamethrin and diflufenican reached near-ceiling discrimination (AUC $$\approx 99$$ <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML"> <mml:mrow> <mml:mo>≈</mml:mo> <mml:mn>99</mml:mn> </mml:mrow> </mml:math> –100%, F1 $$\approx 97$$ <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML"> <mml:mrow> <mml:mo>≈</mml:mo> <mml:mn>97</mml:mn> </mml:mrow> </mml:math> –100%); on leaves, oxifluorfen and tebuconazole were best resolved (adaxial/abaxial AUC up to $$\approx 95$$ <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML"> <mml:mrow> <mml:mo>≈</mml:mo> <mml:mn>95</mml:mn> </mml:mrow> </mml:math> –100% with F1 $$\approx 99$$ <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML"> <mml:mrow> <mml:mo>≈</mml:mo> <mml:mn>99</mml:mn> </mml:mrow> </mml:math> %). In contrast, diflufenican shows reduced discriminability on leaf matrices, especially abaxial. Probabilistic outputs enabled an indeterminate label for low-confidence pixels identified via a model-specific indecision band, yielding high accuracy on accepted predictions while keeping the rejected share operationally manageable; an effective score (F1 $$_\text {eff}$$ <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML"> <mml:mmultiscripts> <mml:mrow/> <mml:mtext>eff</mml:mtext> <mml:mrow/> </mml:mmultiscripts> </mml:math> ), defined as a coverage-penalized F1 score, summarizes this coverage–reliability balance. Overall, coupling matrix selection (fruit vs. leaf side) with probabilistic modeling and abstention delivers robust laboratory performance and a realistic pathway to field deployment at cooperative intake, where indeterminate lots can be routed to secondary handling.

Authors

Institutions

Publication Details

Journal
Food Analytical Methods
Published
2026-02-01
DOI
https://doi.org/10.1007/s12161-026-03022-x
Primary Topic
Spectroscopy and Chemometric Analyses
Type
article
Field-Weighted Citation Impact
0.00

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Probabilistic VNIR Hyperspectral Screening of Pesticide Residues in Olives and Leaves

Diego Manuel Martínez Gila, David Bonillo Martínez, Javier Gámez García, Pablo Cano Marchal
Food Analytical Methods
Spectroscopy and Chemometric Analyses
article

Probabilistic VNIR Hyperspectral Screening of Pesticide Residues in Olives and Leaves

Diego Manuel Martínez Gila, David Bonillo Martínez, Javier Gámez García, Pablo Cano Marchal
article en

Abstract

Abstract This study advances non-invasive screening of pesticide residues in olives by (i) extending visible–near-infrared (VNIR) hyperspectral imaging (HSI) from fruit to leaves (adaxial/abaxial) as easy-to-sample matrices; (ii) replacing hard-decision with probabilistic models, partial least squares discriminant analysis (PLS-DA) and extreme gradient boosting (XGBoost); and (iii) introducing a tunable reject-option via an indecision band to trade coverage for reliability. An intelligent pixel-selection pipeline (radiometric normalization, HSV masking of glare/defects, and mask-conditioned random sampling of $$\sim 10^4$$ <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML"> <mml:mrow> <mml:mo>∼</mml:mo> <mml:msup> <mml:mn>10</mml:mn> <mml:mn>4</mml:mn> </mml:msup> </mml:mrow> </mml:math> pixels per sample) was used. Ground-truth labels were obtained by GC–MS/MS against EU MRLs. On fruit, deltamethrin and diflufenican reached near-ceiling discrimination (AUC $$\approx 99$$ <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML"> <mml:mrow> <mml:mo>≈</mml:mo> <mml:mn>99</mml:mn> </mml:mrow> </mml:math> –100%, F1 $$\approx 97$$ <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML"> <mml:mrow> <mml:mo>≈</mml:mo> <mml:mn>97</mml:mn> </mml:mrow> </mml:math> –100%); on leaves, oxifluorfen and tebuconazole were best resolved (adaxial/abaxial AUC up to $$\approx 95$$ <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML"> <mml:mrow> <mml:mo>≈</mml:mo> <mml:mn>95</mml:mn> </mml:mrow> </mml:math> –100% with F1 $$\approx 99$$ <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML"> <mml:mrow> <mml:mo>≈</mml:mo> <mml:mn>99</mml:mn> </mml:mrow> </mml:math> %). In contrast, diflufenican shows reduced discriminability on leaf matrices, especially abaxial. Probabilistic outputs enabled an indeterminate label for low-confidence pixels identified via a model-specific indecision band, yielding high accuracy on accepted predictions while keeping the rejected share operationally manageable; an effective score (F1 $$_\text {eff}$$ <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML"> <mml:mmultiscripts> <mml:mrow/> <mml:mtext>eff</mml:mtext> <mml:mrow/> </mml:mmultiscripts> </mml:math> ), defined as a coverage-penalized F1 score, summarizes this coverage–reliability balance. Overall, coupling matrix selection (fruit vs. leaf side) with probabilistic modeling and abstention delivers robust laboratory performance and a realistic pathway to field deployment at cooperative intake, where indeterminate lots can be routed to secondary handling.

Food Analytical MethodsVol. 19(2)
Universidad de Jaén (ES)
Ministerio de Ciencia e Innovación, Universidad de Jaén, Agencia Estatal de Investigación
Reduced inequalities, Peace, Justice and strong institutions
Openalex Percentile: Top 57%
Spectroscopy and Chemometric Analyses
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.