XraySim/tools/makect.sh

15 lines
266 B
Bash

#!/bin/bash
# <input.tiff> <output.tiff>
# crop x y w h
# bv white value
# t number of threads
# f = 360° turn
BACKGROUND=60000
GAIN=2.2
THREADS=4
fbp64 -e 0 -c 100 100 824 824 -m 20 -g $GAIN -G 1 -bv $BACKGROUND \
-f -a -t $THREADS \
-o $2 \
$1