Hi,
I've successfully registered some images and have been really impressed with how
versatile flirt is when I throw large images at it. I'm now running into memory problems
though.
The images are rather large, but not all the same size. The smaller ones work and the
larger ones will work if make them smaller but it would be nice to be able to register at the
full resolution. The largest data sets are 450MB (uncompressed) each, is this a realistic
size to be able to register?
This is the command and error:
~/Desktop/1$ flirt -v -in ~/Desktop/1/04L5a.nii.gz -ref ~/Desktop/1/04L5b.nii.gz -out ~/
Desktop/1/04L5_a_b -omat ~/Desktop/1/04L5_a_b.mat -bins 256 -cost normcorr -
searchrx -180 180 -searchry -180 180 -searchrz -180 180 -dof 6 -interp trilinear
terminate called after throwing an instance of 'std::bad_alloc'
what(): std::bad_alloc
Aborted
Is this an error related to memory?
I'm running a 32bit OS (Ubuntu Linux) and had about 3.2GB RAM, 1GB swap. After messing
around (using PAE and enlarging the swap) I had 3.8GB RAM, 4GB swap but I don't think
this overcomes the problem of the maximum memory a single program can use? I do in
fact have a 64bit processor, is it worth installing a 64bit OS to try?
The output of fslerrorreport is attached, not sure if its helpful.
Thanks,
Rich
|