CCfits
2.6
|
Image reading calls are made very simple: the FITS object is created with the readDataFlag set to true, and reading is done on construction. The following call
calls
This copies the entire image from the FITS object into the std::valarray object contents, sizing it as necessary. PHDU::read() and ExtHDU::read() [for image extensions] take a range of arguments that support (a) reading the entire image - as in this example; (b) sections of an image starting from a given pixel; (c) rectangular subsets. See the class references for PHDU and ExtHDU for details.