Skip to content

chsasank/pysptools-old

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pysptools

I am not the original author of this. I forked it from sourceforge

Summary: A hyperspectral imaging tools box

Home-page: http://pysptools.sourceforge.net/

Author: Christian Therien

Author-email: ctherien@users.sourceforge.net

License: Apache License Version 2.0

Description: PySptools is a hyperspectral and spectral imaging library that provides spectral algorithms for the Python programming language. Specializations of the library are the endmembers extraction, unmixing process, supervised classification, target detection, noise reduction, convex hull removal and features extraction at spectrum level.

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 of José Bioucas-Dias and José Nascimento and science articles.

Functionality


The functions and classes are organized by topics:

  • abundance maps: FCLS, NNLS, UCLS
  • classification: AbundanceClassification, NormXCorr, KMeans SAM, SID, SVC
  • detection: ACE, CEM, GLRT, MatchedFilter, OSP
  • distance: chebychev, NormXCorr, SAM, SID
  • endmembers extraction: ATGP, FIPPI, NFINDR, PPI
  • material count: HfcVd, HySime
  • noise: Savitzky Golay, MNF, whiten
  • sigproc: bilateral
  • 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

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.

Installation


Since version 0.12.2, PySptools can run under Python 2.7 and 3.x. It has been tested for these versions but can probably run under others Python versions.

Manual installation

To install download the sources, expand it in a directory and add the path of the pysptools-0.xx.x directory to the PYTHONPATH system variable.

Distutils installation

You can use Distutils. Expand the sources in a directory, go to the pysptools-0.xx.x directory and at the command prompt type 'python setup.py install'. To uninstall the library, you have to do it manually. Go to your python installation. In the Lib/site-packages folder simply removes the associated pysptools folder and files.

Dependencies


  • Python 2.7 or 3.x
  • Numpy, required
  • Scipy, required
  • scikit-learn, required
  • SPy (spectral), required, version >= 0.17
  • Matplotlib, required
  • CVXOPT, optional, to run FCLS
  • IPython, optional, if you want to use the display feature

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published