[Insight-users] Does data type has an influence on filter performance?

Kishore Mosaliganti kishoreraom at gmail.com
Wed Oct 28 15:25:54 EDT 2009


My 2 cents:

I think if you ensure same datatype for input and output, some ITK
filters are derived from InPlaceFilter and so this can reuse the input
memory. So, you will reduce the memory usage by 1/2.

Kishore

On Wed, Oct 28, 2009 at 12:51 PM, Michael Xanadu
<xanadu.michael at googlemail.com> wrote:
> Hi,
>
> 1. I wonder if the datatype I choose for a filter (e.g. signed short, float,
> unsigned char etc.) does have an influence on the performance?
>
> 2. Does a filter, which has got a different input & output datattype,
> performs slower than a filter, in which I only use one datatype?
>
> // filter with different types...
> myfilter<short, float>
>
> // ...compared to a filter with same types. is this filter fasterr?
> myfilter<short, short>
>
>
>
> Regards, Michael
>
> _____________________________________
> 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
>
>


More information about the Insight-users mailing list