Medical Imaging Interaction Toolkit
2016.11.0
Medical Imaging Interaction Toolkit
|
Makes sure that the order of files is along the image plane normals. More...
#include <mitkNormalDirectionConsistencySorter.h>
Public Member Functions | |
mitkClassMacro (NormalDirectionConsistencySorter, DICOMDatasetSorter) static Pointer New() | |
virtual DICOMTagList | GetTagsOfInterest () override |
virtual void | Sort () override |
See class description. More... | |
GantryTiltInformation | GetTiltInformation () const |
See class description and DICOMITKSeriesGDCMReader. More... | |
virtual void | PrintConfiguration (std::ostream &os, const std::string &indent="") const override |
Print configuration details into stream. More... | |
virtual bool | operator== (const DICOMDatasetSorter &other) const override |
Public Member Functions inherited from mitk::DICOMDatasetSorter | |
mitkClassMacroItkParent (DICOMDatasetSorter, itk::LightObject) virtual DICOMTagList GetTagsOfInterest()=0 | |
Return the tags of interest (to facilitate scanning) More... | |
void | SetInput (DICOMDatasetList filenames) |
Input for sorting. More... | |
const DICOMDatasetList & | GetInput () const |
Input for sorting. More... | |
unsigned int | GetNumberOfOutputs () const |
Output of the sorting process. More... | |
const DICOMDatasetList & | GetOutput (unsigned int index) const |
Output of the sorting process. More... | |
DICOMDatasetList & | GetOutput (unsigned int index) |
Output of the sorting process. More... | |
Protected Member Functions | |
NormalDirectionConsistencySorter () | |
virtual | ~NormalDirectionConsistencySorter () |
NormalDirectionConsistencySorter (const NormalDirectionConsistencySorter &other) | |
NormalDirectionConsistencySorter & | operator= (const NormalDirectionConsistencySorter &other) |
Protected Member Functions inherited from mitk::DICOMDatasetSorter | |
DICOMDatasetSorter () | |
virtual | ~DICOMDatasetSorter () |
DICOMDatasetSorter (const DICOMDatasetSorter &other) | |
DICOMDatasetSorter & | operator= (const DICOMDatasetSorter &other) |
void | ClearOutputs () |
void | SetNumberOfOutputs (unsigned int numberOfOutputs) |
void | SetOutput (unsigned int index, const DICOMDatasetList &output) |
Protected Attributes | |
GantryTiltInformation | m_TiltInfo |
Makes sure that the order of files is along the image plane normals.
When loading with ImageSeriesReader and initializing an mitk::Image with the result we need to make sure that the order of inputs for the ImageSeriesReader is along the normal of the images. I.e. The direction of the normal needs to be the same direction as the vector from the first to the last image origin.
Since this class is used as a last sorting step before loading, it will also calculate (and return) an updated GantryTiltInformation object.
Definition at line 42 of file mitkNormalDirectionConsistencySorter.h.
|
protected |
Definition at line 22 of file mitkNormalDirectionConsistencySorter.cpp.
|
protectedvirtual |
Definition at line 34 of file mitkNormalDirectionConsistencySorter.cpp.
|
protected |
Definition at line 28 of file mitkNormalDirectionConsistencySorter.cpp.
|
overridevirtual |
Definition at line 67 of file mitkNormalDirectionConsistencySorter.cpp.
mitk::GantryTiltInformation mitk::NormalDirectionConsistencySorter::GetTiltInformation | ( | ) | const |
See class description and DICOMITKSeriesGDCMReader.
Definition at line 168 of file mitkNormalDirectionConsistencySorter.cpp.
mitk::NormalDirectionConsistencySorter::mitkClassMacro | ( | NormalDirectionConsistencySorter | , |
DICOMDatasetSorter | |||
) |
|
protected |
Definition at line 48 of file mitkNormalDirectionConsistencySorter.cpp.
References mitk::DICOMDatasetSorter::operator=().
|
overridevirtual |
Implements mitk::DICOMDatasetSorter.
Definition at line 59 of file mitkNormalDirectionConsistencySorter.cpp.
|
overridevirtual |
Print configuration details into stream.
Implements mitk::DICOMDatasetSorter.
Definition at line 40 of file mitkNormalDirectionConsistencySorter.cpp.
|
overridevirtual |
See class description.
Implements mitk::DICOMDatasetSorter.
Definition at line 78 of file mitkNormalDirectionConsistencySorter.cpp.
References mitk::DICOMStringToOrientationVectors(), mitk::DICOMStringToPoint3D(), mitk::DICOMDatasetAccess::GetTagValueAsString(), mitk::GantryTiltInformation::MakeFromTagValues(), MITK_DEBUG, and mitk::DICOMDatasetFinding::value.
|
protected |
Definition at line 69 of file mitkNormalDirectionConsistencySorter.h.