<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style id="owaParaStyle" type="text/css"><!--P {margin-top:0;margin-bottom:0;}--></style>
</head>
<body ocsi="0" fpstyle="1">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;">Many thanks Donald.<br>
<br>
I will have a go with the Bruker raw data and let you know how I get on.<br>
<br>
best wishes<br>
serena<br>
<div><br>
<div style="font-family: Tahoma; font-size: 13px;">
<div class="BodyFragment"><font size="2">
<div class="PlainText"><br>
</div>
</font></div>
</div>
</div>
<div style="font-family: Times New Roman; color: rgb(0, 0, 0); font-size: 16px;">
<hr tabindex="-1">
<div style="direction: ltr;" id="divRpF236825"><font color="#000000" face="Tahoma" size="2"><b>From:</b> Donald Tournier [d.tournier@brain.org.au]<br>
<b>Sent:</b> Thursday, May 16, 2013 2:34 AM<br>
<b>To:</b> Counsell, Serena<br>
<b>Cc:</b> mrtrix-discussion@www.nitrc.org<br>
<b>Subject:</b> Re: [Mrtrix-discussion] Exporting diffusion data from Bruker systems<br>
</font><br>
</div>
<div></div>
<div>
<div dir="ltr">Sorry, just noticed the HTML links I'd inserted didn't make it through. The
<a href="http://www.brain.org.au/software/mrtrix/appendix/mrtrix.html" target="_blank">
MRtrix .mih format is documented here</a>, and the <a href="http://www.brain.org.au/software/mrtrix/general/formats.html#dataorder" target="_blank">
data layout entry is documented here</a>.
<div style="">Cheers,</div>
<div style=""><br>
</div>
<div style="">Donald.</div>
<div style=""><br>
</div>
</div>
<div class="gmail_extra"><br>
<br>
<div class="gmail_quote">On 16 May 2013 12:26, Donald Tournier <span dir="ltr"><<a href="mailto:d.tournier@brain.org.au" target="_blank">d.tournier@brain.org.au</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div dir="ltr">Hi Serena,<br>
<br>
MRtrix can handle NIfTI and Analyse natively, so if you can convert your data to these formats, this might be simplest approach. It may or may not give you the gradient directions unfortunately, but I'm sure there are ways to obtain these by other means.<br>
<br>
Otherwise, you can try to import the data into MRtrix's own .mih format, which is documented on this page. I don't have much experience with Bruker data, but if I recall correctly, they're stored as a single raw data file with a separate text header. This actually
makes it quite easy to deal with. The .mih format is just a plain text header with 'key: value' entries. All you'd need to do is create such a file in a text editor, with 'mrtrix image' as the first line, and the last line with 'file: NAME_OF_RAW_DATA_FILE
0' (edit as appropriate). Other lines will be needed to specify the dimensions, voxel size, layout, datatype, and optionally the transform and DW directions. If in doubt, you can always convert any vaguely similar data that you have to the .mih format, and
simply edit the resulting .mih file to suit your data (you can then discard the raw data .dat file generated by the conversion).
<br>
<br>
Of the required entries, I expect the layout might be the trickiest to figure out. You can find an explanation of this on this page. Essentially, it provides enough information to figure out the correspondence between a voxel's coordinates and the position
of its value in the file (i.e. its file offset). I recommend you simply experiment with it until you can display a sensible looking image in MRView...
<br>
<br>
If you can, I'd also recommend you try to figure out the transform, unless you know the slices were not oblique. You may also find information related to the DW gradient orientations in the Bruker text file header, which you can also add in using the DW_scheme
entries. In both of these cases, you might find that things don't necessarily match up correctly (the transform might not be quite right, the DW directions might be inverted, etc), in particular for data acquired in a non-transverse orientation and/or using
oblique slices. This can be tricky to handle, since there are quite a few conversions between coordinate systems going on behind the scenes...<br>
<br>
If you're having trouble with this, feel free to send me the Bruker header file, and I'll try to help out.<br>
<br>
Hope this helps,<br>
<br>
Cheers,<br>
<br>
Donald.
<div>
<div class="h5">
<p dir="ltr"><br>
</p>
<p dir="ltr">On 15 May 2013 23:39, "Counsell, Serena" <<a href="mailto:serena.counsell@kcl.ac.uk" target="_blank">serena.counsell@kcl.ac.uk</a>> wrote:<br>
</p>
</div>
</div>
<div class="gmail_quote">
<blockquote class="gmail_quote" style="margin: 0px 0px 0px 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div>
<div class="h5">
<div>
<div style="direction: ltr; font-size: 10pt; font-family: Tahoma;">Dear All<br>
<br>
I am having trouble exporting diffusion data acquired on a Bruker system in a format that can be used by MRtrix. Does anyone have any experience or tips?<br>
<br>
Many thanks,<br>
serena<br>
<div><br>
<div style="font-family: Tahoma; font-size: 13px;">
<div><font>
<div><br>
</div>
</font></div>
</div>
</div>
</div>
</div>
<br>
</div>
</div>
_______________________________________________<br>
Mrtrix-discussion mailing list<br>
<a href="mailto:Mrtrix-discussion@www.nitrc.org" target="_blank">Mrtrix-discussion@www.nitrc.org</a><br>
<a href="http://www.nitrc.org/mailman/listinfo/mrtrix-discussion" target="_blank">http://www.nitrc.org/mailman/listinfo/mrtrix-discussion</a><br>
<br>
</blockquote>
</div>
</div>
</blockquote>
</div>
<br>
<br clear="all">
<div><br>
</div>
-- <br>
<font color="#ff6600" size="1"><b>Dr Jacques-Donald Tournier<br>
</b></font>
<div><font color="#ff6600" size="1">Research Fellow</font></div>
<div><font size="1"><br>
</font></div>
<div><font size="1">The Florey Institute of Neuroscience and Mental Health</font></div>
<div><font size="1">Melbourne Brain Centre - Austin Campus</font></div>
<div><font size="1">245 Burgundy Street</font></div>
<div><font size="1">Heidelberg Vic 3084</font></div>
<div><font size="1">Ph: +61 3 9035 7033</font></div>
<div><font size="1">Fax: +61 3 9035 7307</font></div>
<div><font size="1"><a href="http://www.florey.edu.au" target="_blank">www.florey.edu.au</a></font></div>
<br>
</div>
</div>
</div>
</div>
</body>
</html>