Isis Developer Reference
Isis::Reduce Class Reference

Reduce the pixel dimensions of an image. More...

#include <Reduce.h>

Inheritance diagram for Isis::Reduce:
Inheritance graph
Collaboration diagram for Isis::Reduce:
Collaboration graph

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::CubemInCube
 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::Portalm_iPortal
 Input portal. More...
 

Detailed Description

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

Constructor & Destructor Documentation

◆ Reduce()

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().

◆ ~Reduce()

Isis::Reduce::~Reduce ( )

Destructor.

Author
Sharmila Prasad (5/11/2011)

Member Function Documentation

◆ setInputBoundary()

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

◆ UpdateOutputLabel()

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.

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().

Member Data Documentation

◆ m_iPortal

Isis::Portal* Isis::Reduce::m_iPortal
protected

Input portal.

◆ mdLine

double Isis::Reduce::mdLine
mutableprotected

Line index.

◆ mdLineScale

double Isis::Reduce::mdLineScale
protected

Line scale.

◆ mdSampleScale

double Isis::Reduce::mdSampleScale
protected

Sample scale.

◆ miBandIndex

int Isis::Reduce::miBandIndex
mutableprotected

Band Index.

◆ miEndLine

int Isis::Reduce::miEndLine
protected

Input end line.

◆ miEndSample

int Isis::Reduce::miEndSample
protected

Input end sample.

◆ miInputBands

int Isis::Reduce::miInputBands
protected

Input Bands.

◆ miInputLines

int Isis::Reduce::miInputLines
protected

Input Lines.

◆ miInputSamples

int Isis::Reduce::miInputSamples
protected

Input Samples.

◆ mInCube

Isis::Cube* Isis::Reduce::mInCube
protected

Input image.

◆ miOutputLines

int Isis::Reduce::miOutputLines
protected

Output Lines.

◆ miOutputSamples

int Isis::Reduce::miOutputSamples
protected

Output Samples.

◆ miStartLine

int Isis::Reduce::miStartLine
protected

Input start line.

◆ miStartSample

int Isis::Reduce::miStartSample
protected

Input start sample.


The documentation for this class was generated from the following files: