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

Reads the header information from a DICOM series and stores it into an output object of type DiffusionImageHeaderInformation. More...

#include <mitkDicomDiffusionImageHeaderReader.h>

Inheritance diagram for mitk::DicomDiffusionImageHeaderReader:
Collaboration diagram for mitk::DicomDiffusionImageHeaderReader:

Public Types

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
 

Public Member Functions

 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)
 
virtual void Update ()
 
DiffusionImageHeaderInformation::Pointer GetOutput ()
 
SupportedVendors GetVendorID ()
 

Static Public Member Functions

static Pointer New ()
 

Protected Member Functions

 DicomDiffusionImageHeaderReader ()
 
virtual ~DicomDiffusionImageHeaderReader ()
 
void ReadPublicTags ()
 
void ReadPublicTags2 ()
 
void TransformGradients ()
 

Protected Attributes

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

Reads the header information from a DICOM series and stores it into an output object of type DiffusionImageHeaderInformation.

Definition at line 36 of file mitkDicomDiffusionImageHeaderReader.h.

Member Typedef Documentation

Definition at line 53 of file mitkDicomDiffusionImageHeaderReader.h.

Member Enumeration Documentation

En enum to distinguish in processing between the different vendoors

Enumerator
SV_SIEMENS 
SV_SIEMENS_MOSAIC 
SV_PHILIPS 
SV_GE 
SV_UNKNOWN_VENDOR 

Definition at line 45 of file mitkDicomDiffusionImageHeaderReader.h.

Constructor & Destructor Documentation

mitk::DicomDiffusionImageHeaderReader::DicomDiffusionImageHeaderReader ( )
protected

Default c'tor

Definition at line 49 of file mitkDicomDiffusionImageHeaderReader.cpp.

References m_SingleSeries, and m_SliceOrderIS.

mitk::DicomDiffusionImageHeaderReader::~DicomDiffusionImageHeaderReader ( )
protectedvirtual

Default d'tor

Definition at line 55 of file mitkDicomDiffusionImageHeaderReader.cpp.

Member Function Documentation

Pointer mitk::DicomDiffusionImageHeaderReader::Clone ( ) const
mitk::DiffusionImageHeaderInformation::Pointer mitk::DicomDiffusionImageHeaderReader::GetOutput ( void  )

return output

Definition at line 200 of file mitkDicomDiffusionImageHeaderReader.cpp.

mitk::DicomDiffusionImageHeaderReader::SupportedVendors mitk::DicomDiffusionImageHeaderReader::GetVendorID ( )

identify vendor

Definition at line 60 of file mitkDicomDiffusionImageHeaderReader.cpp.

References mitk::New().

mitk::DicomDiffusionImageHeaderReader::mitkClassMacroItkParent ( DicomDiffusionImageHeaderReader  ,
itk::Object   
)
static Pointer mitk::DicomDiffusionImageHeaderReader::New ( )
static
void mitk::DicomDiffusionImageHeaderReader::ReadPublicTags ( )
protected

Definition at line 205 of file mitkDicomDiffusionImageHeaderReader.cpp.

References InsertUnique().

void mitk::DicomDiffusionImageHeaderReader::ReadPublicTags2 ( )
protected

Definition at line 308 of file mitkDicomDiffusionImageHeaderReader.cpp.

void mitk::DicomDiffusionImageHeaderReader::SetGdcmIO ( ImageIOType::Pointer  gdcmIO)
inline

Definition at line 66 of file mitkDicomDiffusionImageHeaderReader.h.

void mitk::DicomDiffusionImageHeaderReader::SetOutputPointer ( DiffusionImageHeaderInformation::Pointer  output)
inline

Set the output object that will contain the read-in information after update

Definition at line 74 of file mitkDicomDiffusionImageHeaderReader.h.

void mitk::DicomDiffusionImageHeaderReader::SetSeriesDicomFilenames ( FileNamesContainer  dicomFilenames)
inline

Set the dicom file names to be considered

Definition at line 63 of file mitkDicomDiffusionImageHeaderReader.h.

void mitk::DicomDiffusionImageHeaderReader::SetVolumeReader ( VolumeReaderType::Pointer  volumeReader)
inline

Set the volume reader in case the default volume reader shouldn't be used

Definition at line 70 of file mitkDicomDiffusionImageHeaderReader.h.

void mitk::DicomDiffusionImageHeaderReader::TransformGradients ( )
protected

Definition at line 320 of file mitkDicomDiffusionImageHeaderReader.cpp.

Member Data Documentation

FileNamesContainer mitk::DicomDiffusionImageHeaderReader::m_DicomFilenames
protected

Definition at line 97 of file mitkDicomDiffusionImageHeaderReader.h.

ImageIOType::Pointer mitk::DicomDiffusionImageHeaderReader::m_GdcmIO
protected

Definition at line 100 of file mitkDicomDiffusionImageHeaderReader.h.

int mitk::DicomDiffusionImageHeaderReader::m_nSlice
protected

Definition at line 105 of file mitkDicomDiffusionImageHeaderReader.h.

DiffusionImageHeaderInformation::Pointer mitk::DicomDiffusionImageHeaderReader::m_Output
protected

Definition at line 98 of file mitkDicomDiffusionImageHeaderReader.h.

bool mitk::DicomDiffusionImageHeaderReader::m_SingleSeries
protected
std::vector<float> mitk::DicomDiffusionImageHeaderReader::m_sliceLocations
protected

Definition at line 106 of file mitkDicomDiffusionImageHeaderReader.h.

bool mitk::DicomDiffusionImageHeaderReader::m_SliceOrderIS
protected
VolumeReaderType::Pointer mitk::DicomDiffusionImageHeaderReader::m_VolumeReader
protected

Definition at line 101 of file mitkDicomDiffusionImageHeaderReader.h.


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