[Insight-users] Re: Too many samples map outside moving image
buffer
Xabier Artaechevarria Artieda
xabiarta at unav.es
Wed Mar 14 03:24:43 EST 2007
Hi,
have a look at this thread, it might be hepful.
http://public.kitware.com/pipermail/insight-users/2007-February/021044.html
Regards,
Xabi
--
Xabier Artaechevarria
Cancer Imaging Laboratory
Centre for Applied Medical Research
www.cima.es
Goo <gtshowtime at gmail.com> ha escrito:
> 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.
>>
----------------------------------------------------------------
Este mensaje ha sido enviado desde https://webmail.unav.es
More information about the Insight-users
mailing list