Subversion Repositories f9daq

Rev

Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed

  1. #!/bin/bash
  2. #
  3. export  STIRPATH=~rok/pet/reco/STIR2.1/STIR
  4. #
  5. export PATH=$PATH:$STIRPATH/bin
  6. EXE=FBP2D
  7. IMAGEVIEW=manip_image
  8. HVNAME=$2.hv
  9.  
  10. TEMPFILE=`tempfile`
  11. rm -f $TEMPFILE
  12. echo -n "fbp2dparameters :=
  13.  
  14. input file := $1
  15. output filename prefix := $2
  16.  
  17. ;input file := sino3D.hs
  18. ;output filename prefix := output
  19.  
  20.  
  21. ; output image parameters
  22. ; zoom defaults to 1
  23. zoom := 1
  24. ; image size defaults to whole FOV
  25. ; ;;;;;;;;  zakomentirano 8.1.2013 xy output image size (in pixels) := 100
  26. xy output image size (in pixels) := 200
  27.  
  28. ; can be used to call SSRB first
  29. ; default means: call SSRB only if no axial compression is already present
  30. ;num segments to combine with ssrb := -1
  31.  
  32. ; filter parameters, default to pure ramp
  33. alpha parameter for ramp filter := 0.5
  34. cut-off for ramp filter (in cycles) := 0.3
  35.  
  36. ; allow less padding. DO NOT USE
  37. ; (unless you're sure that the object occupies only half the FOV)
  38. ;Transaxial extension for FFT:=1
  39.  
  40. ; back projector that could be used (defaults to interpolating backprojector)
  41. ; Back projector type:= some type
  42.  
  43. ; display data during processing for debugging purposes
  44. Display level := 1
  45. end :=
  46. " >> $TEMPFILE
  47.  
  48. echo $EXE $TEMPFILE
  49. $EXE $TEMPFILE
  50.  
  51.  
  52. $IMAGEVIEW $HVNAME
  53. root src/sinoread.cxx+\(\"$HVNAME\",\"colz\"\)
  54.  
  55. echo "za ponovni ogled slike"
  56. echo $IMAGEVIEW $HVNAME
  57. echo ali
  58. echo root src/sinoread.cxx+\(\"$HVNAME\",\"colz\"\)
  59.