#!/bin/bash
#
export STIRPATH=~rok/pet/reco/STIR2.1/STIR
#
export PATH=$PATH:$STIRPATH/bin
EXE=FBP2D
IMAGEVIEW=manip_image
HVNAME=$2.hv
TEMPFILE=`tempfile`
rm -f $TEMPFILE
echo -n "fbp2dparameters :=
input file := $1
output filename prefix := $2
;input file := sino3D.hs
;output filename prefix := output
; output image parameters
; zoom defaults to 1
zoom := 1
; image size defaults to whole FOV
; ;;;;;;;; zakomentirano 8.1.2013 xy output image size (in pixels) := 100
xy output image size (in pixels) := 200
; can be used to call SSRB first
; default means: call SSRB only if no axial compression is already present
;num segments to combine with ssrb := -1
; filter parameters, default to pure ramp
alpha parameter for ramp filter := 0.5
cut-off for ramp filter (in cycles) := 0.3
; allow less padding. DO NOT USE
; (unless you're sure that the object occupies only half the FOV)
;Transaxial extension for FFT:=1
; back projector that could be used (defaults to interpolating backprojector)
; Back projector type:= some type
; display data during processing for debugging purposes
Display level := 1
end :=
" >> $TEMPFILE
echo $EXE $TEMPFILE
$EXE $TEMPFILE
$IMAGEVIEW $HVNAME
root src/sinoread.cxx+\(\"$HVNAME\",\"colz\"\)
echo "za ponovni ogled slike"
echo $IMAGEVIEW $HVNAME
echo ali
echo root src/sinoread.cxx+\(\"$HVNAME\",\"colz\"\)