[Insight-users] exception when registering images

gabriel patzer gabrielpatzer at gmail.com
Thu Aug 7 15:20:15 EDT 2008


i am catching the following exception trying to register 2 images:

itk::ExceptionObject (0x8b755c8)
Location: "void itk::RecursiveSeparableImageFilter<TInputImage,
TOutputImage>::GenerateData() [with TInputImage = itk::Image<short int, 3u>,
TOutputImage = itk::Image<float, 3u>]"
Line: 247
Description: itk::ERROR: RecursiveGaussianImageFilter(0x8d02860): The number
of pixels along direction 0 is less than 4. This filter requires a minimum
of four pixels along the dimension to be processed.

ITK version: 3.6.0
VTK version: 5.0

classes and types used in the registration:
    const    unsigned int    Dimension = 3;
    typedef  short           PixelType;
    typedef itk::Image< short, 3 > ImageType;

    typedef itk::RegularStepGradientDescentOptimizer     OptimizerType;

    typedef itk::MeanSquaresImageToImageMetric<ImageType, ImageType>
    typedef itk::LinearInterpolateImageFunction<ImageType, double>
    typedef itk::ImageRegistrationMethod< ImageType, ImageType >

the images being registered are of a model image (ImageType) and a 4D image
with one axis averaged with the class GetAverageSliceImageFilter (should be
3D now).

any ideas of what could be happening?
Gabriel Paniz Patzer
Bacharelado em Ciência da Computação - 8° semestre
Grupo de Computação Gráfica e Processamento de Imagens (GComGPI)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20080807/6e923acf/attachment.htm>

More information about the Insight-users mailing list