STIR  6.2.0
Enumerations | Functions
SPECT_dicom_to_interfile.cxx File Reference

Convert SPECT DICOM projection data to Interfile. More...

#include <iostream>
#include <fstream>
#include <boost/format.hpp>
#include <gdcmReader.h>
#include <gdcmStringFilter.h>
#include "stir/info.h"
#include "stir/error.h"
#include "stir/warning.h"
#include "stir/Succeeded.h"

Enumerations

enum  EnergyWindowInfo { LowerThreshold, UpperThreshold, WindowName }
 
enum  RadionuclideInfo { CodeValue, CodingSchemDesignator, CodeMeaning }
 
enum  CalibrationInfo
 

Functions

stir::Succeeded GetDICOMTagInfo (const gdcm::File &file, const gdcm::Tag tag, std::string &dst, const int sequence_idx=1)
 
stir::Succeeded GetEnergyWindowInfo (const gdcm::File &file, const EnergyWindowInfo request, std::string &dst, const int sequence_idx)
 
stir::Succeeded GetRadionuclideInfo (const gdcm::File &file, const RadionuclideInfo request, std::string &dst, const int sequence_idx=1)
 
int main (int argc, char *argv[])
 

Detailed Description

Convert SPECT DICOM projection data to Interfile.

Read files based on https://dicom.nema.org/medical/dicom/current/output/chtml/part03/sect_C.8.4.html, https://dicom.nema.org/medical/dicom/current/output/chtml/part03/sect_C.8.4.8.html etc

Author
Benjamin Thomas
Daniel Deidda
Kris Thielemans