[Insight-users] Guassian Blur Image Function

Abayiz abayiz at yahoo.com
Sat Mar 26 15:51:29 EDT 2011


Hello!

I did it as you said, and it worked. It received jpg as input, then I saved the output in vtk file format. 
By the way, I've added it to the wiki example page (http://www.itk.org/Wiki/Guassian_Blur_Image_Function). 

Thank you for your answer! 

--- On Sat, 3/26/11, robert tamburo <robert.tamburo at gmail.com> wrote:

From: robert tamburo <robert.tamburo at gmail.com>
Subject: Re: [Insight-users] Guassian Blur Image Function
To: "Abayiz" <abayiz at yahoo.com>
Cc: insight-users at itk.org
Date: Saturday, March 26, 2011, 12:08 PM

Unsigned char image type should be fine for the input. Try changing the output image type to that of floats or doubles. 
http://www.itk.org/Doxygen/html/classitk_1_1GaussianBlurImageFunction.html

On Sat, Mar 26, 2011 at 12:19 PM, Abayiz <abayiz at yahoo.com> wrote:

Hello all,



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?




I've searched on the internet, and found "ITK ConvertTraits" might be useful for it. But I cannot know how to use it.



Hope to receive useful suggestions.

Many thanks in advance!



Best regards.







_____________________________________

Powered by www.kitware.com



Visit other Kitware open-source projects at

http://www.kitware.com/opensource/opensource.html



Kitware offers ITK Training Courses, for more information visit:

http://www.kitware.com/products/protraining.html



Please keep messages on-topic and check the ITK FAQ at:

http://www.itk.org/Wiki/ITK_FAQ



Follow this link to subscribe/unsubscribe:

http://www.itk.org/mailman/listinfo/insight-users






      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20110326/804b5ae1/attachment.htm>


More information about the Insight-users mailing list