It should be relatively easy to build the beta version of the MNI_ANIMAL
package. The tarfile
mni_animal-x.yy.tar.gz must be untarred within
the root of the
mni_autoreg directory tree after the MNI_AutoReg package
has been built.
I assume that all MNI_AutoReg targets are built and installed before building animal. Note that a make clean should not be done, since some of the programs are needed to run the tests below.
Do not run
make clean - MNI_ANIMAL needs all the files in the
mni_animal-x.yy.tar.gzfrom within the root of the MNI_AutoReg package.
guntar -xvfz mni_animal-0.5.tar.gz
build_animalin the MNI_AutoReg directory. Look at it to make sure that things look ok, and then execute it. The
build_animalscript will overwrite a few source files in the minctracc subdirectory and then rebuild the nonlinear version of
minctraccand rename it to
animal. It will also build the
Once compilation is completed, the
build_animal script will run a
simple test on
minctracc/animal to exercise the code. When
completed, the volume correlation should close to 0.00465932. If you are
interested, you can use
mincresample to transform
Testing/object2.mnc using the
recovered transformation and then look at the result with register. For
mincresample object1.mnc object1_rsl.mnc -like object2.mnc -transformation ../animal.xfm
register object1_rsl.mnc object2.mnc
nlfitis a development version of the non-linear stereotaxic registration script that will eventually replace
mritotal(from the MNI_AutoReg package). It calls
animalto do the non-linear registrations in a heirarchical multi-resolution strategy, and permits the user to control the start and stop resolutions of the fit.
There are three lines that may have to be changed so that
will be able to locate configuration and model files normally used with
mritotal. You should use your installed version of
mritotal to get the values for your system. The following lines of
nlfit have to be edited by hand:
and copy the following file to your model directory (the same as line 572
NONLIN_READMEfile for more specific information (man page-like) on ANIMAL.