28 #ifndef IMAGEANALYSIS_IMAGEHISTOGRAMSCALCULATOR_H
29 #define IMAGEANALYSIS_IMAGEHISTOGRAMSCALCULATOR_H
93 void setAxes(
const std::vector<casacore::uInt>& axes) {
_axes = axes; };
120 return std::vector<casacore::Coordinate::Type>();
138 #ifndef AIPS_NO_TEMPLATE_SRC
139 #include <imageanalysis/ImageAnalysis/ImageHistogramsCalculator.tcc>
static const casacore::String CLASS_NAME
void setDisk(casacore::Bool b)
If true, force the storage lattice to be written to disk.
LatticeExprNode mask(const LatticeExprNode &expr)
This function returns the mask of the given expression.
std::vector< casacore::uInt > _axes
ImageHistogramsCalculator()=delete
void setNBins(casacore::uInt n)
set number of bins
casacore::Bool _listStats
casacore::Record compute() const
void setIncludeRange(const std::vector< double > &r)
set include range
void setAxes(const std::vector< casacore::uInt > &axes)
set cursor axes
void setListStats(casacore::Bool b)
If true list stats to logger.
This class computes histograms of image pixel values.
~ImageHistogramsCalculator()
casacore::String getClass() const
A hierarchical collection of named fields of various types.
bool Bool
Define the standard types used by Casacore.
casacore::Bool _supportsMultipleRegions() const
String: the storage and methods of handling collections of characters.
casacore::Bool _cumulative
std::vector< casacore::Coordinate::Type > _getNecessaryCoordinates() const
Represents the minimum set of coordinates necessary for the task to function.
void setDoLog10(casacore::Bool b)
If true, the counts should be returned as log10 of the actual counts.
void setCumulative(casacore::Bool b)
should the histogram be cumulative
ImageHistogramsCalculator & operator=(const ImageHistogramsCalculator &other)=delete
CasacRegionManager::StokesControl _getStokesControl() const
std::vector< double > _includeRange