![]()  | 
  
    Isis 3 Programmer 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.  More... | |
| void | SetInputArea (double pdStartSample, double pdEndSample, double pdStartLine, double pdEndLine) | 
| Sets the sub area dimensions of the input image.  More... | |
| ~Enlarge () | |
| Destructoys the Enlarge object.  More... | |
| 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.  More... | |
| PvlGroup | UpdateOutputLabel (Cube *pOutCube) | 
| Update the Mapping, Instrument, and AlphaCube groups in the output cube label.  More... | |
| int | OutputSamples () const | 
| Return the output number of samples.  More... | |
| int | OutputLines () const | 
| Return the output number of lines.  More... | |
Private Attributes | |
| Cube * | mInCube | 
| Input image.  More... | |
| int | miOutputSamples | 
| Number of samples for output.  More... | |
| int | miOutputLines | 
| Number of lines for output.  More... | |
| double | mdSampleScale | 
| Sample scale.  More... | |
| double | mdLineScale | 
| Line scale.  More... | |
| double | mdStartSample | 
| Input start sample.  More... | |
| double | mdEndSample | 
| Input end sample.  More... | |
| double | mdStartLine | 
| Input start line.  More... | |
| double | mdEndLine | 
| Input end line.  More... | |
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
2011-04-14 Sharmila Prasad - Ported the class from "enlarge" app to base object class with added functionality to enlarge only the sub area within the input image into the output image
2011-08-19 Jeannie Backer - Modified unitTest to use $temporary variable instead of /tmp directory. Added some documentation to methods.
| 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 | 
Definition at line 40 of file Enlarge.cpp.
References Isis::Cube::sampleCount().
      
  | 
  inline | 
      
  | 
  inlinevirtual | 
Return the output number of lines.
Implements Isis::Transform.
Definition at line 80 of file Enlarge.h.
References miOutputLines.
      
  | 
  inlinevirtual | 
Return the output number of samples.
Implements Isis::Transform.
Definition at line 72 of file Enlarge.h.
References miOutputSamples.
| 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 | 
Definition at line 89 of file Enlarge.cpp.
References _FILEINFO_.
Referenced by Isis::FileTool::saveAsEnlargedCube().
Update the Mapping, Instrument, and AlphaCube groups in the output cube label.
| pOutCube | - Resulting enlarged output cube | 
Definition at line 127 of file Enlarge.cpp.
References Isis::SubArea::SetSubArea(), Isis::toString(), and Isis::SubArea::UpdateLabel().
Referenced by Isis::FileTool::saveAsEnlargedCube().
      
  | 
  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 | 
Implements Isis::Transform.
Definition at line 70 of file Enlarge.cpp.
      
  | 
  private | 
      
  | 
  private | 
      
  | 
  private | 
      
  | 
  private | 
      
  | 
  private | 
Number of samples for output.
Definition at line 86 of file Enlarge.h.
Referenced by OutputSamples().