Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
mitk::SiemensDicomDiffusionImageHeaderReader Class Reference

The SiemensDicomDiffusionImageHeaderReader class reads in the header information for the standard Siemens DICOM format. More...

#include <mitkSiemensDicomDiffusionImageHeaderReader.h>

Inheritance diagram for mitk::SiemensDicomDiffusionImageHeaderReader:
Collaboration diagram for mitk::SiemensDicomDiffusionImageHeaderReader:

Public Member Functions

 mitkClassMacro (SiemensDicomDiffusionImageHeaderReader, DicomDiffusionImageHeaderReader)
 
Pointer Clone () const
 
int ExtractSiemensDiffusionInformation (std::string tagString, std::string nameString, std::vector< double > &valueArray, int startPos=0)
 
int ExtractSiemensDiffusionGradientInformation (std::string tagString, std::string nameString, std::vector< double > &valueArray)
 
virtual void Update () override
 
- Public Member Functions inherited from mitk::DicomDiffusionImageHeaderReader
 mitkClassMacroItkParent (DicomDiffusionImageHeaderReader, itk::Object)
 
Pointer Clone () const
 
void SetSeriesDicomFilenames (FileNamesContainer dicomFilenames)
 
void SetGdcmIO (ImageIOType::Pointer gdcmIO)
 
void SetVolumeReader (VolumeReaderType::Pointer volumeReader)
 
void SetOutputPointer (DiffusionImageHeaderInformation::Pointer output)
 
DiffusionImageHeaderInformation::Pointer GetOutput ()
 
SupportedVendors GetVendorID ()
 

Static Public Member Functions

static Pointer New ()
 
- Static Public Member Functions inherited from mitk::DicomDiffusionImageHeaderReader
static Pointer New ()
 

Protected Member Functions

 SiemensDicomDiffusionImageHeaderReader ()
 
virtual ~SiemensDicomDiffusionImageHeaderReader ()
 
- Protected Member Functions inherited from mitk::DicomDiffusionImageHeaderReader
 DicomDiffusionImageHeaderReader ()
 
virtual ~DicomDiffusionImageHeaderReader ()
 
void ReadPublicTags ()
 
void ReadPublicTags2 ()
 
void TransformGradients ()
 

Additional Inherited Members

- Public Types inherited from mitk::DicomDiffusionImageHeaderReader
enum  SupportedVendors {
  SV_SIEMENS, SV_SIEMENS_MOSAIC, SV_PHILIPS, SV_GE,
  SV_UNKNOWN_VENDOR
}
 
typedef std::vector< std::string > FileNamesContainer
 
typedef short PixelValueType
 
typedef itk::Image< PixelValueType, 2 > SliceType
 
typedef itk::Image< PixelValueType, 3 > VolumeType
 
typedef itk::ImageSeriesReader< VolumeTypeVolumeReaderType
 
typedef itk::ImageFileReader< SliceTypeSliceReaderType
 
typedef itk::GDCMImageIO ImageIOType
 
- Protected Attributes inherited from mitk::DicomDiffusionImageHeaderReader
FileNamesContainer m_DicomFilenames
 
DiffusionImageHeaderInformation::Pointer m_Output
 
ImageIOType::Pointer m_GdcmIO
 
VolumeReaderType::Pointer m_VolumeReader
 
bool m_SliceOrderIS
 
bool m_SingleSeries
 
int m_nSlice
 
std::vector< float > m_sliceLocations
 

Detailed Description

The SiemensDicomDiffusionImageHeaderReader class reads in the header information for the standard Siemens DICOM format.

Definition at line 28 of file mitkSiemensDicomDiffusionImageHeaderReader.h.

Constructor & Destructor Documentation

mitk::SiemensDicomDiffusionImageHeaderReader::SiemensDicomDiffusionImageHeaderReader ( )
protected

Default c'tor

Definition at line 31 of file mitkSiemensDicomDiffusionImageHeaderReader.cpp.

mitk::SiemensDicomDiffusionImageHeaderReader::~SiemensDicomDiffusionImageHeaderReader ( )
protectedvirtual

Default d'tor

Definition at line 35 of file mitkSiemensDicomDiffusionImageHeaderReader.cpp.

Member Function Documentation

Pointer mitk::SiemensDicomDiffusionImageHeaderReader::Clone ( ) const
int mitk::SiemensDicomDiffusionImageHeaderReader::ExtractSiemensDiffusionGradientInformation ( std::string  tagString,
std::string  nameString,
std::vector< double > &  valueArray 
)

Extracts the diffusion gradient information from the tagString and stores it into the valueArray vector

Definition at line 66 of file mitkSiemensDicomDiffusionImageHeaderReader.cpp.

int mitk::SiemensDicomDiffusionImageHeaderReader::ExtractSiemensDiffusionInformation ( std::string  tagString,
std::string  nameString,
std::vector< double > &  valueArray,
int  startPos = 0 
)

Extract the key value for the key nameString from the tagString

Definition at line 39 of file mitkSiemensDicomDiffusionImageHeaderReader.cpp.

References offset.

mitk::SiemensDicomDiffusionImageHeaderReader::mitkClassMacro ( SiemensDicomDiffusionImageHeaderReader  ,
DicomDiffusionImageHeaderReader   
)
static Pointer mitk::SiemensDicomDiffusionImageHeaderReader::New ( )
static
void mitk::SiemensDicomDiffusionImageHeaderReader::Update ( )
overridevirtual

Read the data

Reimplemented from mitk::DicomDiffusionImageHeaderReader.

Definition at line 83 of file mitkSiemensDicomDiffusionImageHeaderReader.cpp.

References File, MITK_ERROR, and MITK_INFO.


The documentation for this class was generated from the following files: