Hi Mark,<br><br>Please try Philips REC format. This is a 4D raw format with integer. For both &quot;raw&quot; and &quot;Philips REC&quot;, DtiStudio expect you to have 4D raw (no-header) file, not a bunch of 3D files. In your case, you need a single raw file that contains all 65 volume data (65 x 96 x 128 x 47) in one file. <br>
<br>For this conversion, you can read 4D Nifty or 4D analyze (depending on the version of DtiStudio) by MriView3D and save all the images at once as a &quot;raw&quot; format. Then, the images are ready for DtiMapping. In DtiMapping, as I mentioned, open it as Philips REC. In the opening window, specify;<br>
<br>96x128x47<br><br>Then you should get &quot;65&quot; as the number of the 3D images correctly calculated from the file size at the left bottom of the window. Also choose gradient-by-gradient for the order of the file. If you have a correct table with 65 lines, you should not get the error message.<br>
<br>If you have the 4D analyze file, the *.img file of the Analyze format can also be directly read as &quot;Philips REC&quot;. However, you have to be careful because if the Analyze is in Neurology convention (default setup) and read the *.img as &quot;Philips REC&quot;, the images may be inverted because DtiStudio uses Radiology convention.<br>
<br>I hope it helps.<br><br>Susumu<br><br><br><br><div class="gmail_quote">On Wed, Dec 16, 2009 at 7:39 PM, Mark A. Pinsk <span dir="ltr">&lt;<a href="mailto:mpinsk@gmail.com" target="_blank">mpinsk@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

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