Main Page
Related Pages
Data Structures
Files
File List
Globals
include
micropet.h
Go to the documentation of this file.
1
/******************************************************************************
2
3
Copyright (c) 2009 by Turku PET Centre
4
5
micropet.h
6
7
2009-02-16 VO
8
2009-02-25 VO
9
10
11
12
******************************************************************************/
13
#ifndef _MICROPET_H
14
#define _MICROPET_H
15
/*****************************************************************************/
16
#ifndef MAX_MICROPET_LINE_LEN
17
#define MAX_MICROPET_LINE_LEN 1024
18
#endif
19
/*****************************************************************************/
20
int
MICROPET_TEST
;
21
/*****************************************************************************/
22
extern
int
upetHeaderReadParameter
(FILE *fp,
char
*parameter,
char
*value);
23
extern
int
upetIsHeader
(
char
*hdrfile);
24
extern
int
upetExists
(
char
*upetname,
char
*hdrfile,
char
*imgfile);
25
extern
int
upetGetImageDimensions
(FILE *fp,
int
*z,
int
*x,
int
*y,
int
*f);
26
extern
int
upetScanStart
(FILE *fp, time_t *scant);
27
/*****************************************************************************/
28
extern
int
imgMicropetToEcat7
(
char
*upetname,
char
*ecatfile,
int
verbose);
29
extern
int
imgMicropetPETToEcat7
(FILE *fph, FILE *fpi,
char
*ecatfile,
int
verbose);
30
extern
int
imgMicropetCTToEcat7
(FILE *fph, FILE *fpi,
char
*ecatfile,
int
verbose);
31
extern
int
imgGetMicropetMainHeader
(FILE *fp,
IMG
*img,
float
*calibration_factor);
32
extern
int
imgGetMicropetFrameHeader
(FILE *fp,
IMG
*img,
int
frame_index);
33
/*****************************************************************************/
34
extern
int
imgGetMicropetSIF
(FILE *fp,
SIF
*sif);
35
/*****************************************************************************/
36
#endif
Generated by
1.8.3.1