|
HSImage
Hyperspectral Image Interface Library for ENVI-BIL image files
|
This class provides an interface for unlabeled ENVI-BIL hyperspectral images. More...
Public Member Functions | |
| def | __init__ |
| Constructor Default Constructor to create empty hsimage instance. | |
| def | __init__ |
| Constructor Constructor for loading with header (.hdr), image (.raw) and spectrometer files (.txt) More... | |
| def | __init__ |
| Constructor. More... | |
| def | load |
| Load. More... | |
| def | load |
| Load. More... | |
| def | loadSpectrometerData |
| loadSpectrometerData More... | |
| def | hasSpecFiles |
| hasSpecFiles More... | |
| def | getPixelSpectra |
| getPixelSpectra More... | |
| def | getWavelengths |
| getWavelengths More... | |
| def | getAmbientIntensities |
| getAmbientIntensities More... | |
| def | getPixelTransferFunction |
| getPixelTransferFunction More... | |
| def | getPixelArray |
| getPixelArray More... | |
| def | getRange |
| getRange More... | |
| def | getSet |
| getSet More... | |
| def | getBand |
| getBand More... | |
| def | getShape |
| getShape More... | |
This class provides an interface for unlabeled ENVI-BIL hyperspectral images.
This class provides an interface to an unlabeled hyperspectral image. It requires a header (.hdr) file and an image (.raw) file for basic operation, and two spectrometer files (.txt) for full operation.
| def HSI.hsimage.__init__ | ( | header_loc, | |
| image_loc, | |||
| spec_locations | |||
| ) |
Constructor Constructor for loading with header (.hdr), image (.raw) and spectrometer files (.txt)
| header_loc | Location of header file |
| image_loc | Location of image file |
| spec_locations | List of strings of spectrometer location files |
| def HSI.hsimage.__init__ | ( | hsimage_instance | ) |
| def HSI.hsimage.getAmbientIntensities | ( | ) |
getAmbientIntensities
Get ambient intensities at wavelengths given by getWavelengths() if spectrometer data has been loaded into hsimage instance
| def HSI.hsimage.getBand | ( | wavelength | ) |
| def HSI.hsimage.getPixelArray | ( | ) |
| def HSI.hsimage.getPixelSpectra | ( | row, | |
| col | |||
| ) |
| def HSI.hsimage.getPixelTransferFunction | ( | row, | |
| col | |||
| ) |
getPixelTransferFunction
Get pixel transfer function, or pixel reflectance, at a specific row, col location. Only enabled if spectrometer data has been loaded into hsimage instance
| row | Row of pixel to retrieve |
| col | Column of pixel to retrieve |
| def HSI.hsimage.getRange | ( | low_wavelength, | |
| high_wavelength | |||
| ) |
| def HSI.hsimage.getSet | ( | wavelengths | ) |
| def HSI.hsimage.getShape | ( | ) |
| def HSI.hsimage.getWavelengths | ( | ) |
| def HSI.hsimage.hasSpecFiles | ( | ) |
| def HSI.hsimage.load | ( | header_loc, | |
| image_loc | |||
| ) |
| def HSI.hsimage.load | ( | header_loc, | |
| image_loc, | |||
| spec_locations | |||
| ) |
| def HSI.hsimage.loadSpectrometerData | ( | spec_locations | ) |
1.8.6