HSI Preprocessing Toolkit (HPT, formerly HDR2MAT) is a hyperspectral image preprocessing toolset that:
- Read the raw data from the HSI camera, and convert it into
.matfile - Read the
.matfile - Preview HSI, and convert it to RGB
.pngfile - Crop and rotate the HSI and preview in realtime
- Select spectrals of interest visually and save them into a
.matfile - Mix multiple HSI images with layers.
- Some other utils
- Download hpt.cmd from GitHub release
- Double click the
hpt.cmdfile.
TIPS: Make sure you have internet access during the first start
- Install uv directly or with pip:
pip install uv - Install HPT:
uv tool install hsi-preprocessing-toolkit - Start HPT:
hsi_preprocessing_toolkit
- Install HPT:
pip install hsi-preprocessing-toolkit - Start HPT:
hsi_preprocessing_toolkit
TIPS: It's not recommend to install CLI tools directly with pip, please use uv tool or pipx to install python applications in isolated environments.
- uv for providing a new reliable solution for Python application distribution.
gradiofor modern Python Data Science UIrasteriofor remote sensing data readingscipy,numpy,matplotlibandeinops- For more projects, see
pyproject.toml
Copyright (C) 2025 songyz2019
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.
