<div dir="ltr"><span style="font-family:arial,sans-serif;font-size:13px">Hi Arnaud,</span><div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">gen_ROI will create a binary mask image with ones only within the boundaries specified with the -coord option. These are passed as voxel indices (as a number sequence, e.g. -coord 0 10:20 for indices 10 to 20 along the x-axis). It looks like you need them to be specified in scanner coordinates, so this might not be suitable for you. Also, it can only generate rectangular regions, which may or may not be suitable for you. If you can convert the position and size to voxel coordinates, then it will do what you want, but otherwise it would require a bit of effort to code something up.</div>
<div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">Hope that helps.</div><div style="font-family:arial,sans-serif;font-size:13px">Cheers,</div><div style="font-family:arial,sans-serif;font-size:13px">
</div><div style="font-family:arial,sans-serif;font-size:13px">Donald.</div><div class="gmail_extra" style="font-family:arial,sans-serif;font-size:13px"><br></div><div class="gmail_extra"><br><br><div class="gmail_quote">
On 30 September 2013 16:53, Arnaud Boré <span dir="ltr"><<a href="mailto:arnaud.bore@gmail.com" target="_blank">arnaud.bore@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr"><span style="font-family:arial,sans-serif;font-size:13px">Dear Mrtrix experts,</span><div><font face="arial, sans-serif"><br></font></div><div><font face="arial, sans-serif">I try to create a 3D ROI using its position and with a size of 10mm.</font></div>
<div><font face="arial, sans-serif">I think that using gen_ROI I will be able to do it but so far I didn't find how.</font></div><div><br></div><div><font face="arial, sans-serif">Can you help me please.</font></div>
<div>
<font face="arial, sans-serif"><br></font></div><div><font face="arial, sans-serif">Thank you</font></div><span class="HOEnZb"><font color="#888888"><div><font face="arial, sans-serif"><br></font></div><div><font face="arial, sans-serif">Arnaud<br clear="all">
</font><div>
<br></div>-- <br>Arnaud BORE<br>Research assistant <br>Cellulaire : (001) 514-647-8649<br><br>
</div></font></span></div>
<br>_______________________________________________<br>
Mrtrix-discussion mailing list<br>
<a href="mailto:Mrtrix-discussion@www.nitrc.org">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><br><br clear="all"><div><br></div>-- <br><div dir="ltr"><b><font color="#990000">Dr J-Donald Tournier (PhD)</font></b><br><div><font color="#990000"><br></font></div><i><font color="#990000">Senior Lecturer, </font></i><i><font color="#990000">Biomedical Engineering</font></i><div>
<i><font color="#990000">Division of Imaging Sciences & Biomedical Engineering<br>King's College London</font></i><div><i><font color="#990000"><br></font></i></div><div><i><font color="#990000"><b style="font-family:Calibri,sans-serif;font-size:15px"><span style="font-size:10pt">A:</span></b><span style="font-family:Calibri,sans-serif;font-size:10pt"> Department of Perinatal Imaging & Health, 1<sup>st</sup> Floor South Wing, St Thomas' Hospital, London. SE1 7EH</span><br>
</font></i></div><div><i><font color="#990000"><b>T:</b> +44 (0)20 7188 7118 ext 53613</font></i></div></div><div><i><font color="#990000"><b>W:</b> <a href="http://www.kcl.ac.uk/medicine/research/divisions/imaging/departments/biomedengineering" target="_blank">http://www.kcl.ac.uk/medicine/research/divisions/imaging/departments/biomedengineering</a></font></i><br>
</div></div>
</div></div>