ITK  4.8.0
Insight Segmentation and Registration Toolkit
Ge5xHdr.h
Go to the documentation of this file.
1 /*=========================================================================
2  *
3  * Copyright Insight Software Consortium
4  *
5  * Licensed under the Apache License, Version 2.0 (the "License");
6  * you may not use this file except in compliance with the License.
7  * You may obtain a copy of the License at
8  *
9  * http://www.apache.org/licenses/LICENSE-2.0.txt
10  *
11  * Unless required by applicable law or agreed to in writing, software
12  * distributed under the License is distributed on an "AS IS" BASIS,
13  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14  * See the License for the specific language governing permissions and
15  * limitations under the License.
16  *
17  *=========================================================================*/
18 /*
19  * The definitions in this file were derived from genesis.tcl from
20  * David Clunies Dicom3Tools
21  *
22  *
23  * Copyright (c) 1993-2006, David A. Clunie DBA PixelMed Publishing. All rights reserved.
24  *
25  * Redistribution and use in source and binary forms, with or without modification, are
26  * permitted provided that the following conditions are met:
27  *
28  * 1. Redistributions of source code must retain the above copyright notice, this list of
29  * conditions and the following disclaimers.
30  *
31  * 2. Redistributions in binary form must reproduce the above copyright notice, this list of
32  * conditions and the following disclaimers in the documentation and/or other materials
33  * provided with the distribution.
34  *
35  * 3. Neither the name of PixelMed Publishing nor the names of its contributors may
36  * be used to endorse or promote products derived from this software.
37  *
38  * This software is provided by the copyright holders and contributors "as is" and any
39  * express or implied warranties, including, but not limited to, the implied warranties
40  * of merchantability and fitness for a particular purpose are disclaimed. In no event
41  * shall the copyright owner or contributors be liable for any direct, indirect, incidental,
42  * special, exemplary, or consequential damages (including, but not limited to, procurement
43  * of substitute goods or services; loss of use, data or profits; or business interruption)
44  * however caused and on any theory of liability, whether in contract, strict liability, or
45  * tort (including negligence or otherwise) arising in any way out of the use of this software,
46  * even if advised of the possibility of such damage.
47  *
48  * This software has neither been tested nor approved for clinical use or for incorporation in
49  * a medical device. It is the redistributor's or user's responsibility to comply with any
50  * applicable local, state, national or international regulations.
51  *
52  */
53 
54 #ifndef __Ge5xHdr_h
55 #define __Ge5xHdr_h
56 #include "ITKIOGEExport.h"
57 
58 #define GE_5X_MAGIC_NUMBER 0x494d4746
59 
60 typedef struct GE_5x_ImgHdr {
75  unsigned short GENESIS_IH_img_checksum;
102 
103 
105  GENESIS_SU_ID = 0, /* Suite ID */
106  GENESIS_SU_UNIQ = 4, /* Make Unique Flag */
107  GENESIS_SU_DISKID = 6, /* Disk ID */
108  GENESIS_SU_PRODID = 7, /* Product ID */
109  GENESIS_SU_VERSCRE = 20, /* Original Version of Record */
110  GENESIS_SU_VERSCUR = 22, /* Current Version of Record */
111  GENESIS_SU_CHECKSUM = 24, /* Suite Record Checksum */
112  GENESIS_SU_PADDING = 28, /* Spare Space */
113  GENESIS_SU_HDR_LEN = 114 /* Length of Suite Header */
114 };
115 
117  GENESIS_EX_SUID = 0, /* Suite Id for this Exam */
118  GENESIS_EX_UNIQ = 4, /* Make-Unique Flag */
119  GENESIS_EX_DISKID = 6, /* Disk ID for this Exam */
120  GENESIS_EX_NO = 8, /* Exam Number */
121  GENESIS_EX_HOSPNAME = 10, /* Hospital Name */
122  GENESIS_EX_DETECT = 44, /* Detector Type */
123  GENESIS_EX_NUMCELLS = 46, /* Number of cells in det */
124  GENESIS_EX_ZEROCELL = 50, /* Cell number at theta */
125  GENESIS_EX_CELLSPACE = 54, /* Cell spacing */
134  GENESIS_EX_MAGSTRENGTH = 80, /* Magnetic Strength Gauss*/
135  GENESIS_EX_PATID = 84, /* Patient ID for this Exam*/
136  GENESIS_EX_PATNAME = 97, /* Patient Name*/
137  GENESIS_EX_PATAGE = 122, /* Patient Age */
138  GENESIS_EX_PATIAN = 124, /* Patient Age Notation */
140  GENESIS_EX_PATWEIGHT = 128, /* Patient Weight */
176 };
177 
263 };
264 
471 };
472 
670 };
671 
672 
676 };
677 
679  GE_5X_NO = 0,
681 };
682 
684  GE_5X_PREP_NONE = 0, /* None */
685  GE_5X_PREP_IR = 1, /* Inversion Recovery*/
686  GE_5X_PREP_DE = 2 /* Driven Equilibrium */
687 };
688 
694 };
695 
701 };
702 
712 };
713 
718 };
719 
724 };
725 
735 };
736 
764 };
765 
769 };
770 
776 };
777 
783 };
784 
788 };
789 
793 };
794 
800 };
801 
807 };
808 
815 };
816 
823 };
824 
828 };
829 
839 };
840 
845 };
846 
853 };
854 
855 #endif /* __Ge5xHdr_h */
int GENESIS_IH_img_levelOffset
Definition: Ge5xHdr.h:90
int GENESIS_IH_img_l_image
Definition: Ge5xHdr.h:100
int GENESIS_IH_img_l_suite
Definition: Ge5xHdr.h:94
GE_5X_CT_ROT_SPEED_ENUM
Definition: Ge5xHdr.h:771
int GENESIS_IH_img_p_histo
Definition: Ge5xHdr.h:82
GE_5X_PROJECT_TYPE_ENUM
Definition: Ge5xHdr.h:689
int GENESIS_IH_img_l_histo
Definition: Ge5xHdr.h:83
int GENESIS_IH_img_l_exam
Definition: Ge5xHdr.h:96
GE_5X_CT_FILTER_TYPE_ENUM
Definition: Ge5xHdr.h:809
int GENESIS_IH_img_top_offset
Definition: Ge5xHdr.h:72
GE_5X_SAT_TYPE_ENUM
Definition: Ge5xHdr.h:714
GE_5X_ON_OFF_ENUM
Definition: Ge5xHdr.h:673
int GENESIS_IH_img_l_text
Definition: Ge5xHdr.h:85
GE_5X_YES_NO_ENUM
Definition: Ge5xHdr.h:678
int GENESIS_IH_img_l_dbHdr
Definition: Ge5xHdr.h:89
GE_5X_CT_SCOUT_ENUM
Definition: Ge5xHdr.h:790
int GENESIS_IH_img_p_unpack
Definition: Ge5xHdr.h:78
GE_5X_IMAGE_TYPE_ENUM
Definition: Ge5xHdr.h:696
int GENESIS_IH_img_l_user
Definition: Ge5xHdr.h:92
int GENESIS_IH_img_magic
Definition: Ge5xHdr.h:61
GE_5X_PREP_PULSE_ENUM
Definition: Ge5xHdr.h:683
int GENESIS_IH_img_p_exam
Definition: Ge5xHdr.h:95
int GENESIS_IH_img_ovrflow
Definition: Ge5xHdr.h:70
int GENESIS_IH_img_l_series
Definition: Ge5xHdr.h:98
int GENESIS_IH_img_p_image
Definition: Ge5xHdr.h:99
GE_5X_CT_GANTRY_ROT_ENUM
Definition: Ge5xHdr.h:766
int GENESIS_IH_img_width
Definition: Ge5xHdr.h:63
int GENESIS_IH_img_bot_offset
Definition: Ge5xHdr.h:73
GE_5X_MRHDR_ENUM
Definition: Ge5xHdr.h:473
int GENESIS_IH_img_p_series
Definition: Ge5xHdr.h:97
int GENESIS_IH_img_p_dbHdr
Definition: Ge5xHdr.h:88
GE_5X_SERIES_TYPE_ENUM
Definition: Ge5xHdr.h:830
int GENESIS_IH_img_height
Definition: Ge5xHdr.h:64
GE_5X_IMG_MODE_ENUM
Definition: Ge5xHdr.h:726
int GENESIS_IH_img_p_graphics
Definition: Ge5xHdr.h:86
GE_5X_CT_TRIG_ENUM
Definition: Ge5xHdr.h:778
int GENESIS_IH_img_hdr_length
Definition: Ge5xHdr.h:62
int GENESIS_IH_img_depth
Definition: Ge5xHdr.h:65
GE_SUITE_HDR_ENUM
Definition: Ge5xHdr.h:104
GE_EXAM_HDR_ENUM
Definition: Ge5xHdr.h:116
GE_5X_CT_PHANTOM_TYPE_ENUM
Definition: Ge5xHdr.h:802
GE_5X_SEQ_TYPE_ENUM
Definition: Ge5xHdr.h:737
int GENESIS_IH_img_undflow
Definition: Ge5xHdr.h:71
struct GE_5x_ImgHdr Ge5xPixelHeader
int GENESIS_IH_img_dwindow
Definition: Ge5xHdr.h:67
int GENESIS_IH_img_p_id
Definition: Ge5xHdr.h:76
GE_5X_SEHDR_ENUM
Definition: Ge5xHdr.h:178
GE_5X_CT_FS_ENUM
Definition: Ge5xHdr.h:785
int GENESIS_IH_img_l_compress
Definition: Ge5xHdr.h:81
GE_5X_CT_COMPUTE_TYPE_ENUM
Definition: Ge5xHdr.h:817
int GENESIS_IH_img_bgshade
Definition: Ge5xHdr.h:69
int GENESIS_IH_img_l_graphics
Definition: Ge5xHdr.h:87
GE_5X_CT_PHANTOM_SIZE_ENUM
Definition: Ge5xHdr.h:795
int GENESIS_IH_img_p_text
Definition: Ge5xHdr.h:84
short GENESIS_IH_img_version
Definition: Ge5xHdr.h:74
int GENESIS_IH_img_l_id
Definition: Ge5xHdr.h:77
int GENESIS_IH_img_p_suite
Definition: Ge5xHdr.h:93
int GENESIS_IH_img_p_compress
Definition: Ge5xHdr.h:80
GE_5X_VASCULAR_TYPE_ENUM
Definition: Ge5xHdr.h:703
GE_5X_SCAN_TYPE_ENUM
Definition: Ge5xHdr.h:841
int GENESIS_IH_img_compress
Definition: Ge5xHdr.h:66
int GENESIS_IH_img_p_user
Definition: Ge5xHdr.h:91
GE_5X_ENTRY_TYPE_ENUM
Definition: Ge5xHdr.h:825
int GENESIS_IH_img_l_unpack
Definition: Ge5xHdr.h:79
int GENESIS_IH_img_dlevel
Definition: Ge5xHdr.h:68
GE_5X_GRX_TYPE_ENUM
Definition: Ge5xHdr.h:720
unsigned short GENESIS_IH_img_checksum
Definition: Ge5xHdr.h:75
GE_RELATIVE_STARTS
Definition: Ge5xHdr.h:847
GE_5X_CTHDR_ENUM
Definition: Ge5xHdr.h:265