Skip to main content

A Python package for Hyperspectral quality estimation in hyperspectral imaging (imaging spectroscopy)

Project description

HyperQuest

Build Status PyPI PyPI - Python Version Downloads

hyperquest: A Python package for estimating image-wide quality estimation metrics of hyperspectral imaging (imaging spectroscopy). Computations are sped up and scale with number of cpus.

Installation Instructions

The latest release can be installed via pip:

pip install hyperquest

Usage example

import hyperquest
import matplotlib.pyplot as plt


# Define path to envi image header file
envi_hdr_path = '/path/my_spectral_image.hdr'

# get wavelengths
wavelengths = hyperquest.read_center_wavelengths(envi_hdr_path)

# compute SNR using HRDSDC method
snr = hyperquest.hrdsdc(envi_hdr_path, n_segments=10000, 
                        compactness=0.1, n_pca=3, ncpus=3)

plt.scatter(wavelengths, snr, color='black', s=100, alpha=0.7)

SNR Plot

Citing HyperQuest (STILL WORKING ON THIS TODO:)

If you use HyperQuest in your research, please use the following BibTeX entry.

@article{wilder202x,
  title={x},
  author={Brenton A. Wilder},
  journal={x},
  url={x},
  year={x}
}

References:

  • Cogliati, S., Sarti, F., Chiarantini, L., Cosi, M., Lorusso, R., Lopinto, E., ... & Colombo, R. (2021). The PRISMA imaging spectroscopy mission: overview and first performance analysis. Remote sensing of environment, 262, 112499.

  • Curran, P. J., & Dungan, J. L. (1989). Estimation of signal-to-noise: a new procedure applied to AVIRIS data. IEEE Transactions on Geoscience and Remote sensing, 27(5), 620-628.

  • Gao, L., Wen, J., & Ran, Q. (2007, November). Residual-scaled local standard deviations method for estimating noise in hyperspectral images. In Mippr 2007: Multispectral Image Processing (Vol. 6787, pp. 290-298). SPIE.

  • Gao, L. R., Zhang, B., Zhang, X., Zhang, W. J., & Tong, Q. X. (2008). A new operational method for estimating noise in hyperspectral images. IEEE Geoscience and remote sensing letters, 5(1), 83-87.

  • Roger, R. E., & Arnold, J. F. (1996). Reliably estimating the noise in AVIRIS hyperspectral images. International Journal of Remote Sensing, 17(10), 1951-1962.

  • Tian, W., Zhao, Q., Kan, Z., Long, X., Liu, H., & Cheng, J. (2022). A new method for estimating signal-to-noise ratio in UAV hyperspectral images based on pure pixel extraction. IEEE Journal of Selected Topics in Applied Earth Observations and Remote Sensing, 16, 399-408.

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

hyperquest-0.1.2.tar.gz (9.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

hyperquest-0.1.2-cp311-cp311-macosx_13_0_arm64.whl (45.4 kB view details)

Uploaded CPython 3.11macOS 13.0+ ARM64

File details

Details for the file hyperquest-0.1.2.tar.gz.

File metadata

  • Download URL: hyperquest-0.1.2.tar.gz
  • Upload date:
  • Size: 9.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.10

File hashes

Hashes for hyperquest-0.1.2.tar.gz
Algorithm Hash digest
SHA256 5ec898555f6339560e8d1e86b90f2ae70bec6589c25069b9b16e3a0e56ec3abe
MD5 c6e593e9b3b20806d2bb24975555eafd
BLAKE2b-256 7d1cae596850cf030695b963896db33173b7d2aeeeb31e93bd7d5645b1b840be

See more details on using hashes here.

File details

Details for the file hyperquest-0.1.2-cp311-cp311-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for hyperquest-0.1.2-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 e1c66302550748e7c673c0fa04c5e8237ca13b48e69664e59768d9520553d0ed
MD5 82caa272024074f517eae7cad87c3273
BLAKE2b-256 bd12760ef90608657e07e4448876c8a5817dcd0619f11acf4b80598f3f113a76

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