[Insight-users] Problem with Rigid Registration Mattes-MI and FixedImageMask
Luis Ibanez
luis.ibanez at kitware.com
Wed Jan 20 15:05:34 EST 2010
Hi Serena,
This a very common error message.
It indicates that with the current parameters of
the Transform, the Fixed image is being mapped
on top of the Moving image in such a way that the
area of overlap is very small (or empty).
Since there is no sufficient overlap, the Metric
can't be computed, and the registration process
can not continue.
1) If you get this error message at the first iteration,
it means that your initialization of the Transform
parameter is incorrect.
2) If you get it after several iterations have run, it
typically means that:
A) You set the parameters of your optimizer to
very aggressive values (e.g. a large step
length in a gradient descent optimizer).
or
B) Your setting of the Parameter Scales are
incorrect and that you need to reevaluate them.
Regards,
Luis
-------------------------------------------------------
On Fri, Jan 15, 2010 at 7:11 PM, Serena Fabbri <fabbri at u.washington.edu> wrote:
>
> Hi All,
>
> I am registering MRI and CT image with Rigid Registration and Mattes MI.
> I use a mask for the fixed image (MRI) but I get this error:
>
> ExceptionObject caught !
>
> itk::ExceptionObject (0x1006b07c0)
> Location: "void itk::MattesMutualInformationImageToImageMetric<TFixedImage,
> TMovingImage>::GetValueAndDerivative(const typename
> itk::ImageToImageMetric<TFixedImage, TMovingImage>::ParametersType&,
> typename itk::ImageToImageMetric<TFixedImage, TMovingImage>::MeasureType&,
> typename itk::ImageToImageMetric<TFixedImage,
> TMovingImage>::DerivativeType&) const [with TFixedImage = itk::Image<float,
> 3u>, TMovingImage = itk::Image<float, 3u>]" File: /Users/InsightToolkit-
> 3.16.0/Code/Algorithms/itkMattesMutualInformationImageToImageMetric.txx
> Line: 1113
> Description: itk::ERROR:
> MattesMutualInformationImageToImageMetric(0x1006af790): Too many samples map
> outside moving image buffer: 0 / 47000
>
> Err in Reg blocco
>
>
> any ideas?
>
>
> Thank you very much.
>
> Serena
>
>
> _____________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Kitware offers ITK Training Courses, for more information visit:
> http://www.kitware.com/products/protraining.html
>
> Please keep messages on-topic and check the ITK FAQ at:
> http://www.itk.org/Wiki/ITK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.itk.org/mailman/listinfo/insight-users
>
More information about the Insight-users
mailing list