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

#include <mitkDiffusionDICOMFileReader.h>

Inheritance diagram for mitk::DiffusionDICOMFileReader:
Collaboration diagram for mitk::DiffusionDICOMFileReader:

Public Member Functions

 mitkClassMacro (DiffusionDICOMFileReader, ClassicDICOMSeriesReader) mitkCloneMacro(DiffusionDICOMFileReader) static Pointer New()
 
virtual void AnalyzeInputFiles () override
 Runs the sorting / splitting process described in Loading strategy. Method required by DICOMFileReader. More...
 
virtual bool LoadImages () override
 Load via multiple calls to itk::ImageSeriesReader. More...
 
virtual bool CanHandleFile (const std::string &filename) override
 Indicate whether this reader can handle given file. More...
 
void SetResolveMosaic (bool flag)
 
- Public Member Functions inherited from mitk::ClassicDICOMSeriesReader
 mitkClassMacro (ClassicDICOMSeriesReader, DICOMITKSeriesGDCMReader)
 
 mitkCloneMacro (ClassicDICOMSeriesReader)
 
virtual bool operator== (const DICOMFileReader &other) const override
 
- Public Member Functions inherited from mitk::ThreeDnTDICOMSeriesReader
 mitkClassMacro (ThreeDnTDICOMSeriesReader, DICOMITKSeriesGDCMReader)
 
 mitkCloneMacro (ThreeDnTDICOMSeriesReader)
 
 mitkNewMacro1Param (ThreeDnTDICOMSeriesReader, unsigned int)
 
void SetGroup3DandT (bool on)
 Control whether 3D+t grouping shall actually be attempted. More...
 
bool GetGroup3DandT () const
 
- Public Member Functions inherited from mitk::DICOMITKSeriesGDCMReader
 mitkClassMacro (DICOMITKSeriesGDCMReader, DICOMFileReader)
 
 mitkCloneMacro (DICOMITKSeriesGDCMReader)
 
 mitkNewMacro1Param (DICOMITKSeriesGDCMReader, unsigned int)
 
virtual void AddSortingElement (DICOMDatasetSorter *sorter, bool atFront=false)
 Add an element to the sorting procedure described in Loading strategy. More...
 
ConstSorterList GetFreelyConfiguredSortingElements () const
 
void SetFixTiltByShearing (bool on)
 Controls whether to "fix" tilted acquisitions by shearing the output (see Gantry tilt handling). More...
 
bool GetFixTiltByShearing () const
 
void SetAcceptTwoSlicesGroups (bool accept) const
 Controls whether groups of only two images are accepted when ensuring consecutive slices via EquiDistantBlocksSorter. More...
 
bool GetAcceptTwoSlicesGroups () const
 
void SetToleratedOriginOffsetToAdaptive (double fractionOfInterSliceDistanct=0.3) const
 See Forced Configuration. More...
 
void SetToleratedOriginOffset (double millimeters=0.005) const
 See Forced Configuration. More...
 
double GetToleratedOriginError () const
 
bool IsToleratedOriginOffsetAbsolute () const
 
double GetDecimalPlacesForOrientation () const
 
virtual DICOMTagPathList GetTagsOfInterest () const override
 
- Public Member Functions inherited from mitk::DICOMFileReader
 mitkClassMacroItkParent (DICOMFileReader, itk::Object)
 
void SetInputFiles (const StringList &filenames)
 This input files. More...
 
const StringListGetInputFiles () const
 This input files. More...
 
unsigned int GetNumberOfOutputs () const
 Number of outputs, only meaningful after calling AnalyzeInputFiles() More...
 
const DICOMImageBlockDescriptorGetOutput (unsigned int index) const
 Individual outputs, only meaningful after calling AnalyzeInputFiles(). More...
 
void SetConfigurationLabel (const std::string &)
 Short label/name to describe this reader. More...
 
std::string GetConfigurationLabel () const
 Short label/name to describe this reader. More...
 
void SetConfigurationDescription (const std::string &)
 One-sentence description of the reader's loading "strategy". More...
 
std::string GetConfigurationDescription () const
 One-sentence description of the reader's loading "strategy". More...
 
void PrintConfiguration (std::ostream &os) const
 Print configuration description to given stream, for human reader. More...
 
void PrintOutputs (std::ostream &os, bool filenameDetails=false) const
 Print output description to given stream, for human reader. More...
 
virtual void SetAdditionalTagsOfInterest (const AdditionalTagsMapType &tagList)
 Set a list of DICOMTagPaths that specifiy all DICOM-Tags that will be copied into the property of the mitk::Image. More...
 
virtual void SetTagLookupTableToPropertyFunctor (mitk::DICOMImageBlockDescriptor::TagLookupTableToPropertyFunctor functor)
 Set a functor that defines how the slice-specific tag-values are stored in a Property. More...
 

Protected Member Functions

 DiffusionDICOMFileReader ()
 
virtual ~DiffusionDICOMFileReader ()
 
bool LoadSingleOutputImage (DiffusionHeaderDICOMFileReader::DICOMHeaderListType, DICOMImageBlockDescriptor &, bool)
 
- Protected Member Functions inherited from mitk::ClassicDICOMSeriesReader
 ClassicDICOMSeriesReader ()
 
virtual ~ClassicDICOMSeriesReader ()
 
 ClassicDICOMSeriesReader (const ClassicDICOMSeriesReader &other)
 
ClassicDICOMSeriesReaderoperator= (const ClassicDICOMSeriesReader &other)
 
- Protected Member Functions inherited from mitk::ThreeDnTDICOMSeriesReader
 ThreeDnTDICOMSeriesReader (unsigned int decimalPlacesForOrientation=5)
 
virtual ~ThreeDnTDICOMSeriesReader ()
 
 ThreeDnTDICOMSeriesReader (const ThreeDnTDICOMSeriesReader &other)
 
ThreeDnTDICOMSeriesReaderoperator= (const ThreeDnTDICOMSeriesReader &other)
 
virtual SortingBlockList Condense3DBlocks (SortingBlockList &) override
 Analyze the groups produced by DICOMITKSeriesGDCMReader for 3D+t properties. This method tests whether some blocks are at the same spatial position and groups them into single blocks. More...
 
bool LoadMitkImageForImageBlockDescriptor (DICOMImageBlockDescriptor &block) const override
 
- Protected Member Functions inherited from mitk::DICOMITKSeriesGDCMReader
virtual void InternalPrintConfiguration (std::ostream &os) const override
 Configuration description for human reader, to be implemented by sub-classes. More...
 
void PushLocale () const
 Remember current locale on stack, activate "C" locale. "C" locale is required for correct parsing of numbers by itk::ImageSeriesReader. More...
 
void PopLocale () const
 Activate last remembered locale from locale stack "C" locale is required for correct parsing of numbers by itk::ImageSeriesReader. More...
 
 DICOMITKSeriesGDCMReader (unsigned int decimalPlacesForOrientation=5)
 
virtual ~DICOMITKSeriesGDCMReader ()
 
 DICOMITKSeriesGDCMReader (const DICOMITKSeriesGDCMReader &other)
 
DICOMITKSeriesGDCMReaderoperator= (const DICOMITKSeriesGDCMReader &other)
 
virtual DICOMTagCache::Pointer GetTagCache () const
 
void SetTagCache (const DICOMTagCache::Pointer &) override
 A way to provide external knowledge about files and tag values is appreciated. More...
 
virtual bool LoadMitkImageForOutput (unsigned int o)
 Loads the mitk::Image by means of an itk::ImageSeriesReader. More...
 
- Protected Member Functions inherited from mitk::DICOMFileReader
 DICOMFileReader ()
 
virtual ~DICOMFileReader ()
 
 DICOMFileReader (const DICOMFileReader &other)
 
DICOMFileReaderoperator= (const DICOMFileReader &other)
 
void ClearOutputs ()
 
void SetNumberOfOutputs (unsigned int numberOfOutputs)
 
void SetOutput (unsigned int index, const DICOMImageBlockDescriptor &output)
 
DICOMImageBlockDescriptorInternalGetOutput (unsigned int index)
 non-const access to the DICOMImageBlockDescriptor More...
 
virtual AdditionalTagsMapType GetAdditionalTagsOfInterest () const
 
mitk::DICOMImageBlockDescriptor::TagLookupTableToPropertyFunctor GetTagLookupTableToPropertyFunctor () const
 

Protected Attributes

std::vector< mitk::DiffusionHeaderDICOMFileReader::DICOMHeaderListTypem_OutputHeaderContainer
 
std::vector< mitk::DiffusionHeaderDICOMFileReader::Pointer > m_OutputReaderContainer
 
std::vector< bool > m_IsMosaicData
 
bool m_ResolveMosaic
 
- Protected Attributes inherited from mitk::ThreeDnTDICOMSeriesReader
bool m_Group3DandT
 
- Protected Attributes inherited from mitk::DICOMITKSeriesGDCMReader
bool m_FixTiltByShearing
 
mitk::EquiDistantBlocksSorter::Pointer m_EquiDistantBlocksSorter
 
mitk::NormalDirectionConsistencySorter::Pointer m_NormalDirectionConsistencySorter
 

Additional Inherited Members

- Public Types inherited from mitk::DICOMITKSeriesGDCMReader
typedef const std::list< DICOMDatasetSorter::ConstPointer > ConstSorterList
 
- Public Types inherited from mitk::DICOMFileReader
typedef DICOMImageBlockDescriptor::AdditionalTagsMapType AdditionalTagsMapType
 
- Static Public Member Functions inherited from mitk::ClassicDICOMSeriesReader
static Pointer New ()
 
- Static Public Member Functions inherited from mitk::ThreeDnTDICOMSeriesReader
static Pointer New ()
 
- Static Public Member Functions inherited from mitk::DICOMITKSeriesGDCMReader
static Pointer New ()
 
- Static Public Member Functions inherited from mitk::DICOMFileReader
static bool IsDICOM (const std::string &filename)
 Test whether a file is DICOM at all. More...
 
- Protected Types inherited from mitk::DICOMITKSeriesGDCMReader
typedef std::vector< DICOMDatasetAccessingImageFrameListSortingBlockList
 
- Static Protected Member Functions inherited from mitk::DICOMITKSeriesGDCMReader
static std::string GetActiveLocale ()
 Return active C locale. More...
 
static SortingBlockList InternalExecuteSortingStep (unsigned int sortingStepIndex, const DICOMDatasetSorter::Pointer &sorter, const SortingBlockList &input)
 Sorting step as described in Loading strategy. More...
 
static ReaderImplementationLevel GetReaderImplementationLevel (const std::string sopClassUID)
 Describe this reader's confidence for given SOP class UID. More...
 

Detailed Description

Definition at line 29 of file mitkDiffusionDICOMFileReader.h.

Constructor & Destructor Documentation

mitk::DiffusionDICOMFileReader::DiffusionDICOMFileReader ( )
protected

Definition at line 53 of file mitkDiffusionDICOMFileReader.cpp.

mitk::DiffusionDICOMFileReader::~DiffusionDICOMFileReader ( )
protectedvirtual

Definition at line 58 of file mitkDiffusionDICOMFileReader.cpp.

Member Function Documentation

void mitk::DiffusionDICOMFileReader::AnalyzeInputFiles ( )
overridevirtual
bool mitk::DiffusionDICOMFileReader::CanHandleFile ( const std::string &  filename)
overridevirtual

Indicate whether this reader can handle given file.

Reimplemented from mitk::DICOMITKSeriesGDCMReader.

Definition at line 342 of file mitkDiffusionDICOMFileReader.cpp.

bool mitk::DiffusionDICOMFileReader::LoadImages ( )
overridevirtual

Load via multiple calls to itk::ImageSeriesReader.

Reimplemented from mitk::ThreeDnTDICOMSeriesReader.

Definition at line 64 of file mitkDiffusionDICOMFileReader.cpp.

mitk::DiffusionDICOMFileReader::mitkClassMacro ( DiffusionDICOMFileReader  ,
ClassicDICOMSeriesReader   
)
void mitk::DiffusionDICOMFileReader::SetResolveMosaic ( bool  flag)
inline

Definition at line 45 of file mitkDiffusionDICOMFileReader.h.

Member Data Documentation

std::vector< bool > mitk::DiffusionDICOMFileReader::m_IsMosaicData
protected

Definition at line 60 of file mitkDiffusionDICOMFileReader.h.

std::vector< mitk::DiffusionHeaderDICOMFileReader::DICOMHeaderListType > mitk::DiffusionDICOMFileReader::m_OutputHeaderContainer
protected

Definition at line 58 of file mitkDiffusionDICOMFileReader.h.

std::vector< mitk::DiffusionHeaderDICOMFileReader::Pointer> mitk::DiffusionDICOMFileReader::m_OutputReaderContainer
protected

Definition at line 59 of file mitkDiffusionDICOMFileReader.h.

bool mitk::DiffusionDICOMFileReader::m_ResolveMosaic
protected

Definition at line 62 of file mitkDiffusionDICOMFileReader.h.


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