[Elastix] Error during 4D+t registration

Coert Metz coert.metz at gmail.com
Sun Apr 7 17:32:00 CEST 2013


Dear Rahul,

Yes you are. Consider using a smaller image (for example by cropping away
empty space or storing the image in shorts instead of floats), or try the
ImageRandomSampler as suggested. Last option: add memory to your PC :).

HTH,
Coert


On Fri, Apr 5, 2013 at 10:54 PM, Rahul Khare <rahul.vedic at gmail.com> wrote:

> Hi,
>
> I have been trying to replicate results from the paper " Nonrigid
> registration of dynamic medical imaging data using nD+t B-splines and a
> groupwise optimization approach<http://dx.doi.org/10.1016/j.media.2010.10.003>"
> using 4D CT data that I have. The data is about 1GB in size. When I use the
> parameter file given at the link (
> http://elastix.bigr.nl/wiki/index.php/Par0012), I get an error as shown
> below (from the log file):
>
> itk::ExceptionObject (0000000000A0F278)
> Location: "ElastixTemplate - Run()"
> File:
> c:\users\wyke\documents\elastix4.6\src\common\imagesamplers\itkImageRandomSamplerSparseMask.txx
> Line: 85
> Description: itk::ERROR: RandomSamplerSparseMask(0000000002CCBFC0): ERROR:
> This ImageSampler internally uses the ImageFullSampler. Updating of this
> internal sampler raised the exception:
> itk::ERROR: ImageFullSampler(0000000002CD0F50): std: bad allocation
> ERROR: failed to allocate memory for the sample container.
> You are using the ImageRandomSamplerSparseMask sampler, but you did not
> set a mask. The internal ImageFullSampler therefore requires a lot of
> memory. Consider using the ImageRandomSampler instead.
>
> Error occurred during actual registration.
>
>
> Errors occurred!
>
> Does this error mean I am running out of memory? What can I do to avoid
> this error?
>
> Thank you.
> Rahul.
>
> _______________________________________________
> Elastix mailing list
> Elastix at bigr.nl
> http://lists.bigr.nl/cgi-bin/mailman/listinfo/elastix
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bigr.nl/pipermail/elastix/attachments/20130407/638e1d55/attachment.html>


More information about the Elastix mailing list