|
Scyllarus: C++ Hyperspectral Processing Library
Hyperspectral Image Processing Pipeline
|
Input is a base class from which input classes for the pipeline are derived.. More...
#include <input.h>
Public Member Functions | |
| input () | |
| virtual | ~input () |
| virtual arma::fcube | I () const |
| Gets I. More... | |
| virtual arma::fcube | I (const arma::uvec bands) const |
| Gets I (subset of bands) More... | |
| virtual arma::fcube | I (int r0, int c0, int r1, int c1) const |
| Gets I (cropped) More... | |
| virtual arma::fcube | I (const arma::uvec bands, int r0, int c0, int r1, int c1) const |
| Gets I (subset of bands) More... | |
| virtual const arma::fcube * | I_ptr () const |
| Gets a pointer to I. More... | |
| virtual arma::fvec | illuminant () const |
| Gets illuminant. More... | |
| virtual arma::fmat | k () const |
| Gets k. More... | |
| virtual arma::fmat | g () const |
| Gets g. More... | |
| virtual arma::fcube | s () const |
| Gets s. More... | |
| virtual const arma::fcube * | s_ptr () const |
| Gets a pointer to s. More... | |
| virtual arma::fmat | elements () const |
| Gets elements. More... | |
| virtual arma::fmat | endmembers () const |
| Gets endmembers. More... | |
| virtual std::vector< std::string > | endmember_labels () const |
| Gets endmember_labels. More... | |
| virtual arma::fcube | element_abundances () const |
| Gets element_abundances. More... | |
| virtual arma::ucube | element_abundance_indexes () const |
| Gets element_abundance_indexes. More... | |
| virtual arma::fmat | endmember_abundances () const |
| Gets endmember_abundances. More... | |
| virtual arma::umat | endmember_abundance_indexes () const |
| Gets endmember_abundance_indexes. More... | |
| virtual arma::fvec | wavelengths () const |
| Gets wavelengths. More... | |
| virtual GDALDataset * | gdal_dataset_ptr () const |
| Gets gdal_dataset_ptr. More... | |
| virtual scyl::INPUT_TYPE | type () |
| Tells you what an object is..... (Why isn't this already a thing?) More... | |
| int | height () const |
| Get height. More... | |
| int | width () const |
| Get width. More... | |
| int | bands () const |
| Get bands. More... | |
Protected Attributes | |
| unsigned int | m_height |
| unsigned int | m_width |
| unsigned int | m_bands |
Input is a base class from which input classes for the pipeline are derived..
At the most basic level, the input can be used as follows (eg for HDR):
scyl::input * input = scyl::hdr_input("string/filename/path.hdr");
The input class itself is a class from which other input types will derive. All the methods in the class return exceptions, with the intention that they be over-ridden by derived implementations.
| scyl::input::input | ( | ) |
Input Constructor
|
virtual |
Input Destructor
| int scyl::input::bands | ( | ) | const |
Get bands.
|
virtual |
Gets element_abundance_indexes.
| Exception | Data does not exist. |
Reimplemented in scyl::component_input, scyl::hsz_input, and scyl::data_input.
|
virtual |
Gets element_abundances.
| Exception | Data does not exist. |
Reimplemented in scyl::component_input, scyl::hsz_input, and scyl::data_input.
|
virtual |
Gets elements.
| Exception | Data does not exist. |
Reimplemented in scyl::component_input, scyl::data_input, and scyl::hsz_input.
|
virtual |
Gets endmember_abundance_indexes.
| Exception | Data does not exist. |
Reimplemented in scyl::component_input, scyl::data_input, and scyl::hsz_input.
|
virtual |
Gets endmember_abundances.
| Exception | Data does not exist. |
Reimplemented in scyl::component_input, scyl::data_input, and scyl::hsz_input.
|
virtual |
Gets endmember_labels.
| Exception | Data does not exist. |
Reimplemented in scyl::component_input, scyl::data_input, and scyl::hsz_input.
|
virtual |
Gets endmembers.
| Exception | Data does not exist. |
Reimplemented in scyl::component_input, scyl::data_input, and scyl::hsz_input.
|
virtual |
Gets g.
| Exception | Data does not exist. |
Reimplemented in scyl::component_input, scyl::hsz_input, and scyl::data_input.
|
virtual |
Gets gdal_dataset_ptr.
| Exception | Data does not exist. |
Reimplemented in scyl::hdr_input, and scyl::tif_input.
| int scyl::input::height | ( | ) | const |
Get height.
|
virtual |
Gets I.
| Exception | Data does not exist. |
Reimplemented in scyl::component_input, scyl::hdr_input, scyl::tif_input, scyl::data_input, and scyl::hsz_input.
|
virtual |
Gets I (subset of bands)
| bands | a list of the indices of the desired bands |
| Exception | Data does not exist. |
Reimplemented in scyl::hdr_input.
|
virtual |
Gets I (cropped)
| r0 | beginning row |
| c0 | beginning col |
| r1 | ending row |
| c1 | ending col |
| Exception | Data does not exist. |
Reimplemented in scyl::hdr_input.
|
virtual |
Gets I (subset of bands)
| bands | a list of the indices of the desired bands |
| r0 | beginning row |
| c0 | beginning col |
| r1 | ending row |
| c1 | ending col |
| Exception | Data does not exist. |
Reimplemented in scyl::hdr_input.
|
virtual |
Gets a pointer to I.
| Exception | Data does not exist. |
Reimplemented in scyl::component_input, scyl::hdr_input, scyl::tif_input, scyl::data_input, and scyl::hsz_input.
|
virtual |
Gets illuminant.
| Exception | Data does not exist. |
Reimplemented in scyl::component_input, scyl::data_input, and scyl::hsz_input.
|
virtual |
Gets k.
| Exception | Data does not exist. |
Reimplemented in scyl::component_input, scyl::data_input, and scyl::hsz_input.
|
virtual |
Gets s.
| Exception | Data does not exist. |
Reimplemented in scyl::component_input, scyl::hdr_input, scyl::data_input, and scyl::hsz_input.
|
virtual |
Gets a pointer to s.
| Exception | Data does not exist. |
Reimplemented in scyl::component_input, scyl::hdr_input, scyl::data_input, and scyl::hsz_input.
|
virtual |
Tells you what an object is..... (Why isn't this already a thing?)
Reimplemented in scyl::component_input, scyl::data_input, scyl::hsz_input, scyl::hdr_input, and scyl::tif_input.
|
virtual |
Gets wavelengths.
| Exception | Data does not exist. |
Reimplemented in scyl::component_input, scyl::data_input, scyl::hsz_input, scyl::hdr_input, and scyl::tif_input.
| int scyl::input::width | ( | ) | const |
Get width.
|
protected |
|
protected |
|
protected |
1.8.6