[Insight-users] ImportImageFilter & TileImageFilter = troubles!

Andinet Enquobahrie andinet.enqu at kitware.com
Tue Mar 28 09:43:41 EST 2006


Alberto Bert wrote:

>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...
>  
>
Hi Alberto,

Can you post a portion of your code so that we can better help you debug 
the problem? For example,

1) Declaration of your input and output image types

2) Declaration of the TileImageFilter type  and

3) Code fragment where you actually tile the three input images

etc...

-Andinet



>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
>_______________________________________________
>Insight-users mailing list
>Insight-users at itk.org
>http://www.itk.org/mailman/listinfo/insight-users
>
>
>  
>




More information about the Insight-users mailing list