Isis Developer Reference
|
Functor for reduce using near functionality. More...
#include <Reduce.h>
Public Member Functions | |
Nearest (Isis::Cube *pInCube, double pdSampleScale, double pdLineScale) | |
Constructor. | |
void | operator() (Isis::Buffer &out) const |
Operator () overload. | |
Isis::PvlGroup | UpdateOutputLabel (Isis::Cube *pOutCube) |
Create label for the reduced output image. | |
void | setInputBoundary (int startSample, int endSample, int startLine, int endLine) |
Parameters to input image sub area. | |
Protected Attributes | |
Isis::Cube * | mInCube |
Input image. | |
double | mdSampleScale |
Sample scale. | |
double | mdLineScale |
Line scale. | |
int | miStartSample |
Input start sample. | |
int | miEndSample |
Input end sample. | |
int | miStartLine |
Input start line. | |
int | miEndLine |
Input end line. | |
double | mdLine |
Line index. | |
int | miOutputSamples |
Output Samples. | |
int | miOutputLines |
Output Lines. | |
int | miInputSamples |
Input Samples. | |
int | miInputLines |
Input Lines. | |
int | miInputBands |
Input Bands. | |
int | miBandIndex |
Band Index. | |
Isis::Portal * | m_iPortal |
Input portal. | |
Functor for reduce using near functionality.
|
inline |
Constructor.
void Isis::Nearest::operator() | ( | Isis::Buffer & | out | ) | const |
Operator () overload.
Near Operator () overload, parameter for StartProcessInPlace refer ProcessByLine, ProcessByBrick.
out | - output buffer |
References Isis::Reduce::m_iPortal, Isis::Reduce::mdLine, Isis::Reduce::mdLineScale, Isis::Reduce::mdSampleScale, Isis::Reduce::miBandIndex, Isis::Reduce::mInCube, Isis::Reduce::miOutputLines, Isis::Reduce::miOutputSamples, Isis::Reduce::miStartSample, Isis::Cube::read(), and Isis::Portal::SetPosition().
|
inherited |
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 |
References Isis::Reduce::mdLine, Isis::Reduce::mdLineScale, Isis::Reduce::mdSampleScale, Isis::Reduce::miEndLine, Isis::Reduce::miEndSample, Isis::Reduce::miInputLines, Isis::Reduce::miInputSamples, Isis::Reduce::miOutputLines, Isis::Reduce::miOutputSamples, Isis::Reduce::miStartLine, and Isis::Reduce::miStartSample.
|
inherited |
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 |
References Isis::Cube::lineCount(), Isis::Reduce::mdLineScale, Isis::Reduce::mdSampleScale, Isis::Reduce::miEndLine, Isis::Reduce::miEndSample, Isis::Reduce::miInputLines, Isis::Reduce::miInputSamples, Isis::Reduce::mInCube, Isis::Reduce::miOutputLines, Isis::Reduce::miOutputSamples, Isis::Reduce::miStartLine, Isis::Reduce::miStartSample, Isis::Cube::sampleCount(), Isis::SubArea::SetSubArea(), and Isis::toString().
|
protectedinherited |
Input portal.
Referenced by operator()(), Isis::Average::operator()(), Isis::Reduce::Reduce(), and Isis::Reduce::~Reduce().
|
mutableprotectedinherited |
Line index.
Referenced by operator()(), Isis::Average::operator()(), Isis::Reduce::Reduce(), and Isis::Reduce::setInputBoundary().
|
protectedinherited |
Line scale.
Referenced by operator()(), Isis::Average::operator()(), Isis::Reduce::Reduce(), Isis::Reduce::setInputBoundary(), and Isis::Reduce::UpdateOutputLabel().
|
protectedinherited |
Sample scale.
Referenced by operator()(), Isis::Average::operator()(), Isis::Reduce::Reduce(), Isis::Reduce::setInputBoundary(), and Isis::Reduce::UpdateOutputLabel().
|
mutableprotectedinherited |
Band Index.
Referenced by operator()(), Isis::Average::operator()(), and Isis::Reduce::Reduce().
|
protectedinherited |
Input end line.
Referenced by Isis::Reduce::Reduce(), Isis::Reduce::setInputBoundary(), and Isis::Reduce::UpdateOutputLabel().
|
protectedinherited |
Input end sample.
Referenced by Isis::Reduce::Reduce(), Isis::Reduce::setInputBoundary(), and Isis::Reduce::UpdateOutputLabel().
|
protectedinherited |
Input Bands.
Referenced by Isis::Average::operator()(), and Isis::Reduce::Reduce().
|
protectedinherited |
Input Lines.
Referenced by Isis::Average::operator()(), Isis::Reduce::Reduce(), Isis::Reduce::setInputBoundary(), and Isis::Reduce::UpdateOutputLabel().
|
protectedinherited |
Input Samples.
Referenced by Isis::Average::operator()(), Isis::Reduce::Reduce(), Isis::Reduce::setInputBoundary(), and Isis::Reduce::UpdateOutputLabel().
|
protectedinherited |
Input image.
Referenced by operator()(), Isis::Average::operator()(), Isis::Reduce::Reduce(), and Isis::Reduce::UpdateOutputLabel().
|
protectedinherited |
Output Lines.
Referenced by operator()(), Isis::Average::operator()(), Isis::Reduce::Reduce(), Isis::Reduce::setInputBoundary(), and Isis::Reduce::UpdateOutputLabel().
|
protectedinherited |
Output Samples.
Referenced by operator()(), Isis::Average::operator()(), Isis::Reduce::Reduce(), Isis::Reduce::setInputBoundary(), and Isis::Reduce::UpdateOutputLabel().
|
protectedinherited |
Input start line.
Referenced by Isis::Reduce::Reduce(), Isis::Reduce::setInputBoundary(), and Isis::Reduce::UpdateOutputLabel().
|
protectedinherited |
Input start sample.
Referenced by operator()(), Isis::Average::operator()(), Isis::Reduce::Reduce(), Isis::Reduce::setInputBoundary(), and Isis::Reduce::UpdateOutputLabel().