[Insight-users] MutualInformationImageToImageMetric RuntimeError

Luis Ibanez luis.ibanez at kitware.com
Wed, 14 Apr 2004 11:27:12 -0400


Hi Carrie,

This error message indicates that your current
Transform is mapping the moving image so far away
from the fixed image that there is no longer any
overlap between the two. In other words, your
optimization process is diverging.

The registration method cannot recover for this
situation and therefore it throws an exception.


The reason why your Transform get so off from the
reasonable range is probably related to:

A) Poor initialization of the transform.

B) A learning rate that is too large in
    the gradient descent optimizer.

C) An inappropriate translation scale.


You may want to restart your registration process
by using smaller values of the learning rate and
smaller values of the translation scale.


   Regards,



      Luis



----------------
Carrie wrote:

> Hi all
> 
> When the code runs to then sentence registration.StartRegistration(), 
> the runtimeError will appear. Details as followed:
> 
>  
> 
> /RuntimeError: 
> E:\ITK6\Code\Algorithms\itkMutualInformationImageToImageMetric.txx/
> 
> /:155//:/
> 
> /itk::ERROR: MutualInformationImageToImageMetric(0C11BF40): All the 
> sampled point/
> 
> / mapped to outside of the moving image/
> 
>  
> 
> How can I solve this problem.
> 
> Thx
> 
> Best wishes
> 
>                                                         Carrie
>