Changeset 8754 for trunk/ippTools/scripts
- Timestamp:
- Sep 6, 2006, 2:34:02 PM (20 years ago)
- Location:
- trunk/ippTools/scripts
- Files:
-
- 2 edited
-
dettest.sh (modified) (1 diff)
-
regtest.sh (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippTools/scripts/dettest.sh
r8732 r8754 1 1 #!//bin/sh 2 3 set -o verbose 2 4 3 5 ./p0test.sh || exit 1 4 6 5 echo "./dettool -definebyquery -det_type flat"6 7 ./dettool -definebyquery -det_type flat || exit 1 7 echo "./dettool -raw"8 8 ./dettool -raw || exit 1 9 9 10 10 for ID in `seq 0 3` ; do 11 echo "./dettool -addprocessed -det_id 1 -exp_id 10 -class_id $ID -uri file://proc-$ID -recip myrecip -bg 1 -bg_stdev 1 -bg_mean_stdev 1"12 11 ./dettool -addprocessed -det_id 1 -exp_id 10 -class_id $ID -uri file://proc-$ID -recip myrecip -bg 1 -bg_stdev 1 -bg_mean_stdev 1 || exit 1 13 12 done; 14 13 15 14 for ID in `seq 0 3` ; do 16 echo "./dettool -addprocessed -det_id 1 -exp_id 10 -class_id $ID -uri file://proc-$ID -recip myrecip -bg 1 -bg_stdev 1 -bg_mean_stdev 1"17 15 ./dettool -addprocessed -det_id 1 -exp_id 11 -class_id $ID -uri file://proc-$ID -recip myrecip -bg 1 -bg_stdev 1 -bg_mean_stdev 1 || exit 1 18 16 done; 19 17 20 echo "./dettool -tostack"21 18 ./dettool -tostack || exit 1 22 19 for ID in `seq 0 3` ; do 23 echo "./dettool -addstacked -det_id 1 -uri file://stacked-$ID -class_id $ID -recip myrecipe -bg 1 -bg_stdev 2 -bg_mean_stdev 3 -pleasenormalize"24 20 ./dettool -addstacked -det_id 1 -uri file://stacked-$ID -class_id $ID -recip myrecipe -bg 1 -bg_stdev 2 -bg_mean_stdev 3 -pleasenormalize || exit 1 25 21 done; 26 22 27 echo "./dettool -tonormalize"28 23 ./dettool -tonormalize || exit 1 29 24 for ID in `seq 0 3` ; do 30 echo "./dettool -addnormstat -det_id 1 -class_id $ID -norm 0.12345"31 25 ./dettool -addnormstat -det_id 1 -class_id $ID -norm 0.12345 || exit 1 32 26 done; 33 27 34 echo "./dettool -normstat"35 28 ./dettool -normstat || exit 1 36 29 for ID in `seq 0 3` ; do 37 echo "./dettool -addnormalizedimfile -det_id 1 -class_id $ID -uri file://normalized-$ID"38 30 ./dettool -addnormalizedimfile -det_id 1 -class_id $ID -uri file://normalized-$ID || exit 1 39 31 done; 40 32 41 echo "./dettool -toresid"42 33 ./dettool -toresid || exit 1 43 34 44 35 for ID in `seq 0 3` ; do 45 echo "./dettool -addresidimfile -det_id 1 -exp_id 10 -class_id $ID -recip myrecip -bg 1 -bg_stdev 1 -bg_mean_stdev 1 -uri file://resid-$ID"46 36 ./dettool -addresidimfile -det_id 1 -exp_id 10 -class_id $ID -recip myrecip -bg 1 -bg_stdev 1 -bg_mean_stdev 1 -uri file://resid-$ID || exit 1 47 37 done; 48 38 for ID in `seq 0 3` ; do 49 echo "./dettool -addresidimfile -det_id 1 -exp_id 10 -class_id $ID -recip myrecip -bg 1 -bg_stdev 1 -bg_mean_stdev 1 -uri file://resid-$ID"50 39 ./dettool -addresidimfile -det_id 1 -exp_id 11 -class_id $ID -recip myrecip -bg 1 -bg_stdev 1 -bg_mean_stdev 1 -uri file://resid-$ID || exit 1 51 40 done; 52 41 53 echo "./dettool -toresidexp"54 42 ./dettool -toresidexp || exit 1 55 echo "./dettool -addresidexp -det_id 1 -exp_id 10 -recip myrecipe -bg 1 -bg_stdev 2 -bg_mean_stdev 3 -b1_uri jpeg1 -b2_uri jpeg2"56 43 ./dettool -addresidexp -det_id 1 -exp_id 10 -recip myrecipe -bg 1 -bg_stdev 2 -bg_mean_stdev 3 -b1_uri jpeg1 -b2_uri jpeg2 || exit 1 57 echo "./dettool -addresidexp -det_id 1 -exp_id 11 -recip myrecipe -bg 1 -bg_stdev 2 -bg_mean_stdev 3 -b1_uri jpeg1 -b2_uri jpeg2 -reject"58 44 ./dettool -addresidexp -det_id 1 -exp_id 11 -recip myrecipe -bg 1 -bg_stdev 2 -bg_mean_stdev 3 -b1_uri jpeg1 -b2_uri jpeg2 -reject || exit 1 59 45 60 echo "./dettool -residdetrun"61 46 ./dettool -residdetrun || exit 1 62 echo "./dettool -residexp"63 47 ./dettool -residexp || exit 1 64 exit65 echo "./dettool -updateresidexp -det_id 1 -iteration 0 -recip yourrecipe"66 48 ./dettool -updateresidexp -det_id 1 -iteration 0 -recip yourrecipe || exit 1 67 echo "./dettool -updateresidexp -det_id 1 -iteration 0 -exp_id 10 -reject"68 49 ./dettool -updateresidexp -det_id 1 -iteration 0 -exp_id 10 -reject || exit 1 69 echo "./dettool -updateresidexp -det_id 1 -iteration 0 -exp_id 11"70 50 ./dettool -updateresidexp -det_id 1 -iteration 0 -exp_id 11 || exit 1 71 echo "./dettool -residexp"72 51 ./dettool -residexp || exit 1 73 echo "./dettool -updatedetrun -det_id 1 -again"74 52 ./dettool -updatedetrun -det_id 1 -again || exit 1 -
trunk/ippTools/scripts/regtest.sh
r8732 r8754 1 1 #!//bin/sh 2 3 set -o verbose 2 4 3 5 inject="./pxinject"
Note:
See TracChangeset
for help on using the changeset viewer.
