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.0a1.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-2.0.0a1-py3-none-any.whl (12.4 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for hsi_preprocessing_toolkit-2.0.0a1.tar.gz
Algorithm Hash digest
SHA256 c3797acb537991d9cf47c9c04794a32de02a3f66318cbfc126725c33d1af6589
MD5 4c4090ffcbcae53798f7a85cb3c30189
BLAKE2b-256 8f3391039dc077a39ab8e0aba267c36f3b453e94594df0a9082be4f8b7eb3b6f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for hsi_preprocessing_toolkit-2.0.0a1-py3-none-any.whl
Algorithm Hash digest
SHA256 9b05ab870b0fcbff3d9d4571d3c1a279980255840e79fa3c13f7ee091c1a7184
MD5 adde7924f279682858a627a8d59d3164
BLAKE2b-256 740086c1814fba6204fbddc44de7dc6b29197899c4c49bdc000290ced4350086

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