HyperPistachio: A Hyperspectral Image Dataset of Aflatoxin B1 Contaminated Pistachio Nuts
收藏资源简介:
HyperPistachio: A Hyperspectral Dataset for Aflatoxin Detection in Pistachios This dataset contains a curated subset of hyperspectral image cubes of raw pistachio samples contaminated with controlled levels of aflatoxin under laboratory conditions. The purpose of this release is to provide researchers with high-quality, reflectance-calibrated hyperspectral data for developing and evaluating machine learning and image processing models for non-destructive aflatoxin detection. This version is a subset of the full HyperPistachio dataset. From each contamination level, only two representative samples are included. The full version of the dataset contains 4000 images for each of the 26 levels. Dataset Structure Total contamination levels: 26 (including one healthy control) Samples per level in this subset: 2 hyperspectral images Samples per level in full version: 4000 hyperspectral images Files per sample: 3 L##_####.bil – hyperspectral reflectance data cubeL##_####.hdr – ENVI header file with acquisition metadataL##_####.png – pseudo‑RGB preview image Folder structure: /Level_01//Level_02/.../Level_26/ Technical Specifications Sensor: Resonon Pika XC2‑501 (Benchtop imaging system)Spatial resolution: 256 lines × 384 samplesSpectral bands: 462Wavelength range: 386.88 nm to 1003.60 nmInterleave: BIL (Band Interleaved by Line)Data type: uint16 (ENVI type 12)Reflectance scale factor: 10000 (indicates white and dark reference calibration) Average file sizes: .bil: 86.6 MB.hdr: 3.99 KB.png: 85.6 KB Contamination Levels (Ground Truth) Below is the complete contamination table representing the laboratory‑measured aflatoxin concentration (µg/kg) for all 26 levels. Level Aflatoxin Concentration (µg/kg) 01 0.00 (healthy control) 02 0.40 03 0.67 04 0.88 05 1.13 06 1.66 07 2.15 08 2.3 09 2.48 10 2.82 11 3.01 12 3.05 13 3.85 14 4.43 15 5.12 16 5.30 17 6.37 18 8.93 19 12.16 20 17.12 21 24.03 22 26.14 23 33.17 24 56.06 25 57.29 26 114.67 Naming Convention L##_####.bil corresponds to: ## = contamination level (01–26) #### = sample index (0001–0002 for this subset) Example: L14_0002.bil is the second sample from Level 14 (4.43 µg/kg aflatoxin). Calibration All images are reflectance-calibrated using white and dark reference frames acquired under the same conditions. This ensures band-to-band comparability and suitability for quantitative spectral analysis. Raw pixel values should be divided by the reflectance scale factor (10000) to obtain physical reflectance in the range [0, 1]. Sample MATLAB Code A set of ready-to-use MATLAB scripts is provided in the /code/ folder to help you load and explore the data. See README_codes.md for full instructions. Script Description rgb_viewer.m Load and display an RGB composite band_tour.m Animated grayscale tour through all 462 bands explorer.m 6-panel overview: RGB, NDVI, spectra, and more License This dataset was produced under KTP Project No. 13808, funded by UK Research and Innovation (UKRI) and developed at Leeds Beckett University.This subset is made available strictly for academic education and research purposes only. Redistribution, commercial use, or incorporation into commercial products is not permitted. If you require access to the full HyperPistachio dataset, please contact the dataset manager: Dr. A. Sheikh-Akbari (A.Sheikh-Akbari@leedsbeckett.ac.uk) Citation Citation details will be added upon publication. Please check back or contact the dataset manager.



