hsi-wizard: A magical open-source Python package for medical hyperspectral imaging applications
hsi-wizard: A magical open-source Python package for medical hyperspectral imaging applications - Published in JOSS (2025)
Science Score: 93.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
✓DOI references
Found 1 DOI reference(s) in JOSS metadata -
✓Academic publication links
Links to: joss.theoj.org -
○Committers with academic emails
-
○Institutional organization owner
-
✓JOSS paper metadata
Published in Journal of Open Source Software
Keywords
Repository
Straightforward environment for hyperspectral analysis in Python.
Basic Info
Statistics
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 3
- Releases: 2
Topics
Metadata Files
README.md
HSI Wizard
See Beyond the Visible: The Magic of Hyperspectral Imaging for Medical & Bioinformatics Applications
Introduction
Welcome to the hsi-wizard package! Designed primarily for medical hyperspectral imaging and bioinformatics workflows, this Python package provides a straightforward environment for hyperspectral imaging (HSI) analysis, supporting everything from basic spectral analysis to advanced machine learning and AI methods. Whether you're working with raw sensor data or pre-processed datasets, hsi-wizard offers a suite of tools to simplify and enhance your analysis workflow.
If you're new here, the best place to start is the documentation, where you'll find detailed instructions on how to begin.
Features
- DataCube Class for managing and processing HSI data
- Spectral plotting and visualization
- Clustering and spectral analytics
- Tools for merging and processing HSI data
- Data loaders for various file formats (e.g., NRRD, Pickle, TDMS, and XLSX)
- Decorators for method tracking, input validation, and execution time logging
Geospatial Limitations
This package does not track or process geographical coordinates. If you require full remote-sensing or GIS integration, you may need complementary tools. hsi-wizard focuses on medical and lab-based spectral analysis, so spatial georeferencing is restricted.
Comparison with Existing Tools
| Attribute | HSI-Wizard | PySptools | HyDe | Spectral Python (SPy) | ENVI | | -------------------- | ---------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------- | | Category | Medical Imaging | Geospatial & Research Spectral Analysis | Preprocessing & Denoising | General-Purpose Data I/O & Basic Handling | Commercial All-rounder | | Key Features | End-to-end medical pipeline, DataCube, Merge & analytics | Endmember extraction, Spectral unmixing, Low-rank wavelet & DNN denoising, Energy-efficient implementations | Read/display/manipulate HSI files, Bip/Bil/Bsq interleaves, Basic classification routines | Advanced spectral processing & classification, Full GUI & Python API, ArcGIS integration | | | File Support | ENVI (.hdr/.img), Images, CSV, FSM, NRRD, Pickle (.pkl), TDMS, XLSX | ENVI (.hdr/.img) via Spectral Python integration | None built-in (operates on NumPy arrays from user’s loader) | ENVI (.hdr/.img), BIL, BIP, BSQ interleaves | ENVI (.hdr/.img), GeoTIFF, HDF, ASCII – broad commercial support | | Licensing / Cost | Open-source (MIT) | Open-source (MIT) | Open-source (BSD-3-Clause) | Open-source (BSD-3) | Proprietary, paid |
Installation
Requirements
- Python >3.10
Via pip
You can install the package via pip:
bash
pip install hsi-wizard
Compile from Source
Alternatively, you can compile HSI Wizard from source:
bash
python -m pip install -U pip setuptools wheel # Install/update build tools
git clone https://github.com/BlueSpacePotato/hsi-wizard # Clone the repository
cd hsi-wizard # Navigate into the directory
python -m venv .env # Create a virtual environment
source .env/bin/activate # Activate the environment
pip install -e . # Install in editable mode
pip install wheel # Install wheel
pip install --no-build-isolation --editable . # Compile and install hsi-wizard
Usage
After installing the package, you can import the DataCube, read function, and plotter for quick HSI data analysis:
```python3 import wizard
Load an HSI datacube from a file
dc = wizard.read('pathtofile')
process DataCube
dc.resize(xnew=500, ynew=500) dc.remove_background()
Visualize the datacube
wizard.plotter(dc) ```
For more examples visist the documentation.
Contributing
We welcome contributions from the medical imaging and bioinformatics communities! To make the collaboration smooth and efficient, please follow the guidelines below:
Reporting Issues
If you encounter bugs, unexpected behavior, or have feature requests, please:
- Search existing issues to see if your problem or idea has already been reported.
- Open a new issue with a clear title and description:
- Steps to reproduce the problem
- Expected vs. actual behavior
- Version of hsi-wizard, Python, and operating system
- Label the issue appropriately (e.g., bug, feature request, documentation).
Seeking Support
For usage questions, help with examples, or general discussion: - GitHub Discussions: Post your questions under the Support category in our Discussions board.
Contributing Code
If you have ideas or fixes, we’d love your help! Just fork the repo, create your branch, and make your changes. When you’re ready, push your branch up and open a Pull Request against main. We’ll review it and merge it in!
Owner
- Login: BlueSpacePotato
- Kind: user
- Repositories: 2
- Profile: https://github.com/BlueSpacePotato
JOSS Publication
hsi-wizard: A magical open-source Python package for medical hyperspectral imaging applications
Authors
Tags
hyperspectral imaging DataCubesGitHub Events
Total
- Create event: 41
- Release event: 1
- Issues event: 25
- Delete event: 11
- Issue comment event: 23
- Push event: 107
- Pull request event: 23
Last Year
- Create event: 41
- Release event: 1
- Issues event: 25
- Delete event: 11
- Issue comment event: 23
- Push event: 107
- Pull request event: 23
Committers
Last synced: 3 months ago
Top Committers
| Name | Commits | |
|---|---|---|
| Felix Wuehler | f****r@h****e | 123 |
| BlueSpacePotato | 3****o@u****m | 72 |
Committer Domains (Top 20 + Academic)
Issues and Pull Requests
Last synced: 4 months ago
All Time
- Total issues: 20
- Total pull requests: 31
- Average time to close issues: 12 days
- Average time to close pull requests: 3 minutes
- Total issue authors: 4
- Total pull request authors: 1
- Average comments per issue: 1.55
- Average comments per pull request: 0.1
- Merged pull requests: 28
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 19
- Pull requests: 29
- Average time to close issues: 11 days
- Average time to close pull requests: 3 minutes
- Issue authors: 3
- Pull request authors: 1
- Average comments per issue: 1.63
- Average comments per pull request: 0.1
- Merged pull requests: 27
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
- mh-skjelvareid (15)
- tomelse (6)
- BlueSpacePotato (2)
- ashishbijlani (1)
Pull Request Authors
- BlueSpacePotato (52)
Top Labels
Issue Labels
Pull Request Labels
Packages
- Total packages: 1
-
Total downloads:
- pypi 199 last-month
- Total dependent packages: 0
- Total dependent repositories: 0
- Total versions: 47
- Total maintainers: 1
pypi.org: hsi-wizard
See Beyond the Visible: The Magic of Hyperspectral Imaging
- Homepage: https://github.com/BlueSpacePotato/hsi-wizard
- Documentation: https://hsi-wizard.readthedocs.io/
- License: MIT License
-
Latest release: 0.1.42
published 5 months ago
Rankings
Maintainers (1)
Dependencies
- actions/checkout v4 composite
- actions/setup-python v5 composite
- matplotlib ==3.8.2
- numpy ==1.26.3
- opencv-python ==4.9.0.80
- rich ==13.7.0
