TPCCLIB
Toggle main menu visibility
Loading...
Searching...
No Matches
libtpcnifti
tpcnifti.h
Go to the documentation of this file.
1
14
#ifndef _TPCNIFTI_H_
15
#define _TPCNIFTI_H_
16
/*****************************************************************************/
17
18
/*****************************************************************************/
19
#include "tpcclibConfig.h"
20
/*****************************************************************************/
21
#include <stdio.h>
22
#include <stdlib.h>
23
#include <string.h>
24
#include <math.h>
25
/*****************************************************************************/
26
#include "
tpcextensions.h
"
27
#include "
tpcift.h
"
28
#include "
tpcfileutil.h
"
29
/*****************************************************************************/
30
31
/*****************************************************************************/
33
#define NIFTI1_HEADER_SIZE 348
35
#define NIFTI1_HEADER_EXTENDER_SIZE 4
37
#define NIFTI2_HEADER_SIZE 540
39
#define NIFTI2_HEADER_EXTENDER_SIZE 4
41
#define ANALYZE_HEADER_SIZE 348
42
/*****************************************************************************/
44
#define NIFTI_UNITS_UNKNOWN 0
46
#define NIFTI_UNITS_METER 1
48
#define NIFTI_UNITS_MM 2
50
#define NIFTI_UNITS_MICRON 4
52
#define NIFTI_UNITS_SEC 8
54
#define NIFTI_UNITS_MSEC 16
56
#define NIFTI_UNITS_USEC 24
58
#define NIFTI_UNITS_HERTZ 32
60
#define NIFTI_UNITS_PPM 40
62
#define NIFTI_UNITS_RADS 48
63
/*****************************************************************************/
65
#define ANALYZE_DT_NONE 0
67
#define ANALYZE_DT_UNKNOWN 0
69
#define ANALYZE_DT_BINARY 1
71
#define ANALYZE_DT_UNSIGNED_CHAR 2
73
#define ANALYZE_DT_SIGNED_SHORT 4
75
#define ANALYZE_DT_SIGNED_INT 8
77
#define ANALYZE_DT_FLOAT 16
79
#define ANALYZE_DT_COMPLEX 32
81
#define ANALYZE_DT_DOUBLE 64
83
#define ANALYZE_DT_RGB 128
85
#define ANALYZE_DT_ALL 255
86
88
#define NIFTI_DT_NONE ANALYZE_DT_NONE
90
#define NIFTI_DT_UNKNOWN ANALYZE_DT_UNKNOWN
92
#define NIFTI_DT_BINARY ANALYZE_DT_BINARY
94
#define NIFTI_DT_UNSIGNED_CHAR ANALYZE_DT_UNSIGNED_CHAR
96
#define NIFTI_DT_SIGNED_SHORT ANALYZE_DT_SIGNED_SHORT
98
#define NIFTI_DT_SIGNED_INT ANALYZE_DT_SIGNED_INT
100
#define NIFTI_DT_FLOAT ANALYZE_DT_FLOAT
102
#define NIFTI_DT_COMPLEX ANALYZE_DT_COMPLEX
104
#define NIFTI_DT_DOUBLE ANALYZE_DT_DOUBLE
106
#define NIFTI_DT_RGB ANALYZE_DT_RGB
108
#define NIFTI_DT_ALL ANALYZE_DT_ALL
110
#define NIFTI_DT_SIGNED_CHAR 256
112
#define NIFTI_DT_UNSIGNED_SHORT 512
114
#define NIFTI_DT_UNSIGNED_INT 768
116
#define NIFTI_DT_LONG_LONG 1024
118
#define NIFTI_DT_UNSIGNED_LONG_LONG 1280
120
#define NIFTI_DT_LONG_DOUBLE 1536
122
#define NIFTI_DT_DOUBLE_PAIR 1792
124
#define NIFTI_DT_LONG_DOUBLE_PAIR 2048
126
#define NIFTI_DT_RGBA 2304
127
/*****************************************************************************/
129
#define NIFTI_INTENT_NONE 0
131
#define NIFTI_INTENT_CORREL 2
133
#define NIFTI_INTENT_TTEST 3
135
#define NIFTI_INTENT_FTEST 4
137
#define NIFTI_INTENT_ZSCORE 5
139
#define NIFTI_INTENT_CHISQ 6
141
#define NIFTI_INTENT_BETA 7
143
#define NIFTI_INTENT_BINOM 8
145
#define NIFTI_INTENT_GAMMA 9
147
#define NIFTI_INTENT_POISSON 10
149
#define NIFTI_INTENT_NORMAL 11
151
#define NIFTI_INTENT_FTEST_NONC 12
153
#define NIFTI_INTENT_CHISQ_NONC 13
155
#define NIFTI_INTENT_LOGISTIC 14
157
#define NIFTI_INTENT_LAPLACE 15
159
#define NIFTI_INTENT_UNIFORM 16
161
#define NIFTI_INTENT_TTEST_NONC 17
163
#define NIFTI_INTENT_WEIBULL 18
165
#define NIFTI_INTENT_CHI 19
167
#define NIFTI_INTENT_INVGAUSS 20
169
#define NIFTI_INTENT_EXTVAL 21
171
#define NIFTI_INTENT_PVAL 22
173
#define NIFTI_INTENT_LOGPVAL 23
175
#define NIFTI_INTENT_LOG10PVAL 24
177
#define NIFTI_INTENT_ESTIMATE 1001
179
#define NIFTI_INTENT_LABEL 1002
181
#define NIFTI_INTENT_NEURONAME 1003
183
#define NIFTI_INTENT_GENMATRIX 1004
185
#define NIFTI_INTENT_SYMMATRIX 1005
187
#define NIFTI_INTENT_DISPVECT 1006
189
#define NIFTI_INTENT_VECTOR 1007
191
#define NIFTI_INTENT_POINTSET 1008
193
#define NIFTI_INTENT_TRIANGLE 1009
195
#define NIFTI_INTENT_QUATERNION 1010
197
#define NIFTI_INTENT_DIMLESS 1011
198
/*****************************************************************************/
200
#define NIFTI_XFORM_UNKNOWN 0
202
#define NIFTI_XFORM_SCANNER_ANAT 1
204
#define NIFTI_XFORM_ALIGNED_ANAT 2
206
#define NIFTI_XFORM_TALAIRACH 3
208
#define NIFTI_XFORM_MNI_152 4
209
/*****************************************************************************/
210
211
/*****************************************************************************/
213
typedef
struct
{
216
int
sizeof_hdr
;
218
char
data_type
[10];
220
char
db_name
[18];
222
int
extents
;
224
short
int
session_error
;
226
char
regular
;
228
char
dim_info
;
229
233
short
int
dim
[8];
235
float
intent_p1
;
237
float
intent_p2
;
239
float
intent_p3
;
241
short
int
intent_code
;
243
short
int
datatype
;
245
short
int
bitpix
;
247
short
int
slice_start
;
249
float
pixdim
[8];
251
float
vox_offset
;
253
float
scl_slope
;
255
float
scl_inter
;
257
short
int
slice_end
;
259
char
slice_code
;
261
char
xyzt_units
;
263
float
cal_max
;
265
float
cal_min
;
267
float
slice_duration
;
269
float
toffset
;
271
int
glmax
;
273
int
glmin
;
274
276
char
descrip
[80];
278
char
aux_file
[24];
281
short
int
qform_code
;
283
short
int
sform_code
;
285
float
quatern_b
;
287
float
quatern_c
;
289
float
quatern_d
;
291
float
qoffset_x
;
293
float
qoffset_y
;
295
float
qoffset_z
;
297
float
srow_x
[4];
299
float
srow_y
[4];
301
float
srow_z
[4];
303
char
intent_name
[16];
306
char
magic
[4];
307
}
NIFTI_1_HEADER
;
308
310
typedef
struct
{
312
int
sizeof_hdr
;
315
char
magic
[8];
317
int16_t
datatype
;
319
int16_t
bitpix
;
323
int64_t
dim
[8];
325
double
intent_p1
;
327
double
intent_p2
;
329
double
intent_p3
;
331
double
pixdim
[8];
333
int64_t
vox_offset
;
335
double
scl_slope
;
337
double
scl_inter
;
339
double
cal_max
;
341
double
cal_min
;
343
double
slice_duration
;
345
double
toffset
;
347
int64_t
slice_start
;
349
int64_t
slice_end
;
351
char
descrip
[80];
353
char
aux_file
[24];
356
int
qform_code
;
358
int
sform_code
;
360
double
quatern_b
;
362
double
quatern_c
;
364
double
quatern_d
;
366
double
qoffset_x
;
368
double
qoffset_y
;
370
double
qoffset_z
;
372
double
srow_x
[4];
374
double
srow_y
[4];
376
double
srow_z
[4];
378
int
slice_code
;
380
int
xyzt_units
;
382
int
intent_code
;
384
char
intent_name
[16];
386
char
dim_info
;
388
char
unused_str
[15];
389
}
NIFTI_2_HEADER
;
390
394
typedef
struct
{
398
char
extension
[4];
399
}
NIFTI_EXTENDER
;
400
402
typedef
struct
{
404
NIFTI_1_HEADER
h1
;
406
NIFTI_2_HEADER
h2
;
408
NIFTI_EXTENDER
e
;
410
int
n
;
412
int
byte_order
;
413
}
NIFTI_DSR
;
414
/*****************************************************************************/
415
416
/*****************************************************************************/
418
typedef
struct
{
421
int
sizeof_hdr
;
423
char
data_type
[10];
425
char
db_name
[18];
428
int
extents
;
430
short
int
session_error
;
432
char
regular
;
434
char
hkey_un0
;
437
short
int
dim
[8];
439
short
int
unused8
;
441
short
int
unused9
;
443
short
int
unused10
;
445
short
int
unused11
;
447
short
int
unused12
;
449
short
int
unused13
;
451
short
int
unused14
;
454
short
int
datatype
;
456
short
int
bitpix
;
458
short
int
dim_un0
;
460
float
pixdim
[8];
463
float
vox_offset
;
465
float
funused1
;
467
float
funused2
;
469
float
funused3
;
471
float
cal_max
;
473
float
cal_min
;
475
float
compressed
;
477
float
verified
;
479
int
glmax
;
481
int
glmin
;
483
char
descrip
[80];
485
char
aux_file
[24];
488
char
orient
;
490
char
originator
[10];
492
char
generated
[10];
494
char
scannum
[10];
496
char
patient_id
[10];
498
char
exp_date
[10];
500
char
exp_time
[10];
502
char
hist_un0
[3];
504
int
views
;
506
int
vols_added
;
508
int
start_field
;
510
int
field_skip
;
512
int
omax
;
514
int
omin
;
516
int
smax
;
518
int
smin
;
519
}
ANALYZE_HEADER
;
520
522
typedef
struct
{
524
ANALYZE_HEADER
h
;
526
int
byte_order
;
527
}
ANALYZE_DSR
;
528
/*****************************************************************************/
529
530
/*****************************************************************************/
531
/* niftiname */
532
extern
void
niftiBasename
(
char
*filename);
533
/*****************************************************************************/
534
535
/*****************************************************************************/
536
/* niftiio */
537
extern
int
niftiExists
(
538
const
char
*filename,
char
*hdrfile,
char
*imgfile,
char
*siffile,
NIFTI_DSR
*header,
539
TPCSTATUS
*status
540
);
541
extern
int
niftiReadHeader
(
const
char
*filename,
NIFTI_DSR
*dsr,
int
verbose);
542
extern
int
niftiWriteHeader
(
const
char
*filename,
NIFTI_DSR
*dsr,
int
verbose);
543
/*****************************************************************************/
544
545
/*****************************************************************************/
546
/* analyzeio */
547
extern
int
anaExists
(
548
const
char
*filename,
char
*hdrfile,
char
*imgfile,
char
*siffile,
ANALYZE_DSR
*header,
549
TPCSTATUS
*status
550
);
551
extern
int
anaReadHeader
(
const
char
*filename,
ANALYZE_DSR
*dsr,
int
verbose);
552
/*****************************************************************************/
553
554
/*****************************************************************************/
555
#endif
/* TPCNIFTI */
ANALYZE_DSR
Definition
tpcnifti.h:522
ANALYZE_DSR::byte_order
int byte_order
Definition
tpcnifti.h:526
ANALYZE_DSR::h
ANALYZE_HEADER h
Definition
tpcnifti.h:524
ANALYZE_HEADER
Definition
tpcnifti.h:418
ANALYZE_HEADER::cal_min
float cal_min
Definition
tpcnifti.h:473
ANALYZE_HEADER::data_type
char data_type[10]
Definition
tpcnifti.h:423
ANALYZE_HEADER::regular
char regular
Definition
tpcnifti.h:432
ANALYZE_HEADER::bitpix
short int bitpix
Definition
tpcnifti.h:456
ANALYZE_HEADER::smax
int smax
Definition
tpcnifti.h:516
ANALYZE_HEADER::patient_id
char patient_id[10]
Definition
tpcnifti.h:496
ANALYZE_HEADER::aux_file
char aux_file[24]
Definition
tpcnifti.h:485
ANALYZE_HEADER::dim
short int dim[8]
Definition
tpcnifti.h:437
ANALYZE_HEADER::hist_un0
char hist_un0[3]
Definition
tpcnifti.h:502
ANALYZE_HEADER::unused10
short int unused10
Definition
tpcnifti.h:443
ANALYZE_HEADER::views
int views
Definition
tpcnifti.h:504
ANALYZE_HEADER::omax
int omax
Definition
tpcnifti.h:512
ANALYZE_HEADER::pixdim
float pixdim[8]
Definition
tpcnifti.h:460
ANALYZE_HEADER::unused8
short int unused8
Definition
tpcnifti.h:439
ANALYZE_HEADER::funused3
float funused3
Definition
tpcnifti.h:469
ANALYZE_HEADER::dim_un0
short int dim_un0
Definition
tpcnifti.h:458
ANALYZE_HEADER::vols_added
int vols_added
Definition
tpcnifti.h:506
ANALYZE_HEADER::compressed
float compressed
Definition
tpcnifti.h:475
ANALYZE_HEADER::orient
char orient
Definition
tpcnifti.h:488
ANALYZE_HEADER::unused9
short int unused9
Definition
tpcnifti.h:441
ANALYZE_HEADER::smin
int smin
Definition
tpcnifti.h:518
ANALYZE_HEADER::funused1
float funused1
Definition
tpcnifti.h:465
ANALYZE_HEADER::scannum
char scannum[10]
Definition
tpcnifti.h:494
ANALYZE_HEADER::session_error
short int session_error
Definition
tpcnifti.h:430
ANALYZE_HEADER::glmin
int glmin
Definition
tpcnifti.h:481
ANALYZE_HEADER::unused11
short int unused11
Definition
tpcnifti.h:445
ANALYZE_HEADER::descrip
char descrip[80]
Definition
tpcnifti.h:483
ANALYZE_HEADER::field_skip
int field_skip
Definition
tpcnifti.h:510
ANALYZE_HEADER::glmax
int glmax
Definition
tpcnifti.h:479
ANALYZE_HEADER::unused14
short int unused14
Definition
tpcnifti.h:451
ANALYZE_HEADER::sizeof_hdr
int sizeof_hdr
Definition
tpcnifti.h:421
ANALYZE_HEADER::unused13
short int unused13
Definition
tpcnifti.h:449
ANALYZE_HEADER::extents
int extents
Definition
tpcnifti.h:428
ANALYZE_HEADER::verified
float verified
Definition
tpcnifti.h:477
ANALYZE_HEADER::exp_date
char exp_date[10]
Definition
tpcnifti.h:498
ANALYZE_HEADER::exp_time
char exp_time[10]
Definition
tpcnifti.h:500
ANALYZE_HEADER::datatype
short int datatype
Definition
tpcnifti.h:454
ANALYZE_HEADER::originator
char originator[10]
Definition
tpcnifti.h:490
ANALYZE_HEADER::start_field
int start_field
Definition
tpcnifti.h:508
ANALYZE_HEADER::vox_offset
float vox_offset
Definition
tpcnifti.h:463
ANALYZE_HEADER::omin
int omin
Definition
tpcnifti.h:514
ANALYZE_HEADER::cal_max
float cal_max
Definition
tpcnifti.h:471
ANALYZE_HEADER::generated
char generated[10]
Definition
tpcnifti.h:492
ANALYZE_HEADER::hkey_un0
char hkey_un0
Definition
tpcnifti.h:434
ANALYZE_HEADER::funused2
float funused2
Definition
tpcnifti.h:467
ANALYZE_HEADER::unused12
short int unused12
Definition
tpcnifti.h:447
ANALYZE_HEADER::db_name
char db_name[18]
Definition
tpcnifti.h:425
NIFTI_1_HEADER
Definition
tpcnifti.h:213
NIFTI_1_HEADER::quatern_d
float quatern_d
Definition
tpcnifti.h:289
NIFTI_1_HEADER::quatern_c
float quatern_c
Definition
tpcnifti.h:287
NIFTI_1_HEADER::qform_code
short int qform_code
Definition
tpcnifti.h:281
NIFTI_1_HEADER::db_name
char db_name[18]
Definition
tpcnifti.h:220
NIFTI_1_HEADER::xyzt_units
char xyzt_units
Definition
tpcnifti.h:261
NIFTI_1_HEADER::qoffset_x
float qoffset_x
Definition
tpcnifti.h:291
NIFTI_1_HEADER::cal_max
float cal_max
Definition
tpcnifti.h:263
NIFTI_1_HEADER::slice_start
short int slice_start
Definition
tpcnifti.h:247
NIFTI_1_HEADER::slice_end
short int slice_end
Definition
tpcnifti.h:257
NIFTI_1_HEADER::slice_duration
float slice_duration
Definition
tpcnifti.h:267
NIFTI_1_HEADER::datatype
short int datatype
Definition
tpcnifti.h:243
NIFTI_1_HEADER::slice_code
char slice_code
Definition
tpcnifti.h:259
NIFTI_1_HEADER::cal_min
float cal_min
Definition
tpcnifti.h:265
NIFTI_1_HEADER::intent_p2
float intent_p2
Definition
tpcnifti.h:237
NIFTI_1_HEADER::aux_file
char aux_file[24]
Definition
tpcnifti.h:278
NIFTI_1_HEADER::intent_p1
float intent_p1
Definition
tpcnifti.h:235
NIFTI_1_HEADER::srow_z
float srow_z[4]
Definition
tpcnifti.h:301
NIFTI_1_HEADER::srow_x
float srow_x[4]
Definition
tpcnifti.h:297
NIFTI_1_HEADER::intent_name
char intent_name[16]
Definition
tpcnifti.h:303
NIFTI_1_HEADER::regular
char regular
Definition
tpcnifti.h:226
NIFTI_1_HEADER::intent_p3
float intent_p3
Definition
tpcnifti.h:239
NIFTI_1_HEADER::glmin
int glmin
Definition
tpcnifti.h:273
NIFTI_1_HEADER::bitpix
short int bitpix
Definition
tpcnifti.h:245
NIFTI_1_HEADER::pixdim
float pixdim[8]
Definition
tpcnifti.h:249
NIFTI_1_HEADER::sizeof_hdr
int sizeof_hdr
Definition
tpcnifti.h:216
NIFTI_1_HEADER::extents
int extents
Definition
tpcnifti.h:222
NIFTI_1_HEADER::data_type
char data_type[10]
Definition
tpcnifti.h:218
NIFTI_1_HEADER::sform_code
short int sform_code
Definition
tpcnifti.h:283
NIFTI_1_HEADER::vox_offset
float vox_offset
Definition
tpcnifti.h:251
NIFTI_1_HEADER::srow_y
float srow_y[4]
Definition
tpcnifti.h:299
NIFTI_1_HEADER::qoffset_y
float qoffset_y
Definition
tpcnifti.h:293
NIFTI_1_HEADER::descrip
char descrip[80]
Definition
tpcnifti.h:276
NIFTI_1_HEADER::dim_info
char dim_info
Definition
tpcnifti.h:228
NIFTI_1_HEADER::glmax
int glmax
Definition
tpcnifti.h:271
NIFTI_1_HEADER::magic
char magic[4]
Definition
tpcnifti.h:306
NIFTI_1_HEADER::scl_inter
float scl_inter
Definition
tpcnifti.h:255
NIFTI_1_HEADER::qoffset_z
float qoffset_z
Definition
tpcnifti.h:295
NIFTI_1_HEADER::dim
short int dim[8]
Definition
tpcnifti.h:233
NIFTI_1_HEADER::intent_code
short int intent_code
Definition
tpcnifti.h:241
NIFTI_1_HEADER::quatern_b
float quatern_b
Definition
tpcnifti.h:285
NIFTI_1_HEADER::scl_slope
float scl_slope
Definition
tpcnifti.h:253
NIFTI_1_HEADER::toffset
float toffset
Definition
tpcnifti.h:269
NIFTI_1_HEADER::session_error
short int session_error
Definition
tpcnifti.h:224
NIFTI_2_HEADER
Definition
tpcnifti.h:310
NIFTI_2_HEADER::srow_x
double srow_x[4]
Definition
tpcnifti.h:372
NIFTI_2_HEADER::vox_offset
int64_t vox_offset
Definition
tpcnifti.h:333
NIFTI_2_HEADER::aux_file
char aux_file[24]
Definition
tpcnifti.h:353
NIFTI_2_HEADER::datatype
int16_t datatype
Definition
tpcnifti.h:317
NIFTI_2_HEADER::magic
char magic[8]
Definition
tpcnifti.h:315
NIFTI_2_HEADER::slice_duration
double slice_duration
Definition
tpcnifti.h:343
NIFTI_2_HEADER::dim
int64_t dim[8]
Definition
tpcnifti.h:323
NIFTI_2_HEADER::cal_min
double cal_min
Definition
tpcnifti.h:341
NIFTI_2_HEADER::pixdim
double pixdim[8]
Definition
tpcnifti.h:331
NIFTI_2_HEADER::intent_p2
double intent_p2
Definition
tpcnifti.h:327
NIFTI_2_HEADER::slice_start
int64_t slice_start
Definition
tpcnifti.h:347
NIFTI_2_HEADER::qoffset_y
double qoffset_y
Definition
tpcnifti.h:368
NIFTI_2_HEADER::dim_info
char dim_info
Definition
tpcnifti.h:386
NIFTI_2_HEADER::intent_p3
double intent_p3
Definition
tpcnifti.h:329
NIFTI_2_HEADER::intent_code
int intent_code
Definition
tpcnifti.h:382
NIFTI_2_HEADER::slice_end
int64_t slice_end
Definition
tpcnifti.h:349
NIFTI_2_HEADER::srow_y
double srow_y[4]
Definition
tpcnifti.h:374
NIFTI_2_HEADER::scl_inter
double scl_inter
Definition
tpcnifti.h:337
NIFTI_2_HEADER::unused_str
char unused_str[15]
Definition
tpcnifti.h:388
NIFTI_2_HEADER::scl_slope
double scl_slope
Definition
tpcnifti.h:335
NIFTI_2_HEADER::intent_p1
double intent_p1
Definition
tpcnifti.h:325
NIFTI_2_HEADER::sizeof_hdr
int sizeof_hdr
Definition
tpcnifti.h:312
NIFTI_2_HEADER::xyzt_units
int xyzt_units
Definition
tpcnifti.h:380
NIFTI_2_HEADER::quatern_d
double quatern_d
Definition
tpcnifti.h:364
NIFTI_2_HEADER::qoffset_z
double qoffset_z
Definition
tpcnifti.h:370
NIFTI_2_HEADER::sform_code
int sform_code
Definition
tpcnifti.h:358
NIFTI_2_HEADER::qoffset_x
double qoffset_x
Definition
tpcnifti.h:366
NIFTI_2_HEADER::toffset
double toffset
Definition
tpcnifti.h:345
NIFTI_2_HEADER::slice_code
int slice_code
Definition
tpcnifti.h:378
NIFTI_2_HEADER::descrip
char descrip[80]
Definition
tpcnifti.h:351
NIFTI_2_HEADER::quatern_c
double quatern_c
Definition
tpcnifti.h:362
NIFTI_2_HEADER::qform_code
int qform_code
Definition
tpcnifti.h:356
NIFTI_2_HEADER::bitpix
int16_t bitpix
Definition
tpcnifti.h:319
NIFTI_2_HEADER::cal_max
double cal_max
Definition
tpcnifti.h:339
NIFTI_2_HEADER::srow_z
double srow_z[4]
Definition
tpcnifti.h:376
NIFTI_2_HEADER::quatern_b
double quatern_b
Definition
tpcnifti.h:360
NIFTI_2_HEADER::intent_name
char intent_name[16]
Definition
tpcnifti.h:384
NIFTI_DSR
Definition
tpcnifti.h:402
NIFTI_DSR::n
int n
Definition
tpcnifti.h:410
NIFTI_DSR::h2
NIFTI_2_HEADER h2
Definition
tpcnifti.h:406
NIFTI_DSR::e
NIFTI_EXTENDER e
Definition
tpcnifti.h:408
NIFTI_DSR::h1
NIFTI_1_HEADER h1
Definition
tpcnifti.h:404
NIFTI_DSR::byte_order
int byte_order
Definition
tpcnifti.h:412
NIFTI_EXTENDER
Definition
tpcnifti.h:394
NIFTI_EXTENDER::extension
char extension[4]
Definition
tpcnifti.h:398
TPCSTATUS
Definition
tpcextensions.h:241
tpcextensions.h
Header file for library libtpcextensions.
tpcfileutil.h
Header file for libtpcfileutil.
tpcift.h
Header file for library libtpcift.
anaExists
int anaExists(const char *filename, char *hdrfile, char *imgfile, char *siffile, ANALYZE_DSR *header, TPCSTATUS *status)
Definition
analyzeio.c:16
anaReadHeader
int anaReadHeader(const char *filename, ANALYZE_DSR *dsr, int verbose)
Definition
analyzeio.c:144
niftiBasename
void niftiBasename(char *filename)
Definition
niftiname.c:14
niftiExists
int niftiExists(const char *filename, char *hdrfile, char *imgfile, char *siffile, NIFTI_DSR *header, TPCSTATUS *status)
Definition
niftiio.c:17
niftiWriteHeader
int niftiWriteHeader(const char *filename, NIFTI_DSR *dsr, int verbose)
Definition
niftiio.c:445
niftiReadHeader
int niftiReadHeader(const char *filename, NIFTI_DSR *dsr, int verbose)
Definition
niftiio.c:146
Generated on
for TPCCLIB by
1.17.0