This is the source code of our data processing tool that we use in our paper for processing hyperspectral data.
Our paper:Apple Surface Pesticide Residue Detection Method Based on Hyperspectral Imaging
It still has some bugs to fix and some features to be implemented.
The code written at the time was very messy. Recently, I will try to make the code clearer to read and easier to maintain.
- Python3
- PyQt5
- numpy
- pandas
- python-opencv
- Rearrange the code structure, make it easier to maintain
- Rewrite the code of manually select the ROI(Region Of Interest)
- Support 'bil' format hyperspectral data
- ...
- Read and display basic information of 'raw' format data
- Display spectral curve
- Select a region of interest (Our target is Apple, so we use Hough Circle Transform)
- Category classification(Also designed for our work)
- ...
The source code was already tested on Windows 10, Ubuntu 18.04 and deepin 15.10.
python main.py
If you find our work useful, please star our repo. Also, you could cite our paper. 😊 Thanks! 😊.
@InProceedings{Jia2018PesticideDetection,
author="Jia, Yaguang and He, Jinrong and Fu, Hongfei and Shao, Xiatian and Li, Zhaokui",
title="Apple Surface Pesticide Residue Detection Method Based on Hyperspectral Imaging",
booktitle="Intelligence Science and Big Data Engineering",
year="2018",
publisher="Springer International Publishing",
address="Cham",
pages="539--556",
isbn="978-3-030-02698-1"
}