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-1.1.5.dev4.tar.gz (10.2 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.5.dev4-py3-none-any.whl (12.5 kB view details)

Uploaded Python 3

File details

Details for the file hsi_preprocessing_toolkit-1.1.5.dev4.tar.gz.

File metadata

File hashes

Hashes for hsi_preprocessing_toolkit-1.1.5.dev4.tar.gz
Algorithm Hash digest
SHA256 d25c6972340b5c6a04b7300dfb469a3cfc754ea20f1c5621cb90f9193ef87b55
MD5 5ba8b3cf5434abd4584f2d2fa1a82d11
BLAKE2b-256 87b86ac51a492b8eab95378e51cbbb5fd1a2af6671b75399f446bd139cd7d5d8

See more details on using hashes here.

File details

Details for the file hsi_preprocessing_toolkit-1.1.5.dev4-py3-none-any.whl.

File metadata

File hashes

Hashes for hsi_preprocessing_toolkit-1.1.5.dev4-py3-none-any.whl
Algorithm Hash digest
SHA256 55b8824197e5aadfa9a9686d6d16c308b8df6a051b2d6d0271d51a1ccbd842f3
MD5 925c421289b819ce8beedcf7ea6f01a1
BLAKE2b-256 2a23b7f035f617068579b7bb50ddbac4853b029010487b754174019ed5181009

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