1
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
4
* UTIL C-source: Medical Image Conversion Utility *
6
* purpose : m-raw.c header file *
8
* project : (X)MedCon by Erik Nolf *
10
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
11
/* $Id: m-raw.h,v 1.7 2004/01/04 22:36:16 enlf Exp $
15
Copyright (C) 1997-2004 by Erik Nolf
17
This program is free software; you can redistribute it and/or modify it
18
under the terms of the GNU General Public License as published by the
19
Free Software Foundation; either version 2, or (at your option) any later
22
This program is distributed in the hope that it will be useful, but
23
WITHOUT ANY WARRANTY; without even the implied warranty of
24
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
25
Public License for more details.
27
You should have received a copy of the GNU General Public License along
28
with this program; if not, write to the Free Software Foundation, Inc.,
29
59 Place - Suite 330, Boston, MA 02111-1307, USA. */
35
/****************************************************************************
37
****************************************************************************/
39
#define MdcReadInterActive(a) MdcReadRAW(a)
41
typedef struct MdcRawInputStruct_t {
43
Uint32 gen_offset, img_offset;
49
typedef struct MdcRawPrevInputStruct_t {
51
Uint32 XDIM, YDIM, NRIMGS;
52
Uint32 GENHDR, IMGHDR, ABSHDR;
54
Int8 DIFF, HDRREP, PSWAP;
56
}MdcRawPrevInputStruct;
58
extern MdcRawInputStruct mdcrawinput;
59
extern MdcRawPrevInputStruct mdcrawprevinput;
61
/****************************************************************************
63
****************************************************************************/
64
void MdcInitRawPrevInput(void);
65
char *MdcReadRAW(FILEINFO *fi);
66
char *MdcWriteRAW(FILEINFO *fi);
67
int MdcCheckPredef(char *fname);
68
char *MdcReadPredef(char *fname);
69
char *MdcWritePredef(char *fname);