public software.sextractor

[/] [trunk/] [src/] [check.h] - Blame information for rev 173

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 2 bertin
/*
2
                                check.h
3
 
4
*%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
5
*
6
*       Part of:        SExtractor
7
*
8
*       Author:         E.BERTIN, IAP/Leiden
9
*
10
*       Contents:       handling of "check-images".
11
*
12 173 bertin
*       Last modify:    18/09/2008
13 2 bertin
*
14
*%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
15
*/
16
 
17
/*--------------------------------- structures ------------------------------*/
18
/* Check-image parameters */
19
typedef struct structcheck
20
  {
21
  char          filename[MAXCHAR];      /* ptr to check-image filename */
22
  FILE          *file;                  /* ptr to check-image file structure */
23
  char          *fitshead;              /* ptr to check-image FITS header */
24
  int           fitsheadsize;           /* size of check-image FITS header */
25
  void          *pix;                   /* ptr to check-image pixmap */
26 173 bertin
  int           width, height, depth;   /* size of check-image */
27 2 bertin
  size_t        npix;                   /* number of pixels in check-image */
28
  int           y;                      /* current line in check-image */
29
  PIXTYPE       overlay;                /* intensity of the overlayed plots */
30
  PIXTYPE       *line;                  /* buffered image line */
31
  checkenum     type;                   /* CHECKIMAGE_TYPE */
32
  }     checkstruct;
33
 
34
/*------------------------------- functions ---------------------------------*/
35
 
36
checkstruct     *initcheck(char *, checkenum, int next);
37
 
38
void            addcheck(checkstruct *, float *, int,int, int,int, float),
39
                blankcheck(checkstruct *, PIXTYPE *, int,int,int,int,PIXTYPE),
40
                endcheck(checkstruct *),
41
                reendcheck(picstruct *field, checkstruct *),
42
                reinitcheck(picstruct *, checkstruct *),
43
                writecheck(checkstruct *, PIXTYPE *, int);