casa
$Rev:20696$
|
#include <ImageStatsCalculator.h>
Public Member Functions | |
ImageStatsCalculator (const ImageInterface< Float > *const &image, const Record *const ®ionPtr, const String &maskInp, Bool beVerboseDuringConstruction) | |
Top level class used for statistics calculations. | |
~ImageStatsCalculator () | |
Record | calculate () |
String | getClass () const |
void | setPlotStats (const Vector< String > &ps) |
void | setIncludePix (const Vector< Float > &inc) |
void | setExcludePix (const Vector< Float > &exc) |
void | setPlotter (const String &p) |
void | setNXNY (const Int x, const Int y) |
void | setList (const Bool l) |
void | setForce (const Bool f) |
void | setDisk (const Bool d) |
void | setRobust (const Bool r) |
void | setVerbose (const Bool v) |
void | setAxes (const Vector< Int > &axes) |
Record | statistics (vector< String > *const &messageStore=0) |
moved from ImageAnalysis if messageStore != 0, log messages, stripped of time stampe and priority, will also be placed in this parameter and retur ned to caller for eg logging to file. | |
Protected Member Functions | |
CasacRegionManager::StokesControl | _getStokesControl () const |
vector < ImageInputProcessor::OutputStruct > | _getOutputStruct () |
vector< Coordinate::Type > | _getNecessaryCoordinates () const |
Represents the minimum set of coordinates necessary for the task to function. | |
Bool | _supportsMultipleRegions () |
Static Private Member Functions | |
static Bool | _haveRegionsChanged (ImageRegion *pNewRegionRegion, ImageRegion *pNewMaskRegion, ImageRegion *pOldRegionRegion, ImageRegion *pOldMaskRegion) |
moved from ImageAnalysis See if the combination of the 'region' and 'mask' ImageRegions have changed | |
Private Attributes | |
std::auto_ptr< ImageStatistics < Float > > | _statistics |
std::auto_ptr< ImageRegion > | _oldStatsRegion |
std::auto_ptr< ImageRegion > | _oldStatsMask |
Bool | _oldStatsStorageForce |
Vector< Int > | _axes |
Vector< String > | _plotStats |
Vector< Float > | _includepix |
Vector< Float > | _excludepix |
String | _plotter |
Int | _nx |
Int | _ny |
Bool | _list |
Bool | _force |
Bool | _disk |
Bool | _robust |
Bool | _verbose |
Static Private Attributes | |
static const String | _class |
Definition at line 41 of file ImageStatsCalculator.h.
casa::ImageStatsCalculator::ImageStatsCalculator | ( | const ImageInterface< Float > *const & | image, |
const Record *const & | regionPtr, | ||
const String & | maskInp, | ||
Bool | beVerboseDuringConstruction | ||
) |
vector<Coordinate::Type> casa::ImageStatsCalculator::_getNecessaryCoordinates | ( | ) | const [inline, protected, virtual] |
Represents the minimum set of coordinates necessary for the task to function.
Implements casa::ImageTask.
Definition at line 116 of file ImageStatsCalculator.h.
vector<ImageInputProcessor::OutputStruct> casa::ImageStatsCalculator::_getOutputStruct | ( | ) | [inline, protected, virtual] |
Reimplemented from casa::ImageTask.
Definition at line 112 of file ImageStatsCalculator.h.
CasacRegionManager::StokesControl casa::ImageStatsCalculator::_getStokesControl | ( | ) | const [inline, protected, virtual] |
Implements casa::ImageTask.
Definition at line 108 of file ImageStatsCalculator.h.
References casa::CasacRegionManager::USE_ALL_STOKES.
static Bool casa::ImageStatsCalculator::_haveRegionsChanged | ( | ImageRegion * | pNewRegionRegion, |
ImageRegion * | pNewMaskRegion, | ||
ImageRegion * | pOldRegionRegion, | ||
ImageRegion * | pOldMaskRegion | ||
) | [static, private] |
moved from ImageAnalysis See if the combination of the 'region' and 'mask' ImageRegions have changed
Bool casa::ImageStatsCalculator::_supportsMultipleRegions | ( | ) | [inline, protected, virtual] |
Reimplemented from casa::ImageTask.
Definition at line 120 of file ImageStatsCalculator.h.
References casa::True.
String casa::ImageStatsCalculator::getClass | ( | ) | const [inline, virtual] |
Implements casa::ImageTask.
Definition at line 72 of file ImageStatsCalculator.h.
References _class.
void casa::ImageStatsCalculator::setAxes | ( | const Vector< Int > & | axes | ) | [inline] |
Definition at line 97 of file ImageStatsCalculator.h.
References _axes, and casa::Vector< T >::assign().
void casa::ImageStatsCalculator::setDisk | ( | const Bool | d | ) | [inline] |
Definition at line 91 of file ImageStatsCalculator.h.
References _disk.
void casa::ImageStatsCalculator::setExcludePix | ( | const Vector< Float > & | exc | ) | [inline] |
Definition at line 78 of file ImageStatsCalculator.h.
References _excludepix, and casa::Vector< T >::assign().
void casa::ImageStatsCalculator::setForce | ( | const Bool | f | ) | [inline] |
Definition at line 89 of file ImageStatsCalculator.h.
References _force.
void casa::ImageStatsCalculator::setIncludePix | ( | const Vector< Float > & | inc | ) | [inline] |
Definition at line 76 of file ImageStatsCalculator.h.
References _includepix, and casa::Vector< T >::assign().
void casa::ImageStatsCalculator::setList | ( | const Bool | l | ) | [inline] |
Definition at line 87 of file ImageStatsCalculator.h.
References _list.
void casa::ImageStatsCalculator::setNXNY | ( | const Int | x, |
const Int | y | ||
) | [inline] |
Definition at line 82 of file ImageStatsCalculator.h.
void casa::ImageStatsCalculator::setPlotStats | ( | const Vector< String > & | ps | ) | [inline] |
Definition at line 74 of file ImageStatsCalculator.h.
References _plotStats, and casa::Vector< T >::assign().
void casa::ImageStatsCalculator::setPlotter | ( | const String & | p | ) | [inline] |
Definition at line 80 of file ImageStatsCalculator.h.
References _plotter.
void casa::ImageStatsCalculator::setRobust | ( | const Bool | r | ) | [inline] |
Definition at line 93 of file ImageStatsCalculator.h.
References _robust.
void casa::ImageStatsCalculator::setVerbose | ( | const Bool | v | ) | [inline] |
Definition at line 95 of file ImageStatsCalculator.h.
References _verbose.
Record casa::ImageStatsCalculator::statistics | ( | vector< String > *const & | messageStore = 0 | ) |
moved from ImageAnalysis if messageStore != 0, log messages, stripped of time stampe and priority, will also be placed in this parameter and retur ned to caller for eg logging to file.
Vector<Int> casa::ImageStatsCalculator::_axes [private] |
Definition at line 126 of file ImageStatsCalculator.h.
Referenced by setAxes().
const String casa::ImageStatsCalculator::_class [static, private] |
Definition at line 133 of file ImageStatsCalculator.h.
Referenced by getClass().
Bool casa::ImageStatsCalculator::_disk [private] |
Definition at line 131 of file ImageStatsCalculator.h.
Referenced by setDisk().
Vector<Float> casa::ImageStatsCalculator::_excludepix [private] |
Definition at line 128 of file ImageStatsCalculator.h.
Referenced by setExcludePix().
Bool casa::ImageStatsCalculator::_force [private] |
Definition at line 131 of file ImageStatsCalculator.h.
Referenced by setForce().
Vector<Float> casa::ImageStatsCalculator::_includepix [private] |
Definition at line 128 of file ImageStatsCalculator.h.
Referenced by setIncludePix().
Bool casa::ImageStatsCalculator::_list [private] |
Definition at line 131 of file ImageStatsCalculator.h.
Referenced by setList().
Int casa::ImageStatsCalculator::_nx [private] |
Definition at line 130 of file ImageStatsCalculator.h.
Referenced by setNXNY().
Int casa::ImageStatsCalculator::_ny [private] |
Definition at line 130 of file ImageStatsCalculator.h.
Referenced by setNXNY().
std::auto_ptr<ImageRegion> casa::ImageStatsCalculator::_oldStatsMask [private] |
Definition at line 124 of file ImageStatsCalculator.h.
std::auto_ptr<ImageRegion> casa::ImageStatsCalculator::_oldStatsRegion [private] |
Definition at line 124 of file ImageStatsCalculator.h.
Definition at line 125 of file ImageStatsCalculator.h.
Vector<String> casa::ImageStatsCalculator::_plotStats [private] |
Definition at line 127 of file ImageStatsCalculator.h.
Referenced by setPlotStats().
String casa::ImageStatsCalculator::_plotter [private] |
Definition at line 129 of file ImageStatsCalculator.h.
Referenced by setPlotter().
Bool casa::ImageStatsCalculator::_robust [private] |
Definition at line 131 of file ImageStatsCalculator.h.
Referenced by setRobust().
std::auto_ptr<ImageStatistics<Float> > casa::ImageStatsCalculator::_statistics [private] |
Definition at line 123 of file ImageStatsCalculator.h.
Bool casa::ImageStatsCalculator::_verbose [private] |
Definition at line 131 of file ImageStatsCalculator.h.
Referenced by setVerbose().