Medical Imaging Interaction Toolkit  2026.06.00
Medical Imaging Interaction Toolkit
mitkThreeDnTDICOMSeriesReader.h
Go to the documentation of this file.
1 /*============================================================================
2 
3 The Medical Imaging Interaction Toolkit (MITK)
4 
5 Copyright (c) German Cancer Research Center (DKFZ)
6 All rights reserved.
7 
8 Use of this source code is governed by a 3-clause BSD license that can be
9 found in the LICENSE file.
10 
11 ============================================================================*/
12 
13 #ifndef mitkThreeDnTDICOMSeriesReader_h
14 #define mitkThreeDnTDICOMSeriesReader_h
15 
17 
18 #include <MitkDICOMExports.h>
19 
20 namespace mitk
21 {
22 
41 {
42  public:
43 
45  itkNewMacro( ThreeDnTDICOMSeriesReader );
47 
49  void SetGroup3DandT(bool on);
50  bool GetGroup3DandT() const;
51 
52  itkBooleanMacro(OnlyCondenseSameSeries);
53  itkSetMacro(OnlyCondenseSameSeries, bool);
54  itkGetConstMacro(OnlyCondenseSameSeries, bool);
55 
56  // void AllocateOutputImages();
58  bool LoadImages() override;
59 
60  bool operator==(const DICOMFileReader& other) const override;
61 
62  static bool GetDefaultGroup3DandT()
63  {
64  return m_DefaultGroup3DandT;
65  }
67  {
68  return m_DefaultOnlyCondenseSameSeries;
69  }
70 
71  protected:
73 
74  ThreeDnTDICOMSeriesReader(unsigned int decimalPlacesForOrientation = Superclass::m_DefaultDecimalPlacesForOrientation);
76 
79 
86 
88 
91 
92  const static bool m_DefaultGroup3DandT = true;
93  const static bool m_DefaultOnlyCondenseSameSeries = true;
94 };
95 
96 }
97 
98 #endif
#define MITKDICOM_EXPORT
Interface for DICOM readers that produce mitk::Images.
Flexible reader based on itk::ImageSeriesReader and GDCM, for single-slice modalities like CT,...
std::vector< SortingBlockListItemType > SortingBlockList
Output descriptor for DICOMFileReader.
Extends DICOMITKSeriesGDCMReader by sorting/grouping into 3D+t image blocks.
bool LoadMitkImageForImageBlockDescriptor(DICOMImageBlockDescriptor &block) const override
SortingBlockList Condense3DBlocks(SortingBlockList &) override
Analyze the groups produced by DICOMITKSeriesGDCMReader for 3D+t properties. This method tests whethe...
bool operator==(const DICOMFileReader &other) const override
ThreeDnTDICOMSeriesReader & operator=(const ThreeDnTDICOMSeriesReader &other)
void SetGroup3DandT(bool on)
Control whether 3D+t grouping shall actually be attempted.
mitkCloneMacro(ThreeDnTDICOMSeriesReader)
mitkClassMacro(ThreeDnTDICOMSeriesReader, DICOMITKSeriesGDCMReader)
mitkNewMacro1Param(ThreeDnTDICOMSeriesReader, unsigned int)
bool LoadImages() override
Load via multiple calls to itk::ImageSeriesReader.
ThreeDnTDICOMSeriesReader(const ThreeDnTDICOMSeriesReader &other)
ThreeDnTDICOMSeriesReader(unsigned int decimalPlacesForOrientation=Superclass::m_DefaultDecimalPlacesForOrientation)
Find image slices visible on a given plane.