<div dir="ltr">Hello,<br><br>i am catching the following exception trying to register 2 images:<br><br>-----------------------------------------------------------------------------------------------------------------------------------<br>
itk::ExceptionObject (0x8b755c8)<br>Location: &quot;void itk::RecursiveSeparableImageFilter&lt;TInputImage, TOutputImage&gt;::GenerateData() [with TInputImage = itk::Image&lt;short int, 3u&gt;, TOutputImage = itk::Image&lt;float, 3u&gt;]&quot; <br>
File: /home/gabriel/InsightToolkit-3.6.0/Code/BasicFilters/itkRecursiveSeparableImageFilter.txx<br>Line: 247<br>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.<br>
-----------------------------------------------------------------------------------------------------------------------------------<br><br>ITK version: 3.6.0<br>VTK version: 5.0<br>
<br>classes and types used in the registration:<br>&nbsp;&nbsp;&nbsp; const&nbsp;&nbsp;&nbsp; unsigned int&nbsp;&nbsp;&nbsp; Dimension = 3;
<br>&nbsp;&nbsp;&nbsp; typedef&nbsp; short&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; PixelType;
<br>&nbsp;&nbsp;&nbsp; typedef itk::Image&lt; short, 3 &gt; ImageType;<br>&nbsp;<br>&nbsp;&nbsp;&nbsp; typedef itk::RegularStepGradientDescentOptimizer&nbsp;&nbsp;&nbsp;&nbsp; OptimizerType;
<br><br>&nbsp;&nbsp;&nbsp; typedef itk::MeanSquaresImageToImageMetric&lt;ImageType, ImageType&gt; MetricType;
<br>&nbsp;&nbsp;&nbsp; typedef itk::LinearInterpolateImageFunction&lt;ImageType, double&gt; InterpolatorType;
<br>&nbsp;&nbsp;&nbsp; typedef itk::ImageRegistrationMethod&lt; ImageType, ImageType &gt; RegistrationType;<br clear="all"><br>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).<br>
<br>any ideas of what could be happening?<br>-- <br>Gabriel Paniz Patzer<br>Bacharelado em Ciência da Computação - 8° semestre<br>Grupo de Computação Gráfica e Processamento de Imagens (GComGPI)<br>
</div>