28 #ifndef IMAGEANALYSIS_IMAGESTATSCALCULATOR_H
29 #define IMAGEANALYSIS_IMAGESTATSCALCULATOR_H
107 std::vector<casacore::String> *
const &messageStore=0
119 return std::vector<OutputDestinationChecker::OutputStruct>(0);
123 return std::vector<casacore::Coordinate::Type>(0);
140 std::shared_ptr<const casacore::SubImage<T>>
_subImage =
nullptr;
154 std::vector<String> *
const &messageStore,
const String& alg,
175 #ifndef AIPS_NO_TEMPLATE_SRC
176 #include <imageanalysis/ImageAnalysis/ImageStatsCalculator.tcc>
A Vector of integers, for indexing into Array<T> objects.
void setDisk(casacore::Bool d)
static const casacore::String _class
static casacore::Bool _haveRegionsChanged(casacore::ImageRegion *newRegion, casacore::ImageRegion *newMask, casacore::ImageRegion *oldRegion, casacore::ImageRegion *oldMask)
moved from ImageAnalysis See if the combination of the 'region' and 'mask' ImageRegions have changed ...
std::vector< OutputDestinationChecker::OutputStruct > _getOutputStruct()
void _logStartup(std::vector< String > *const &messageStore, const String &alg, const casacore::IPosition &blc, const casacore::IPosition &trc, const casacore::String &blcf, const casacore::String trcf) const
casacore::Bool _hasLogfileSupport() const
by default, derived classes are configured to have no log file support.
void setRobust(casacore::Bool r)
casacore::String getClass() const
static const String SIGMA
ImageStatsCalculator(const SPCIIT image, const casacore::Record *const ®ionPtr, const casacore::String &maskInp, casacore::Bool beVerboseDuringConstruction=false)
Top level class used for statistics calculations.
casacore::Vector< casacore::Int > _axes
casacore::Record calculate()
casacore::CountedPtr< casacore::ImageRegion > _oldStatsRegion
Referenced counted pointer for constant data.
A base class for astronomical images.
casacore::Vector< T > _excludepix
void _sanitizeDueToRegionSelection(Record &retval) const
remove values for which there were no points, CAS-10183
virtual void assign(const Array< T > &other)
Assign the other array (which must be of dimension one) to this vector.
void setVerbose(casacore::Bool v)
casacore::Vector< T > _includepix
A hierarchical collection of named fields of various types.
bool Bool
Define the standard types used by Casacore.
void setList(casacore::Bool l)
casacore::List stats to logger? If you want no logging you should set this to false in addition to ca...
void _removePlanes(Array< U > &arr, uInt axis, const std::set< uInt > &planes) const
std::vector< casacore::Coordinate::Type > _getNecessaryCoordinates() const
Represents the minimum set of coordinates necessary for the task to function.
std::shared_ptr< const casacore::SubImage< T > > _subImage
template <class T, class U> class vector;
casacore::Bool _supportsMultipleRegions() const
Class to hold a region of interest in an image.
void setAxes(const casacore::Vector< casacore::Int > &axes)
void _reportDetailedStats(const std::shared_ptr< const casacore::ImageInterface< T >> tempIm, const casacore::Record &retval)
casacore::CountedPtr< casacore::ImageRegion > _oldStatsMask
static uInt sort(T *, uInt nr, Sort::Order=Sort::Ascending, int options=0)
Sort a C-array containing nr T-type objects.
void setExcludePix(const casacore::Vector< T > &exc)
Set range of pixel values to exclude from the calculation.
String: the storage and methods of handling collections of characters.
void setIncludePix(const casacore::Vector< T > &inc)
Set range of pixel values to include in the calculation.
casacore::Record statistics(std::vector< casacore::String > *const &messageStore=0)
moved from ImageAnalysis if messageStore != 0, log messages, stripped of time stampe and priority...
void _resetStats(ImageStatistics< T > *stat=nullptr)
CasacRegionManager::StokesControl _getStokesControl() const
#define casacore
<X11/Intrinsic.h> #defines true, false, casacore::Bool, and String.