Module nifticlib
source code
This module provide the all functions and datatypes implemented
in the low-level C library libniftiio and the NIfTI-1 header.
At the moment no additional documentation is provided here. Please see the
intensively documented source code of the nifti C libs to learn about the
capabilities of the library.
|
|
Call Graph |
|
|
|
Call Graph |
|
|
|
|
|
|
_newclass = 1
|
|
DT_NONE = 0
|
|
DT_UNKNOWN = 0
|
|
DT_BINARY = 1
|
|
DT_UNSIGNED_CHAR = 2
|
|
DT_SIGNED_SHORT = 4
|
|
DT_SIGNED_INT = 8
|
|
DT_FLOAT = 16
|
|
DT_COMPLEX = 32
|
|
DT_DOUBLE = 64
|
|
DT_RGB = 128
|
|
DT_ALL = 255
|
|
DT_UINT8 = 2
|
|
DT_INT16 = 4
|
|
DT_INT32 = 8
|
|
DT_FLOAT32 = 16
|
|
DT_COMPLEX64 = 32
|
|
DT_FLOAT64 = 64
|
|
DT_RGB24 = 128
|
|
DT_INT8 = 256
|
|
DT_UINT16 = 512
|
|
DT_UINT32 = 768
|
|
DT_INT64 = 1024
|
|
DT_UINT64 = 1280
|
|
DT_FLOAT128 = 1536
|
|
DT_COMPLEX128 = 1792
|
|
DT_COMPLEX256 = 2048
|
|
DT_RGBA32 = 2304
|
|
NIFTI_TYPE_UINT8 = 2
|
|
NIFTI_TYPE_INT16 = 4
|
|
NIFTI_TYPE_INT32 = 8
|
|
NIFTI_TYPE_FLOAT32 = 16
|
|
NIFTI_TYPE_COMPLEX64 = 32
|
|
NIFTI_TYPE_FLOAT64 = 64
|
|
NIFTI_TYPE_RGB24 = 128
|
|
NIFTI_TYPE_INT8 = 256
|
|
NIFTI_TYPE_UINT16 = 512
|
|
NIFTI_TYPE_UINT32 = 768
|
|
NIFTI_TYPE_INT64 = 1024
|
|
NIFTI_TYPE_UINT64 = 1280
|
|
NIFTI_TYPE_FLOAT128 = 1536
|
|
NIFTI_TYPE_COMPLEX128 = 1792
|
|
NIFTI_TYPE_COMPLEX256 = 2048
|
|
NIFTI_TYPE_RGBA32 = 2304
|
|
NIFTI_INTENT_NONE = 0
|
|
NIFTI_INTENT_CORREL = 2
|
|
NIFTI_INTENT_TTEST = 3
|
|
NIFTI_INTENT_FTEST = 4
|
|
NIFTI_INTENT_ZSCORE = 5
|
|
NIFTI_INTENT_CHISQ = 6
|
|
NIFTI_INTENT_BETA = 7
|
|
NIFTI_INTENT_BINOM = 8
|
|
NIFTI_INTENT_GAMMA = 9
|
|
NIFTI_INTENT_POISSON = 10
|
|
NIFTI_INTENT_NORMAL = 11
|
|
NIFTI_INTENT_FTEST_NONC = 12
|
|
NIFTI_INTENT_CHISQ_NONC = 13
|
|
NIFTI_INTENT_LOGISTIC = 14
|
|
NIFTI_INTENT_LAPLACE = 15
|
|
NIFTI_INTENT_UNIFORM = 16
|
|
NIFTI_INTENT_TTEST_NONC = 17
|
|
NIFTI_INTENT_WEIBULL = 18
|
|
NIFTI_INTENT_CHI = 19
|
|
NIFTI_INTENT_INVGAUSS = 20
|
|
NIFTI_INTENT_EXTVAL = 21
|
|
NIFTI_INTENT_PVAL = 22
|
|
NIFTI_INTENT_LOGPVAL = 23
|
|
NIFTI_INTENT_LOG10PVAL = 24
|
|
NIFTI_FIRST_STATCODE = 2
|
|
NIFTI_LAST_STATCODE = 24
|
|
NIFTI_INTENT_ESTIMATE = 1001
|
|
NIFTI_INTENT_LABEL = 1002
|
|
NIFTI_INTENT_NEURONAME = 1003
|
|
NIFTI_INTENT_GENMATRIX = 1004
|
|
NIFTI_INTENT_SYMMATRIX = 1005
|
|
NIFTI_INTENT_DISPVECT = 1006
|
|
NIFTI_INTENT_VECTOR = 1007
|
|
NIFTI_INTENT_POINTSET = 1008
|
|
NIFTI_INTENT_TRIANGLE = 1009
|
|
NIFTI_INTENT_QUATERNION = 1010
|
|
NIFTI_INTENT_DIMLESS = 1011
|
|
NIFTI_INTENT_TIME_SERIES = 2001
|
|
NIFTI_INTENT_NODE_INDEX = 2002
|
|
NIFTI_INTENT_RGB_VECTOR = 2003
|
|
NIFTI_INTENT_RGBA_VECTOR = 2004
|
|
NIFTI_INTENT_SHAPE = 2005
|
|
NIFTI_XFORM_UNKNOWN = 0
|
|
NIFTI_XFORM_SCANNER_ANAT = 1
|
|
NIFTI_XFORM_ALIGNED_ANAT = 2
|
|
NIFTI_XFORM_TALAIRACH = 3
|
|
NIFTI_XFORM_MNI_152 = 4
|
|
NIFTI_UNITS_UNKNOWN = 0
|
|
NIFTI_UNITS_METER = 1
|
|
NIFTI_UNITS_MM = 2
|
|
NIFTI_UNITS_MICRON = 3
|
|
NIFTI_UNITS_SEC = 8
|
|
NIFTI_UNITS_MSEC = 16
|
|
NIFTI_UNITS_USEC = 24
|
|
NIFTI_UNITS_HZ = 32
|
|
NIFTI_UNITS_PPM = 40
|
|
NIFTI_UNITS_RADS = 48
|
|
NIFTI_SLICE_UNKNOWN = 0
|
|
NIFTI_SLICE_SEQ_INC = 1
|
|
NIFTI_SLICE_SEQ_DEC = 2
|
|
NIFTI_SLICE_ALT_INC = 3
|
|
NIFTI_SLICE_ALT_DEC = 4
|
|
NIFTI_SLICE_ALT_INC2 = 5
|
|
NIFTI_SLICE_ALT_DEC2 = 6
|
|
a75_transverse_unflipped = 0
|
|
a75_coronal_unflipped = 1
|
|
a75_sagittal_unflipped = 2
|
|
a75_transverse_flipped = 3
|
|
a75_coronal_flipped = 4
|
|
a75_sagittal_flipped = 5
|
|
a75_orient_unknown = 6
|
|
NIFTI_L2R = 1
|
|
NIFTI_R2L = 2
|
|
NIFTI_P2A = 3
|
|
NIFTI_A2P = 4
|
|
NIFTI_I2S = 5
|
|
NIFTI_S2I = 6
|
|
NIFTI_ECODE_IGNORE = 0
|
|
NIFTI_ECODE_DICOM = 2
|
|
NIFTI_ECODE_AFNI = 4
|
|
NIFTI_ECODE_COMMENT = 6
|
|
NIFTI_ECODE_XCEDE = 8
|
|
NIFTI_ECODE_JIMDIMINFO = 10
|
|
NIFTI_ECODE_WORKFLOW_FWDS = 12
|
|
NIFTI_ECODE_FREESURFER = 14
|
|
NIFTI_MAX_ECODE = 14
|
|
NIFTI_FTYPE_ANALYZE = 0
|
|
NIFTI_FTYPE_NIFTI1_1 = 1
|
|
NIFTI_FTYPE_NIFTI1_2 = 2
|
|
NIFTI_FTYPE_ASCII = 3
|
|
NIFTI_MAX_FTYPE = 3
|
Imports:
_nifticlib,
new,
new_instancemethod,
_swig_property,
_object,
nifti_mat44_to_quatern,
nifti_mat44_to_orientation,
znzptr_swigregister,
znzopen,
znzdopen,
Xznzclose,
znzread,
znzwrite,
znzseek,
znzrewind,
znztell,
znzputs,
znzgets,
znzputc,
znzgetc,
znzprintf,
nifti_1_header_swigregister,
nifti1_extender_swigregister,
nifti1_extension_swigregister,
mat44_swigregister,
mat33_swigregister,
nifti_image_swigregister,
nifti_brick_list_swigregister,
nifti_datatype_string,
nifti_units_string,
nifti_intent_string,
nifti_xform_string,
nifti_slice_string,
nifti_orientation_string,
nifti_is_inttype,
nifti_mat44_inverse,
nifti_mat33_inverse,
nifti_mat33_polar,
nifti_mat33_rownorm,
nifti_mat33_colnorm,
nifti_mat33_determ,
nifti_mat33_mul,
nifti_swap_2bytes,
nifti_swap_4bytes,
nifti_swap_8bytes,
nifti_swap_16bytes,
nifti_swap_Nbytes,
nifti_datatype_from_string,
nifti_datatype_to_string,
swap_nifti_header,
nifti_get_filesize,
nifti_image_read_bricks,
nifti_image_load_bricks,
nifti_free_NBL,
nifti_image_read,
nifti_image_load,
nifti_image_unload,
nifti_image_free,
nifti_read_collapsed_image,
nifti_read_subregion_image,
nifti_image_write,
nifti_image_write_bricks,
nifti_image_infodump,
nifti_disp_lib_hist,
nifti_disp_lib_version,
nifti_disp_matrix_orient,
nifti_disp_type_list,
nifti_image_to_ascii,
nifti_image_from_ascii,
nifti_get_volsize,
nifti_set_filenames,
nifti_makehdrname,
nifti_makeimgname,
is_nifti_file,
nifti_find_file_extension,
nifti_is_complete_filename,
nifti_validfilename,
disp_nifti_1_header,
nifti_set_debug_level,
nifti_set_skip_blank_ext,
valid_nifti_brick_list,
nifti_image_open,
nifti_image_write_hdr_img,
nifti_image_write_hdr_img2,
nifti_read_buffer,
nifti_write_all_data,
nifti_write_buffer,
nifti_read_ascii_image,
nifti_write_ascii_image,
nifti_datatype_sizes,
nifti_quatern_to_mat44,
nifti_make_orthog_mat44,
nifti_short_order,
nifti_findhdrname,
nifti_findimgname,
nifti_is_gzfile,
nifti_makebasename,
nifti_convert_nim2nhdr,
nifti_make_new_header,
nifti_read_header,
nifti_copy_nim_info,
nifti_make_new_nim,
nifti_simple_init_nim,
nifti_convert_nhdr2nim,
nifti_hdr_looks_good,
nifti_is_valid_datatype,
nifti_is_valid_ecode,
nifti_nim_is_valid,
nifti_nim_has_valid_dims,
is_valid_nifti_type,
nifti_test_datatype_sizes,
nifti_type_and_names_match,
nifti_update_dims_from_array,
nifti_set_iname_offset,
nifti_set_type_from_names,
nifti_add_extension,
nifti_copy_extensions,
nifti_free_extensions,
nifti_get_intlist,
nifti_strdup,
valid_nifti_extensions,
wrapImageDataWithArray,
detachDataFromImage,
allocateImageMemory,
mat442array,
set_mat44,
new_shortp,
copy_shortp,
delete_shortp,
shortp_assign,
shortp_value,
new_intp,
copy_intp,
delete_intp,
intp_assign,
intp_value,
new_uintp,
copy_uintp,
delete_uintp,
uintp_assign,
uintp_value,
new_floatp,
copy_floatp,
delete_floatp,
floatp_assign,
floatp_value,
new_doublep,
copy_doublep,
delete_doublep,
doublep_assign,
doublep_value,
new_charp,
copy_charp,
delete_charp,
charp_assign,
charp_value,
shortArray_swigregister,
shortArray_frompointer,
intArray_swigregister,
intArray_frompointer,
uintArray_swigregister,
uintArray_frompointer,
floatArray_swigregister,
floatArray_frompointer,
doubleArray_swigregister,
doubleArray_frompointer