# Why ResampleImageFilter is slow?

**URL:** https://discourse.itk.org/t/why-resampleimagefilter-is-slow/1217
**Category:** Uncategorized
**Created:** [August 21, 2018, 1:23pm UTC](https://discourse.itk.org/t/why-resampleimagefilter-is-slow/1217 "2018-08-21T13:23:34Z")
**Posts on this page:** 1
**Showing post:** 17

<div class="post-metadata">

### Author: ![grothausmann.roman](https://discourse.itk.org/user_avatar/discourse.itk.org/grothausmann.roman/32/582_2.png) [@grothausmann.roman](https://discourse.itk.org/u/grothausmann.roman)
#### Post date: [August 30, 2018, 1:27pm UTC](https://discourse.itk.org/t/why-resampleimagefilter-is-slow/1217/17 "2018-08-30T13:27:01Z")

</div>

Thanks @dzenanz for your feedback. It compiles and works with streaming in the frame of my simple [resample\_SDI CLI](https://github.com/romangrothausmann/ITK-CLIs/blob/master/resample_SDI.cxx). The output is nearly the same as without streaming ([resample CLI](https://github.com/romangrothausmann/ITK-CLIs/blob/master/resample.cxx)) except that the SDI output is larger in extent (in my case one more z-slice at the end). Disregarding this slice leads to a difference image that is const. zero.  
Are there any test in the ITK test suite that would be appropriate for testing this?

---

_[View the full topic](https://discourse.itk.org/t/why-resampleimagefilter-is-slow/1217)._
