cacao  Release 0.1.03-dev
Compute And Control For Adaptive Optics
img_reduce.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_img_reduce()
 Initialize module. More...
 
imageID IMG_REDUCE_cubesimplestat (const char *IDin_name)
 
imageID IMG_REDUCE_cleanbadpix_fast (const char *IDname, const char *IDbadpix_name, const char *IDoutname, int streamMode)
 
imageID IMG_REDUCE_centernormim (const char *IDin_name, const char *IDref_name, const char *IDout_name, long xcent0, long ycent0, long xcentsize, long ycentsize, int mode, int semtrig)
 
errno_t IMG_REDUCE_cubeprocess (const char *IDin_name)
 

Function Documentation

◆ __attribute__()

void __attribute__ ( (constructor)  )

Initialize module.

◆ IMG_REDUCE_centernormim()

imageID IMG_REDUCE_centernormim ( const char *  IDin_name,
const char *  IDref_name,
const char *  IDout_name,
long  xcent0,
long  ycent0,
long  xcentsize,
long  ycentsize,
int  mode,
int  semtrig 
)

Recenter and normalize image

if mode = 1, shared memory loop

compute offset

◆ IMG_REDUCE_cleanbadpix_fast()

imageID IMG_REDUCE_cleanbadpix_fast ( const char *  IDname,
const char *  IDbadpix_name,
const char *  IDoutname,
int  streamMode 
)

◆ IMG_REDUCE_cubeprocess()

errno_t IMG_REDUCE_cubeprocess ( const char *  IDin_name)

this is the main routine to pre-process a cube stream of images (PSFs) for high contrast imaging stability analysis

Optional inputs: calib_darkim (single frame or cube) calib_badpix (single frame) calib_flat

remove dark

remove bad pixels

compute photocenter

◆ IMG_REDUCE_cubesimplestat()

imageID IMG_REDUCE_cubesimplestat ( const char *  IDin_name)

compute ave, RMS