zewang wrote:
> You can resample the confiles from either group to the other using the
> attached code.
>
> Hope it works!
Parts of it don't seem quite right, for example org is never actually
used after it is calculated in lines 22 and 23. My apologies if I am
misreading it, or if it seems to work perfectly.
I can't guarantee that my version of this is correct, but it *seems*
to work on the images I've tested it with... and I've suggested it to
a few other people on the list in the past without receiving any
complaints (so far -- do shout if you have one).
http://www.cs.ucl.ac.uk/staff/gridgway/vbm/resize_img.m
http://www.cs.ucl.ac.uk/staff/gridgway/vbm/world_bb.m
Best,
Ged.
|