IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jan 15, 2012, 4:28:36 PM (15 years ago)
Author:
eugene
Message:

finish adding flat-field correction to libdvo & uniphot (setphot) -- it builds, but is not tested yet

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20111122/Ohana/src/libdvo/include/dvo.h

    r31663 r33104  
    205205} SkyList;
    206206
     207typedef struct {
     208    off_t Nimage;
     209    FlatCorrectionImage *image;
     210    off_t Ncorr;
     211    int *IDtoSeq;
     212    FlatCorrection *corr;
     213    float ***offset; // the correction images represented as a set of arrays (same sequence as *image)
     214} FlatCorrectionTable;
     215
    207216// special-case function:
    208217CMF_PS1_V2 *gfits_table_get_CMF_PS1_V1_Alt (FTable *ftable, off_t *Ndata, char *swapped);
     
    484493void dvo_image_create (FITS_DB *db, double ZeroPoint);
    485494
     495/* flatcorr APIs */
     496FlatCorrectionTable *FlatCorrectionLoad (char *filename, int VERBOSE);
     497int FlatCorrectionInternal(FlatCorrectionTable *flatcorrTable);
     498int FlatCorrectionSave (FlatCorrectionTable *flatcorrTable, char *filename);
     499float FlatCorrectionOffset (FlatCorrectionTable *flatcorr, int ID, int X, int Y);
     500
    486501/* skyregion APIs */
    487502int        SkyTableSave            PROTO((SkyTable *table, char *filename));
Note: See TracChangeset for help on using the changeset viewer.