TwiceAsNice
2019-02-18
|
#include <Image.h>
Public Member Functions | |
virtual | ~Image () |
Image () | |
Image (const ImageVar &_image) | |
Image (const Basda::ImageHeader &_header) | |
Image (const Nice::Size &_size) | |
Image (const Nice::Size &_size, int _bin) | |
Image (const Nice::Rect &_rect) | |
Image (const Nice::Size &_size, const Nice::Point &_ref) | |
Image (const Nice::Size &_size, const Nice::Point &_ref, int _bin) | |
Image (const Type *_data, const Basda::ImageHeader &_header) | |
Image (const Type *_data, const Nice::Size &_size, const Nice::Point &_ref=Nice::Point(0, 0), int _bin=1) | |
Image (const SeqType &_data, const Nice::Size &_size, const Nice::Point &_ref=Nice::Point(0, 0), int _bin=1) | |
void | swap (Image< Type > &) |
SeqType | getAllPixels () |
operator ImageBase () | |
ImageBase | toImageBase () |
int | pix_size () const |
bool | load (const char *, const char *=0, int=-1) |
void | save (const char *, const char *) |
bool | loadFits (const std::string &_filename, size_t _index=0) |
bool | saveFits (const std::string &_filename) |
Write the data as an image into the primary HDU of a FITS file. More... | |
bool | saveFitsWithCards (const std::string &_filename, Basda::VinoFitsCardBox *fcards=0) |
Write the data as an image into the primary HDU of a FITS file. More... | |
bool | addFits (fitsfile *_fitshd) |
const Type & | getPix (size_t colIndx, size_t rowIndx) const |
void | setPix (size_t colIndx, size_t rowIndx, const Type &_pix) |
Type * | data () |
const Type * | data () const |
Type & | pix (size_t colIndx, size_t rowIndx) |
const Type & | pix (size_t colIndx, size_t rowIndx) const |
Image & | crop (const Image &_src, const Nice::Rect &_window, int _bin=1) |
Generate a new image by cropping this existing one. If the window parameter has the same size and origin as this image, the function effectively just re-bins the existing rectangle by co-adding values of the existing pixels. More... | |
Image & | fill (Type _val) |
Fill all pixels with a constant value. More... | |
Image & | noise (double _dist) |
Image & | star (const Nice::Point &_p, double _radius, double _scale) |
Image & | circle (const Nice::Point &_p, double _radius, Type _val, bool _filled=false) |
bool | operator== (const Image &_image) |
virtual | ~Image () |
Image () | |
Image (const ImageVar &_image) | |
Image (const Basda::ImageHeader &_header) | |
Image (const Nice::Size &_size) | |
Image (const Nice::Size &_size, int _bin) | |
Image (const Nice::Rect &_rect) | |
Image (const Nice::Size &_size, const Nice::Point &_ref) | |
Image (const Nice::Size &_size, const Nice::Point &_ref, int _bin) | |
Image (const Type *_data, const Basda::ImageHeader &_header) | |
Image (const Type *_data, const Nice::Size &_size, const Nice::Point &_ref=Nice::Point(0, 0), int _bin=1) | |
Image (const SeqType &_data, const Nice::Size &_size, const Nice::Point &_ref=Nice::Point(0, 0), int _bin=1) | |
void | swap (Image< Type > &) |
SeqType | getAllPixels () |
operator ImageBase () | |
ImageBase | toImageBase () |
int | pix_size () const |
bool | load (const char *, const char *=0, int=-1) |
void | save (const char *, const char *) |
bool | loadFits (const std::string &_filename, size_t _index=0) |
bool | saveFits (const std::string &_filename) |
bool | saveFitsWithCards (const std::string &_filename, Basda::VinoFitsCardBox *fcards=0) |
bool | addFits (fitsfile *_fitshd) |
const Type & | getPix (size_t colIndx, size_t rowIndx) const |
void | setPix (size_t colIndx, size_t rowIndx, const Type &_pix) |
Type * | data () |
const Type * | data () const |
Type & | pix (size_t colIndx, size_t rowIndx) |
const Type & | pix (size_t colIndx, size_t rowIndx) const |
Image & | crop (const Image &_src, const Nice::Rect &_window, int _bin=1) |
Image & | fill (Type _val) |
Image & | noise (double _dist) |
Image & | star (const Nice::Point &_p, double _radius, double _scale) |
Image & | circle (const Nice::Point &_p, double _radius, Type _val, bool _filled=false) |
bool | operator== (const Image &_image) |
virtual | ~Image () |
Image () | |
Image (const ImageVar &_image) | |
Image (const Basda::ImageHeader &_header) | |
Image (const Nice::Size &_size) | |
Image (const Nice::Size &_size, int _bin) | |
Image (const Nice::Rect &_rect) | |
Image (const Nice::Size &_size, const Nice::Point &_ref) | |
Image (const Nice::Size &_size, const Nice::Point &_ref, int _bin) | |
Image (const Type *_data, const Basda::ImageHeader &_header) | |
Image (const Type *_data, const Nice::Size &_size, const Nice::Point &_ref=Nice::Point(0, 0), int _bin=1) | |
Image (const SeqType &_data, const Nice::Size &_size, const Nice::Point &_ref=Nice::Point(0, 0), int _bin=1) | |
void | swap (Image< Type > &) |
SeqType | getAllPixels () |
operator ImageBase () | |
ImageBase | toImageBase () |
int | pix_size () const |
bool | load (const char *, const char *=0, int=-1) |
void | save (const char *, const char *) |
bool | loadFits (const std::string &_filename, size_t _index=0) |
bool | saveFits (const std::string &_filename) |
bool | saveFitsWithCards (const std::string &_filename, Basda::VinoFitsCardBox *fcards=0) |
bool | addFits (fitsfile *_fitshd) |
const Type & | getPix (size_t colIndx, size_t rowIndx) const |
void | setPix (size_t colIndx, size_t rowIndx, const Type &_pix) |
Type * | data () |
const Type * | data () const |
Type & | pix (size_t colIndx, size_t rowIndx) |
const Type & | pix (size_t colIndx, size_t rowIndx) const |
Image & | crop (const Image &_src, const Nice::Rect &_window, int _bin=1) |
Image & | fill (Type _val) |
Image & | noise (double _dist) |
Image & | star (const Nice::Point &_p, double _radius, double _scale) |
Image & | circle (const Nice::Point &_p, double _radius, Type _val, bool _filled=false) |
bool | operator== (const Image &_image) |
template<> | |
Basda::ImageType | type () |
template<> | |
int | fitsType () |
template<> | |
int | fitsDepth () |
template<> | |
Basda::ImageType | type () |
template<> | |
int | fitsType () |
template<> | |
int | fitsDepth () |
template<> | |
Basda::ImageType | type () |
template<> | |
int | fitsType () |
template<> | |
int | fitsDepth () |
template<> | |
Basda::ImageType | type () |
template<> | |
int | fitsType () |
template<> | |
int | fitsDepth () |
template<> | |
Basda::ImageType | type () |
template<> | |
int | fitsType () |
template<> | |
int | fitsDepth () |
template<> | |
Basda::ImageType | type () |
template<> | |
int | fitsType () |
template<> | |
int | fitsDepth () |
template<> | |
Basda::ImageType | type () |
template<> | |
int | fitsType () |
template<> | |
int | fitsDepth () |
template<> | |
Basda::ImageType | type () |
template<> | |
int | fitsType () |
template<> | |
int | fitsDepth () |
template<> | |
bool | saveFits (const std::string &filename) |
template<> | |
bool | saveFits (const std::string &) |
template<> | |
Basda::ImageType | type () |
template<> | |
int | fitsType () |
template<> | |
int | fitsDepth () |
template<> | |
Basda::ImageType | type () |
template<> | |
int | fitsType () |
template<> | |
int | fitsDepth () |
template<> | |
Basda::ImageType | type () |
template<> | |
int | fitsType () |
template<> | |
int | fitsDepth () |
template<> | |
Basda::ImageType | type () |
template<> | |
int | fitsType () |
template<> | |
int | fitsDepth () |
template<> | |
Basda::ImageType | type () |
template<> | |
int | fitsType () |
template<> | |
int | fitsDepth () |
template<> | |
Basda::ImageType | type () |
template<> | |
int | fitsType () |
template<> | |
int | fitsDepth () |
template<> | |
Basda::ImageType | type () |
template<> | |
int | fitsType () |
template<> | |
int | fitsDepth () |
template<> | |
Basda::ImageType | type () |
template<> | |
int | fitsType () |
template<> | |
int | fitsDepth () |
template<> | |
Basda::ImageType | type () |
template<> | |
int | fitsType () |
template<> | |
int | fitsDepth () |
template<> | |
Basda::ImageType | type () |
template<> | |
int | fitsType () |
template<> | |
int | fitsDepth () |
template<> | |
Basda::ImageType | type () |
template<> | |
int | fitsType () |
template<> | |
int | fitsDepth () |
template<> | |
Basda::ImageType | type () |
template<> | |
int | fitsType () |
template<> | |
int | fitsDepth () |
template<> | |
Basda::ImageType | type () |
template<> | |
int | fitsType () |
template<> | |
int | fitsDepth () |
template<> | |
Basda::ImageType | type () |
template<> | |
int | fitsType () |
template<> | |
int | fitsDepth () |
template<> | |
Basda::ImageType | type () |
template<> | |
int | fitsType () |
template<> | |
int | fitsDepth () |
template<> | |
Basda::ImageType | type () |
template<> | |
int | fitsType () |
template<> | |
int | fitsDepth () |
template<> | |
bool | saveFits (const std::string &filename) |
template<> | |
bool | saveFits (const std::string &) |
template<> | |
Basda::ImageType | type () |
template<> | |
int | fitsType () |
template<> | |
int | fitsDepth () |
template<> | |
Basda::ImageType | type () |
template<> | |
int | fitsType () |
template<> | |
int | fitsDepth () |
template<> | |
Basda::ImageType | type () |
template<> | |
int | fitsType () |
template<> | |
int | fitsDepth () |
template<> | |
Basda::ImageType | type () |
template<> | |
int | fitsType () |
template<> | |
int | fitsDepth () |
template<> | |
Basda::ImageType | type () |
template<> | |
int | fitsType () |
template<> | |
int | fitsDepth () |
template<> | |
Basda::ImageType | type () |
template<> | |
int | fitsType () |
template<> | |
int | fitsDepth () |
template<> | |
Basda::ImageType | type () |
template<> | |
int | fitsType () |
template<> | |
int | fitsDepth () |
template<> | |
Basda::ImageType | type () |
template<> | |
int | fitsType () |
template<> | |
int | fitsDepth () |
template<> | |
Basda::ImageType | type () |
template<> | |
int | fitsType () |
template<> | |
int | fitsDepth () |
template<> | |
Basda::ImageType | type () |
template<> | |
int | fitsType () |
template<> | |
int | fitsDepth () |
template<> | |
Basda::ImageType | type () |
template<> | |
int | fitsType () |
template<> | |
int | fitsDepth () |
template<> | |
Basda::ImageType | type () |
template<> | |
int | fitsType () |
template<> | |
int | fitsDepth () |
template<> | |
Basda::ImageType | type () |
template<> | |
int | fitsType () |
template<> | |
int | fitsDepth () |
template<> | |
Basda::ImageType | type () |
template<> | |
int | fitsType () |
template<> | |
int | fitsDepth () |
template<> | |
Basda::ImageType | type () |
template<> | |
int | fitsType () |
template<> | |
int | fitsDepth () |
template<> | |
Basda::ImageType | type () |
template<> | |
int | fitsType () |
template<> | |
int | fitsDepth () |
template<> | |
bool | saveFits (const std::string &filename) |
![]() | |
ImageBase () | |
virtual | ~ImageBase () |
std::string | getRawImageAsString () |
size_t | bytes () const |
ImageType | typeId () const |
void | setCameraId (int _id) |
int | cameraId () const |
void | setChanId (int _id) |
int | chanId () const |
void | setSeqNum (int _seq) |
int | seqNum () const |
void | setExpoDate (const Nice::Date &_date) |
Nice::Date | expoDate () const |
void | setExpoMode (Basda::ExpoModeType _mode) |
Basda::ExpoModeType | expoMode () const |
void | setProgram (Nice::Int _prg) |
Nice::Int | program () const |
void | setGain (Nice::Int _gain) |
Nice::Int | gain () const |
void | setExpoTime (Nice::Time _time) |
Nice::Time | expoTime () const |
void | setWCS (Nice::WMatrix _wcs) |
Nice::WMatrix | wcs () const |
bool | isValid () const |
int | width () const |
int | height () const |
int | bin () const |
Nice::Size | size () const |
Nice::Point | crpix () const |
void | setBounding (const Nice::Size &_b) |
Nice::Size | bounding () const |
int | pixels () const |
const Basda::ImageHeader & | header () const |
const Basda::ImageData & | rawdata () const |
ImageBase () | |
virtual | ~ImageBase () |
std::string | getRawImageAsString () |
size_t | bytes () const |
ImageType | typeId () const |
void | setCameraId (int _id) |
int | cameraId () const |
void | setChanId (int _id) |
int | chanId () const |
void | setSeqNum (int _seq) |
int | seqNum () const |
void | setExpoDate (const Nice::Date &_date) |
Nice::Date | expoDate () const |
void | setExpoMode (Basda::ExpoModeType _mode) |
Basda::ExpoModeType | expoMode () const |
void | setProgram (Nice::Int _prg) |
Nice::Int | program () const |
void | setGain (Nice::Int _gain) |
Nice::Int | gain () const |
void | setExpoTime (Nice::Time _time) |
Nice::Time | expoTime () const |
void | setWCS (Nice::WMatrix _wcs) |
Nice::WMatrix | wcs () const |
bool | isValid () const |
int | width () const |
int | height () const |
int | bin () const |
Nice::Size | size () const |
Nice::Point | crpix () const |
void | setBounding (const Nice::Size &_b) |
Nice::Size | bounding () const |
int | pixels () const |
const Basda::ImageHeader & | header () const |
const Basda::ImageData & | rawdata () const |
ImageBase () | |
virtual | ~ImageBase () |
std::string | getRawImageAsString () |
size_t | bytes () const |
ImageType | typeId () const |
void | setCameraId (int _id) |
int | cameraId () const |
void | setChanId (int _id) |
int | chanId () const |
void | setSeqNum (int _seq) |
int | seqNum () const |
void | setExpoDate (const Nice::Date &_date) |
Nice::Date | expoDate () const |
void | setExpoMode (Basda::ExpoModeType _mode) |
Basda::ExpoModeType | expoMode () const |
void | setProgram (Nice::Int _prg) |
Nice::Int | program () const |
void | setGain (Nice::Int _gain) |
Nice::Int | gain () const |
void | setExpoTime (Nice::Time _time) |
Nice::Time | expoTime () const |
void | setWCS (Nice::WMatrix _wcs) |
Nice::WMatrix | wcs () const |
bool | isValid () const |
int | width () const |
int | height () const |
int | bin () const |
Nice::Size | size () const |
Nice::Point | crpix () const |
void | setBounding (const Nice::Size &_b) |
Nice::Size | bounding () const |
int | pixels () const |
const Basda::ImageHeader & | header () const |
const Basda::ImageData & | rawdata () const |
![]() | |
bool | operator== (const ImageVar &__rhs) const |
bool | operator< (const ImageVar &__rhs) const |
bool | operator!= (const ImageVar &__rhs) const |
bool | operator<= (const ImageVar &__rhs) const |
bool | operator> (const ImageVar &__rhs) const |
bool | operator>= (const ImageVar &__rhs) const |
bool | operator== (const ImageVar &__rhs) const |
bool | operator< (const ImageVar &__rhs) const |
bool | operator!= (const ImageVar &__rhs) const |
bool | operator<= (const ImageVar &__rhs) const |
bool | operator> (const ImageVar &__rhs) const |
bool | operator>= (const ImageVar &__rhs) const |
Static Public Member Functions | |
static ImageType | type () |
static int | fitsType () |
static int | fitsDepth () |
static int | loadFitsVector (SeqImageType &, const std::string &_name) |
static int | saveFitsVector (const SeqImageType &, const std::string &_name) |
static ImageType | type () |
static int | fitsType () |
static int | fitsDepth () |
static int | loadFitsVector (SeqImageType &, const std::string &_name) |
static int | saveFitsVector (const SeqImageType &, const std::string &_name) |
static ImageType | type () |
static int | fitsType () |
static int | fitsDepth () |
static int | loadFitsVector (SeqImageType &, const std::string &_name) |
static int | saveFitsVector (const SeqImageType &, const std::string &_name) |
Protected Member Functions | |
int | loadFits (fitsfile *_fitsptr, size_t _index=0) |
Read the image data of a HDU. More... | |
Image & | copy (const Type *_data) |
overwrite the image data with new data. More... | |
Image & | copy (const ImageVar &_image) |
Replace/Overload the image data with other data. More... | |
template<typename SrcType > | |
Image & | copy (const ImageData &_src) |
Image & | create (const Nice::Size &_size, const Nice::Point &_ref=Nice::Point(0, 0), int _bin=1) |
Generate a new image (filled with random data). Old values stay as they are. More... | |
Image & | create (const Basda::ImageHeader &_header) |
Create a new image with randomized data. Old values stay as they are. More... | |
int | loadFits (fitsfile *_fitsptr, size_t _index=0) |
Image & | copy (const Type *_data) |
Image & | copy (const ImageVar &_image) |
template<typename SrcType > | |
Image & | copy (const ImageData &_src) |
Image & | create (const Nice::Size &_size, const Nice::Point &_ref=Nice::Point(0, 0), int _bin=1) |
Image & | create (const Basda::ImageHeader &_header) |
int | loadFits (fitsfile *_fitsptr, size_t _index=0) |
Image & | copy (const Type *_data) |
Image & | copy (const ImageVar &_image) |
template<typename SrcType > | |
Image & | copy (const ImageData &_src) |
Image & | create (const Nice::Size &_size, const Nice::Point &_ref=Nice::Point(0, 0), int _bin=1) |
Image & | create (const Basda::ImageHeader &_header) |
template<> | |
bool | loadFits (const std::string &filename, size_t index) |
template<> | |
bool | loadFits (const std::string &, size_t) |
template<> | |
bool | loadFits (const std::string &filename, size_t index) |
template<> | |
bool | loadFits (const std::string &, size_t) |
template<> | |
bool | loadFits (const std::string &filename, size_t index) |
Static Protected Member Functions | |
static fitsfile * | openFits (const std::string &_filename) |
static fitsfile * | openFits (const std::string &_filename, size_t &numImages) |
open a FITS file with cfitsio. More... | |
static int | closeFits (fitsfile *_fitsfd) |
static fitsfile * | openFits (const std::string &_filename) |
static fitsfile * | openFits (const std::string &_filename, size_t &numImages) |
static int | closeFits (fitsfile *_fitsfd) |
static fitsfile * | openFits (const std::string &_filename) |
static fitsfile * | openFits (const std::string &_filename, size_t &numImages) |
static int | closeFits (fitsfile *_fitsfd) |
Private Types | |
typedef IceUtil::Handle< Image > | ImageTypePtr |
typedef std::vector< Image > | SeqImageType |
typedef IceUtil::Handle< SeqImageType > | SeqImageTypePtr |
typedef std::vector< ImageTypePtr > | SeqImagePtrType |
typedef IceUtil::Handle< SeqImagePtrType > | SeqImagePtrTypePtr |
typedef std::vector< Type > | SeqType |
typedef IceUtil::Handle< Image > | ImageTypePtr |
typedef std::vector< Image > | SeqImageType |
typedef IceUtil::Handle< SeqImageType > | SeqImageTypePtr |
typedef std::vector< ImageTypePtr > | SeqImagePtrType |
typedef IceUtil::Handle< SeqImagePtrType > | SeqImagePtrTypePtr |
typedef std::vector< Type > | SeqType |
typedef IceUtil::Handle< Image > | ImageTypePtr |
typedef std::vector< Image > | SeqImageType |
typedef IceUtil::Handle< SeqImageType > | SeqImageTypePtr |
typedef std::vector< ImageTypePtr > | SeqImagePtrType |
typedef IceUtil::Handle< SeqImagePtrType > | SeqImagePtrTypePtr |
typedef std::vector< Type > | SeqType |
Static Private Member Functions | |
static void | fitsPanic (int status) |
Throw an exception which contains the cfitsio error as a string. More... | |
static void | fitsPanic (int status) |
static void | fitsPanic (int status) |
Friends | |
template<typename > | |
class | Image |
Additional Inherited Members | |
![]() | |
::Basda::ImageHeaderVar | header |
::Nice::SeqByte | bytedata |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
inlinevirtual |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlinevirtual |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlinevirtual |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
bool Basda::Image< Type >::addFits | ( | fitsfile * | _fitshd | ) |
bool Basda::Image< Type >::addFits | ( | fitsfile * | _fitshd | ) |
bool Basda::Image< Type >::addFits | ( | fitsfile * | _fitshd | ) |
Basda::Image< Type > & Basda::Image< Type >::circle | ( | const Nice::Point & | _p, |
double | _radius, | ||
Type | _val, | ||
bool | _filled = false |
||
) |
_p | |
_radius | |
_val | |
_filled |
Image& Basda::Image< Type >::circle | ( | const Nice::Point & | _p, |
double | _radius, | ||
Type | _val, | ||
bool | _filled = false |
||
) |
Image& Basda::Image< Type >::circle | ( | const Nice::Point & | _p, |
double | _radius, | ||
Type | _val, | ||
bool | _filled = false |
||
) |
|
staticprotected |
|
staticprotected |
|
staticprotected |
_fitsptr | The cfitsio pointer to the data. |
|
protected |
overwrite the image data with new data.
[in] | _data | The new data. These will only be copied to the maximum extension of the existing data. Which means: if they are more than the existing data, they will be clipped to fit into the space of the existing data. |
|
protected |
|
protected |
|
protected |
|
protected |
Replace/Overload the image data with other data.
_image | The new data to be copied. |
*this = Basda::ImageU16();
|
protected |
|
inlineprotected |
|
inlineprotected |
|
inlineprotected |
|
protected |
|
protected |
|
protected |
Generate a new image (filled with random data). Old values stay as they are.
_size | Dimension of the new image. Width and height. |
_ref | Location of the reference pixel in the data. |
_bin | Binnign factor associated with the data. |
|
protected |
|
protected |
|
protected |
Create a new image with randomized data. Old values stay as they are.
[in] | _header | The information on the extension (width, height) of the reformatted data. |
Image& Basda::Image< Type >::crop | ( | const Image< Type > & | _src, |
const Nice::Rect & | _window, | ||
int | _bin = 1 |
||
) |
Basda::Image< Type > & Basda::Image< Type >::crop | ( | const Image< Type > & | _src, |
const Nice::Rect & | _window, | ||
int | _bin = 1 |
||
) |
Generate a new image by cropping this existing one. If the window parameter has the same size and origin as this image, the function effectively just re-bins the existing rectangle by co-adding values of the existing pixels.
_src | The data of the full image. |
_window | The rectangular window into the existing data. This is generally smaller than the existing data. |
_bin | The binning factor in the cropped image. |
Image& Basda::Image< Type >::crop | ( | const Image< Type > & | _src, |
const Nice::Rect & | _window, | ||
int | _bin = 1 |
||
) |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Basda::Image< Type > & Basda::Image< Type >::fill | ( | Type | _val | ) |
Fill all pixels with a constant value.
[in] | _val | The constant value that overwrites the existing data. |
Image& Basda::Image< Type >::fill | ( | Type | _val | ) |
Image& Basda::Image< Type >::fill | ( | Type | _val | ) |
|
static |
|
static |
|
static |
int Basda::Image< Nice::U8 >::fitsDepth | ( | ) |
int Basda::Image< Nice::U8 >::fitsDepth | ( | ) |
int Basda::Image< Nice::U8 >::fitsDepth | ( | ) |
int Basda::Image< Nice::U16 >::fitsDepth | ( | ) |
int Basda::Image< Nice::U16 >::fitsDepth | ( | ) |
int Basda::Image< Nice::U16 >::fitsDepth | ( | ) |
int Basda::Image< Nice::U32 >::fitsDepth | ( | ) |
int Basda::Image< Nice::U32 >::fitsDepth | ( | ) |
int Basda::Image< Nice::U32 >::fitsDepth | ( | ) |
int Basda::Image< Nice::I32 >::fitsDepth | ( | ) |
int Basda::Image< Nice::I32 >::fitsDepth | ( | ) |
int Basda::Image< Nice::I32 >::fitsDepth | ( | ) |
int Basda::Image< Nice::I64 >::fitsDepth | ( | ) |
int Basda::Image< Nice::I64 >::fitsDepth | ( | ) |
int Basda::Image< Nice::I64 >::fitsDepth | ( | ) |
int Basda::Image< float >::fitsDepth | ( | ) |
int Basda::Image< float >::fitsDepth | ( | ) |
int Basda::Image< float >::fitsDepth | ( | ) |
int Basda::Image< double >::fitsDepth | ( | ) |
int Basda::Image< double >::fitsDepth | ( | ) |
int Basda::Image< double >::fitsDepth | ( | ) |
int Basda::Image< Basda::RgbPixel >::fitsDepth | ( | ) |
int Basda::Image< Basda::RgbPixel >::fitsDepth | ( | ) |
int Basda::Image< Basda::RgbPixel >::fitsDepth | ( | ) |
int Basda::Image< Nice::U8 >::fitsDepth | ( | ) |
int Basda::Image< Nice::U8 >::fitsDepth | ( | ) |
int Basda::Image< Nice::U16 >::fitsDepth | ( | ) |
int Basda::Image< Nice::U16 >::fitsDepth | ( | ) |
int Basda::Image< Nice::U32 >::fitsDepth | ( | ) |
int Basda::Image< Nice::U32 >::fitsDepth | ( | ) |
int Basda::Image< Nice::I32 >::fitsDepth | ( | ) |
int Basda::Image< Nice::I32 >::fitsDepth | ( | ) |
int Basda::Image< Nice::I64 >::fitsDepth | ( | ) |
int Basda::Image< Nice::I64 >::fitsDepth | ( | ) |
int Basda::Image< float >::fitsDepth | ( | ) |
int Basda::Image< float >::fitsDepth | ( | ) |
int Basda::Image< double >::fitsDepth | ( | ) |
int Basda::Image< double >::fitsDepth | ( | ) |
int Basda::Image< Basda::RgbPixel >::fitsDepth | ( | ) |
int Basda::Image< Basda::RgbPixel >::fitsDepth | ( | ) |
|
staticprivate |
Throw an exception which contains the cfitsio error as a string.
status | The cfitsio error index. |
|
staticprivate |
|
staticprivate |
|
static |
|
static |
|
static |
int Basda::Image< Nice::U8 >::fitsType | ( | ) |
int Basda::Image< Nice::U8 >::fitsType | ( | ) |
int Basda::Image< Nice::U8 >::fitsType | ( | ) |
int Basda::Image< Nice::U16 >::fitsType | ( | ) |
int Basda::Image< Nice::U16 >::fitsType | ( | ) |
int Basda::Image< Nice::U16 >::fitsType | ( | ) |
int Basda::Image< Nice::U32 >::fitsType | ( | ) |
int Basda::Image< Nice::U32 >::fitsType | ( | ) |
int Basda::Image< Nice::U32 >::fitsType | ( | ) |
int Basda::Image< Nice::I32 >::fitsType | ( | ) |
int Basda::Image< Nice::I32 >::fitsType | ( | ) |
int Basda::Image< Nice::I32 >::fitsType | ( | ) |
int Basda::Image< Nice::I64 >::fitsType | ( | ) |
int Basda::Image< Nice::I64 >::fitsType | ( | ) |
int Basda::Image< Nice::I64 >::fitsType | ( | ) |
int Basda::Image< float >::fitsType | ( | ) |
int Basda::Image< float >::fitsType | ( | ) |
int Basda::Image< float >::fitsType | ( | ) |
int Basda::Image< double >::fitsType | ( | ) |
int Basda::Image< double >::fitsType | ( | ) |
int Basda::Image< double >::fitsType | ( | ) |
int Basda::Image< Basda::RgbPixel >::fitsType | ( | ) |
int Basda::Image< Basda::RgbPixel >::fitsType | ( | ) |
int Basda::Image< Basda::RgbPixel >::fitsType | ( | ) |
int Basda::Image< Nice::U8 >::fitsType | ( | ) |
int Basda::Image< Nice::U8 >::fitsType | ( | ) |
int Basda::Image< Nice::U16 >::fitsType | ( | ) |
int Basda::Image< Nice::U16 >::fitsType | ( | ) |
int Basda::Image< Nice::U32 >::fitsType | ( | ) |
int Basda::Image< Nice::U32 >::fitsType | ( | ) |
int Basda::Image< Nice::I32 >::fitsType | ( | ) |
int Basda::Image< Nice::I32 >::fitsType | ( | ) |
int Basda::Image< Nice::I64 >::fitsType | ( | ) |
int Basda::Image< Nice::I64 >::fitsType | ( | ) |
int Basda::Image< float >::fitsType | ( | ) |
int Basda::Image< float >::fitsType | ( | ) |
int Basda::Image< double >::fitsType | ( | ) |
int Basda::Image< double >::fitsType | ( | ) |
int Basda::Image< Basda::RgbPixel >::fitsType | ( | ) |
int Basda::Image< Basda::RgbPixel >::fitsType | ( | ) |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
protected |
|
protected |
|
protected |
Read the image data of a HDU.
_fitsptr | The cfitsio pointer to the FITS data. |
_index | 0-based image index. If the FITS file has a FITS cube, this is the index into the slice of the cube. If the FITS file has multiple image extensions, this is the index into the image extension. |
|
protected |
|
protected |
bool Basda::Image< Type >::loadFits | ( | const std::string & | _filename, |
size_t | _index = 0 |
||
) |
bool Basda::Image< Type >::loadFits | ( | const std::string & | _filename, |
size_t | _index = 0 |
||
) |
_filename | |
_index |
bool Basda::Image< Type >::loadFits | ( | const std::string & | _filename, |
size_t | _index = 0 |
||
) |
|
protected |
|
protected |
|
protected |
|
static |
|
static |
|
static |
Basda::Image< Type > & Basda::Image< Type >::noise | ( | double | _dist | ) |
_dist |
Image& Basda::Image< Type >::noise | ( | double | _dist | ) |
Image& Basda::Image< Type >::noise | ( | double | _dist | ) |
|
staticprotected |
_filename | The FITS file to be opened. |
|
staticprotected |
|
staticprotected |
|
staticprotected |
open a FITS file with cfitsio.
[in] | _filename | Name of the file in the current file system. |
[out] | numImages | Number of images in the file. This has two differente meanings: if the primary HDU contains a FITS cube, this is the number of slices (images) in the cube. If the primary HDU does not contain a FITS cube (but only a FITS image or a FITS table...), this is the number of header data units. |
|
staticprotected |
|
staticprotected |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
bool Basda::Image< Type >::saveFits | ( | const std::string & | filename | ) |
Write the data as an image into the primary HDU of a FITS file.
filename | The name of the FITS file to be created. |
bool Basda::Image< Type >::saveFits | ( | const std::string & | _filename | ) |
bool Basda::Image< Type >::saveFits | ( | const std::string & | _filename | ) |
bool Basda::Image< Basda::RgbPixel >::saveFits | ( | const std::string & | ) |
bool Basda::Image< Basda::RgbPixel >::saveFits | ( | const std::string & | ) |
bool Basda::Image< Basda::RgbPixel >::saveFits | ( | const std::string & | filename | ) |
bool Basda::Image< Basda::RgbPixel >::saveFits | ( | const std::string & | filename | ) |
bool Basda::Image< Basda::RgbPixel >::saveFits | ( | const std::string & | filename | ) |
|
static |
|
static |
|
static |
bool Basda::Image< Type >::saveFitsWithCards | ( | const std::string & | filename, |
Basda::VinoFitsCardBox * | fcards = 0 |
||
) |
Write the data as an image into the primary HDU of a FITS file.
filename | The name of the FITS file to be created. |
fcards | Additional FITS header keywords. May be zero to indicate that no such keywords are present. |
bool Basda::Image< Type >::saveFitsWithCards | ( | const std::string & | _filename, |
Basda::VinoFitsCardBox * | fcards = 0 |
||
) |
bool Basda::Image< Type >::saveFitsWithCards | ( | const std::string & | _filename, |
Basda::VinoFitsCardBox * | fcards = 0 |
||
) |
|
inline |
|
inline |
|
inline |
Basda::Image< Type > & Basda::Image< Type >::star | ( | const Nice::Point & | _p, |
double | _radius, | ||
double | _scale | ||
) |
_p | |
_radius | |
_scale |
Image& Basda::Image< Type >::star | ( | const Nice::Point & | _p, |
double | _radius, | ||
double | _scale | ||
) |
Image& Basda::Image< Type >::star | ( | const Nice::Point & | _p, |
double | _radius, | ||
double | _scale | ||
) |
void Basda::Image< Type >::swap | ( | Basda::Image< Type > & | _img | ) |
void Basda::Image< Type >::swap | ( | Image< Type > & | ) |
void Basda::Image< Type >::swap | ( | Image< Type > & | ) |
|
inline |
|
inline |
|
inline |
|
static |
|
static |
|
static |
Basda::ImageType Basda::Image< Nice::U8 >::type | ( | ) |
Basda::ImageType Basda::Image< Nice::U8 >::type | ( | ) |
Basda::ImageType Basda::Image< Nice::U8 >::type | ( | ) |
Basda::ImageType Basda::Image< Nice::U16 >::type | ( | ) |
Basda::ImageType Basda::Image< Nice::U16 >::type | ( | ) |
Basda::ImageType Basda::Image< Nice::U16 >::type | ( | ) |
Basda::ImageType Basda::Image< Nice::U32 >::type | ( | ) |
Basda::ImageType Basda::Image< Nice::U32 >::type | ( | ) |
Basda::ImageType Basda::Image< Nice::U32 >::type | ( | ) |
Basda::ImageType Basda::Image< Nice::I32 >::type | ( | ) |
Basda::ImageType Basda::Image< Nice::I32 >::type | ( | ) |
Basda::ImageType Basda::Image< Nice::I32 >::type | ( | ) |
Basda::ImageType Basda::Image< Nice::I64 >::type | ( | ) |
Basda::ImageType Basda::Image< Nice::I64 >::type | ( | ) |
Basda::ImageType Basda::Image< Nice::I64 >::type | ( | ) |
Basda::ImageType Basda::Image< float >::type | ( | ) |
Basda::ImageType Basda::Image< float >::type | ( | ) |
Basda::ImageType Basda::Image< float >::type | ( | ) |
Basda::ImageType Basda::Image< double >::type | ( | ) |
Basda::ImageType Basda::Image< double >::type | ( | ) |
Basda::ImageType Basda::Image< double >::type | ( | ) |
Basda::ImageType Basda::Image< Basda::RgbPixel >::type | ( | ) |
Basda::ImageType Basda::Image< Basda::RgbPixel >::type | ( | ) |
Basda::ImageType Basda::Image< Basda::RgbPixel >::type | ( | ) |
Basda::ImageType Basda::Image< Nice::U8 >::type | ( | ) |
Basda::ImageType Basda::Image< Nice::U8 >::type | ( | ) |
Basda::ImageType Basda::Image< Nice::U16 >::type | ( | ) |
Basda::ImageType Basda::Image< Nice::U16 >::type | ( | ) |
Basda::ImageType Basda::Image< Nice::U32 >::type | ( | ) |
Basda::ImageType Basda::Image< Nice::U32 >::type | ( | ) |
Basda::ImageType Basda::Image< Nice::I32 >::type | ( | ) |
Basda::ImageType Basda::Image< Nice::I32 >::type | ( | ) |
Basda::ImageType Basda::Image< Nice::I64 >::type | ( | ) |
Basda::ImageType Basda::Image< Nice::I64 >::type | ( | ) |
Basda::ImageType Basda::Image< float >::type | ( | ) |
Basda::ImageType Basda::Image< float >::type | ( | ) |
Basda::ImageType Basda::Image< double >::type | ( | ) |
Basda::ImageType Basda::Image< double >::type | ( | ) |
Basda::ImageType Basda::Image< Basda::RgbPixel >::type | ( | ) |
Basda::ImageType Basda::Image< Basda::RgbPixel >::type | ( | ) |