<div>Unsigned char image type should be fine for the input. Try changing the output image type to that of floats or doubles. </div><div><br></div><div><a href="http://www.itk.org/Doxygen/html/classitk_1_1GaussianBlurImageFunction.html">http://www.itk.org/Doxygen/html/classitk_1_1GaussianBlurImageFunction.html</a></div>
<div><br><div class="gmail_quote">On Sat, Mar 26, 2011 at 12:19 PM, Abayiz <span dir="ltr"><<a href="mailto:abayiz@yahoo.com">abayiz@yahoo.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hello all,<br>
<br>
I want to use the Guassian Blur Image Function provided in the ITK user guide to perform smoothing on ".jpg" image. But that function does not accept ".jpg" image type as input/output. How should I convert ".jpg" into a supported image type for it?<br>
<br>
I've searched on the internet, and found "ITK ConvertTraits" might be useful for it. But I cannot know how to use it.<br>
<br>
Hope to receive useful suggestions.<br>
Many thanks in advance!<br>
<br>
Best regards.<br>
<br>
<br>
<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.html" target="_blank">http://www.kitware.com/products/protraining.html</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>
</blockquote></div><br></div>