A sinogram viewer for Projection Data.
This is a simple (so far) sinogram viewer, based on QT5 supporting projection data from Positron Emission Tomography (PET) scanners. The STIR toolkit is the backend for reading the projection data and QWT is used for the plotting.
Warning (22/12/17) **The CMake file is still a bit of a mess, so please be sure the you have installed STIR and QWT before hand. **
- Download and compile the git version of STIR. This stable version at sourceforge has not been tested.
- Either install on a global location (e.g.
/usr/local
) or define your custome location in$PATH
. - Download and install QWT >v.6.xx, preferably in a global location (some distributions provide packages for this).
*These are the only two dependencies. All other in the CMAKELISTS.txt will be dropped. In one of the next commits. *
-
Clone the repository Sino_viewer.
-
warning for the time being, if you have not installed STIR on a global location you have to edit the CMAKELISTS.txt. Replace the STIR path from the current to the one on your system.
-
If QWT is global it will be detected automatically.
-
Create a new folder
sino_viewer.build
outside the main folder of the project. -
Go to
sino_viewer.build
and runccmake [SOURCE_PATH]
. -
make all
-
(optionally)
make install
No idea, really!
- Use the
File :: Open Projection Data
option and select a Interfile header file (.hs). As STIR framework expands in the future, any supported file types (that is stored as ProjData) will be, probably automatically, supported. - A pop-up window will appear to allow to select between sinogram and viewgram view mode. Once selected this cannot change. The control widgets will be updated to the appropriate sizes.
- Different number of viewports are supported.
- Colormaps can be selected.
- A slider bar is used for scrolling between the positions.
Any sinogram can be saved either as image file (PNG) or as interfile (.hv & .v). By right click on the sinogram, a context menu will appear.