<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman,new york,times,serif;font-size:12pt"><div>Hi Mark,<br><br>You can load the 4D analyze file in 3D viewer and then save it in raw file format.&nbsp; Then you can load the raw file in DTI mapping.<br><br>Jun Yi Wang<br></div><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><br><div style="font-family: arial,helvetica,sans-serif; font-size: 13px;"><font face="Tahoma" size="2"><hr size="1"><b><span style="font-weight: bold;">From:</span></b> Mark A. Pinsk &lt;mpinsk@gmail.com&gt;<br><b><span style="font-weight: bold;">To:</span></b> "DTI Studio, ROI Editor, Landmarker Questions/Support" &lt;mristudio-users@mristudio.org&gt;<br><b><span style="font-weight: bold;">Sent:</span></b> Wed, December 16, 2009 4:43:53 PM<br><b><span style="font-weight: bold;">Subject:</span></b> Re: [Mristudio-users] Using processed
 data<br></font><br>
When I read in a 3D ANALYZE file using MRIView3D + Analyze file<br>format, all of the parameters are grayed out, and they read as<br>follows.&nbsp; This reads in the file successfully as far as I can tell.<br><br>Image Width: 96<br>Image Height: 128<br>Image Slices: 1&nbsp; ??<br>Coronal / Ant-Pos<br>FOV: 96 x 128<br>Slice thickness: 1.1<br>Pixel Size: 0 x 0&nbsp; ??<br># of Image-blocks: 1<br>Word (16 Bits).<br>Image File Format: Analyze<br>Image Sequence: in blocks.<br><br><br>On Wed, Dec 16, 2009 at 7:39 PM, Mark A. Pinsk &lt;<a ymailto="mailto:mpinsk@gmail.com" href="mailto:mpinsk@gmail.com">mpinsk@gmail.com</a>&gt; wrote:<br>&gt; No luck. &nbsp;Let me outline my steps here:<br>&gt;<br>&gt; 1. I start with a 4D NIFTI file that contains 65 volumes (60 DWI + 5 B0).<br>&gt; The image dimensions are 96x128, 47 slices per volume.<br>&gt; Slice orientation is Coronal. &nbsp;FOV is 96x128. &nbsp;Pixels are 1x1x1.1.<br>&gt;<br>&gt; 2. I split the 4D NIFTI
 file into 65 3D NIFTI files using this FSL command:<br>&gt; fslsplit input.nii.gz<br>&gt;<br>&gt; 3. I convert each of the 65 3D NIFTI files to ANALYZE format:<br>&gt; fslchfiletype ANALYZE vol0000.nii.gz<br>&gt; [..]<br>&gt; fslchfiletype ANALYZE vol0064.nii.gz<br>&gt;<br>&gt; 4. I am able to successfully import the ANALYZE files in MRIView3D by<br>&gt; choosing Analyze format (but no luck with Raw format).<br>&gt;<br>&gt; 5. I have no luck importing the ANALYZE files in DTI Mapping choosing<br>&gt; Raw format. &nbsp;I get this message:<br>&gt; "Number of files in this fold is less than expected: (Img_Slices*Img_Blocks).<br>&gt;<br>&gt; Any suggestions? &nbsp;Thanks for all your help!<br>&gt; Mark<br>&gt;<br>&gt;<br>&gt;<br>&gt;<br>&gt; On Wed, Dec 16, 2009 at 1:34 PM, darshan pai &lt;<a ymailto="mailto:darshanp20@yahoo.com" href="mailto:darshanp20@yahoo.com">darshanp20@yahoo.com</a>&gt; wrote:<br>&gt;&gt; when you say a 4D file I assume that you have
 a Analyze file with an entry on the number of volumes , Is it? . If it is then try to make it a 3D file with all the 65 slices added in the z direction and see if it helps..<br>&gt;&gt;<br>&gt;&gt; Regards<br>&gt;&gt;<br>&gt;&gt; Dp<br>&gt;&gt;<br>&gt;&gt;<br>&gt;&gt;<br>&gt;&gt; ----- Original Message ----<br>&gt;&gt; From: Mark A. Pinsk &lt;<a ymailto="mailto:mpinsk@gmail.com" href="mailto:mpinsk@gmail.com">mpinsk@gmail.com</a>&gt;<br>&gt;&gt; To: "DTI Studio, ROI Editor, Landmarker Questions/Support" &lt;<a ymailto="mailto:mristudio-users@mristudio.org" href="mailto:mristudio-users@mristudio.org">mristudio-users@mristudio.org</a>&gt;<br>&gt;&gt; Sent: Wed, December 16, 2009 12:13:42 AM<br>&gt;&gt; Subject: Re: [Mristudio-users] Using processed data<br>&gt;&gt;<br>&gt;&gt; Also, I should mention that the Analyze file loads just fine using<br>&gt;&gt; "MRI View3D" and "Analyze" file format.<br>&gt;&gt;<br>&gt;&gt;<br>&gt;&gt; On Wed, Dec 16, 2009 at
 12:09 AM, Mark A. Pinsk &lt;<a ymailto="mailto:mpinsk@gmail.com" href="mailto:mpinsk@gmail.com">mpinsk@gmail.com</a>&gt; wrote:<br>&gt;&gt;&gt; Thanks for your help, I'll do my best to answer them...<br>&gt;&gt;&gt;<br>&gt;&gt;&gt; FYI: these are small volumes from animal scans ( 1 x 1 x 1.1 mm resolution):<br>&gt;&gt;&gt;<br>&gt;&gt;&gt; Image Dimensions: 96 Width, 128 Height, 47 slices<br>&gt;&gt;&gt; Slice Orientation: Axial<br>&gt;&gt;&gt; Slice Sequencing: Inferior-Superior<br>&gt;&gt;&gt; FOV: 96 Width, 128 Height, 1.1 Slice Thickness<br>&gt;&gt;&gt; Pixel Size: 1.000 Width, 1.000 Height<br>&gt;&gt;&gt; Slices to be processed: 0 to 46, All Slices<br>&gt;&gt;&gt; Image Sequence: Gradient By Gradient<br>&gt;&gt;&gt; b_Value: 1000<br>&gt;&gt;&gt;<br>&gt;&gt;&gt; My gradient table has 65 entries. &nbsp;The first 5 entries are B0 images,<br>&gt;&gt;&gt; the remaining 60 are for the 60 directions. &nbsp;There is no mean image at<br>&gt;&gt;&gt; the end
 of my data. &nbsp; I can discard 4 of the B0 images, but that does<br>&gt;&gt;&gt; not seem to make a difference on my error message. &nbsp;I have several B0<br>&gt;&gt;&gt; images in accord with recent work that suggests having a ratio of 6:1<br>&gt;&gt;&gt; diffusion to non-diffusion weighted images (Zhu et al. NeuroImage<br>&gt;&gt;&gt; 2008).<br>&gt;&gt;&gt;<br>&gt;&gt;&gt;<br>&gt;&gt;&gt;<br>&gt;&gt;&gt; On Tue, Dec 15, 2009 at 11:42 PM, Gonzalo Rojas &lt;<a ymailto="mailto:grojasy@puc.cl" href="mailto:grojasy@puc.cl">grojasy@puc.cl</a>&gt; wrote:<br>&gt;&gt;&gt;&gt; Hi Mark:<br>&gt;&gt;&gt;&gt;<br>&gt;&gt;&gt;&gt; &nbsp;Many questions:<br>&gt;&gt;&gt;&gt;<br>&gt;&gt;&gt;&gt; i) do you specify correctly the "image slices" quantity in "iamge dimension"<br>&gt;&gt;&gt;&gt; ?... that value is the quantitry of axial slices in each gradient<br>&gt;&gt;&gt;&gt; direction...<br>&gt;&gt;&gt;&gt;<br>&gt;&gt;&gt;&gt; ii) and the "image width" and "image
 height" in "image dimension" ?... did<br>&gt;&gt;&gt;&gt; you checked that values ?...<br>&gt;&gt;&gt;&gt;<br>&gt;&gt;&gt;&gt; ii) in "lice orientation" did you specify "axial" ?..<br>&gt;&gt;&gt;&gt;<br>&gt;&gt;&gt;&gt; iii) and in "Voxel Size", "Field of View-width" and "Field of View-Heigth"<br>&gt;&gt;&gt;&gt; did you specifiy the FOV value correctly ?...<br>&gt;&gt;&gt;&gt;<br>&gt;&gt;&gt;&gt; iv) you could check the previos values looking at "Pixel Size-Width" and<br>&gt;&gt;&gt;&gt; "Pixel Size-Height"...<br>&gt;&gt;&gt;&gt;<br>&gt;&gt;&gt;&gt; v) in "Slices to be processed" it must appears 0-(image slices-1)<br>&gt;&gt;&gt;&gt;<br>&gt;&gt;&gt;&gt; vi) in gradient table you must put the 61 (0-60) directions... in your 4D<br>&gt;&gt;&gt;&gt; analyze file is included the "mean" of all the 60 directions at the end of<br>&gt;&gt;&gt;&gt; the file ?... if it is, you must put "100,100,100" as the last gradient<br>&gt;&gt;&gt;&gt; direction to skip that
 image in the computation...<br>&gt;&gt;&gt;&gt;<br>&gt;&gt;&gt;&gt; vii) in "Image secuence" you must select "Gradient by Gradient" option...<br>&gt;&gt;&gt;&gt;<br>&gt;&gt;&gt;&gt; viii) in "Raw-BIN Files folder you must specify the IMG file of the Analyze<br>&gt;&gt;&gt;&gt; pair...<br>&gt;&gt;&gt;&gt;<br>&gt;&gt;&gt;&gt; ix) why you have 5 b0 volumes ?... to compute tractography, you must have<br>&gt;&gt;&gt;&gt; only one b0 volume... you must put "100,100,100" in "Gradient Table" for<br>&gt;&gt;&gt;&gt; each of the 4 b0 slices to skipt them...<br>&gt;&gt;&gt;&gt;<br>&gt;&gt;&gt;&gt; &nbsp;Sincerely,<br>&gt;&gt;&gt;&gt;<br>&gt;&gt;&gt;&gt;<br>&gt;&gt;&gt;&gt; Gonzalo Rojas Costa<br>&gt;&gt;&gt;&gt; Department of Radiology<br>&gt;&gt;&gt;&gt; Las Condes Clinic<br>&gt;&gt;&gt;&gt; Lo Fontecilla 441, Las Condes, Santiago, Chile.<br>&gt;&gt;&gt;&gt; Tel: 56-2-2105170<br>&gt;&gt;&gt;&gt; Cel: 56-9-97771785<br>&gt;&gt;&gt;&gt; <a target="_blank"
 href="http://www.clc.cl">www.clc.cl</a><br>&gt;&gt;&gt;&gt;<br>&gt;&gt;&gt;&gt; El 16-12-2009 1:07, Mark A. Pinsk escribió:<br>&gt;&gt;&gt;&gt;&gt;<br>&gt;&gt;&gt;&gt;&gt; Thanks !<br>&gt;&gt;&gt;&gt;&gt;<br>&gt;&gt;&gt;&gt;&gt; I converted by 4D NIFTI file to a 4D ANALYZE file as you suggested.<br>&gt;&gt;&gt;&gt;&gt;<br>&gt;&gt;&gt;&gt;&gt; I attempt to read it in as RAW, but it seems to get stuck...<br>&gt;&gt;&gt;&gt;&gt;<br>&gt;&gt;&gt;&gt;&gt; I specify the file in the Raw-BIN Files Folder field, but I get this<br>&gt;&gt;&gt;&gt;&gt; message:<br>&gt;&gt;&gt;&gt;&gt; "Number of files in this fold is less than expected:<br>&gt;&gt;&gt;&gt;&gt; (Img_Slices*Img_Blocks)."<br>&gt;&gt;&gt;&gt;&gt;<br>&gt;&gt;&gt;&gt;&gt; I only have a single .img/.hdr pair in my folder since it is a 4D file<br>&gt;&gt;&gt;&gt;&gt; (i.e. it contains 65 volumes (5 b0 volumes + 60 directions)).<br>&gt;&gt;&gt;&gt;&gt;<br>&gt;&gt;&gt;&gt;&gt; Sorry, any help would be
 greatly appreciated.<br>&gt;&gt;&gt;&gt;&gt; Thanks<br>&gt;&gt;&gt;&gt;&gt; Mark<br>&gt;&gt;&gt;&gt;&gt;<br>&gt;&gt;&gt;&gt;&gt;<br>&gt;&gt;&gt;&gt;&gt;<br>&gt;&gt;&gt;&gt;&gt;<br>&gt;&gt;&gt;&gt;&gt; On Tue, Dec 15, 2009 at 10:29 PM, Gonzalo Rojas&lt;<a ymailto="mailto:grojasy@puc.cl" href="mailto:grojasy@puc.cl">grojasy@puc.cl</a>&gt; &nbsp;wrote:<br>&gt;&gt;&gt;&gt;&gt;&gt;<br>&gt;&gt;&gt;&gt;&gt;&gt; Hi Mark:<br>&gt;&gt;&gt;&gt;&gt;&gt;<br>&gt;&gt;&gt;&gt;&gt;&gt; &nbsp;Yes... you could do all the processing that you mentioned (in FSL), and<br>&gt;&gt;&gt;&gt;&gt;&gt; bring it to dti-studio... the FSL output file format is NIFTI.GZ... you<br>&gt;&gt;&gt;&gt;&gt;&gt; must<br>&gt;&gt;&gt;&gt;&gt;&gt; convert it to ANALYZE 4D, and then you must load that ANALYZE 4D file as<br>&gt;&gt;&gt;&gt;&gt;&gt; a<br>&gt;&gt;&gt;&gt;&gt;&gt; RAW data file format in DTI-STUDIO...<br>&gt;&gt;&gt;&gt;&gt;&gt;<br>&gt;&gt;&gt;&gt;&gt;&gt;
 &nbsp;Sincerely,<br>&gt;&gt;&gt;&gt;&gt;&gt;<br>&gt;&gt;&gt;&gt;&gt;&gt;<br>&gt;&gt;&gt;&gt;&gt;&gt; Gonzalo Rojas Costa<br>&gt;&gt;&gt;&gt;&gt;&gt; Department of Radiology<br>&gt;&gt;&gt;&gt;&gt;&gt; Las Condes Clinic<br>&gt;&gt;&gt;&gt;&gt;&gt; Lo Fontecilla 441, Las Condes, Santiago, Chile.<br>&gt;&gt;&gt;&gt;&gt;&gt; Tel: 56-2-2105170<br>&gt;&gt;&gt;&gt;&gt;&gt; Cel: 56-9-97771785<br><span>&gt;&gt;&gt;&gt;&gt;&gt; <a target="_blank" href="http://www.clc.cl">www.clc.cl</a></span><br>&gt;&gt;&gt;&gt;&gt;&gt;<br>&gt;&gt;&gt;&gt;&gt;&gt; El 15-12-2009 23:37, Mark A. Pinsk escribió:<br>&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>&gt;&gt;&gt;&gt;&gt;&gt;&gt; Hi, someone asked this a while ago in the archives but I didn't see a<br>&gt;&gt;&gt;&gt;&gt;&gt;&gt; reply. &nbsp; Can I use data that I've processed in FSL (eddy current<br>&gt;&gt;&gt;&gt;&gt;&gt;&gt; correction, motion correction, and field map-based undistortion) and<br>&gt;&gt;&gt;&gt;&gt;&gt;&gt; bring it
 into dti-studio? &nbsp; The data is in one large 4D nifti file. &nbsp;I<br>&gt;&gt;&gt;&gt;&gt;&gt;&gt; don't see where I can do this, is it not possible?<br>&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>&gt;&gt;&gt;&gt;&gt;&gt;&gt; thanks<br>&gt;&gt;&gt;&gt;&gt;&gt;&gt; mark<br>&gt;&gt;&gt;&gt;&gt;&gt;&gt; _______________________________________________<br>&gt;&gt;&gt;&gt;&gt;&gt;&gt; Mristudio-users mailing list<br>&gt;&gt;&gt;&gt;&gt;&gt;&gt; <a ymailto="mailto:Mristudio-users@mristudio.org" href="mailto:Mristudio-users@mristudio.org">Mristudio-users@mristudio.org</a><br><span>&gt;&gt;&gt;&gt;&gt;&gt;&gt; <a target="_blank" href="http://lists.mristudio.org/mailman/listinfo/">http://lists.mristudio.org/mailman/listinfo/</a></span><br>&gt;&gt;&gt;&gt;&gt;&gt;&gt; Unsubscribe, send a blank email to:<br>&gt;&gt;&gt;&gt;&gt;&gt;&gt; <a ymailto="mailto:Mristudio-users-unsubscribe@mristudio.org"
 href="mailto:Mristudio-users-unsubscribe@mristudio.org">Mristudio-users-unsubscribe@mristudio.org</a><br>&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>&gt;&gt;&gt;&gt;&gt;&gt;<br>&gt;&gt;&gt;&gt;&gt;<br>&gt;&gt;&gt;&gt;&gt; _______________________________________________<br>&gt;&gt;&gt;&gt;&gt; Mristudio-users mailing list<br>&gt;&gt;&gt;&gt;&gt; <a ymailto="mailto:Mristudio-users@mristudio.org" href="mailto:Mristudio-users@mristudio.org">Mristudio-users@mristudio.org</a><br>&gt;&gt;&gt;&gt;&gt; <a href="http://lists.mristudio.org/mailman/listinfo/" target="_blank">http://lists.mristudio.org/mailman/listinfo/</a><br>&gt;&gt;&gt;&gt;&gt; Unsubscribe, send a blank email to:<br>&gt;&gt;&gt;&gt;&gt; <a ymailto="mailto:Mristudio-users-unsubscribe@mristudio.org" href="mailto:Mristudio-users-unsubscribe@mristudio.org">Mristudio-users-unsubscribe@mristudio.org</a><br>&gt;&gt;&gt;&gt;&gt;<br>&gt;&gt;&gt;&gt;<br>&gt;&gt;&gt;<br>&gt;&gt;<br>&gt;&gt;
 _______________________________________________<br>&gt;&gt; Mristudio-users mailing list<br>&gt;&gt; <a ymailto="mailto:Mristudio-users@mristudio.org" href="mailto:Mristudio-users@mristudio.org">Mristudio-users@mristudio.org</a><br>&gt;&gt; <a href="http://lists.mristudio.org/mailman/listinfo/" target="_blank">http://lists.mristudio.org/mailman/listinfo/</a><br>&gt;&gt; Unsubscribe, send a blank email to: <a ymailto="mailto:Mristudio-users-unsubscribe@mristudio.org" href="mailto:Mristudio-users-unsubscribe@mristudio.org">Mristudio-users-unsubscribe@mristudio.org</a><br>&gt;&gt;<br>&gt;&gt;<br>&gt;&gt;<br>&gt;&gt;<br>&gt;&gt;<br>&gt;&gt; _______________________________________________<br>&gt;&gt; Mristudio-users mailing list<br>&gt;&gt; <a ymailto="mailto:Mristudio-users@mristudio.org" href="mailto:Mristudio-users@mristudio.org">Mristudio-users@mristudio.org</a><br>&gt;&gt; <a href="http://lists.mristudio.org/mailman/listinfo/"
 target="_blank">http://lists.mristudio.org/mailman/listinfo/</a><br>&gt;&gt; Unsubscribe, send a blank email to: <a ymailto="mailto:Mristudio-users-unsubscribe@mristudio.org" href="mailto:Mristudio-users-unsubscribe@mristudio.org">Mristudio-users-unsubscribe@mristudio.org</a><br>&gt;&gt;<br>&gt;<br><br>_______________________________________________<br>Mristudio-users mailing list<br><a ymailto="mailto:Mristudio-users@mristudio.org" href="mailto:Mristudio-users@mristudio.org">Mristudio-users@mristudio.org</a><br><a href="http://lists.mristudio.org/mailman/listinfo/" target="_blank">http://lists.mristudio.org/mailman/listinfo/</a><br>Unsubscribe, send a blank email to: <a ymailto="mailto:Mristudio-users-unsubscribe@mristudio.org" href="mailto:Mristudio-users-unsubscribe@mristudio.org">Mristudio-users-unsubscribe@mristudio.org</a><br></div></div>
<!-- cg22.c2.mail.re1.yahoo.com compressed/chunked Tue Dec  8 08:31:00 PST 2009 -->
</div><br>

      </body></html>