[Insight-developers] Very strange interaction between some itk image io and vtk io - sample images

Richard Beare richard.beare at gmail.com
Tue Jul 22 21:00:05 EDT 2008


Hi,

After further investigation it seems that the folding issue is related
to fslview, but that there are differences in images produced when the
executable is linked with vtkIO as well as the ITK libraries. In the
former case the file is longer than in the latter, so something
unexpected is happening. When using linking with vtk the output image
is

131776 bytes, of which 256*256*2 is data - leaving 704 bytes as header

when linking with itk only the file is

131424 bytes, leaving 352 bytes as header (a more typical number).

Examining the data with a raw image viewer shows that there isn't a
folding issue.

I'll check to see whether the change in file size happens under linux
since my former tests were looking for the wrong thing. Presumably
fslview is getting upset somehow by the different header.

On Sun, Jul 20, 2008 at 10:16 AM, Richard Beare <richard.beare at gmail.com> wrote:
> Hi,
> I can't remember whether images will make it onto the list, so I'll
> give it a go. This example illustrates the folding effect I attempted
> to describe in earlier messages.
>


More information about the Insight-developers mailing list