Skip to main content

A hyperspectral imaging tools box

Project description

PySptools is a python module that implements spectral and hyperspectral algorithms. Specializations of the library are the endmembers extraction, unmixing process, supervised classification, target detection, noise reduction, convex hull removal, features extraction at spectrum level and a scikit-learn bridge. Version 0.15.0 introduce an experimental machine learning functionality based on XGBoost and LightGBM.

The library is designed to be easy to use and almost all functionality has a plot function to save you time with the data analysis process. The actual sources of the algorithms are the Matlab Hyperspectral Toolbox of Isaac Gerg, the pwctools of M. A. Little, the Endmember Induction Algorithms toolbox (EIA), the HySime Matlab module by José Bioucas-Dias and José Nascimento and science papers.

Functionalities

The functions and classes are organized by topics:

  • abundance maps: FCLS, NNLS, UCLS

  • classification: AbundanceClassification, NormXCorr, SAM, SID

  • detection: ACE, CEM, GLRT, MatchedFilter, OSP

  • distance: chebychev, NormXCorr, SAM, SID

  • endmembers extraction: ATGP, FIPPI, NFINDR, PPI

  • machine learning: XGBoost, LightGBM

  • material count: HfcVd, HySime

  • noise: Savitzky Golay, MNF, whiten

  • sigproc: bilateral

  • scikit learn: HyperEstimatorCrossVal, HyperSVC, HyperGradientBoostingClassifier, HyperRandomForestClassifier, HyperKNeighborsClassifier, HyperLogisticRegression and others

  • spectro: convex hull quotient, features extraction (tetracorder style), USGS06 lib interface

  • util: load_ENVI_file, load_ENVI_spec_lib, corr, cov, plot_linear_stretch, display_linear_stretch, convert2D, convert3D, normalize, InputValidation, ROIs and others

The library do an extensive use of the numpy numeric library and can achieve good speed for some functions. The library is mature enough and is very usable even if the development is at a beta stage (and some at alpha).

Installation

For installation, I refer you to the web site https://pysptools.sourceforge.io/installation.html

Dependencies

  • Python 2.7 or 3.5, 3.6

  • numpy, required

  • scipy, required

  • scikit-learn, required, version >= 0.18

  • spectral, required, version >= 0.17

  • matplotlib, required, [note: pytsptools >= 0.14.2 now execute on matplotlib 2.0.x and stay back compatible]

  • CVXOPT, optional, version >= 1.1.7, [note: to run FCLS]

  • jupyter, optional, version >= 1.0.0, [note: if you want to use the notebook display functionality]

  • tabulate, optional, [note: use by ml module]

  • pandas, optional, [note: use by ml module]

  • plotnine, optional, [note: use by ml module, a ggplot2]

  • lightgbm, optional, version 2.1.2 ONLY, [note: use by ml module]

  • xgboost, optional, version 0.72.1 ONLY, [note: use by ml module]

PySptools version 0.15.0 is developed on the linux platform with anaconda version 5.1.0 for both python 2.7 and 3.6.

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

pysptools-0.15.0.tar.gz (8.1 MB view details)

Uploaded Source

File details

Details for the file pysptools-0.15.0.tar.gz.

File metadata

  • Download URL: pysptools-0.15.0.tar.gz
  • Upload date:
  • Size: 8.1 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.18.4 setuptools/38.4.0 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.6.4

File hashes

Hashes for pysptools-0.15.0.tar.gz
Algorithm Hash digest
SHA256 923c4e1af97c490d7d9ad86d04fdf8918b63106023493e6a4cf54323e244b05e
MD5 224270d72da78571049c3745ce03884f
BLAKE2b-256 9b20cef48129eff2bdcb282279138c09e6f04770a8fdcb3c1bb9a98fe4086d2d

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page