Isis 3 Programmer 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. | |
|
inline |
void Isis::Nearest::operator() | ( | Isis::Buffer & | out | ) | const |
Operator () overload.
Near Operator () overload, parameter for StartProcessInPlace refer ProcessByLine, ProcessByBrick.
out | - output buffer |
Definition at line 145 of file Reduce.cpp.
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 |
Definition at line 87 of file Reduce.cpp.
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 |
Definition at line 112 of file Reduce.cpp.
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.
Definition at line 77 of file Reduce.h.
Referenced by operator()(), Isis::Average::operator()(), Isis::Reduce::Reduce(), and Isis::Reduce::~Reduce().
|
mutableprotectedinherited |
Line index.
Definition at line 70 of file Reduce.h.
Referenced by operator()(), Isis::Average::operator()(), Isis::Reduce::Reduce(), and Isis::Reduce::setInputBoundary().
|
protectedinherited |
Line scale.
Definition at line 65 of file Reduce.h.
Referenced by operator()(), Isis::Average::operator()(), Isis::Reduce::Reduce(), Isis::Reduce::setInputBoundary(), and Isis::Reduce::UpdateOutputLabel().
|
protectedinherited |
Sample scale.
Definition at line 64 of file Reduce.h.
Referenced by operator()(), Isis::Average::operator()(), Isis::Reduce::Reduce(), Isis::Reduce::setInputBoundary(), and Isis::Reduce::UpdateOutputLabel().
|
mutableprotectedinherited |
Band Index.
Definition at line 76 of file Reduce.h.
Referenced by operator()(), Isis::Average::operator()(), and Isis::Reduce::Reduce().
|
protectedinherited |
Input end line.
Definition at line 69 of file Reduce.h.
Referenced by Isis::Reduce::Reduce(), Isis::Reduce::setInputBoundary(), and Isis::Reduce::UpdateOutputLabel().
|
protectedinherited |
Input end sample.
Definition at line 67 of file Reduce.h.
Referenced by Isis::Reduce::Reduce(), Isis::Reduce::setInputBoundary(), and Isis::Reduce::UpdateOutputLabel().
|
protectedinherited |
Input Bands.
Definition at line 75 of file Reduce.h.
Referenced by Isis::Average::operator()(), and Isis::Reduce::Reduce().
|
protectedinherited |
Input Lines.
Definition at line 74 of file Reduce.h.
Referenced by Isis::Average::operator()(), Isis::Reduce::Reduce(), Isis::Reduce::setInputBoundary(), and Isis::Reduce::UpdateOutputLabel().
|
protectedinherited |
Input Samples.
Definition at line 73 of file Reduce.h.
Referenced by Isis::Average::operator()(), Isis::Reduce::Reduce(), Isis::Reduce::setInputBoundary(), and Isis::Reduce::UpdateOutputLabel().
|
protectedinherited |
Input image.
Definition at line 63 of file Reduce.h.
Referenced by operator()(), Isis::Average::operator()(), Isis::Reduce::Reduce(), and Isis::Reduce::UpdateOutputLabel().
|
protectedinherited |
Output Lines.
Definition at line 72 of file Reduce.h.
Referenced by operator()(), Isis::Average::operator()(), Isis::Reduce::Reduce(), Isis::Reduce::setInputBoundary(), and Isis::Reduce::UpdateOutputLabel().
|
protectedinherited |
Output Samples.
Definition at line 71 of file Reduce.h.
Referenced by operator()(), Isis::Average::operator()(), Isis::Reduce::Reduce(), Isis::Reduce::setInputBoundary(), and Isis::Reduce::UpdateOutputLabel().
|
protectedinherited |
Input start line.
Definition at line 68 of file Reduce.h.
Referenced by Isis::Reduce::Reduce(), Isis::Reduce::setInputBoundary(), and Isis::Reduce::UpdateOutputLabel().
|
protectedinherited |
Input start sample.
Definition at line 66 of file Reduce.h.
Referenced by operator()(), Isis::Average::operator()(), Isis::Reduce::Reduce(), Isis::Reduce::setInputBoundary(), and Isis::Reduce::UpdateOutputLabel().