cacao  Release 0.1.03-dev
Compute And Control For Adaptive Optics
image_format.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void __attribute__ ((constructor)) libinit_image_format()
 Initialize module. More...
 
errno_t IMAGE_FORMAT_im_to_ASCII (const char *IDname, const char *foutname)
 
errno_t image_writeBMP_auto (const char *IDnameR, const char *IDnameG, const char *IDnameB, const char *outname)
 
imageID CR2toFITS (const char *fnameCR2, const char *fnameFITS)
 
imageID IMAGE_FORMAT_FITS_to_ushortintbin_lock (const char *IDname, const char *fname)
 
imageID IMAGE_FORMAT_FITS_to_floatbin_lock (const char *IDname, const char *fname)
 
imageID IMAGE_FORMAT_read_binary32f (const char *fname, long xsize, long ysize, const char *IDname)
 
errno_t loadCR2toFITSRGB (const char *fnameCR2, const char *fnameFITSr, const char *fnameFITSg, const char *fnameFITSb)
 
errno_t image_format_extract_RGGBchan (const char *ID_name, const char *IDoutR_name, const char *IDoutG1_name, const char *IDoutG2_name, const char *IDoutB_name)
 

Function Documentation

◆ __attribute__()

void __attribute__ ( (constructor)  )

Initialize module.

◆ CR2toFITS()

imageID CR2toFITS ( const char *  fnameCR2,
const char *  fnameFITS 
)

Purpose

Convert CR2 to FITS

Note
assumes dcraw is installed

◆ image_format_extract_RGGBchan()

errno_t image_format_extract_RGGBchan ( const char *  ID_name,
const char *  IDoutR_name,
const char *  IDoutG1_name,
const char *  IDoutG2_name,
const char *  IDoutB_name 
)

◆ IMAGE_FORMAT_FITS_to_floatbin_lock()

imageID IMAGE_FORMAT_FITS_to_floatbin_lock ( const char *  IDname,
const char *  fname 
)

◆ IMAGE_FORMAT_FITS_to_ushortintbin_lock()

imageID IMAGE_FORMAT_FITS_to_ushortintbin_lock ( const char *  IDname,
const char *  fname 
)

◆ IMAGE_FORMAT_im_to_ASCII()

errno_t IMAGE_FORMAT_im_to_ASCII ( const char *  IDname,
const char *  foutname 
)

◆ IMAGE_FORMAT_read_binary32f()

imageID IMAGE_FORMAT_read_binary32f ( const char *  fname,
long  xsize,
long  ysize,
const char *  IDname 
)

◆ image_writeBMP_auto()

errno_t image_writeBMP_auto ( const char *  IDnameR,
const char *  IDnameG,
const char *  IDnameB,
const char *  outname 
)

◆ loadCR2toFITSRGB()

errno_t loadCR2toFITSRGB ( const char *  fnameCR2,
const char *  fnameFITSr,
const char *  fnameFITSg,
const char *  fnameFITSb 
)