<html><head><meta http-equiv="Content-Type" content="text/html charset=iso-8859-1"><base href="x-msg://512/"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hello Micro,<div><br></div><div>I don't regularly work with CT, so I don't know for certain. What is the pixel type in your file?</div><div><br></div><div><a href="http://www.itk.org/Wiki/ITK/Examples/IO/ReadUnknownImageType">http://www.itk.org/Wiki/ITK/Examples/IO/ReadUnknownImageType</a></div><div><br></div><div>Also why do you say you image is all zeros? Did you inspect it in am image viewer? Perhaps all the values were just too low to be seen?</div><div><br></div><div>It may be best to have the output of the filter be at least of float, since its computing the standard deviation will be low in homogeneous regions which may be causing you to thing it's zero.</div><div><br></div><div>You are correct that in 3d a radius of 2 aka [2,2,2] will yield a neighborhood with a size of [5,5,5]. This has to do with how the Neighborhood operators and iterator work. You can find some example which may help you understand the behavior better here:</div><div><br></div><div><a href="http://www.itk.org/Doxygen/html/examples.html">http://www.itk.org/Doxygen/html/examples.html</a></div><div><a href="http://www.itk.org/Wiki/ITK/Examples">http://www.itk.org/Wiki/ITK/Examples</a></div><div><br></div><div>Brad</div><div><br></div><div><br><div><div>On Aug 16, 2013, at 9:02 AM, Mirco Serra <<a href="mailto:mirco9091@hotmail.it">mirco9091@hotmail.it</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div class="hmmessage" style="font-size: 12pt; font-family: Calibri; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div dir="ltr">Hello,<div><br></div><div>Thanks for your answer!</div><div><br></div><div>I am using unsigned short as image type both for the input and the output image. Is this the correct type for 3D CT images? Also, would you mind explaining me the way the radius for the local region is selected for 3D images? In 2D I know that a radius value of 1 corresponds to a 3x3 region, a radius of 2 is a 5x5 region and so on. Is it the same in 3D, i.e. a value of 1 is a region of 3x3x3?</div><div><br></div><div>Many thanks,</div><div><br></div><div>Mirco<br><br><div><hr id="stopSpelling">Subject: Re: [Insight-users] NoiseImageFilter for 3D images<br>From:<span class="Apple-converted-space"> </span><a href="mailto:blowekamp@mail.nih.gov">blowekamp@mail.nih.gov</a><br>Date: Fri, 16 Aug 2013 08:48:56 -0400<br>CC:<span class="Apple-converted-space"> </span><a href="mailto:insight-users@itk.org">insight-users@itk.org</a><br>To:<span class="Apple-converted-space"> </span><a href="mailto:mirco9091@hotmail.it">mirco9091@hotmail.it</a><br><br>Hello,<div><br></div><div>What are your template parameters to the filter i.e. the image types used?</div><div><br></div><div>I just tried this filter in SimpleITK with a couple different images and it seems to work fine.</div><div><br></div><div>Thanks,</div><div>Brad</div><div><br><div><div>On Aug 16, 2013, at 5:05 AM, Mirco Serra <<a href="mailto:mirco9091@hotmail.it">mirco9091@hotmail.it</a>> wrote:</div><br class="ecxApple-interchange-newline"><blockquote><div class="ecxhmmessage" style="font-size: 12pt; font-family: Calibri; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; "><div dir="ltr">Hi guys,<div><br></div><div>I am trying to use the NoiseImageFilter class in order to get the local standard deviation of a 3D DICOM/nrrd dataset. The filter works nicely with 2D images, but when I try to use for 3D datasets it does not work properly and it returns an image with only zeros as intensity values. Do you have any idea why this could happen? I struggled with it a lot but I could not find a solution! Is the filter for 3D images too?</div><div><br></div><div>All the best and thank you very much,</div><div><br></div><div>Mirco </div></div>_____________________________________<br>Powered by<span class="ecxApple-converted-space"> </span><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></div></blockquote></div><br></div></div></div></div></div><br class="Apple-interchange-newline"></blockquote></div><br></div></body></html>