Dear SPMers,
I'm trying to code in C the coregistration algorithm of SPM2.
What kind of figures can we expect to have when constructing the joint
histogram with spm_hist2.c, if we are for example coregistering an image
to itself, with all defaults parameters. I checked the values returned
with "my" C program (which makes uses of spm_hist2.c), and it's 99.9% of
zeros, except for some figures at the very beginning of the histogram,
and I'm wondering if it makes sense.
In spm_powell, I'd like to know aswell what are the main differences
between the code from Numerical Recipes In C and the code in SPM. Can I
just use the code from NR straightforward, just changing the stop
condition for example?
Best Regards,
Remi
|