02340   2/5/95  bay1    14.046          16.432  16.870          16.933
02973a  2/7/95  bay2    11.240          11.965  12.335          12.274
02976a  2/7/95  bay2    10.969          11.778  11.984          12.031

240 mm FOV : .9375 mm "in plane"
3mm slice spacing
---------------------------------------------------------------------------

setenv LD_LIBRARY_PATH .:/sw/mvis/bin/${HOSTTYPE}:$LD_LIBRARY_PATH
#   -or-
setenv LD_LIBRARY_PATH .:/sw/mvis/bin/${HOSTTYPE}

setenv PATH .:/sw/mvis/bin/${HOSTTYPE}:$PATH

# cd to a work directory

cd /sw/tmp


cp ~/data/ms-reg-data/02340.vf  fixed.1
cp ~/data/ms-reg-data/02973a.vf moving.1

tp-display fixed.1 1

smooth-3d -x fixed.1 fixed.2
smooth-3d -x fixed.2 fixed.3
smooth-3d fixed.3 fixed.4

smooth-3d -x moving.1 moving.2
smooth-3d -x moving.2 moving.3
smooth-3d moving.3 moving.4

tp-display moving.4 1

setenv PARAMDIR /sw/mvis/reg/experiments/params

reg-3d-i $PARAMDIR/ctmr-reg-params.4 < $PARAMDIR/null-pose > pose.4
reg-3d-i $PARAMDIR/ctmr-reg-params.3 < pose.4 > pose.3
reg-3d-i $PARAMDIR/ctmr-reg-params.2 < pose.3 > pose.2
reg-3d-i $PARAMDIR/ctmr-reg-params.1 < pose.2 > pose.1

dual-tp-display fixed.1 moving.1 1 < pose.1

congruent-volume moving.1 fixed.1 pose.1 moving-ref.1

mix-volumes 4 fixed.1 moving-ref.1 mixed.1
tp-display mixed.1 .5





