<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
</head>
<body>
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Arial,Helvetica,sans-serif;" dir="ltr">
<p>Hello,</p>
<p><br>
</p>
<p>Thank for your reply.</p>
<p><br>
</p>
<p>I was indeed using the median_otsu 'autocrop=True' option. By choosing 'False' I can ensure that my output images are maintained at the same dimensions as the original image.</p>
<p><br>
</p>
<p>I assume that the advantage of cropping the images is to reduce processing time.</p>
<p><br>
</p>
<p>Thanks,</p>
<p>Joe</p>
</div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> Neuroimaging <neuroimaging-bounces+j.necus2=ncl.ac.uk@python.org> on behalf of Eleftherios Garyfallidis <elef@indiana.edu><br>
<b>Sent:</b> 15 May 2017 01:38:00<br>
<b>To:</b> Neuroimaging analysis in Python<br>
<b>Subject:</b> Re: [Neuroimaging] dipy model fit question</font>
<div> </div>
</div>
<div>
<div dir="ltr">The fitting cannot reduce the size of the image. Maybe you used median_otsu with autocrop True.</div>
<br>
<div class="gmail_quote">
<div dir="ltr">On Sun, May 14, 2017 at 8:31 PM Ariel Rokem <<a href="mailto:arokem@gmail.com">arokem@gmail.com</a>> wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">Hi Joe, 
<div><br>
</div>
<div>Would you mind posting the code that you ran? I am not sure that I understand what you mean by "the background is clipped". <br>
</div>
<div><br>
</div>
<div>Thanks! </div>
</div>
<div dir="ltr">
<div><br>
</div>
<div>Ariel </div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Fri, May 12, 2017 at 9:16 AM, Joe Necus (PGR) <span dir="ltr">
<<a href="mailto:J.Necus2@newcastle.ac.uk" target="_blank">J.Necus2@newcastle.ac.uk</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">
<div id="m_-4519938887141721534m_-1518139343232228183divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Arial,Helvetica,sans-serif" dir="ltr">
<p>Hello,</p>
<p><br>
</p>
<p>I am just starting out with dipy and have a simple question.</p>
<p><br>
</p>
<p>After generating my mask and fitting a tensort model, the FA image which I obtain is reduced in size from the original image (as the background is clipped).</p>
<p><br>
</p>
<p>I would like to obtain the fa map back in the original data shape, is this possible?</p>
<p><br>
</p>
<p>Thanks,</p>
<p>Joe</p>
</div>
</div>
<br>
_______________________________________________<br>
Neuroimaging mailing list<br>
<a href="mailto:Neuroimaging@python.org" target="_blank">Neuroimaging@python.org</a><br>
<a href="https://mail.python.org/mailman/listinfo/neuroimaging" rel="noreferrer" target="_blank">https://mail.python.org/mailman/listinfo/neuroimaging</a><br>
<br>
</blockquote>
</div>
<br>
</div>
_______________________________________________<br>
Neuroimaging mailing list<br>
<a href="mailto:Neuroimaging@python.org" target="_blank">Neuroimaging@python.org</a><br>
<a href="https://mail.python.org/mailman/listinfo/neuroimaging" rel="noreferrer" target="_blank">https://mail.python.org/mailman/listinfo/neuroimaging</a><br>
</blockquote>
</div>
</div>
</body>
</html>