1 #ifndef ProcessBySpectra_h 2 #define ProcessBySpectra_h 77 const int requirements = 0);
80 const int requirements = 0);
101 void StartProcess(
void funct(std::vector<Isis::Buffer *> &in,
102 std::vector<Isis::Buffer *> &out));
110 template <
typename Functor>
123 template <
typename Functor>
136 template <
typename Functor>
151 void SetBrickSizesForProcessCubeInPlace();
152 void SetBrickSizesForProcessCube();
153 void SetBrickSizesForProcessCubes();
Buffer for reading and writing cube data.
Definition: Buffer.h:69
Definition: ProcessByBrick.h:106
void VerifyCubes(IOCubes cn)
Verifies the dimensions of the input/output cubes.
Definition: ProcessByBrick.cpp:136
Isis::Cube * SetInputCube(const QString ¶meter, const int requirements=0)
Opens an input cube specified by the user and verifies requirements are met.
Definition: ProcessBySpectra.cpp:57
Process cubes by spectra.
Definition: ProcessBySpectra.h:54
IOCubes
Definition: ProcessByBrick.h:105
Definition: ProcessByBrick.h:105
void ProcessCubes(const Functor &functor, bool threaded=true)
Operate over an arbitrary number of input cubes given an arbitrary number of output cubes...
Definition: ProcessByBrick.h:255
Definition: ProcessByBrick.h:107
Cube * SetInputCube(const QString ¶meter, int requirements=0)
Opens an input cube specified by the user and verifies requirements are met.
Definition: ProcessByBrick.cpp:74
Process cubes by brick.
Definition: ProcessByBrick.h:97
static const int ByLine
ByLine spectra type (equal to 1)
Definition: ProcessBySpectra.h:145
int Type()
Returns the spectra type:
Definition: ProcessBySpectra.h:93
void ProcessCubeInPlace(const Functor &functor, bool threaded=true)
Operate over a single cube (either input or output).
Definition: ProcessByBrick.h:179
void ProcessCubeInPlace(const Functor &funct, bool threaded=true)
Definition: ProcessBySpectra.h:111
void ProcessCube(const Functor &funct, bool threaded=true)
Definition: ProcessBySpectra.h:124
ProcessBySpectra(const int type=PerPixel)
Constructs ProcessBySpectra object using specified spectra type.
Definition: ProcessBySpectra.h:71
void ProcessCubes(const Functor &funct, bool threaded=true)
Definition: ProcessBySpectra.h:137
static const int BySample
BySample spectra type (equal to 2)
Definition: ProcessBySpectra.h:146
void ProcessCube(const Functor &functor, bool threaded=true)
Operate over a single input cube creating a separate output cube.
Definition: ProcessByBrick.h:216
void StartProcess(void funct(Isis::Buffer &in))
This method invokes the process by spectra operation over a single input or output cube...
Definition: ProcessBySpectra.cpp:97
Namespace for ISIS/Bullet specific routines.
Definition: Apollo.h:31
void SetType(const int type)
Sets the spectra type to one of the following:
Definition: ProcessBySpectra.cpp:159
static const int PerPixel
PerPixel spectra type (equal to 0)
Definition: ProcessBySpectra.h:144
IO Handler for Isis Cubes.
Definition: Cube.h:170