X-Git-Url: http://git.kpe.io/?p=ctsim.git;a=blobdiff_plain;f=src%2Fsample-ctrec.sh.in;h=1a9f105842b59ddcdff715530914263cbfdbf460;hp=11809a2680be4c65d9f5b8c423faa87846512c70;hb=2d39e823ba389fc68e5317c422b55be006094252;hpb=f4a23943110823118f35756dd41fbd6707f04511 diff --git a/src/sample-ctrec.sh.in b/src/sample-ctrec.sh.in index 11809a2..1a9f105 100755 --- a/src/sample-ctrec.sh.in +++ b/src/sample-ctrec.sh.in @@ -6,6 +6,11 @@ else bin="@prefix@/bin/" fi +if test "$1" = "clean" ; then + rm -f sample-phm.png sample-phm16.png sample-phm.if sample-pj.pj sample-pj.if sample-pj.png sample-pj16.png sample-rec.if sample-rec.png sample-rec16.png + exit +fi + # Generate phantom image ${bin}phm2if sample-phm.if 256 256 --nsample 2 --phantom herman