<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;">Hello!<br><br>I did it as you said, and it worked. It received jpg as input, then I saved the output in vtk file format. <br>By the way, I've added it to the wiki example page (http://www.itk.org/Wiki/Guassian_Blur_Image_Function). <br><br>Thank you for your answer! <br><br>--- On <b>Sat, 3/26/11, robert tamburo <i>&lt;robert.tamburo@gmail.com&gt;</i></b> wrote:<br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"><br>From: robert tamburo &lt;robert.tamburo@gmail.com&gt;<br>Subject: Re: [Insight-users] Guassian Blur Image Function<br>To: "Abayiz" &lt;abayiz@yahoo.com&gt;<br>Cc: insight-users@itk.org<br>Date: Saturday, March 26, 2011, 12:08 PM<br><br><div id="yiv764458703"><div>Unsigned char image type should be fine for the input.&nbsp;Try changing the output image type to that of floats or
 doubles.&nbsp;</div><div><br></div><div><a rel="nofollow" target="_blank" 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="yiv764458703gmail_quote">On Sat, Mar 26, 2011 at 12:19 PM, Abayiz <span dir="ltr">&lt;<a rel="nofollow" ymailto="mailto:abayiz@yahoo.com" target="_blank" href="/mc/compose?to=abayiz@yahoo.com">abayiz@yahoo.com</a>&gt;</span> wrote:<br><blockquote class="yiv764458703gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); 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 rel="nofollow" target="_blank" href="http://www.kitware.com">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at<br>
<a rel="nofollow" target="_blank" href="http://www.kitware.com/opensource/opensource.html">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Kitware offers ITK Training Courses, for more information visit:<br>
<a rel="nofollow" target="_blank" href="http://www.kitware.com/products/protraining.html">http://www.kitware.com/products/protraining.html</a><br>
<br>
Please keep messages on-topic and check the ITK FAQ at:<br>
<a rel="nofollow" target="_blank" href="http://www.itk.org/Wiki/ITK_FAQ">http://www.itk.org/Wiki/ITK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a rel="nofollow" target="_blank" href="http://www.itk.org/mailman/listinfo/insight-users">http://www.itk.org/mailman/listinfo/insight-users</a><br>
</blockquote></div><br></div>
</div></blockquote></td></tr></table><br>