Skip to main content

HSI Preprocessing Toolkit

Project description

HSI Preprocessing Toolkit

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

HSI Preprocessing Toolkit (HPT, formerly HDR2MAT) is a hyperspectral image preprocessing toolset 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 images with layers. (coming in v2.0.0)
  7. Some other utils

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

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for hsi_preprocessing_toolkit-2.0.0.tar.gz
Algorithm Hash digest
SHA256 a9b2c0bfe564fbabf35dc28caaf162031f859d3c193953cc70a4a97803e39573
MD5 b63cb32216612aa1a0b9c541facc8f57
BLAKE2b-256 c80ce155961b91a35368dcfc17cd5167029d97f276a7cbede86959e55dc96af1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for hsi_preprocessing_toolkit-2.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d0aa2a721a439b7f09ffe0f4d0002b5bd90f6944b82d456ab58323b187c097b4
MD5 3f9b78935056cfb017131186c533b03b
BLAKE2b-256 06105973519f930ded169d216976c7296af2211093d20e7e789aa226fe3f3e4e

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