45 Reduce(
Isis::Cube *pInCube,
const double sampleScale,
const double lineScale);
55 int startLine,
int endLine);
87 :
Reduce(pInCube, pdSampleScale, pdLineScale){
106 double pdValidPer, QString psReplaceMode)
107 :
Reduce(pInCube, pdSampleScale, pdLineScale){
108 mdValidPer = pdValidPer;
109 msReplaceMode = psReplaceMode;
116 mutable double mdValidPer;
117 QString msReplaceMode;
118 mutable double *mdIncTab;
119 mutable double *mdSum;
120 mutable double *mdNpts;
121 mutable double *mdSum2;
122 mutable double *mdNpts2;
Buffer for reading and writing cube data.
Definition: Buffer.h:69
Average(Isis::Cube *pInCube, double pdSampleScale, double pdLineScale, double pdValidPer, QString psReplaceMode)
Constructor.
Definition: Reduce.h:105
Buffer for containing a two dimensional section of an image.
Definition: Portal.h:52
double mdLine
Line index.
Definition: Reduce.h:65
int miStartLine
Input start line.
Definition: Reduce.h:63
int miInputLines
Input Lines.
Definition: Reduce.h:69
int miInputBands
Input Bands.
Definition: Reduce.h:70
void operator()(Isis::Buffer &out) const
Operator () overload.
Definition: Reduce.cpp:139
~Reduce()
Destructor.
Definition: Reduce.cpp:60
int miStartSample
Input start sample.
Definition: Reduce.h:61
void operator()(Isis::Buffer &out) const
Operator () overload.
Definition: Reduce.cpp:166
int miEndSample
Input end sample.
Definition: Reduce.h:62
int miEndLine
Input end line.
Definition: Reduce.h:64
Isis::Portal * m_iPortal
Input portal.
Definition: Reduce.h:72
Nearest(Isis::Cube *pInCube, double pdSampleScale, double pdLineScale)
Constructor.
Definition: Reduce.h:86
Contains multiple PvlContainers.
Definition: PvlGroup.h:57
Isis::Cube * mInCube
Input image.
Definition: Reduce.h:58
void setInputBoundary(int startSample, int endSample, int startLine, int endLine)
Parameters to input image sub area.
Definition: Reduce.cpp:81
Functor for reduce using near functionality.
Definition: Reduce.h:83
double mdLineScale
Line scale.
Definition: Reduce.h:60
int miInputSamples
Input Samples.
Definition: Reduce.h:68
Isis::PvlGroup UpdateOutputLabel(Isis::Cube *pOutCube)
Create label for the reduced output image.
Definition: Reduce.cpp:106
int miOutputLines
Output Lines.
Definition: Reduce.h:67
int miBandIndex
Band Index.
Definition: Reduce.h:71
int miOutputSamples
Output Samples.
Definition: Reduce.h:66
double mdSampleScale
Sample scale.
Definition: Reduce.h:59
Namespace for ISIS/Bullet specific routines.
Definition: Apollo.h:31
Reduce the pixel dimensions of an image.
Definition: Reduce.h:42
Reduce(Isis::Cube *pInCube, const double sampleScale, const double lineScale)
Constructor.
Definition: Reduce.cpp:26
Functor for reduce using average functionality.
Definition: Reduce.h:102
IO Handler for Isis Cubes.
Definition: Cube.h:170