Classes |
struct | vil_dicom_header_type_of< T > |
struct | vil_dicom_header_info |
| DICOM information read from the header. More...
|
class | vil_dicom_header_format |
| A class to read and write the header part of a dicom file. More...
|
Defines |
#define | vr_macro(VR, CPPT) VCL_DEFINE_SPECIALIZATION struct vil_dicom_header_type_of<VR> { typedef CPPT type; } |
Enumerations |
enum | vil_dicom_header_type { VIL_DICOM_HEADER_DTUNKNOWN = 0,
VIL_DICOM_HEADER_DTPART10,
VIL_DICOM_HEADER_DTNON_PART10
} |
| DICOM types. More...
|
enum | vil_dicom_header_endian { VIL_DICOM_HEADER_DEUNKNOWN = 0,
VIL_DICOM_HEADER_DELITTLEENDIAN,
VIL_DICOM_HEADER_DEBIGENDIAN
} |
| Endian types. More...
|
enum | vil_dicom_header_image_type {
VIL_DICOM_HEADER_DITUNKNOWN = 0,
VIL_DICOM_HEADER_DITJPEGBASE,
VIL_DICOM_HEADER_DITJPEGEXTLOSSY,
VIL_DICOM_HEADER_DITJPEGSPECNH,
VIL_DICOM_HEADER_DITJPEGFULLNH,
VIL_DICOM_HEADER_DITJPEGLOSSLNH,
VIL_DICOM_HEADER_DITJPEGEXTHIER,
VIL_DICOM_HEADER_DITJPEGSPECHIER,
VIL_DICOM_HEADER_DITJPEGFULLHIER,
VIL_DICOM_HEADER_DITJPEGLOSSLHIER,
VIL_DICOM_HEADER_DITJPEGLOSSLDEF,
VIL_DICOM_HEADER_DITRLE
} |
| Encapsulated image types. More...
|
enum | vil_dicom_header_vr_type {
vil_dicom_header_AE,
vil_dicom_header_AS,
vil_dicom_header_AT,
vil_dicom_header_CS,
vil_dicom_header_DA,
vil_dicom_header_DS,
vil_dicom_header_DT,
vil_dicom_header_FD,
vil_dicom_header_FL,
vil_dicom_header_IS,
vil_dicom_header_LO,
vil_dicom_header_LT,
vil_dicom_header_OB,
vil_dicom_header_OW,
vil_dicom_header_PN,
vil_dicom_header_SH,
vil_dicom_header_SL,
vil_dicom_header_SQ,
vil_dicom_header_SS,
vil_dicom_header_ST,
vil_dicom_header_TM,
vil_dicom_header_UI,
vil_dicom_header_UL,
vil_dicom_header_UN,
vil_dicom_header_US,
vil_dicom_header_UT
} |
Functions |
| vr_macro (vil_dicom_header_AE, vcl_string) |
| vr_macro (vil_dicom_header_AS, vcl_string) |
| vr_macro (vil_dicom_header_AT, vcl_string) |
| vr_macro (vil_dicom_header_CS, vcl_string) |
| vr_macro (vil_dicom_header_DA, long) |
| vr_macro (vil_dicom_header_DS, float) |
| vr_macro (vil_dicom_header_FD, double) |
| vr_macro (vil_dicom_header_FL, float) |
| vr_macro (vil_dicom_header_IS, long) |
| vr_macro (vil_dicom_header_LO, vcl_string) |
| vr_macro (vil_dicom_header_LT, vcl_string) |
| vr_macro (vil_dicom_header_OB, vcl_string) |
| vr_macro (vil_dicom_header_OW, vcl_string) |
| vr_macro (vil_dicom_header_PN, vcl_string) |
| vr_macro (vil_dicom_header_SH, vcl_string) |
| vr_macro (vil_dicom_header_SL, vxl_sint_32) |
| vr_macro (vil_dicom_header_SQ, vcl_string) |
| vr_macro (vil_dicom_header_SS, vxl_sint_16) |
| vr_macro (vil_dicom_header_ST, vcl_string) |
| vr_macro (vil_dicom_header_TM, float) |
| vr_macro (vil_dicom_header_UI, vcl_string) |
| vr_macro (vil_dicom_header_UL, vxl_uint_32) |
| vr_macro (vil_dicom_header_UN, vcl_string) |
| vr_macro (vil_dicom_header_US, vxl_uint_16) |
| vr_macro (vil_dicom_header_UT, vcl_string) |
void | vil_dicom_header_info_clear (vil_dicom_header_info &info) |
| Clears a header info struct.
|
void | vil_dicom_header_print (vcl_ostream &os, const vil_dicom_header_info &s) |
Variables |
const unsigned | VIL_DICOM_HEADER_MAXHEADERSIZE = 100 |
const vxl_uint_16 | VIL_DICOM_HEADER_COMMANDGROUP = 0x0000 |
const vxl_uint_16 | VIL_DICOM_HEADER_METAFILEGROUP = 0x0002 |
const vxl_uint_16 | VIL_DICOM_HEADER_BASICDIRGROUP = 0x0004 |
const vxl_uint_16 | VIL_DICOM_HEADER_IDENTIFYINGGROUP = 0x0008 |
const vxl_uint_16 | VIL_DICOM_HEADER_PATIENTINFOGROUP = 0x0010 |
const vxl_uint_16 | VIL_DICOM_HEADER_ACQUISITIONGROUP = 0x0018 |
const vxl_uint_16 | VIL_DICOM_HEADER_RELATIONSHIPGROUP = 0x0020 |
const vxl_uint_16 | VIL_DICOM_HEADER_IMAGEGROUP = 0x0028 |
const vxl_uint_16 | VIL_DICOM_HEADER_STUDYGROUP = 0x0032 |
const vxl_uint_16 | VIL_DICOM_HEADER_VISITGROUP = 0x0038 |
const vxl_uint_16 | VIL_DICOM_HEADER_WAVEFORMGROUP = 0x003a |
const vxl_uint_16 | VIL_DICOM_HEADER_PROCEDUREGROUP = 0x0040 |
const vxl_uint_16 | VIL_DICOM_HEADER_DEVICEGROUP = 0x0050 |
const vxl_uint_16 | VIL_DICOM_HEADER_NMIMAGEGROUP = 0x0054 |
const vxl_uint_16 | VIL_DICOM_HEADER_MEDIAGROUP = 0x0088 |
const vxl_uint_16 | VIL_DICOM_HEADER_BASICFILMSESSIONGROUP = 0x2000 |
const vxl_uint_16 | VIL_DICOM_HEADER_BASICFILMBOXGROUP = 0x2010 |
const vxl_uint_16 | VIL_DICOM_HEADER_BASICIMAGEBOXGROUP = 0x2020 |
const vxl_uint_16 | VIL_DICOM_HEADER_BASICANNOTATIONBOXGROUP = 0x2030 |
const vxl_uint_16 | VIL_DICOM_HEADER_BASICIMAGEOVERLAYBOXGROUP = 0x2040 |
const vxl_uint_16 | VIL_DICOM_HEADER_PRINTJOBGROUP = 0x2100 |
const vxl_uint_16 | VIL_DICOM_HEADER_PRINTERGROUP = 0x2110 |
const vxl_uint_16 | VIL_DICOM_HEADER_TEXTGROUP = 0x4000 |
const vxl_uint_16 | VIL_DICOM_HEADER_RESULTSGROUP = 0x4008 |
const vxl_uint_16 | VIL_DICOM_HEADER_CURVEGROUP = 0x5000 |
const vxl_uint_16 | VIL_DICOM_HEADER_OVERLAYGROUP = 0x6000 |
const vxl_uint_16 | VIL_DICOM_HEADER_PIXELGROUP = 0x7fe0 |
const vxl_uint_16 | VIL_DICOM_HEADER_PADGROUP = 0xfffc |
const vxl_uint_16 | VIL_DICOM_HEADER_DELIMITERGROUP = 0xfffe |
const vxl_uint_16 | VIL_DICOM_HEADER_MFGROUPLENGTH = 0x0000 |
const vxl_uint_16 | VIL_DICOM_HEADER_MFTRANSFERSYNTAX = 0x0010 |
const vxl_uint_16 | VIL_DICOM_HEADER_IDGROUPLENGTH = 0x0000 |
const vxl_uint_16 | VIL_DICOM_HEADER_IDLENGTHTOEND = 0x0001 |
const vxl_uint_16 | VIL_DICOM_HEADER_IDSPECIFICCHARACTER = 0x0005 |
const vxl_uint_16 | VIL_DICOM_HEADER_IDIMAGETYPE = 0x0008 |
const vxl_uint_16 | VIL_DICOM_HEADER_IDSOPCLASSID = 0x0016 |
const vxl_uint_16 | VIL_DICOM_HEADER_IDSOPINSTANCEID = 0x0018 |
const vxl_uint_16 | VIL_DICOM_HEADER_IDSTUDYDATE = 0x0020 |
const vxl_uint_16 | VIL_DICOM_HEADER_IDSERIESDATE = 0x0021 |
const vxl_uint_16 | VIL_DICOM_HEADER_IDACQUISITIONDATE = 0x0022 |
const vxl_uint_16 | VIL_DICOM_HEADER_IDIMAGEDATE = 0x0023 |
const vxl_uint_16 | VIL_DICOM_HEADER_IDSTUDYTIME = 0x0030 |
const vxl_uint_16 | VIL_DICOM_HEADER_IDSERIESTIME = 0x0031 |
const vxl_uint_16 | VIL_DICOM_HEADER_IDACQUISITIONTIME = 0x0032 |
const vxl_uint_16 | VIL_DICOM_HEADER_IDIMAGETIME = 0x0033 |
const vxl_uint_16 | VIL_DICOM_HEADER_IDACCESSIONNUMBER = 0x0050 |
const vxl_uint_16 | VIL_DICOM_HEADER_IDMODALITY = 0x0060 |
const vxl_uint_16 | VIL_DICOM_HEADER_IDMANUFACTURER = 0x0070 |
const vxl_uint_16 | VIL_DICOM_HEADER_IDINSTITUTIONNAME = 0x0080 |
const vxl_uint_16 | VIL_DICOM_HEADER_IDINSTITUTIONADDRESS = 0x0081 |
const vxl_uint_16 | VIL_DICOM_HEADER_IDREFERRINGPHYSICIAN = 0x0090 |
const vxl_uint_16 | VIL_DICOM_HEADER_IDSTATIONNAME = 0x1010 |
const vxl_uint_16 | VIL_DICOM_HEADER_IDSTUDYDESCRIPTION = 0x1030 |
const vxl_uint_16 | VIL_DICOM_HEADER_IDSERIESDESCRIPTION = 0x103E |
const vxl_uint_16 | VIL_DICOM_HEADER_IDATTENDINGPHYSICIAN = 0x1050 |
const vxl_uint_16 | VIL_DICOM_HEADER_IDOPERATORNAME = 0x1070 |
const vxl_uint_16 | VIL_DICOM_HEADER_IDMANUFACTURERMODEL = 0x1090 |
const vxl_uint_16 | VIL_DICOM_HEADER_PIGROUPLENGTH = 0x0000 |
const vxl_uint_16 | VIL_DICOM_HEADER_PIPATIENTNAME = 0x0010 |
const vxl_uint_16 | VIL_DICOM_HEADER_PIPATIENTID = 0x0020 |
const vxl_uint_16 | VIL_DICOM_HEADER_PIPATIENTBIRTHDATE = 0x0030 |
const vxl_uint_16 | VIL_DICOM_HEADER_PIPATIENTSEX = 0x0040 |
const vxl_uint_16 | VIL_DICOM_HEADER_PIPATIENTAGE = 0x1010 |
const vxl_uint_16 | VIL_DICOM_HEADER_PIPATIENTWEIGHT = 0x1030 |
const vxl_uint_16 | VIL_DICOM_HEADER_PIPATIENTHISTORY = 0x21B0 |
const vxl_uint_16 | VIL_DICOM_HEADER_AQSCANNINGSEQUENCE = 0x0020 |
const vxl_uint_16 | VIL_DICOM_HEADER_AQSEQUENCEVARIANT = 0x0021 |
const vxl_uint_16 | VIL_DICOM_HEADER_AQSCANOPTIONS = 0x0022 |
const vxl_uint_16 | VIL_DICOM_HEADER_AQMRACQUISITIONTYPE = 0x0023 |
const vxl_uint_16 | VIL_DICOM_HEADER_AQSEQUENCENAME = 0x0024 |
const vxl_uint_16 | VIL_DICOM_HEADER_AQANGIOFLAG = 0x0025 |
const vxl_uint_16 | VIL_DICOM_HEADER_AQSLICETHICKNESS = 0x0050 |
const vxl_uint_16 | VIL_DICOM_HEADER_AQREPETITIONTIME = 0x0080 |
const vxl_uint_16 | VIL_DICOM_HEADER_AQECHOTIME = 0x0081 |
const vxl_uint_16 | VIL_DICOM_HEADER_AQINVERSIONTIME = 0x0082 |
const vxl_uint_16 | VIL_DICOM_HEADER_AQNUMBEROFAVERAGES = 0x0083 |
const vxl_uint_16 | VIL_DICOM_HEADER_AQECHONUMBERS = 0x0086 |
const vxl_uint_16 | VIL_DICOM_HEADER_AQMAGNETICFIELDSTRENGTH = 0x0087 |
const vxl_uint_16 | VIL_DICOM_HEADER_AQSLICESPACING = 0x0088 |
const vxl_uint_16 | VIL_DICOM_HEADER_AQECHOTRAINLENGTH = 0x0091 |
const vxl_uint_16 | VIL_DICOM_HEADER_AQPIXELBANDWIDTH = 0x0095 |
const vxl_uint_16 | VIL_DICOM_HEADER_AQSOFTWAREVERSION = 0x1020 |
const vxl_uint_16 | VIL_DICOM_HEADER_AQPROTOCOLNAME = 0x1030 |
const vxl_uint_16 | VIL_DICOM_HEADER_AQHEARTRATE = 0x1088 |
const vxl_uint_16 | VIL_DICOM_HEADER_AQCARDIACNUMBEROFIMAGES = 0x1090 |
const vxl_uint_16 | VIL_DICOM_HEADER_AQTRIGGERWINDOW = 0x1094 |
const vxl_uint_16 | VIL_DICOM_HEADER_AQRECONTRUCTIONDIAMETER = 0x1100 |
const vxl_uint_16 | VIL_DICOM_HEADER_AQRECEIVINGCOIL = 0x1250 |
const vxl_uint_16 | VIL_DICOM_HEADER_AQPHASEENCODINGDIRECTION = 0x1312 |
const vxl_uint_16 | VIL_DICOM_HEADER_AQFLIPANGLE = 0x1314 |
const vxl_uint_16 | VIL_DICOM_HEADER_AQSAR = 0x1316 |
const vxl_uint_16 | VIL_DICOM_HEADER_AQPATIENTPOSITION = 0x5100 |
const vxl_uint_16 | VIL_DICOM_HEADER_RSSTUDYINSTANCEUID = 0x000D |
const vxl_uint_16 | VIL_DICOM_HEADER_RSSERIESINSTANCEUID = 0x000E |
const vxl_uint_16 | VIL_DICOM_HEADER_RSSTUDYID = 0x0010 |
const vxl_uint_16 | VIL_DICOM_HEADER_RSSERIESNUMBER = 0x0011 |
const vxl_uint_16 | VIL_DICOM_HEADER_RSAQUISITIONNUMBER = 0x0012 |
const vxl_uint_16 | VIL_DICOM_HEADER_RSIMAGENUMBER = 0x0013 |
const vxl_uint_16 | VIL_DICOM_HEADER_RSPATIENTORIENTATION = 0x0020 |
const vxl_uint_16 | VIL_DICOM_HEADER_RSIMAGEPOSITION = 0x0032 |
const vxl_uint_16 | VIL_DICOM_HEADER_RSIMAGEORIENTATION = 0x0037 |
const vxl_uint_16 | VIL_DICOM_HEADER_RSFRAMEOFREFERENCEUID = 0x0052 |
const vxl_uint_16 | VIL_DICOM_HEADER_RSIMAGESINACQUISITION = 0x1002 |
const vxl_uint_16 | VIL_DICOM_HEADER_RSPOSITIONREFERENCE = 0x1040 |
const vxl_uint_16 | VIL_DICOM_HEADER_RSSLICELOCATION = 0x1041 |
const vxl_uint_16 | VIL_DICOM_HEADER_RSIMAGECOMMENTS = 0x4000 |
const vxl_uint_16 | VIL_DICOM_HEADER_IMSAMPLESPERPIXEL = 0x0002 |
const vxl_uint_16 | VIL_DICOM_HEADER_IMPHOTOMETRICINTERP = 0x0004 |
const vxl_uint_16 | VIL_DICOM_HEADER_IMROWS = 0x0010 |
const vxl_uint_16 | VIL_DICOM_HEADER_IMCOLUMNS = 0x0011 |
const vxl_uint_16 | VIL_DICOM_HEADER_IMPLANES = 0x0012 |
const vxl_uint_16 | VIL_DICOM_HEADER_IMPIXELSPACING = 0x0030 |
const vxl_uint_16 | VIL_DICOM_HEADER_IMBITSALLOCATED = 0x0100 |
const vxl_uint_16 | VIL_DICOM_HEADER_IMBITSSTORED = 0x0101 |
const vxl_uint_16 | VIL_DICOM_HEADER_IMHIGHBIT = 0x0102 |
const vxl_uint_16 | VIL_DICOM_HEADER_IMPIXELREPRESENTATION = 0x0103 |
const vxl_uint_16 | VIL_DICOM_HEADER_IMSMALLIMPIXELVALUE = 0x0106 |
const vxl_uint_16 | VIL_DICOM_HEADER_IMLARGEIMPIXELVALUE = 0x0107 |
const vxl_uint_16 | VIL_DICOM_HEADER_IMPIXELPADDINGVALUE = 0x0120 |
const vxl_uint_16 | VIL_DICOM_HEADER_IMWINDOWCENTER = 0x1050 |
const vxl_uint_16 | VIL_DICOM_HEADER_IMWINDOWWIDTH = 0x1051 |
const vxl_uint_16 | VIL_DICOM_HEADER_IMRESCALEINTERCEPT = 0x1052 |
const vxl_uint_16 | VIL_DICOM_HEADER_IMRESCALESLOPE = 0x1053 |
const vxl_uint_16 | VIL_DICOM_HEADER_PXGROUPLENGTH = 0x0000 |
const vxl_uint_16 | VIL_DICOM_HEADER_PXPIXELDATA = 0x0010 |
const vxl_uint_16 | VIL_DICOM_HEADER_DLITEM = 0xe000 |
const vxl_uint_16 | VIL_DICOM_HEADER_DLITEMDELIMITATIONITEM = 0xe00d |
const vxl_uint_16 | VIL_DICOM_HEADER_DLSEQDELIMITATIONITEM = 0xe0dd |
const char *const | VIL_DICOM_HEADER_APPLICATIONENTRY = "AE" |
const char *const | VIL_DICOM_HEADER_AGESTRING = "AS" |
const char *const | VIL_DICOM_HEADER_ATTRIBUTETAG = "AT" |
const char *const | VIL_DICOM_HEADER_CODESTRING = "CS" |
const char *const | VIL_DICOM_HEADER_DATE = "DA" |
const char *const | VIL_DICOM_HEADER_DECIMALSTRING = "DS" |
const char *const | VIL_DICOM_HEADER_DATETIME = "DT" |
const char *const | VIL_DICOM_HEADER_FLOATINGPOINTDOUBLE = "FD" |
const char *const | VIL_DICOM_HEADER_FLOATINGPOINTSINGLE = "FL" |
const char *const | VIL_DICOM_HEADER_INTEGERSTRING = "IS" |
const char *const | VIL_DICOM_HEADER_LONGSTRING = "LO" |
const char *const | VIL_DICOM_HEADER_LONGTEXT = "LT" |
const char *const | VIL_DICOM_HEADER_OTHERBYTE = "OB" |
const char *const | VIL_DICOM_HEADER_OTHERWORD = "OW" |
const char *const | VIL_DICOM_HEADER_PERSONNAME = "PN" |
const char *const | VIL_DICOM_HEADER_SHORTSTRING = "SH" |
const char *const | VIL_DICOM_HEADER_SIGNEDLONG = "SL" |
const char *const | VIL_DICOM_HEADER_SEQUENCE = "SQ" |
const char *const | VIL_DICOM_HEADER_SIGNEDSHORT = "SS" |
const char *const | VIL_DICOM_HEADER_SHORTTEXT = "ST" |
const char *const | VIL_DICOM_HEADER_TIME = "TM" |
const char *const | VIL_DICOM_HEADER_UNIQUEIDENTIFIER = "UI" |
const char *const | VIL_DICOM_HEADER_UNSIGNEDLONG = "UL" |
const char *const | VIL_DICOM_HEADER_UNKNOWN = "UN" |
const char *const | VIL_DICOM_HEADER_UNSIGNEDSHORT = "US" |
const char *const | VIL_DICOM_HEADER_UNLIMITEDTEXT = "UT" |
const vxl_uint_32 | VIL_DICOM_HEADER_ALLSET = 0xffffffff |
const char *const | VIL_DICOM_HEADER_IMPLICITLITTLE = "1.2.840.10008.1.2" |
const char *const | VIL_DICOM_HEADER_EXPLICITLITTLE = "1.2.840.10008.1.2.1" |
const char *const | VIL_DICOM_HEADER_EXPLICITBIG = "1.2.840.10008.1.2.2" |
const char *const | VIL_DICOM_HEADER_JPEGBASELINE_P1 = "1.2.840.10008.1.2.4.50" |
const char *const | VIL_DICOM_HEADER_JPEGDEFLOSSY_P2_4 = "1.2.840.10008.1.2.4.51" |
const char *const | VIL_DICOM_HEADER_JPEGEXTENDED_P3_5 = "1.2.840.10008.1.2.4.52" |
const char *const | VIL_DICOM_HEADER_JPEGSPECTRAL_P6_8 = "1.2.840.10008.1.2.4.53" |
const char *const | VIL_DICOM_HEADER_JPEGSPECTRAL_P7_9 = "1.2.840.10008.1.2.4.54" |
const char *const | VIL_DICOM_HEADER_JPEGFULLPROG_P10_12 = "1.2.840.10008.1.2.4.55" |
const char *const | VIL_DICOM_HEADER_JPEGFULLPROG_P11_13 = "1.2.840.10008.1.2.4.56" |
const char *const | VIL_DICOM_HEADER_JPEGLOSSLESS_P14 = "1.2.840.10008.1.2.4.57" |
const char *const | VIL_DICOM_HEADER_JPEGLOSSLESS_P15 = "1.2.840.10008.1.2.4.58" |
const char *const | VIL_DICOM_HEADER_JPEGEXTHIER_P16_18 = "1.2.840.10008.1.2.4.59" |
const char *const | VIL_DICOM_HEADER_JPEGEXTHIER_P17_19 = "1.2.840.10008.1.2.4.60" |
const char *const | VIL_DICOM_HEADER_JPEGSPECHIER_P20_22 = "1.2.840.10008.1.2.4.61" |
const char *const | VIL_DICOM_HEADER_JPEGSPECHIER_P21_23 = "1.2.840.10008.1.2.4.62" |
const char *const | VIL_DICOM_HEADER_JPEGFULLHIER_P24_26 = "1.2.840.10008.1.2.4.63" |
const char *const | VIL_DICOM_HEADER_JPEGFULLHIER_P25_27 = "1.2.840.10008.1.2.4.64" |
const char *const | VIL_DICOM_HEADER_JPEGLLESSHIER_P28 = "1.2.840.10008.1.2.4.65" |
const char *const | VIL_DICOM_HEADER_JPEGLLESSHIER_P29 = "1.2.840.10008.1.2.4.66" |
const char *const | VIL_DICOM_HEADER_JPEGLLESSDEF_P14_SV1 = "1.2.840.10008.1.2.4.70" |
const char *const | VIL_DICOM_HEADER_RLELOSSLESS = "1.2.840.10008.1.2.5" |
const short | VIL_DICOM_HEADER_UNSPECIFIED = -1 |
const unsigned short | VIL_DICOM_HEADER_UNSPECIFIED_UNSIGNED = (unsigned short) -1 |
const double | VIL_DICOM_HEADER_DEFAULTSIZE = 1.0 |
const float | VIL_DICOM_HEADER_DEFAULTSIZE_FLOAT = 1.0f |
const float | VIL_DICOM_HEADER_DEFAULTINTERCEPT = 0.0f |
const float | VIL_DICOM_HEADER_DEFAULTSLOPE = 1.0f |
DICOM Header reader and writer.
- Author:
- Chris Wolstenholme - Manchester Modified by Ian Scott to work with vil loader.
Definition in file vil_dicom_header.h.