27 tagSorter->AddDistinguishingTag(
DICOMTag(0x0020, 0x000e) );
31 mitk::DICOMSortCriterion::ConstPointer sorting =
32 mitk::SortByImagePositionPatient::New(
33 mitk::DICOMSortByTag::New(
DICOMTag(0x0020, 0x0012),
34 mitk::DICOMSortByTag::New(
DICOMTag(0x0008, 0x0032),
35 mitk::DICOMSortByTag::New(
DICOMTag(0x0018, 0x1060),
36 mitk::DICOMSortByTag::New(
DICOMTag(0x0008, 0x0018)
42 tagSorter->SetSortCriterion( sorting );
43 tagSorter->SetStrictSorting(
false);
55 this->
SetConfigurationDescription(
"Sort by Image Position, then Acquisition Number, Time, Trigger time, group by 3D+t, group tilted images");
84 if (dynamic_cast<const Self*>(&other))
Sorting and grouping like mitk::DicomSeriesReader until 2013.
~ClassicDICOMSeriesReader() override
void SetConfigurationDescription(const std::string &)
One-sentence description of the reader's loading "strategy".
mitk::EquiDistantBlocksSorter::Pointer m_EquiDistantBlocksSorter
Representation of a DICOM tag.
void SetFixTiltByShearing(bool on)
Controls whether to "fix" tilted acquisitions by shearing the output (see Gantry tilt handling)...
ClassicDICOMSeriesReader & operator=(const ClassicDICOMSeriesReader &other)
void SetConfigurationLabel(const std::string &)
Short label/name to describe this reader.
ClassicDICOMSeriesReader()
void SetToleratedOriginOffset(double millimeters=0.005) const
See Forced Configuration.
void SetGroup3DandT(bool on)
Control whether 3D+t grouping shall actually be attempted.
ThreeDnTDICOMSeriesReader & operator=(const ThreeDnTDICOMSeriesReader &other)
Extends DICOMITKSeriesGDCMReader by sorting/grouping into 3D+t image blocks.
virtual void AddSortingElement(DICOMDatasetSorter *sorter, bool atFront=false)
Add an element to the sorting procedure described in Loading strategy.
Interface for DICOM readers that produce mitk::Images.
bool operator==(const DICOMFileReader &other) const override