[Insight-users] ImportImageFilter & TileImageFilter = troubles!

Alberto Bert bert at isi.it
Tue Mar 28 09:27:31 EST 2006


Hi all,

I'm experiencing troubles by using the ImportImageFilter together with
the TileImageFilter.

Here I send an example of code where three images are generated in a
loop (in my actual code I wnat to read them from a tricky format) and
"converted" to itk images by means of the ImportImageFilter. Then I want
to tile them in a 4D Image by using the TileImageFilter, but what I get
is a 4D image with the right dimensions but with the default value (0)
everywhere.
I mean, apparently I throw away all my images at the end of the loop.
I added also a writer inside the loop in order to check if the images
are ok, and each of them is actually ok...

What am I doing wrong? Please help, it's one week I'm fighting with this
bug!

Linux
itk 2.6.0 tarball
gcc-4.0

Thanks,
Alberto


More information about the Insight-users mailing list