[Elastix] Error during 4D+t registration
rahul.vedic at gmail.com
Fri Apr 5 22:54:59 CEST 2013
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):
Location: "ElastixTemplate - Run()"
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.
Does this error mean I am running out of memory? What can I do to avoid
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Elastix