[MINC-users] COG and COV calculations in mni_autoreg-0.98q

Anders Bertil Rodell minc-users@bic.mni.mcgill.ca
Mon Mar 22 10:55:05 2004


I have compiled  mni_autoreg-0.98q from source on Redhat 9

When i try to run mritotal on a file which will process on previous
versions of mni_autoreg, it crashes in minctracc using the
mni_autoreg-0.98q version 

with 

/usr/local/mni/bin/minctracc
/usr/tmp/mritotal_25927/foerste_mri_16_blur.mnc
/usr/local/mni/bin/../share/mni_autoreg/average_305_16_blur.mnc
/usr/tmp/mritotal_25927/foerste_mri_16.xfm -est_translations -lsq7
-xcorr -center -3.882755 -0.354564 -23.333982 -step 4 4 4 -tol 0.01
-simplex 20
COG of v1 forced: -3.882755 -0.354564 -23.333982
Error in /usr/local/mni/bin/minctracc in file init_params.c, line 568
Cannot calculate the COG or COV of volume 1.

The revision stated in init_params.c by lenezet

@MODIFIED   :  $Log: init_params.c,v $
@MODIFIED   :  Revision 96.7  2004/01/27 00:28:03  lenezet
@MODIFIED   :  change init_params to correct the COG bug when there is
not input transform.
@MODIFIED   :  add the cosines director to the resampled field



suggest something has changed in the last version.
Do you have any ideas what might have gone wrong?

best regards Anders 


-- 
Anders Bertil Rodell <rodell@pet.auh.dk>
PET Centre Aarhus General Hospital