gimask.h
00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028 #ifndef GIMASK_H
00029 #define GIMASK_H
00030
00031 #ifdef __cplusplus
00032 extern "C" {
00033 #endif
00034
00035 enum GiMaskType {
00036 GIMASK_FITTED_DATA,
00037 GIMASK_FIT_COEFFS
00038 };
00039
00040 typedef enum GiMaskType GiMaskType;
00041
00042
00043 struct GiMaskParameters {
00044 cxint ywidth;
00045 cxint method;
00046 cxdouble threshold;
00047 cxint ydeg;
00048 cxint wdeg;
00049 cxint start;
00050 cxint retry;
00051 cxint xbin;
00052 cxdouble ewid;
00053 cxdouble wavg;
00054 cxdouble sigma;
00055 cxdouble mfrac;
00056 cxint niter;
00057
00058 struct {
00059 cxint width;
00060 cxint height;
00061 cxsize count;
00062 } ckdata;
00063 };
00064
00065 typedef struct GiMaskParameters GiMaskParameters;
00066
00067
00068 struct GiMaskPosition {
00069 GiMaskType type;
00070 cpl_matrix *my;
00071 cpl_matrix *mw;
00072 };
00073
00074 typedef struct GiMaskPosition GiMaskPosition;
00075
00076
00077 #ifdef __cplusplus
00078 }
00079 #endif
00080
00081 #endif