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

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-1.1.3.tar.gz (8.4 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-1.1.3-py3-none-any.whl (9.9 kB view details)

Uploaded Python 3

File details

Details for the file hsi_preprocessing_toolkit-1.1.3.tar.gz.

File metadata

File hashes

Hashes for hsi_preprocessing_toolkit-1.1.3.tar.gz
Algorithm Hash digest
SHA256 9feec3e8cf6f2d4360a926407aa1779282b21901a5ef7cace035fba5fd929c32
MD5 6a16c43d47133d6809459fe8a5209a71
BLAKE2b-256 f250b914177b6ac6a18ed2ea2a0d0fa84ba8533420d15768fada8634fc3c38e3

See more details on using hashes here.

File details

Details for the file hsi_preprocessing_toolkit-1.1.3-py3-none-any.whl.

File metadata

File hashes

Hashes for hsi_preprocessing_toolkit-1.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 90400d1f11bb2ca5049cd0256e9a7589274ba9c30162d86268a6c2457baebac6
MD5 abd1bda1d9507bbf5ac6aa90c4d2e940
BLAKE2b-256 ddc9b3a020decc326049fe28600a007b2ae69c7bc1c0caf66b2ff11ffe82ca63

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