Skip to content

Neuroimaging Informatics Technology Initiative

Sections
Personal tools
You are here: Home
phorum - NIfTI Message Board - Re: How to convert Nifti image to raw image
NIfTI Message Board

 New Topic  |  Go to Top  |  Go to Topic  |  Search   Previous Message  |  Next Message 
 Re: How to convert Nifti image to raw image
Author: khalid (---.hornet.uea.ac.uk)
Date:   05-01-08 13:05


hi
the niftilib do it well i mean seperate .nii into .img and .hdr files as suggested by bob.but i am readiing MRI-T1 images only, my program reads the .nii file and giving me all the information about the header file and on the basis of this i am deciding that i do not missing any information about the .nii file.
i am putting below the result of my program just for information that i want to confirm that am i right or not?

thankx for such a quick response.

khalid


-nh {sizeof_hdr=348 data_type=0x004b1f4c "" db_name=0x004b1f56 "" ...} nifti_1_header
sizeof_hdr 348 int
+ data_type 0x004b1f4c "" char [10]
+ db_name 0x004b1f56 "" char [18]
extents 0 int
session_error 0 short
regular 114 'r' char
dim_info 0 char
- dim 0x004b1f70 short [8]
[0] 3 short
[1] 256 short
[2] 256 short
[3] 116 short
[4] 1 short
[5] 1 short
[6] 1 short
[7] 1 short
intent_p1 0.00000000 float
intent_p2 0.00000000 float
intent_p3 0.00000000 float
intent_code 0 short
datatype 4 short
bitpix 16 short
slice_start 0 short
- pixdim 0x004b1f94 float [8]
[0] -1.0000000 float
[1] 0.89843750 float
[2] 0.89843750 float
[3] 1.1999974 float
[4] 1.0000000 float
[5] 0.00000000 float
[6] 0.00000000 float
[7] 0.00000000 float
vox_offset 352.00000 float
scl_slope 1.0000000 float
scl_inter 0.00000000 float
slice_end 0 short
slice_code 0 char
xyzt_units 10 '␊' char
cal_max 0.00000000 float
cal_min 0.00000000 float
slice_duration 0.00000000 float
toffset 0.00000000 float
glmax 0 int
glmin 0 int
+ descrip 0x004b1fdc "" char [80]
+ aux_file 0x004b202c "" char [24]
qform_code 1 short
sform_code 0 short
quatern_b 0.0017296035 float
quatern_c 0.99799323 float
quatern_d -0.032923233 float
qoffset_x 121.72072 float
qoffset_y -95.022354 float
qoffset_z -12.582090 float
+ srow_x 0x004b2060 float [4]
+ srow_y 0x004b2070 float [4]
+ srow_z 0x004b2080 float [4]
+ intent_name 0x004b2090 "" char [16]
- magic 0x004b20a0 "n+1" char [4]
[0] 110 'n' char
[1] 43 '+' char
[2] 49 '1' char
[3] 0 char
- ne {extension=0x004b22ac "" } nifti1_extender
- extension 0x004b22ac "" char [4]
[0] 0 char
[1] 0 char
[2] 0 char
[3] 0 char

 Reply To This Message  |  Flat View   Newer Topic  |  Older Topic 

 Topics Author  Date
 How to convert Nifti image to raw image  
said khalid shah 04-17-08 08:55 
 Re: How to convert Nifti image to raw image  
bob cox 05-01-08 11:09 
 Re: How to convert Nifti image to raw image  
said khalid shah 05-01-08 11:13 
 Re: How to convert Nifti image to raw image  new
rick reynolds 05-01-08 11:27 
 Re: How to convert Nifti image to raw image  
khalid 05-01-08 13:05 
 Re: How to convert Nifti image to raw image  
Cinly Ooi 05-02-08 09:46 
 Re: How to convert Nifti image to raw image  new
Cinly Ooi 05-01-08 12:41 
 Re: How to convert Nifti image to raw image  
Khalid 05-01-08 13:57 
 Re: How to convert Nifti image to raw image  
Cinly Ooi 05-02-08 09:54 


 New Topic  |  Go to Top  |  Go to Topic  |  Search 
 Reply To This Message
 Your Name:
 Your E-mail:
 Subject:
   
 

Powered by Plone

phorum.org

This site conforms to the following standards: