Medical Imaging Interaction Toolkit
2016.11.0
Medical Imaging Interaction Toolkit
|
The SiemensDicomDiffusionImageHeaderReader class reads in the header information for the standard Siemens DICOM format. More...
#include <mitkSiemensDicomDiffusionImageHeaderReader.h>
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< VolumeType > | VolumeReaderType |
typedef itk::ImageFileReader< SliceType > | SliceReaderType |
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 |
The SiemensDicomDiffusionImageHeaderReader class reads in the header information for the standard Siemens DICOM format.
Definition at line 28 of file mitkSiemensDicomDiffusionImageHeaderReader.h.
|
protected |
Default c'tor
Definition at line 31 of file mitkSiemensDicomDiffusionImageHeaderReader.cpp.
|
protectedvirtual |
Default d'tor
Definition at line 35 of file mitkSiemensDicomDiffusionImageHeaderReader.cpp.
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 |
Referenced by mitk::DicomDiffusionImageHeaderReader::Update().
|
overridevirtual |
Read the data
Reimplemented from mitk::DicomDiffusionImageHeaderReader.
Definition at line 83 of file mitkSiemensDicomDiffusionImageHeaderReader.cpp.
References File, MITK_ERROR, and MITK_INFO.