28 #ifndef IMAGESANALYSIS_SUBIMAGEFACTORY_H
29 #define IMAGESANALYSIS_SUBIMAGEFACTORY_H
167 #ifndef CASACORE_NO_AUTO_TEMPLATES
168 #include <imageanalysis/ImageAnalysis/SubImageFactory.tcc>
169 #endif //# CASACORE_NO_AUTO_TEMPLATES
static std::shared_ptr< const casacore::SubImage< T > > createSubImageRO(casacore::CountedPtr< casacore::ImageRegion > &outRegion, casacore::CountedPtr< casacore::ImageRegion > &outMask, const casacore::ImageInterface< T > &inImage, const casacore::Record ®ion, const casacore::String &mask, casacore::LogIO *const &os, const casacore::AxesSpecifier &axesSpecifier=casacore::AxesSpecifier(), casacore::Bool extendMask=false, casacore::Bool preserveAxesOrder=false)
The const casacore::ImageInterface versions where the resulting casacore::SubImage is not writable...
A Vector of integers, for indexing into Array<T> objects.
LatticeExprNode mask(const LatticeExprNode &expr)
This function returns the mask of the given expression.
ostream-like interface to creating log messages.
Specification of axes to keep or remove.
ABSTRACT CLASSES Deliberately vague to be general enough to allow for many different types of data
A templated, abstract base class for array-like objects.
Referenced counted pointer for constant data.
A base class for astronomical images.
A hierarchical collection of named fields of various types.
bool Bool
Define the standard types used by Casacore.
static std::shared_ptr< casacore::SubImage< T > > createSubImageRW(casacore::CountedPtr< casacore::ImageRegion > &outRegion, casacore::CountedPtr< casacore::ImageRegion > &outMask, casacore::ImageInterface< T > &inImage, const casacore::Record ®ion, const casacore::String &mask, casacore::LogIO *const &os, const casacore::AxesSpecifier &axesSpecifier=casacore::AxesSpecifier(), casacore::Bool extendMask=false, casacore::Bool preserveAxesOrder=false)
Factory method to create a casacore::SubImage from a region and a casacore::WCLELMask string...
static SPIIT createImage(const casacore::ImageInterface< T > &image, const casacore::String &outfile, const casacore::Record ®ion, const casacore::String &mask, casacore::Bool dropDegenerateAxes, casacore::Bool overwrite, casacore::Bool list, casacore::Bool extendMask, casacore::Bool attachMask=false, const casacore::Lattice< T > *const data=nullptr)
return a true copy (ie underlying data is a copy of the original, not a reference) of the subimage se...
Static methods for subimage creation.
static void _getMask(casacore::CountedPtr< casacore::ImageRegion > &outMask, const casacore::String &mask, casacore::Bool extendMask, const casacore::IPosition &imageShape, const casacore::CoordinateSystem &csys)
String: the storage and methods of handling collections of characters.
Interconvert pixel and world coordinates.