29 #ifndef IMAGES_IMAGEOPENER_H
30 #define IMAGES_IMAGEOPENER_H
33 #include <casacore/casa/aips.h>
34 #include <casacore/images/Images/MaskSpecifier.h>
35 #include <casacore/casa/Containers/Block.h>
42 class LatticeExprNode;
static std::map< ImageTypes, OpenImageFunction * > theirOpenFuncMap
Mapping of the image type to an openImage function.
static LatticeBase * openImageConcat(const String &fileName)
Open a persistent image concatenation of any type.
static LatticeBase * openPagedImage(const String &fileName, const MaskSpecifier &=MaskSpecifier())
Open a Casacore paged image of any data type.
static ImageTypes imageType(const String &fileName)
Return the type of an image with the given name.
static LatticeBase * openImage(const String &fileName, const MaskSpecifier &=MaskSpecifier())
Open an image in the file/table with the given name.
LatticeBase * OpenImageFunction(const String &fileName, const MaskSpecifier &)
Define the signature of a function opening an image.
static LatticeBase * openHDF5Image(const String &fileName, const MaskSpecifier &=MaskSpecifier())
Open an HDF5 paged image of any data type.
static LatticeBase * openExpr(const String &expr, const Block< LatticeExprNode > &nodes, const String &fileName=String())
Parse an image expression and return the ImageExpr<T> object for it.
static LatticeBase * openExpr(const String &expr, const Block< LatticeExprNode > &nodes, const String &fileName, const JsonKVMap &)
ImageTypes
Define the possible image types.
@ AIPSPP
Casacore (former AIPS++)
@ IMAGECONCAT
ImageConcat.
@ COMPLISTIMAGE
ComponentListImage, CASA.
static LatticeBase * openImageExpr(const String &fileName)
Open a persistent image expression of any type.
static void registerOpenImageFunction(ImageTypes, OpenImageFunction *)
Register an openImageFunction.
String: the storage and methods of handling collections of characters.
this file contains all the compiler specific defines