Doxygen Source Code Documentation
thd_niftiwrite.h
Go to the documentation of this file.00001 #ifndef _THD_NIFTIWRITE_H_ 00002 #define _THD_NIFTIWRITE_H_ 00003 00004 #include "nifti1_io.h" 00005 00006 #define VARIOUS_CONSTANTS 2 00007 00008 /* Various function macros 00009 #define CHECK_NULL_STR(str) ( str ? str : "<NULL>" ) 00010 #define CHECK_EMPTY_STR(str) ( str[0] ? str : "<empty>" ) 00011 */ 00012 00013 typedef struct { 00014 int debug_level ; /* 0 - 3 */ 00015 char *infile_name ; 00016 } niftiwr_opts_t ; 00017 00018 00019 /* ---- export function prototypes ---- */ 00020 00021 nifti_image * populate_nifti_image(THD_3dim_dataset *dset, niftiwr_opts_t options) ; 00022 int THD_write_nifti( THD_3dim_dataset *dset, niftiwr_opts_t options ) ; 00023 00024 00025 #endif /* _THD_NIFTIWRITE_H_ */