#include <ImagePadder.h>
Public Member Functions | |
| ImagePadder (const SPCIIF image, const Record *const regionRec=0, const String &box="", const String &chanInp="", const String &stokes="", const String &maskInp="", const String &outname="", const Bool overwrite="") | |
| Top level interface for padding an image in direction space. | |
| ~ImagePadder () | |
| destructor | |
| SPIIF | pad (const Bool wantReturn) const |
| perform the padding. | |
| void | setPaddingPixels (const uInt nPixels, const Double value=0, const Bool good=False) |
| set the number of pixels to use for padding and their values and if they should be masked on each edge of the direction plane. | |
| String | getClass () const |
Protected Member Functions | |
| CasacRegionManager::StokesControl | _getStokesControl () const |
| vector< Coordinate::Type > | _getNecessaryCoordinates () const |
| Represents the minimum set of coordinates necessary for the task to function. | |
Private Member Functions | |
| ImagePadder () | |
| disallow default constructor | |
Private Attributes | |
| uInt | _nPixels |
| Double | _value |
| Bool | _good |
Static Private Attributes | |
| static const String | _class |
Definition at line 39 of file ImagePadder.h.
| casa::ImagePadder::ImagePadder | ( | const SPCIIF | image, | |
| const Record *const | regionRec = 0, |
|||
| const String & | box = "", |
|||
| const String & | chanInp = "", |
|||
| const String & | stokes = "", |
|||
| const String & | maskInp = "", |
|||
| const String & | outname = "", |
|||
| const Bool | overwrite = "" | |||
| ) |
Top level interface for padding an image in direction space.
Collapses image.
High level interface for padding an image.
ImagePadder padder(); padder.pad();
| casa::ImagePadder::~ImagePadder | ( | ) |
destructor
| casa::ImagePadder::ImagePadder | ( | ) | [private] |
disallow default constructor
| vector<Coordinate::Type> casa::ImagePadder::_getNecessaryCoordinates | ( | ) | const [inline, protected, virtual] |
Represents the minimum set of coordinates necessary for the task to function.
Implements casa::ImageTask< Float >.
Definition at line 99 of file ImagePadder.h.
| CasacRegionManager::StokesControl casa::ImagePadder::_getStokesControl | ( | ) | const [inline, protected, virtual] |
Implements casa::ImageTask< Float >.
Definition at line 95 of file ImagePadder.h.
References casa::CasacRegionManager::USE_ALL_STOKES.
| String casa::ImagePadder::getClass | ( | ) | const [virtual] |
Implements casa::ImageTask< Float >.
| SPIIF casa::ImagePadder::pad | ( | const Bool | wantReturn | ) | const |
perform the padding.
If wantReturn is True, return a pointer to the padded image. The returned pointer is created via new(); it is the caller's responsibility to delete the returned pointer. If wantReturn is False, a NULL pointer is returned and pointer deletion is performed internally.
| void casa::ImagePadder::setPaddingPixels | ( | const uInt | nPixels, | |
| const Double | value = 0, |
|||
| const Bool | good = False | |||
| ) |
set the number of pixels to use for padding and their values and if they should be masked on each edge of the direction plane.
good=True means the padding pixels will not be masked (set to good, mask values = True).
const String casa::ImagePadder::_class [static, private] |
Definition at line 109 of file ImagePadder.h.
Bool casa::ImagePadder::_good [private] |
Definition at line 108 of file ImagePadder.h.
uInt casa::ImagePadder::_nPixels [private] |
Definition at line 106 of file ImagePadder.h.
Double casa::ImagePadder::_value [private] |
Definition at line 107 of file ImagePadder.h.
1.6.1