|
template<class T > |
static SPIIT | createImage (const casacore::String &outfile, const casacore::CoordinateSystem &cSys, const casacore::IPosition &shape, casacore::Bool log, casacore::Bool overwrite, const std::vector< std::pair< casacore::LogOrigin, casacore::String > > *const &msgs) |
| Create a casacore::TempImage if outfile is empty, otherwise a PagedImage. More...
|
|
static std::shared_ptr
< ComponentListImage > | createComponentListImage (const casacore::String &outfile, const casacore::Record &cl, const casacore::Vector< casacore::Int > &shape, const casacore::Record &csys, casacore::Bool overwrite, casacore::Bool log, casacore::Bool cache) |
| create a ComponentListImage More...
|
|
static casacore::String | className () |
|
static SPIIF | floatImageFromShape (const casacore::String &outfile, const casacore::Vector< casacore::Int > &shape, const casacore::Record &csys, casacore::Bool linear=true, casacore::Bool overwrite=false, casacore::Bool verbose=true, const std::vector< std::pair< casacore::LogOrigin, casacore::String > > *const &msgs=nullptr) |
| create an image with the specified shape and specified coordinate system. More...
|
|
static SPIIC | complexImageFromShape (const casacore::String &outfile, const casacore::Vector< casacore::Int > &shape, const casacore::Record &csys, casacore::Bool linear=true, casacore::Bool overwrite=false, casacore::Bool verbose=true, const std::vector< std::pair< casacore::LogOrigin, casacore::String > > *const &msgs=nullptr) |
|
static SPIID | doubleImageFromShape (const casacore::String &outfile, const casacore::Vector< casacore::Int > &shape, const casacore::Record &csys, casacore::Bool linear=true, casacore::Bool overwrite=false, casacore::Bool verbose=true, const std::vector< std::pair< casacore::LogOrigin, casacore::String > > *const &msgs=nullptr) |
|
static SPIIDC | complexDoubleImageFromShape (const casacore::String &outfile, const casacore::Vector< casacore::Int > &shape, const casacore::Record &csys, casacore::Bool linear=true, casacore::Bool overwrite=false, casacore::Bool verbose=true, const std::vector< std::pair< casacore::LogOrigin, casacore::String > > *const &msgs=nullptr) |
|
static ITUPLE | fromImage (const casacore::String &outfile, const casacore::String &infile, const casacore::Record ®ion, const casacore::String &mask, casacore::Bool dropdeg=false, casacore::Bool overwrite=false) |
| only the pointer of the correct data type will be valid, the other will be null. More...
|
|
template<class T > |
static SPIIT | imageFromArray (const casacore::String &outfile, const casacore::Array< T > &pixels, const casacore::Record &csys, casacore::Bool linear=false, casacore::Bool overwrite=false, casacore::Bool verbose=true, const std::vector< std::pair< casacore::LogOrigin, casacore::String > > *const &msgs=nullptr) |
|
static SPIIF | fromASCII (const casacore::String &outfile, const casacore::String &infile, const casacore::IPosition &shape, const casacore::String &sep, const casacore::Record &csys, const casacore::Bool linear, const casacore::Bool overwrite) |
|
template<class T > |
static SPIIT | fromShape (const casacore::String &outfile, const casacore::Vector< casacore::Int > &shape, const casacore::Record &csys, casacore::Bool linear=false, casacore::Bool overwrite=false, casacore::Bool verbose=false, const std::vector< std::pair< casacore::LogOrigin, casacore::String > > *const &msgs=nullptr) |
|
template<class T > |
static std::shared_ptr
< casacore::TempImage< T > > | floatFromComplex (std::shared_ptr< const casacore::ImageInterface< std::complex< T >> > complexImage, ComplexToFloatFunction func) |
| Create a float-valued image from a complex-valued image. More...
|
|
template<class T > |
static std::shared_ptr
< casacore::TempImage
< std::complex< T > > > | makeComplexImage (SPCIIT realPart, SPCIIT imagPart) |
| Create a complex-valued image from two real valued images. More...
|
|
template<class T > |
static std::shared_ptr
< casacore::ImageInterface
< std::complex< T > > > | makeComplex (SPCIIT realPart, SPCIIT imagPart, const casacore::String &outfile, const casacore::Record ®ion, casacore::Bool overwrite=false) |
| Create a complex-valued image from two real-valued images. More...
|
|
static ITUPLE | fromFile (const casacore::String &filename, casacore::Bool cache=casacore::True) |
| exactly one of the pointers will not be null, indicating the pixel data type. More...
|
|
static SPIIF | fromFile (const casacore::String &filename, casacore::Float, casacore::Bool cache=casacore::True) |
| for specific types More...
|
|
static SPIID | fromFile (const casacore::String &filename, casacore::Double, casacore::Bool cache=casacore::True) |
|
static SPIIC | fromFile (const casacore::String &filename, casacore::Complex, casacore::Bool cache=casacore::True) |
|
static SPIIDC | fromFile (const casacore::String &filename, casacore::DComplex, casacore::Bool cache=casacore::True) |
|
static SPIIF | fromFITS (const casacore::String &outfile, const casacore::String &fitsfile, const casacore::Int whichrep, const casacore::Int whichhdu, const casacore::Bool zeroBlanks, const casacore::Bool overwrite) |
|
static std::pair< SPIIF, SPIIC > | fromRecord (const casacore::RecordInterface &rec, const casacore::String &imagename="") |
|
template<class T > |
static void | remove (SPIIT &image, casacore::Bool verbose) |
|
static void | rename (SPIIF &image, const casacore::String &name, const casacore::Bool overwrite) |
| if successful, image will be reset to point to new image upon return More...
|
|
static void | rename (SPIIC &image, const casacore::String &name, const casacore::Bool overwrite) |
|
static SPIIF | testImage (const casacore::String &outfile, const casacore::Bool overwrite, const casacore::String &imagetype="2d") |
| open a canonical image More...
|
|
static void | toASCII (SPCIIF image, const casacore::String &outfile, casacore::Record ®ion, const casacore::String &mask, const casacore::String &sep=" ", const casacore::String &format="%e", casacore::Double maskvalue=-999, casacore::Bool overwrite=false, casacore::Bool extendMask=false) |
|
static void | toFITS (SPCIIF image, const casacore::String &outfile, casacore::Bool velocity, casacore::Bool optical, casacore::Int bitpix, casacore::Double minpix, casacore::Double maxpix, const casacore::Record ®ion, const casacore::String &mask, casacore::Bool overwrite=false, casacore::Bool dropdeg=false, casacore::Bool deglast=false, casacore::Bool dropstokes=false, casacore::Bool stokeslast=false, casacore::Bool wavelength=false, casacore::Bool airWavelength=false, const casacore::String &origin="", casacore::Bool stretch=false, casacore::Bool history=true) |
|
Definition at line 55 of file ImageFactory.h.