Hello,<br><br>Thanks! <br><br>Since I'm not so familiar with simpleITK, but am used to Matlab, I found another quick way to generate such data:<br><a href="http://tomography.o-x-t.com/2008/04/13/3d-shepp-logan-phantom/">http://tomography.o-x-t.com/2008/04/13/3d-shepp-logan-phantom/</a> (here one can also download generated data in .dat Matlab file)<br>
<a href="http://www.mathworks.com/matlabcentral/fileexchange/9416">http://www.mathworks.com/matlabcentral/fileexchange/9416</a><br><a href="https://sites.google.com/site/kittipat/mvpa-for-brain-fmri/convert_matlab_nifti">https://sites.google.com/site/kittipat/mvpa-for-brain-fmri/convert_matlab_nifti</a> (for .dat -> Nifti)<br>
<br>Regards,<br>Elena<br><br><div class="gmail_quote">On 14 February 2013 18:15, Bradley Lowekamp <span dir="ltr"><<a href="mailto:blowekamp@mail.nih.gov" target="_blank">blowekamp@mail.nih.gov</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello,<br>
<br>
You can use SimpleITK's python binding fairly easy to generate synthetic image, and just save them as nifti format. Here is an example of rendering the Marshner Lobb function:<br>
<br>
def marschner_lobb(size=40,alpha=0.25, f_M=6.0):<br>
img = sitk.PhysicalPointSource( sitk.sitkVectorFloat32, [size]*3, [-1]*3, [2.0/size]*3)<br>
imgx = sitk.VectorIndexSelectionCast(img,0)<br>
imgy = sitk.VectorIndexSelectionCast(img,1)<br>
imgz = sitk.VectorIndexSelectionCast(img,2)<br>
del img<br>
r = sitk.Sqrt(imgx**2+imgy**2)<br>
del imgx, imgy<br>
pr = sitk.Cos((2.0*math.pi*f_M)*sitk.Cos((math.pi/2.0)*r))<br>
return (1.0-sitk.Sin((math.pi/2.0)*imgz)+alpha*(1.0+pr))/(2.0*(1.0+alpha))<br>
<br>
<br>
Then just use sitk.WriteImage to save it.<br>
<br>
There are also some "ImageSource" filters to generate functions like the Gabor, Gaussian, Checkerboard.<br>
<br>
Additional information on getting started with SimpleITK can be found here:<br>
<a href="http://www.itk.org/Wiki/SimpleITK/GettingStarted" target="_blank">http://www.itk.org/Wiki/SimpleITK/GettingStarted</a><br>
<br>
Brad<br>
<div><div class="h5"><br>
On Feb 14, 2013, at 12:06 PM, Elena Ranguelova <<a href="mailto:elboyran@gmail.com">elboyran@gmail.com</a>> wrote:<br>
<br>
> Dear all,<br>
><br>
> Does anyone know where I can find and download for free some very simple,(best would be synthetic) 3D volumetric images in Nifti format?<br>
> For example- volume containing not the whole brain image, but a cropped around one structure? Or simple synthetic 3D sphere or cylinder?<br>
><br>
> Regards,<br>
> Elena<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>
</blockquote></div><br>