Isis 3 Programmer Reference
|
Reduce the pixel dimensions of an image. More...
#include <Reduce.h>
Public Member Functions | |
Reduce (Isis::Cube *pInCube, const double sampleScale, const double lineScale) | |
Constructor. More... | |
~Reduce () | |
Destructor. More... | |
Isis::PvlGroup | UpdateOutputLabel (Isis::Cube *pOutCube) |
Create label for the reduced output image. More... | |
void | setInputBoundary (int startSample, int endSample, int startLine, int endLine) |
Parameters to input image sub area. More... | |
Protected Attributes | |
Isis::Cube * | mInCube |
Input image. More... | |
double | mdSampleScale |
Sample scale. More... | |
double | mdLineScale |
Line scale. More... | |
int | miStartSample |
Input start sample. More... | |
int | miEndSample |
Input end sample. More... | |
int | miStartLine |
Input start line. More... | |
int | miEndLine |
Input end line. More... | |
double | mdLine |
Line index. More... | |
int | miOutputSamples |
Output Samples. More... | |
int | miOutputLines |
Output Lines. More... | |
int | miInputSamples |
Input Samples. More... | |
int | miInputLines |
Input Lines. More... | |
int | miInputBands |
Input Bands. More... | |
int | miBandIndex |
Band Index. More... | |
Isis::Portal * | m_iPortal |
Input portal. More... | |
Reduce the pixel dimensions of an image.
Reduce the pixel dimensions of an image. Has the functionality to reduce only a sub area in input image to output
Isis::Reduce::Reduce | ( | Isis::Cube * | pInCube, |
const double | sampleScale, | ||
const double | lineScale | ||
) |
Constructor.
Reduce Constructor.
pInCube | - Input cube |
psBands | - Bands list |
sampleScale | - Sample scale |
lineScale | - Line scale |
Definition at line 32 of file Reduce.cpp.
References Isis::Cube::sampleCount().
Isis::Reduce::~Reduce | ( | ) |
Destructor.
Definition at line 66 of file Reduce.cpp.
void Isis::Reduce::setInputBoundary | ( | int | startSample, |
int | endSample, | ||
int | startLine, | ||
int | endLine | ||
) |
Parameters to input image sub area.
Parameters to input image sub area to be reduced.
startSample | - input image start sample |
endSample | - input image end sample |
startLine | - input image start line |
endLine | - input image end line |
Definition at line 87 of file Reduce.cpp.
Referenced by Isis::FileTool::saveAsReducedCube().
Isis::PvlGroup Isis::Reduce::UpdateOutputLabel | ( | Isis::Cube * | pOutCube | ) |
Create label for the reduced output image.
Update the Mapping, Instrument, and AlphaCube groups in the output cube label.
pOutCube | - Resulting reduced output cube |
pResultsGrp | - This is the Results group that will go into the application log file. This group must be created by the calling application. Information will be added to it if the Mapping or Instrument groups are deleted from the output image label |
Definition at line 112 of file Reduce.cpp.
References Isis::SubArea::SetSubArea(), Isis::toString(), and Isis::SubArea::UpdateLabel().
Referenced by Isis::FileTool::saveAsReducedCube().
|
protected |
|
protected |
|
protected |