1#ifndef SpectralDefinition2D_h
2#define SpectralDefinition2D_h
13#include "SpectralDefinition.h"
15template<
typename T>
class QList;
Buffer for reading and writing cube data.
File name manipulation and expansion.
Stores information about a "Spectral pixel" or spectel.
A Spectral definition that includes wavelength and center values for each (line, sample) coordinate.
int sectionNumber(int s, int l, int b) const
returns section number given (s,l,b)
int m_numSections
The number of sections of this Spectral Definition.
SpectralDefinition2D(FileName smileDefFilename)
Construct a SpectralDefinition2D object using a filename.
QList< int > * m_sectionList
The list of sections.
QList< QList< Spectel > * > * m_spectelList
Internally represent the samples x 2 lines x n bands calibration file Outside list is the sample inde...
void operator()(Buffer &in) const
Internal function used to help read-in a calibration cube.
QString toString()
Returns QString representation of SpectralDefinition2D.
virtual int sectionCount() const
Returns the number of sections in the calibration image.
Spectel findSpectel(const int sample, const int line, const int band) const
Get the Spectel at some sample, line, band (associated with your input/calibration file)
~SpectralDefinition2D()
destructor
contains calibration info for spectral smile correction (center wavelengths and widths for the whole ...
This is free and unencumbered software released into the public domain.
This is free and unencumbered software released into the public domain.