An official website of the United States government
Here’s how you know
Official websites use .gov
A
.gov website belongs to an official government
organization in the United States.
Secure .gov websites use HTTPS
A
lock
( ) or https:// means you’ve safely connected to
the .gov website. Share sensitive information only on official,
secure websites.
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.
References Isis::Reduce::Reduce().
void Isis::Nearest::operator() | ( | Isis::Buffer & | out | ) | const |
Operator () overload.
Near Operator () overload, parameter for StartProcessInPlace refer ProcessByLine, ProcessByBrick.
out | - output buffer |
References Isis::Buffer::Line(), 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, and Isis::Reduce::miStartSample.
|
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 mdLine, mdLineScale, mdSampleScale, miEndLine, miEndSample, miInputLines, miInputSamples, miOutputLines, miOutputSamples, miStartLine, and 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 mdLineScale, mdSampleScale, miEndLine, miEndSample, miInputLines, miInputSamples, mInCube, miOutputLines, miOutputSamples, miStartLine, miStartSample, Isis::SubArea::SetSubArea(), Isis::toString(), and Isis::SubArea::UpdateLabel().
|
protectedinherited |
Input portal.
Referenced by Isis::Average::operator()(), Isis::Nearest::operator()(), Reduce(), and ~Reduce().
|
mutableprotectedinherited |
Line index.
Referenced by Isis::Average::operator()(), Isis::Nearest::operator()(), Reduce(), and setInputBoundary().
|
protectedinherited |
Line scale.
Referenced by Isis::Average::operator()(), Isis::Nearest::operator()(), Reduce(), setInputBoundary(), and UpdateOutputLabel().
|
protectedinherited |
Sample scale.
Referenced by Isis::Average::operator()(), Isis::Nearest::operator()(), Reduce(), setInputBoundary(), and UpdateOutputLabel().
|
mutableprotectedinherited |
Band Index.
Referenced by Isis::Average::operator()(), Isis::Nearest::operator()(), and Reduce().
|
protectedinherited |
Input end line.
Referenced by Reduce(), setInputBoundary(), and UpdateOutputLabel().
|
protectedinherited |
Input end sample.
Referenced by Reduce(), setInputBoundary(), and UpdateOutputLabel().
|
protectedinherited |
Input Bands.
Referenced by Isis::Average::operator()(), and Reduce().
|
protectedinherited |
Input Lines.
Referenced by Isis::Average::operator()(), Reduce(), setInputBoundary(), and UpdateOutputLabel().
|
protectedinherited |
Input Samples.
Referenced by Isis::Average::operator()(), Reduce(), setInputBoundary(), and UpdateOutputLabel().
|
protectedinherited |
Input image.
Referenced by Isis::Average::operator()(), Isis::Nearest::operator()(), Reduce(), and UpdateOutputLabel().
|
protectedinherited |
Output Lines.
Referenced by Isis::Average::operator()(), Isis::Nearest::operator()(), Reduce(), setInputBoundary(), and UpdateOutputLabel().
|
protectedinherited |
Output Samples.
Referenced by Isis::Average::operator()(), Isis::Nearest::operator()(), Reduce(), setInputBoundary(), and UpdateOutputLabel().
|
protectedinherited |
Input start line.
Referenced by Reduce(), setInputBoundary(), and UpdateOutputLabel().
|
protectedinherited |
Input start sample.
Referenced by Isis::Average::operator()(), Isis::Nearest::operator()(), Reduce(), setInputBoundary(), and UpdateOutputLabel().