[Insight-users] error in DeformableRegistration8 sample
BATY Xavier
xavier.baty at univ-angers.fr
Mon Jun 19 03:34:16 EDT 2006
Hi, you should try with unsigned char or unsigned short as PixelType
ith respect of your images intensities).
The PixelType in the exemple 8 is signed short which isn't compatible
with the Tiff file format.
XB
>please dismiss my previous email. I just changed the ImageDimension parameter from 3 to 2 in DeformableRegistration.cxx, and now the results are:
>
>C:\INTA\Pleyades\InsightToolkit\Insight-binary\bin\Debug>deformableregistration8
> image1.tif image2.tif result.tif
>
>itk::ExceptionObject (0129ED98)
>Location: "unknown"
>File: C:\INTA\pleyades\InsightToolkit\InsightToolkit-2.6.0\Code\IO\itkTIFFImageI
>O.cxx
>Line: 1333
>Description: itk::ERROR: TIFFImageIO(01802570): TIFF supports unsigned char and
>unsigned short
>
>I have to look after the I/O error, I suppose it could be eventually solved by using just another file format.
>Best regards
>Severino Fernandez
>
>
More information about the Insight-users
mailing list