#include <ImageDecimator.h>
Public Member Functions | |
ImageDecimator (const SPCIIT image, const Record *const region, const String &maskInp, const String &outname, Bool overwrite) | |
Top level interface for removing image planes. | |
~ImageDecimator () | |
destructor | |
SPIIT | decimate () const |
String | getClass () const |
void | setFactor (uInt n) |
every nth plane will be kept | |
void | setAxis (uInt n) |
Set the pixel axis number along which the decimation will occur. | |
void | setFunction (ImageDecimatorData::Function f) |
set the decimation function | |
Protected Member Functions | |
CasacRegionManager::StokesControl | _getStokesControl () const |
std::vector< Coordinate::Type > | _getNecessaryCoordinates () const |
Represents the minimum set of coordinates necessary for the task to function. | |
Bool | _supportsMultipleBeams () const |
does this task support images with multiple beams? False means it never does. | |
Bool | _supportsMultipleRegions () const |
Private Member Functions | |
ImageDecimator () | |
disallow default constructor | |
Private Attributes | |
uInt | _axis |
uInt | _factor |
ImageDecimatorData::Function | _function |
Definition at line 12 of file ImageDecimator.h.
casa::ImageDecimator< T >::ImageDecimator | ( | const SPCIIT | image, | |
const Record *const | region, | |||
const String & | maskInp, | |||
const String & | outname, | |||
Bool | overwrite | |||
) |
casa::ImageDecimator< T >::~ImageDecimator | ( | ) | [inline] |
destructor
Definition at line 41 of file ImageDecimator.h.
casa::ImageDecimator< T >::ImageDecimator | ( | ) | [private] |
disallow default constructor
std::vector<Coordinate::Type> casa::ImageDecimator< T >::_getNecessaryCoordinates | ( | ) | const [inline, protected, virtual] |
Represents the minimum set of coordinates necessary for the task to function.
Implements casa::ImageTask< T >.
Definition at line 61 of file ImageDecimator.h.
CasacRegionManager::StokesControl casa::ImageDecimator< T >::_getStokesControl | ( | ) | const [inline, protected, virtual] |
Implements casa::ImageTask< T >.
Definition at line 57 of file ImageDecimator.h.
References casa::CasacRegionManager::USE_ALL_STOKES.
Bool casa::ImageDecimator< T >::_supportsMultipleBeams | ( | ) | const [inline, protected, virtual] |
does this task support images with multiple beams? False means it never does.
True means it does, but not necessarily in all cases (in which case, the derived class is responsible for checking for and throwing exceptions in those cases).
Reimplemented from casa::ImageTask< T >.
Definition at line 65 of file ImageDecimator.h.
References casacore::False.
Bool casa::ImageDecimator< T >::_supportsMultipleRegions | ( | ) | const [inline, protected, virtual] |
Reimplemented from casa::ImageTask< T >.
Definition at line 67 of file ImageDecimator.h.
References casacore::True.
SPIIT casa::ImageDecimator< T >::decimate | ( | ) | const |
String casa::ImageDecimator< T >::getClass | ( | ) | const [inline, virtual] |
void casa::ImageDecimator< T >::setAxis | ( | uInt | n | ) |
Set the pixel axis number along which the decimation will occur.
void casa::ImageDecimator< T >::setFactor | ( | uInt | n | ) |
every nth plane will be kept
void casa::ImageDecimator< T >::setFunction | ( | ImageDecimatorData::Function | f | ) |
set the decimation function
uInt casa::ImageDecimator< T >::_axis [private] |
Definition at line 70 of file ImageDecimator.h.
uInt casa::ImageDecimator< T >::_factor [private] |
Definition at line 70 of file ImageDecimator.h.
ImageDecimatorData::Function casa::ImageDecimator< T >::_function [private] |
Definition at line 71 of file ImageDecimator.h.