<div dir="ltr"><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small">You can upscale by a non-integer multiplier. In fact, you can change extent, orientation of axes etc at the same time with a single resampling step. I don't think that integer multiplier upscaling is optimized, so there should be no performance penalty by not using that case.</div>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Feb 21, 2014 at 3:33 PM, Jose Ignacio Prieto <span dir="ltr"><<a href="mailto:joseignacio.prieto@gmail.com" target="_blank">joseignacio.prieto@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">Thanks a lot Luis, <div>And does anybody know if you can upsample to a non integer multiplier of the previous resolution. If so, does it have a performance penalty over an integer multiplier?<div>
<br></div><div>
Thanks</div></div></div><div class="gmail_extra"><div><div class="h5"><br><br><div class="gmail_quote">On Wed, Feb 19, 2014 at 2:37 AM, Luis Ibanez <span dir="ltr"><<a href="mailto:luis.ibanez@kitware.com" target="_blank">luis.ibanez@kitware.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">Hi Jose,<div><br></div><div>Yes, your intuition is correct in this case.</div><div><br></div><div>If you keep the images as a 4D image, the interpolator will</div>
<div>indeed blend values across time points. Since after all, they</div>
<div>are just seen as another spatial dimension.</div><div><br></div><div><br></div><div>You may want to do the 3D resampling within the original</div><div>3D images, before you compose them into a 4D image.</div><div><br>
</div><div><br></div><div>Note that since ITK 4.0 there is a set of classes in ITK</div><div>for managing ND+Time.</div><div><br></div><div><br></div><div>You will find them under</div><div><br></div><div> /ITK/Modules/Video/Core/include<br>
</div><div><br></div><div><br></div><div>In particular,</div><div>you may find interesting the class</div><div><br></div><div> itkVideoStream.h<br></div><div><br></div><div><br></div><div>where you could put 3D images into a time sequence.</div>
<div><br></div><div><br></div><div> Thanks</div><div><br></div><div> Luis</div><div><br></div><div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote"><div><div>On Tue, Feb 18, 2014 at 4:40 PM, Jose Ignacio Prieto <span dir="ltr"><<a href="mailto:joseignacio.prieto@gmail.com" target="_blank">joseignacio.prieto@gmail.com</a>></span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div><div dir="ltr">Hi all, I am trying to upsample an image using this example as base <a href="http://www.itk.org/Doxygen/html/Filtering_2ResampleVolumesToBeIsotropic_8cxx-example.html#_a5" target="_blank">http://www.itk.org/Doxygen/html/Filtering_2ResampleVolumesToBeIsotropic_8cxx-example.html#_a5</a><div>
I have MRI cine data with spacing like 1:1:8. I mounted all time frames into a 4D image and I would like to upsample on Z axis to get 1:1:1. I was wondering if I should better divide the 4D image into a vector of 3D images so the interpolator wouldn't mix different times frames or it doesn't matter. ( also because I am interested in performance). Is it ok to use the linear interpolator for MRI? Or I should use BSPline? If so, is it faster to work on 3D for the splines?? </div>
<div><br></div><div>Thank you very much</div><div><br></div><div>Ignacio Prieto</div><div><br></div><div>Software Developer</div><div>Biomedical Imaging Center</div><div>Pontificia Universidad Católica de Chile</div></div>
<br></div></div>_____________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at<br>
<a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Kitware offers ITK Training Courses, for more information visit:<br>
<a href="http://www.kitware.com/products/protraining.php" target="_blank">http://www.kitware.com/products/protraining.php</a><br>
<br>
Please keep messages on-topic and check the ITK FAQ at:<br>
<a href="http://www.itk.org/Wiki/ITK_FAQ" target="_blank">http://www.itk.org/Wiki/ITK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.itk.org/mailman/listinfo/insight-users" target="_blank">http://www.itk.org/mailman/listinfo/insight-users</a><br>
<br>_______________________________________________<br>
Community mailing list<br>
<a href="mailto:Community@itk.org" target="_blank">Community@itk.org</a><br>
<a href="http://public.kitware.com/cgi-bin/mailman/listinfo/community" target="_blank">http://public.kitware.com/cgi-bin/mailman/listinfo/community</a><br>
<br></blockquote></div><br></div>
</blockquote></div><br><br clear="all"><div><br></div></div></div><span class="HOEnZb"><font color="#888888">-- <br>José Ignacio Prieto<br>celular(nuevo): 94348182
</font></span></div>
<br>_____________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at<br>
<a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Kitware offers ITK Training Courses, for more information visit:<br>
<a href="http://www.kitware.com/products/protraining.php" target="_blank">http://www.kitware.com/products/protraining.php</a><br>
<br>
Please keep messages on-topic and check the ITK FAQ at:<br>
<a href="http://www.itk.org/Wiki/ITK_FAQ" target="_blank">http://www.itk.org/Wiki/ITK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.itk.org/mailman/listinfo/insight-users" target="_blank">http://www.itk.org/mailman/listinfo/insight-users</a><br>
<br></blockquote></div><br></div>