Mercurial > hg > minc-tools
view testdir/xfmconcat_02.sh @ 1685:9e209d8f160e
*** empty log message ***
author | baghdadi <baghdadi> |
---|---|
date | Thu, 04 Mar 2004 21:06:14 +0000 |
parents | 8b9213171e74 |
children | 27c6986055fc |
line wrap: on
line source
#! /bin/sh # # Test application of concatenated transforms. set -e # _t1.xfm is linear transform. # _t2.xfm is inverse of _t1 # _t3.xfm is grid transform. # _t4.xfm is inverse of _t3 cp $srcdir/t1.xfm _t1.xfm ../xfminvert _t1.xfm _t2.xfm dd if=/dev/zero | ../rawtominc -vector 3 -byte -clobber _grid.mnc 8 8 8 ./create_grid_xfm _grid.mnc _t3.xfm ../xfminvert _t3.xfm _t4.xfm # Test primary transforms. # ./test_xfm 10000 _t1.xfm ./test_xfm 10000 _t2.xfm ./test_xfm 10000 _t3.xfm ./test_xfm 10000 _t4.xfm # Test concatenations. # ../xfmconcat _t1.xfm _t3.xfm _t5.xfm ./test_xfm 10000 _t5.xfm ../xfmconcat _t1.xfm _t4.xfm _t6.xfm ./test_xfm 10000 _t6.xfm ../xfmconcat _t5.xfm _t6.xfm _t7.xfm ./test_xfm 10000 _t7.xfm ../xfminvert _t7.xfm _t8.xfm ./test_xfm 10000 _t8.xfm ../xfmconcat _t8.xfm _t2.xfm _t4.xfm _t7.xfm _t9.xfm ./test_xfm 10000 _t9.xfm