Tue 31 Mar 10:09:54 CEST 2026
This commit is contained in:
parent
c238d32b0b
commit
cf085d35e6
28
tools/makeproj.sh
Normal file
28
tools/makeproj.sh
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
#!/bin/bash
|
||||
|
||||
FILES=""
|
||||
|
||||
# Example settings
|
||||
DENSITY1=4
|
||||
DENSITY2=8
|
||||
INMIN=0
|
||||
INMAX=80
|
||||
WIDTH=1024
|
||||
HEIGHT=1024
|
||||
PIXELSIZE=0.15
|
||||
# Projection rotation around Z Axis
|
||||
ROTDELTA=3.6
|
||||
ROTRANGE=360
|
||||
|
||||
if [ "X$1" != "X" ]
|
||||
then
|
||||
FILES="-u $DENSITY1 $1"
|
||||
fi
|
||||
|
||||
if [ "X$2" != "X" ]
|
||||
then
|
||||
FILES="$FILES -u $DENSITY2 $2"
|
||||
fi
|
||||
|
||||
xraysim1 -soft -S $INMIN $INMAX 65535 -w $WIDTH -h $HEIGHT -ct $ROTDELTA -cr $ROTRANGE -p $PIXELSIZE \
|
||||
-o xray-proj-%04d.tif $FILES
|
||||
Loading…
Reference in New Issue
Block a user