[Insight-users] TileImageFilter layout

Miklos Espak espakm at gmail.com
Thu Jun 17 11:36:35 EDT 2010


Hi,

is there another usage pattern for using TileImageFilter than setting a
layout (1, 1, 0) or ( 1, 1, 1, 0) etc. ?

I have 3 images with 64x64x1x24 dimensions, and I want to combine them and
get one 64x64x3x24 image.

Now it is done in the following way:
 - dropping the 3rd dim to get 64x64x24 images
 - tiling them together with layout (1, 1, 1, 0) to get a 64x64x24x3 image
 - permuting the 3rd and 4th dimension.

However, it is not very elegant. Is there a better way? PasteImageFilter
maybe?

I tried tiling the 64x64x24 images with the layout (1, 1, 0, 1), but I get
this at run-time:

-----------------------------------------------------------------------
 *** Break *** segmentation violation
Attaching to program: /proc/4548/exe, process 4548
[Thread debugging using libthread_db enabled]
done.
done.
done.
done.
done.
done.
done.
done.
done.
done.
0x00007f3bec801f7d in __libc_waitpid (pid=4554,
    stat_loc=<value optimised out>, options=0)
    at ../sysdeps/unix/sysv/linux/waitpid.c:41
41      ../sysdeps/unix/sysv/linux/waitpid.c: Nincs ilyen fájl vagy
könyvtár.
        in ../sysdeps/unix/sysv/linux/waitpid.c
error detected on stdin
A debugging session is active.

        Inferior 1 [process 4548] will be detached.

Quit anyway? (y or n) [answered Y; input not from terminal]
Detaching from program: /proc/4548/exe, process 4548
-----------------------------------------------------------------------

I also tried to tile the first 4D images to get a 4D one, with the same
result.

Is it a misuse or a bug?

Thanks,
Miklos
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20100617/8d2b40ce/attachment.htm>


More information about the Insight-users mailing list