casa  $Rev:20696$
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Protected Member Functions | Static Private Member Functions | Private Attributes | Static Private Attributes
casa::ImageStatsCalculator Class Reference

#include <ImageStatsCalculator.h>

Inheritance diagram for casa::ImageStatsCalculator:
casa::ImageTask

List of all members.

Public Member Functions

 ImageStatsCalculator (const ImageInterface< Float > *const &image, const Record *const &regionPtr, 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

Detailed Description

Definition at line 41 of file ImageStatsCalculator.h.


Constructor & Destructor Documentation

casa::ImageStatsCalculator::ImageStatsCalculator ( const ImageInterface< Float > *const &  image,
const Record *const &  regionPtr,
const String maskInp,
Bool  beVerboseDuringConstruction 
)

Top level class used for statistics calculations.

Etymology

Image statistics calculator

Synopsis

Top level class used for statistics calculations


Member Function Documentation

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.

Reimplemented from casa::ImageTask.

Definition at line 112 of file ImageStatsCalculator.h.

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

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.

References _nx, and _ny.

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.


Member Data Documentation

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().

Definition at line 131 of file ImageStatsCalculator.h.

Referenced by setDisk().

Definition at line 128 of file ImageStatsCalculator.h.

Referenced by setExcludePix().

Definition at line 131 of file ImageStatsCalculator.h.

Referenced by setForce().

Definition at line 128 of file ImageStatsCalculator.h.

Referenced by setIncludePix().

Definition at line 131 of file ImageStatsCalculator.h.

Referenced by setList().

Definition at line 130 of file ImageStatsCalculator.h.

Referenced by setNXNY().

Definition at line 130 of file ImageStatsCalculator.h.

Referenced by setNXNY().

Definition at line 124 of file ImageStatsCalculator.h.

Definition at line 124 of file ImageStatsCalculator.h.

Definition at line 125 of file ImageStatsCalculator.h.

Definition at line 127 of file ImageStatsCalculator.h.

Referenced by setPlotStats().

Definition at line 129 of file ImageStatsCalculator.h.

Referenced by setPlotter().

Definition at line 131 of file ImageStatsCalculator.h.

Referenced by setRobust().

Definition at line 123 of file ImageStatsCalculator.h.

Definition at line 131 of file ImageStatsCalculator.h.

Referenced by setVerbose().


The documentation for this class was generated from the following file: