Reduce the pixel dimensions of an image.
More...
#include <Reduce.h>
Inherited by Isis::Average, and Isis::Nearest.
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
- Author
- 1995-11-06 Jeff Anderson
Isis::Reduce::Reduce |
( |
Isis::Cube * |
pInCube, |
|
|
const double |
sampleScale, |
|
|
const double |
lineScale |
|
) |
| |
Constructor.
Reduce Constructor.
- Author
- Sharmila Prasad (4/26/2011)
- Parameters
-
pInCube | - Input cube |
psBands | - Bands list |
sampleScale | - Sample scale |
lineScale | - Line scale |
References Isis::Cube::sampleCount().
Isis::Reduce::~Reduce |
( |
| ) |
|
Destructor.
- Author
- Sharmila Prasad (5/11/2011)
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.
- Author
- Sharmila Prasad (5/11/2011)
- Parameters
-
startSample | - input image start sample |
endSample | - input image end sample |
startLine | - input image start line |
endLine | - input image end line |
Create label for the reduced output image.
Update the Mapping, Instrument, and AlphaCube groups in the output cube label.
- Parameters
-
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 |
References Isis::SubArea::SetSubArea(), Isis::toString(), and Isis::SubArea::UpdateLabel().
double Isis::Reduce::mdLine |
|
mutableprotected |
double Isis::Reduce::mdLineScale |
|
protected |
double Isis::Reduce::mdSampleScale |
|
protected |
int Isis::Reduce::miBandIndex |
|
mutableprotected |
int Isis::Reduce::miEndLine |
|
protected |
int Isis::Reduce::miEndSample |
|
protected |
int Isis::Reduce::miInputBands |
|
protected |
int Isis::Reduce::miInputLines |
|
protected |
int Isis::Reduce::miInputSamples |
|
protected |
int Isis::Reduce::miOutputLines |
|
protected |
int Isis::Reduce::miOutputSamples |
|
protected |
int Isis::Reduce::miStartLine |
|
protected |
int Isis::Reduce::miStartSample |
|
protected |
The documentation for this class was generated from the following files: