Hi Davoud<br><br>With this Transform,  you should use an optimizer that <br>doesn&#39;t require the computation of Metric derivatives.<br><br>Typical options are:<br><br>* OnePlusOneEvolutionaryOptimizer<br>* AmoebaOptimizer<br>
<br><br>   Regards,<br><br><br>         Luis<br><br><br>--------------------------------<br><div class="gmail_quote">On Wed, Sep 22, 2010 at 10:29 AM, Dav <span dir="ltr">&lt;<a href="mailto:davoud_zzz@yahoo.com">davoud_zzz@yahoo.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td style="font: inherit;" valign="top">
Greetings dear members,<div>I am trying to register pair of CT images using the Thin-Plate Spline (TPS) transform and the following source code is the section related to TPS registration:</div><div><br></div><div>**********************************************************************************************************</div>
<div><p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: blue;">const</span><span style="font-size: 10pt; font-family: &quot;Courier New&quot;;"><span>    </span><span style="color: blue;">unsigned</span> <span style="color: blue;">int</span><span>   
</span>Dimension = 2;</span></p>

<p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 10pt; font-family: &quot;Courier New&quot;;"><span>  </span><span style="color: blue;">typedef</span><span>  </span><span style="color: blue;">short</span><span>   </span>PixelType;</span></p>


<p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 10pt; font-family: &quot;Courier New&quot;;"> </span></p>

<p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 10pt; font-family: &quot;Courier New&quot;;"><span>  </span><span style="color: blue;">typedef</span>
itk::Image&lt; PixelType, Dimension &gt;<span> 
</span>FixedImageType;</span></p>

<p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 10pt; font-family: &quot;Courier New&quot;;"><span>  </span><span style="color: blue;">typedef</span>
itk::Image&lt; PixelType, Dimension &gt;<span> 
</span>MovingImageType;</span></p>

<p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 10pt; font-family: &quot;Courier New&quot;;"><span>  </span><span style="color: blue;">typedef</span> <span style="color: blue;">double</span> CoordinateRepType;</span></p>


<p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 10pt; font-family: &quot;Courier New&quot;;"><span>  </span><span style="color: blue;">typedef</span>
itk::ThinPlateSplineKernelTransform&lt; CoordinateRepType, Dimension&gt;
TransformType;</span></p>

<p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 10pt; font-family: &quot;Courier New&quot;;"><span>  </span><span style="color: blue;">typedef</span>
itk::ImageRegistrationMethod&lt; FixedImageType, MovingImageType &gt; RegistrationType;</span></p>

<p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 10pt; font-family: &quot;Courier New&quot;;"><span>  </span><span style="color: blue;">typedef</span><span>   </span>itk::Point&lt; CoordinateRepType, Dimension
&gt;<span>  </span>PointType;</span></p>

<p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 10pt; font-family: &quot;Courier New&quot;;"><span>  </span><span style="color: blue;">typedef</span><span>   </span>TransformType::PointSetType<span>   </span>PointSetType;</span></p>


<p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 10pt; font-family: &quot;Courier New&quot;;"><span>  </span><span style="color: blue;">typedef</span><span>   </span>PointSetType::Pointer<span>      </span>PointSetPointer;</span></p>


<p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 10pt; font-family: &quot;Courier New&quot;;"><span>  </span><span style="color: blue;">typedef</span><span>   </span>PointSetType::PointIdentifier<span>  </span>PointIdType;</span></p>


<p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 10pt; font-family: &quot;Courier New&quot;;"><span>    </span></span></p>

<p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 10pt; font-family: &quot;Courier New&quot;;"><span>  </span><span style="color: blue;">typedef</span>
itk::RegularStepGradientDescentOptimizer<span>      
</span>OptimizerType;</span></p>

<p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 10pt; font-family: &quot;Courier New&quot;;"><span>  </span><span style="color: blue;">typedef</span>
itk::MutualInformationImageToImageMetric&lt; FixedImageType, MovingImageType
&gt;<span>   </span>MetricType;</span></p>

<p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 10pt; font-family: &quot;Courier New&quot;;"><span>  </span><span style="color: blue;">typedef</span> itk::
LinearInterpolateImageFunction&lt; MovingImageType, <span style="color: blue;">double</span>&gt;<span>    </span>InterpolatorType;</span></p>

<p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 10pt; font-family: &quot;Courier New&quot;;"><span>  </span></span></p>

<p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 10pt; font-family: &quot;Courier New&quot;;"><span>  </span>OptimizerType::Pointer<span>      </span>optimizer<span>     </span>= OptimizerType::New();</span></p>


<p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 10pt; font-family: &quot;Courier New&quot;;"><span>  </span>InterpolatorType::Pointer<span>   </span>interpolator<span> 
</span>= InterpolatorType::New();</span></p>

<p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 10pt; font-family: &quot;Courier New&quot;;"><span>  </span>RegistrationType::Pointer<span>   </span>registration<span> 
</span>= RegistrationType::New();</span></p>

<p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 10pt; font-family: &quot;Courier New&quot;;"><span>  </span>MetricType::Pointer<span>       </span><span>  </span>metric<span>       
</span>= MetricType::New();</span></p>

<p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 10pt; font-family: &quot;Courier New&quot;;"> </span></p>

<p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 10pt; font-family: &quot;Courier New&quot;;"><span>  </span><span style="color: green;">//------------------------------------------------------------------------------------------------------//</span></span></p>


<p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 10pt; font-family: &quot;Courier New&quot;;"><span>  </span>PointSetType::Pointer sourceLandMarks =
PointSetType::New();</span></p>

<p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 10pt; font-family: &quot;Courier New&quot;;"><span>  </span>PointSetType::Pointer targetLandMarks = PointSetType::New();</span></p>


<p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 10pt; font-family: &quot;Courier New&quot;;"><span>  </span>PointType p1;<span>    </span></span></p>

<p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 10pt; font-family: &quot;Courier New&quot;;"><span>  </span>PointType p2;</span></p>

<p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 10pt; font-family: &quot;Courier New&quot;;"><span>  </span>PointSetType::PointsContainer::Pointer
sourceLandMarkContainer = sourceLandMarks-&gt;GetPoints();</span></p>

<p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 10pt; font-family: &quot;Courier New&quot;;"><span>  </span>PointSetType::PointsContainer::Pointer
targetLandMarkContainer = targetLandMarks-&gt;GetPoints();</span></p>

<p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 10pt; font-family: &quot;Courier New&quot;;"><span>  </span>PointIdType id = itk::NumericTraits&lt;
PointIdType &gt;::Zero;</span></p>

<p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 10pt; font-family: &quot;Courier New&quot;;"><span>  </span><span style="color: green;">// Read in the list
of landmarks</span></span></p>

<p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 10pt; font-family: &quot;Courier New&quot;;"><span>  </span>std::ifstream infile;</span></p>

<p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 10pt; font-family: &quot;Courier New&quot;;"><span>  </span>infile.open( argv[1] );</span></p>

<p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 10pt; font-family: &quot;Courier New&quot;;"><span>  </span><span style="color: blue;">while</span>
(!infile.eof())</span></p>

<p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 10pt; font-family: &quot;Courier New&quot;;"><span>    </span>{</span></p>

<p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 10pt; font-family: &quot;Courier New&quot;;"><span>    </span>infile &gt;&gt;<span>  </span>p1[0] &gt;&gt; p1[1] &gt;&gt; p2[0] &gt;&gt;
p2[1]; </span></p>

<p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 10pt; font-family: &quot;Courier New&quot;;"><span>    </span>sourceLandMarkContainer-&gt;InsertElement(
id, p1 );</span></p>

<p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 10pt; font-family: &quot;Courier New&quot;;"><span>    </span>targetLandMarkContainer-&gt;InsertElement(
id++, p2 );</span></p>

<p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 10pt; font-family: &quot;Courier New&quot;;"><span>    </span>} </span></p>

<p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 10pt; font-family: &quot;Courier New&quot;;"><span>  </span>infile.close();</span></p>

<p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 10pt; font-family: &quot;Courier New&quot;;"><span>  </span>TransformType::Pointer tps =
TransformType::New();</span></p>

<p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 10pt; font-family: &quot;Courier New&quot;;"><span>  </span>tps-&gt;SetSourceLandmarks(sourceLandMarks);</span></p>

<p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 10pt; font-family: &quot;Courier New&quot;;"><span>  </span>tps-&gt;SetTargetLandmarks(targetLandMarks);</span></p>

<p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 10pt; font-family: &quot;Courier New&quot;;"><span>  </span>tps-&gt;ComputeWMatrix();</span></p>

<p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 10pt; font-family: &quot;Courier New&quot;;"><span>  </span><span style="color: green;">//-------------------------------------------------------------------------------------------------------//</span></span></p>


<p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 10pt; font-family: &quot;Courier New&quot;;"><span>  </span>registration-&gt;SetOptimizer(<span>     </span>optimizer<span>     </span>);</span></p>


<p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 10pt; font-family: &quot;Courier New&quot;;"><span>  </span>registration-&gt;SetTransform(<span>     </span>tps<span>    
</span>);</span></p>

<p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 10pt; font-family: &quot;Courier New&quot;;"><span>  </span>registration-&gt;SetInterpolator(<span>  </span>interpolator<span> 
</span>);</span></p>

<p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 10pt; font-family: &quot;Courier New&quot;;"><span>  </span>registration-&gt;SetMetric(<span>        </span>metric<span>        </span>);</span></p>


<p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 10pt; font-family: &quot;Courier New&quot;;"><span>  </span></span></p>

<p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 10pt; font-family: &quot;Courier New&quot;;"><span>  </span><span style="color: blue;">typedef</span>
itk::ImageFileReader&lt; FixedImageType<span> 
</span>&gt; FixedImageReaderType;</span></p>

<p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 10pt; font-family: &quot;Courier New&quot;;"><span>  </span><span style="color: blue;">typedef</span>
itk::ImageFileReader&lt; MovingImageType &gt; MovingImageReaderType;</span></p>

<p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 10pt; font-family: &quot;Courier New&quot;;"><span>  </span>FixedImageReaderType::Pointer<span>  </span>fixedImageReader<span>  </span>= FixedImageReaderType::New();</span></p>


<p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 10pt; font-family: &quot;Courier New&quot;;"><span>  </span>MovingImageReaderType::Pointer
movingImageReader = MovingImageReaderType::New();</span></p>

<p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 10pt; font-family: &quot;Courier New&quot;;"><span>  </span>fixedImageReader-&gt;SetFileName(<span>  </span>argv[2] );</span></p>


<p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 10pt; font-family: &quot;Courier New&quot;;"><span>  </span>movingImageReader-&gt;SetFileName( argv[3] );</span></p>

<p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 10pt; font-family: &quot;Courier New&quot;;"> </span></p>

<p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 10pt; font-family: &quot;Courier New&quot;;"><span>  </span>registration-&gt;SetFixedImage( <span>   </span>fixedImageReader-&gt;GetOutput()<span>    </span>);</span></p>


<p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 10pt; font-family: &quot;Courier New&quot;;"><span>  </span>registration-&gt;SetMovingImage(<span>   </span>movingImageReader-&gt;GetOutput()<span>   </span>);</span></p>


<p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 10pt; font-family: &quot;Courier New&quot;;"><span>  </span>fixedImageReader-&gt;Update();</span></p>

<p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 10pt; font-family: &quot;Courier New&quot;;"><span>  </span>registration-&gt;SetFixedImageRegion(
fixedImageReader-&gt;GetOutput()-&gt;GetBufferedRegion() );</span></p>

<p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 10pt; font-family: &quot;Courier New&quot;;"> </span></p>

<p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 10pt; font-family: &quot;Courier New&quot;;"><span>  </span><span style="color: blue;">typedef</span>
RegistrationType::ParametersType ParametersType;</span></p>

<p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 10pt; font-family: &quot;Courier New&quot;;"><span>  </span>ParametersType initialParameters(
tps-&gt;GetNumberOfParameters() );</span></p>

<p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 10pt; font-family: &quot;Courier New&quot;;"><span>  </span>initialParameters = tps-&gt;GetParameters();</span></p>

<p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 10pt; font-family: &quot;Courier New&quot;;"><span>  </span>std::cout &lt;&lt; <span style="color: rgb(163, 21, 21);">&quot;
TPS Parameters = &quot;</span> &lt;&lt; tps-&gt;GetParameters() &lt;&lt;
std::endl;</span></p>

<p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 10pt; font-family: &quot;Courier New&quot;;"><span>  </span>std::cout &lt;&lt; <span style="color: rgb(163, 21, 21);">&quot;
TPS Parameters = &quot;</span> &lt;&lt; initialParameters &lt;&lt; std::endl;</span></p>

<p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 10pt; font-family: &quot;Courier New&quot;;"><span> 
</span>registration-&gt;SetInitialTransformParameters( initialParameters );</span></p>

<p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 10pt; font-family: &quot;Courier New&quot;;"><span>  </span>optimizer-&gt;SetNumberOfIterations( 200 );</span></p>

<p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 10pt; font-family: &quot;Courier New&quot;;"><span>  </span>optimizer-&gt;SetRelaxationFactor( 0.9 );</span></p>

<p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 10pt; font-family: &quot;Courier New&quot;;"> </span></p>

<p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 10pt; font-family: &quot;Courier New&quot;;"><span>  </span><span style="color: blue;">try</span> </span></p>

<p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 10pt; font-family: &quot;Courier New&quot;;"><span>    </span>{ </span></p>

<p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 10pt; font-family: &quot;Courier New&quot;;"><span>    </span>registration-&gt;StartRegistration(); </span></p>

<p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 10pt; font-family: &quot;Courier New&quot;;"><span>    </span>std::cout &lt;&lt; <span style="color: rgb(163, 21, 21);">&quot;Optimizer
stop condition: &quot;</span></span></p>

<p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 10pt; font-family: &quot;Courier New&quot;;"><span>              </span>&lt;&lt;
registration-&gt;GetOptimizer()-&gt;GetStopConditionDescription()</span></p>

<p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 10pt; font-family: &quot;Courier New&quot;;"><span>              </span>&lt;&lt; std::endl;</span></p>

<p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 10pt; font-family: &quot;Courier New&quot;;"><span>    </span>} </span></p>

<p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 10pt; font-family: &quot;Courier New&quot;;"><span>  </span><span style="color: blue;">catch</span>(
itk::ExceptionObject &amp; err ) </span></p>

<p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 10pt; font-family: &quot;Courier New&quot;;"><span>    </span>{ </span></p>

<p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 10pt; font-family: &quot;Courier New&quot;;"><span>    </span>std::cout &lt;&lt; <span style="color: rgb(163, 21, 21);">&quot;ExceptionObject
caught !&quot;</span> &lt;&lt; std::endl; </span></p>

<p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 10pt; font-family: &quot;Courier New&quot;;"><span>    </span>std::cout &lt;&lt; err &lt;&lt; std::endl; </span></p>

<p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style="font-size: 10pt; font-family: &quot;Courier New&quot;;"><span>    </span><span style="color: blue;">return</span>
EXIT_FAILURE;</span></p>

<div><span style="font-family: &#39;Courier New&#39;;"><span>    </span>}</span></div><div>*********************************************************************************************************</div><div><br></div><div>
<span style="font-family: &#39;Courier New&#39;;"></span>This code is suppose to register two CT images with predefined landmarks which are the TPS transformation parameters. The code compiles just fine however in time of execution I get the following error: </div>
<div>*********************************************************************************************************</div><div><p class="MsoNormal"><span style="font-family: &quot;Times New Roman&quot;,&quot;serif&quot;;">Location: &quot;const class itk::Array2D&lt;double&gt;
&amp;__thiscall itk::KernelTransform&lt;double,2&gt;::GetJacobian(const class
itk::Point&lt;double,2&gt; &amp;) const&quot; </span></p>

<p class="MsoNormal"><span style="font-family: &quot;Times New Roman&quot;,&quot;serif&quot;;">File: e:\research programs\[][ir] itk\insighttoolkit-3.18.0\code\common\itkKernelTransform.txx</span></p>

<p class="MsoNormal"><span style="font-family: &quot;Times New Roman&quot;,&quot;serif&quot;;">Line: 455</span></p>

<p class="MsoNormal"><span style="font-family: &quot;Times New Roman&quot;,&quot;serif&quot;;">Description: itk::ERROR: ThinPlateSplineKernelTransform(01571248):
GetJacobian must be implemented in subclasses of KernelTransform.</span></p><p class="MsoNormal"><span style="font-family: &quot;Times New Roman&quot;,&quot;serif&quot;;">***************************************************************************</span></p>
<p class="MsoNormal"><span style="font-family: &quot;Times New Roman&quot;,&quot;serif&quot;;">The used landmark file is similar to what have been used for the ThinPlateSplineWarp example in the ITK framework and I don&#39;t think that is the cause of error. My guess is that the parameters initialization of the registration method is not configured properly but I don&#39;t know how to correct that. I would appreciate any help to solve this issue.</span></p>
<p class="MsoNormal"><span style="font-family: &quot;Times New Roman&quot;,&quot;serif&quot;;">Best regards,</span></p><p class="MsoNormal"><span style="font-family: &quot;Times New Roman&quot;,&quot;serif&quot;;">Davoud.</span></p>
<p class="MsoNormal"><span style="font-family: &quot;Times New Roman&quot;,&quot;serif&quot;;"><br></span></p><p class="MsoNormal"><span style="font-family: &quot;Times New Roman&quot;,&quot;serif&quot;;"><br></span></p></div>
</div></td></tr></tbody></table><br>







      <br>_____________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at<br>
<a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Kitware offers ITK Training Courses, for more information visit:<br>
<a href="http://www.kitware.com/products/protraining.html" target="_blank">http://www.kitware.com/products/protraining.html</a><br>
<br>
Please keep messages on-topic and check the ITK FAQ at:<br>
<a href="http://www.itk.org/Wiki/ITK_FAQ" target="_blank">http://www.itk.org/Wiki/ITK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.itk.org/mailman/listinfo/insight-users" target="_blank">http://www.itk.org/mailman/listinfo/insight-users</a><br>
<br></blockquote></div><br>