[Insight-users] ImportImageFilter & TileImageFilter = troubles!

Alberto Bert bert at isi.it
Tue Mar 28 09:54:18 EST 2006


Ops, I'm sorry, I forgot the attachment ;-)

Alberto

On Mar 28, 2006 at 09:43:41AM -0500, Andinet Enquobahrie wrote:
> 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
> >
> >
> > 
> >
> 
> 
> _______________________________________________
> Insight-users mailing list
> Insight-users at itk.org
> http://www.itk.org/mailman/listinfo/insight-users
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Image5.cpp
Type: text/x-c++src
Size: 4370 bytes
Desc: not available
Url : http://public.kitware.com/pipermail/insight-users/attachments/20060328/69ce8668/Image5.cpp


More information about the Insight-users mailing list