Medical Imaging Interaction Toolkit
2024.12.99-0da743f6
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) | |
DICOMTagList | GetTagsOfInterest () override |
Return the tags of interest (to facilitate scanning) More... | |
void | Sort () override |
See class description. More... | |
GantryTiltInformation | GetTiltInformation () const |
See class description and DICOMITKSeriesGDCMReader. More... | |
void | PrintConfiguration (std::ostream &os, const std::string &indent="") const override |
Print configuration details into stream. More... | |
bool | operator== (const DICOMDatasetSorter &other) const override |
Public Member Functions inherited from mitk::DICOMDatasetSorter | |
mitkClassMacroItkParent (DICOMDatasetSorter, itk::LightObject) | |
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... | |
IOVolumeSplitReason::ConstPointer | GetSplitReason (unsigned int index) const |
Static Public Member Functions | |
static Pointer | New () |
Protected Member Functions | |
NormalDirectionConsistencySorter () | |
~NormalDirectionConsistencySorter () override | |
NormalDirectionConsistencySorter (const NormalDirectionConsistencySorter &other) | |
NormalDirectionConsistencySorter & | operator= (const NormalDirectionConsistencySorter &other) |
Protected Member Functions inherited from mitk::DICOMDatasetSorter | |
DICOMDatasetSorter () | |
~DICOMDatasetSorter () override | |
DICOMDatasetSorter (const DICOMDatasetSorter &other) | |
DICOMDatasetSorter & | operator= (const DICOMDatasetSorter &other) |
void | ClearOutputs () |
void | SetNumberOfOutputs (unsigned int numberOfOutputs) |
void | SetOutput (unsigned int index, const DICOMDatasetList &output, IOVolumeSplitReason::ConstPointer splitReason=nullptr) |
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 38 of file mitkNormalDirectionConsistencySorter.h.
|
protected |
|
overrideprotected |
|
protected |
|
overridevirtual |
Return the tags of interest (to facilitate scanning)
Implements mitk::DICOMDatasetSorter.
GantryTiltInformation mitk::NormalDirectionConsistencySorter::GetTiltInformation | ( | ) | const |
See class description and DICOMITKSeriesGDCMReader.
mitk::NormalDirectionConsistencySorter::mitkClassMacro | ( | NormalDirectionConsistencySorter | , |
DICOMDatasetSorter | |||
) |
|
static |
|
protected |
|
overridevirtual |
Implements mitk::DICOMDatasetSorter.
|
overridevirtual |
Print configuration details into stream.
Implements mitk::DICOMDatasetSorter.
|
overridevirtual |
See class description.
Implements mitk::DICOMDatasetSorter.
|
protected |
Definition at line 66 of file mitkNormalDirectionConsistencySorter.h.