![]()  | 
  
    Isis Developer Reference
    
   | 
 
Enlarge the pixel dimensions of an image. More...
#include <Enlarge.h>


Public Member Functions | |
| Enlarge (Cube *pInCube, const double sampleScale, const double lineScale) | |
| Constructs an Enlarge object.   | |
| void | SetInputArea (double pdStartSample, double pdEndSample, double pdStartLine, double pdEndLine) | 
| Sets the sub area dimensions of the input image.   | |
| ~Enlarge () | |
| Destructoys the Enlarge object.   | |
| bool | Xform (double &inSample, double &inLine, const double outSample, const double outLine) | 
| Implementations for parent's pure virtual members Convert the requested output samp/line to an input samp/line.   | |
| PvlGroup | UpdateOutputLabel (Cube *pOutCube) | 
| Update the Mapping, Instrument, and AlphaCube groups in the output cube label.   | |
| int | OutputSamples () const | 
| Return the output number of samples.   | |
| int | OutputLines () const | 
| Return the output number of lines.   | |
Enlarge the pixel dimensions of an image.
Enlarge the pixel dimensions of an image. Has the functionality to enlarge only a sub area in input image to output
| Isis::Enlarge::Enlarge | ( | Cube * | pInCube, | 
| const double | sampleScale, | ||
| const double | lineScale ) | 
Constructs an Enlarge object.
| pInCube | - Input cube to be enlarged | 
| sampleScale | - Sample scale | 
| lineScale | - Line scale | 
References Isis::Cube::lineCount(), and Isis::Cube::sampleCount().
      
  | 
  inline | 
Destructoys the Enlarge object.
      
  | 
  inlinevirtual | 
Return the output number of lines.
Reimplemented from Isis::Transform.
      
  | 
  inlinevirtual | 
Return the output number of samples.
Reimplemented from Isis::Transform.
| void Isis::Enlarge::SetInputArea | ( | double | pdStartSample, | 
| double | pdEndSample, | ||
| double | pdStartLine, | ||
| double | pdEndLine ) | 
Sets the sub area dimensions of the input image.
Default is the entire image
| pdStartSample | - Input start sample | 
| pdEndSample | - Input end sample | 
| pdStartLine | - Input start line | 
| pdEndLine | - Input end line | 
References _FILEINFO_, and Isis::IException::Programmer.
Update the Mapping, Instrument, and AlphaCube groups in the output cube label.
| pOutCube | - Resulting enlarged output cube | 
References Isis::Cube::lineCount(), Isis::Cube::sampleCount(), Isis::SubArea::SetSubArea(), and Isis::toString().
      
  | 
  virtual | 
Implementations for parent's pure virtual members Convert the requested output samp/line to an input samp/line.
| inSample | - Calculated input sample corresponding to output sample | 
| inLine | - Calculated input line corresponding to output line | 
| outSample | - Output sample | 
| outLine | - Output line | 
Reimplemented from Isis::Transform.