I am a post-doc at Western University in Ontario, Canada, and I am interested in using your Elastix Toolbox for Matlab.
It strikes me as appealing, since I am doing registration of multiple volumes, and trying to find ways of avoiding the constant manual edits of the parameter text files. Your code seemed like the answer to my prayers!
Now, I am not too savvy with Github, so I simply copied and pasted several of the *.m files into a directory, and set it up according to the instructions.
I put together a simple script to replicate a previous rigid registration from command line, and I have already run into an error.
I am using nifti files rather than .mha format, is that a problem? I have been using the nifti toolbox by Jimmy Shen for a while now. But I am wondering whether your scripts are expecting this 'scimat' format, of which I'm not familiar.
Also, I am wondering whether I need to download all of Gerardus to get this process going (with proper acknowledgement, of course).
I have attached the testing script I wrote, just in case (switched to a text
file to avoid spam traps). Furthermore, my error message:
Undefined function or variable 'scimat_im2scimat'.
Error in elastix>create_temp_file_if_array_image (line 482)
file = scimat_im2scimat(reshape(file, ...
Error in elastix (line 197)
[fixedfile, delete_fixedfile] = create_temp_file_if_array_image(fixed, '.mha');
Error in RegTST1 (line 45)
[T, MOVINGREG, ITERINFO] = elastix(reggieParam, refVol.img, movVol.img, opts);
Any help or advice would be great!
Conrad
Conrad Rockel, PhD
Postdoctoral Fellow
Dept of Medical Biophysics
Western University
London ON, Canada