[Insight-users] Re: Too many samples map outside moving image buffer

Goo gtshowtime at gmail.com
Tue Mar 13 12:57:28 EST 2007


Add some additional remark:
The intact error message is :

ExceptionObject caught !
itk::ExceptionObject (012AFB24)
Location: "unknown"
File: E:\ITK\InsightToolkit-
3.0.1\Code\Algorithms\itkMattesMutualInformationImageToImageMetric.txx
Line: 1016
Description: itk::ERROR:
MattesMutualInformationImageToImageMetric(01808DD0):
 Too many samples map outside moving image buffer: 0 / 52428


2007/3/14, Goo <gtshowtime at gmail.com>:
>
> Hi All :
>
> I met an error message when using Mattes MI and Affine Transform.
> This message is notifying me "Too many samples map outside moving image
> buffer"
>
> I guess this maybe caused by TransformPoint in
> itkMattesMutualInformationImageToImageMetric.txx
>
>    this->TransformPoint( nFixedImageSamples, parameters, mappedPoint,
>                           sampleOk, movingImageValue );
>
> but I don't know how to solve this problem.
>
> My test data are two different modality images with the size 512*512.
>
> The Metric setting :
>   unsigned int numberOfBins = 50;
>   unsigned int numberOfSamples = 10000;
>
> The Transform setting :
>   initialParameters[0] = 0.0;  // Initial offset in mm along X
>   initialParameters[1] = 0.0;  // Initial offset in mm along Y
>   registration->SetInitialTransformParameters( initialParameters );
>
> The optimizer setting :
>   optimizer->MinimizeOn();
>   optimizer->SetMaximumStepLength( 5.00 );
>   optimizer->SetMinimumStepLength( 0.001 );
>   optimizer->SetNumberOfIterations( 200 );
>   optimizer->SetRelaxationFactor( 0.8 );
>
> Can anybody help me to solve this problem?
>
> Regards.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://public.kitware.com/pipermail/insight-users/attachments/20070314/cebb3580/attachment.html


More information about the Insight-users mailing list