Skip to main content

HSI Preprocessing Toolkit

Project description

HSI Preprocessing Toolkit

PyPI - Version PyPI - Downloads PyPI - Python Version GitHub Created At GitHub License

A Hyperspectral Preprocessing Toolkit that

  1. Read the raw data from the HSI camera, and convert it into .mat file
  2. Read the .mat file
  3. Preview HSI, and convert it to RGB .png file
  4. Crop and rotate the HSI and preview in realtime
  5. Select spectrals of interest visually and save them into a .mat file
  6. Mix multiple HSI image with layers. (coming in v2.0.0, now availabe in git)

Usage

Manual

  1. Download from GitHub release
  2. Double click the start.cmd file. Make sure you have internet access during the first start.

Install with pip

pip install hsi-preprocessing-toolkit
hsi_preprocessing_toolkit

Install with uv

uvx hsi_preprocessing_toolkit

or install as a tool

uv tool install hsi-preprocessing-toolkit
hsi_preprocessing_toolkit

Credit

  1. uv for providing a new reliable solution for Python application distribution.
  2. gradio for modern Python Data Science UI
  3. rasterio for remote sensing data reading
  4. scipy, numpy, matplotlib and einops
  5. For more projects, see pyproject.toml

License

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/>.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

hsi_preprocessing_toolkit-2.0.0a2.tar.gz (156.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

hsi_preprocessing_toolkit-2.0.0a2-py3-none-any.whl (156.9 kB view details)

Uploaded Python 3

File details

Details for the file hsi_preprocessing_toolkit-2.0.0a2.tar.gz.

File metadata

File hashes

Hashes for hsi_preprocessing_toolkit-2.0.0a2.tar.gz
Algorithm Hash digest
SHA256 42db6fc47c85de09079e8c46d9db138e32d827a4ba0c7b207e5c1ed3a35c0d83
MD5 21fa99b4b8184fadba798a0a69cc795f
BLAKE2b-256 cadb8068f04c0956405e6ede9c2dc340bee6a194f3254bbb63e6905cc7426617

See more details on using hashes here.

File details

Details for the file hsi_preprocessing_toolkit-2.0.0a2-py3-none-any.whl.

File metadata

File hashes

Hashes for hsi_preprocessing_toolkit-2.0.0a2-py3-none-any.whl
Algorithm Hash digest
SHA256 500c74348018439a2ca7d04d464d00ad4008186952a84b1b13b9a524f1414e8c
MD5 781fd3e3b5ab0436735f9678f7d55702
BLAKE2b-256 c938f638510837da6ab1c9832ced46fd12b53b21a8ad8ce180fd9a86afcaab6f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page