idacr.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033
00034
00035
00036
#ifndef __IDACR_H__
00037
#define __IDACR_H__
00038
00039
00040
00041
00042
00043
00044
00045
00046
00047
00048
00049
00050
00051
00052
00053
00054
00055
00056
00057
00058
00059
00060
00061
00062
00063
#include <stdio.h>
00064
#include "idswig.h"
00065
00066
#ifdef _MSC_VER
00067
#ifndef __CYGWIN__
00068
#include <Basetsd.h>
00069
#endif
00070
#endif
00071
00072
#include "idacr-restricted.h"
00073
00074
00075
00076
00077
00078
00079
00080
00081
00082
00083
00084
00085
00086
00087
00088
00089
00090
enum {
00091
_ID_File_Name = 0,
00092
_ID_SOP_Class_UID,
00093
_ID_SOP_Instance_UID,
00094
_ID_Study_Date,
00095
_ID_Series_Date,
00096
_ID_Acquisition_Date,
00097
_ID_Image_Date,
00098
_ID_Study_Time,
00099
_ID_Series_Time,
00100
_ID_Acquisition_Time,
00101
_ID_Image_Time,
00102
_ID_Modality,
00103
_ID_Manufacturer,
00104
_ID_Institution_Name,
00105
_ID_Study_Description,
00106
_ID_Series_Description,
00107
_ID_Admitting_Diagnoses_Description,
00108
_ID_Patient_Name,
00109
_ID_Patient_ID,
00110
_ID_Body_Part_Examined,
00111
_ID_Scanning_Sequence,
00112
_ID_Sequence_Variant,
00113
_ID_Scan_Options,
00114
_ID_MR_Acquisition_Type,
00115
_ID_Sequence_Name,
00116
_ID_Slice_Thickness,
00117
_ID_Repetition_Time,
00118
_ID_Echo_Time,
00119
_ID_Inversion_Time,
00120
_ID_Number_of_Averages,
00121
_ID_Imaging_Frequency,
00122
_ID_Imaged_Nucleus,
00123
_ID_Echo_Number,
00124
_ID_Magnetic_Field_Strength,
00125
_ID_Spacing_Between_Slices,
00126
_ID_Echo_Train_Length,
00127
_ID_Percent_Sampling,
00128
_ID_Percent_Phase_Field_of_View,
00129
_ID_Receiving_Coil,
00130
_ID_Patient_Position,
00131
_ID_Study_Instance_UID,
00132
_ID_Series_Instance_UID,
00133
_ID_Study_ID,
00134
_ID_Series_Number,
00135
_ID_Acquisition_Number,
00136
_ID_Image_Number,
00137
_ID_Patient_Orientation,
00138
_ID_Image_Position,
00139
_ID_Image_Position_Patient,
00140
_ID_Image_Orientation,
00141
_ID_Image_Orientation_Patient,
00142
_ID_Location,
00143
_ID_Frame_of_Reference_UID,
00144
_ID_Slice_Location,
00145
_ID_Image_Comments,
00146
_ID_Pixel_Spacing,
00147
_ID_Window_Center,
00148
_ID_Window_Width,
00149
_ID_Image_Type,
00150
_ID_Temporal_Position_Identifier,
00151
_ID_Comments,
00152
_ID_Rescale_Intercept,
00153
_ID_Rescale_Slope,
00154
_ID_Rescale_Type,
00155
_ID_Protocol_Name,
00156
_ID_Number_of_Temporal_Positions,
00157
00158
00159
_ID_Number_of_Items
00160 };
00161
00162
00163
00164
00165 #define NO 0
00166 #define BI 1
00167 #define BD 2
00168 #define AN 3
00169 #define AT 4
00170
00171
void *
IdAcrReadFile (
char *,
int);
00172
void *
IdDcmCVReadFile (
char *,
int,
int,
int);
00173
void *
IdAcrReadFileIntoVector (
char *,
int ,
int,
int,
void *);
00174
00175
int IdAcrWriteFile (
char *,
void *);
00176
00177
int IdAcrGetIdtype (
char *);
00178
int IdAcrGetXSize (
char *);
00179
int IdAcrGetYSize (
char *);
00180
int IdAcrGetZSize (
char *);
00181
int IdAcrGetTSize (
char *);
00182
int IdAcrGetSwapCode (
char *);
00183
int IdAcrGetOffset (
char *);
00184
int IdAcrGetNbFrames (
char *);
00185
int IdAcrGetNBitsAllocated (
char *);
00186
int IdAcrGetNBitsUsed (
char *);
00187
int IdAcrGetHighBit (
char *);
00188
int IdAcrGetSign (
char *);
00189
00190
int IdAcrIsAcrReadable (
char *);
00191
00192
int IdAcrInquirePixelSize (
char * ,
float * OUTPUT,
float * OUTPUT);
00193
int IdAcrInquireSliceThickness (
char * ,
float * OUTPUT);
00194
char **
IdAcrInquirePatientInfo (
char *);
00195
char **
IdAcrInquireIRMInfo (
char *);
00196
char **
IdAcrInquireScanElscintInfo (
char *);
00197
char **
IdAcrInquireExamIRMInfo (
char *);
00198
char **
IdAcrInquireIRMImageInfo (
char *);
00199
00200
int IdAcrPrintIRMInfo (
char **);
00201
int IdAcrPrintIRMImageInfo (
char **);
00202
int IdAcrPrintScanElscintInfo (
char **);
00203
int IdAcrPrintPatientInfo (
char **);
00204 FILE *
IdSwigFopen (
char *);
00205
void IdSwigFclose (FILE*);
00206
int IdAcrInquireInfoTot4 (
char *,
unsigned short int * OUTPUT,
00207
unsigned short int * OUTPUT,
00208
unsigned short int * OUTPUT,
int * OUTPUT,
00209
int * OUTPUT,
int * OUTPUT,
int * OUTPUT,
00210
int * OUTPUT,
int * OUTPUT,
int * OUTPUT,
00211
int * OUTPUT,
int * OUTPUT,
int * OUTPUT,
00212
int * OUTPUT);
00213
00214
int IdAcrWriteFileExtended (
char *,
void *,
ACR_ELEMENT *);
00215
00216
char *
IdAcrReadDicomElementFromLabel(
char *, FILE *);
00217
long IdAcrGetPixelOffsetFromFP (FILE *);
00218
long IdAcrGetPixelOffsetFromFile (
char *);
00219
00220
char ***
IdIrmGetAndRenameDirContents(
char *,
char *,
int);
00221
00222
00223
00224
int IdAcrPrintExamIRMInfo(
char **ExamIRMInfo);
00225
00226
00227
char ***
IdStrGetDicomDirectoryInfo (
char *,
char *,
int * OUTPUT);
00228
char **
IdStrGetExamInfo (
char *,
char *);
00229
char **
IdStrGetSerieInfo (
char *,
char *);
00230
char ***
IdStrGetSeriesExamInfo (
char *,
char *,
int *OUTPUT);
00231
char ***
IdStrGetDirContents3 (
char *,
char *,
int *OUTPUT);
00232
int IdStrRenameDirContents (
char *,
char *,
int *OUTPUT);
00233
00234
#endif
Generated on Wed Oct 19 09:28:33 2005 for SIMRI3D by
1.3.7