17 #ifndef mitkDICOMITKSeriesGDCMReader_h
18 #define mitkDICOMITKSeriesGDCMReader_h
21 #include "itkMutexLock.h"
32 class TimeProbesCollectorBase;
207 virtual void AnalyzeInputFiles()
override;
213 virtual bool LoadImages()
override;
216 virtual bool CanHandleFile(
const std::string&
filename)
override;
224 ConstSorterList GetFreelyConfiguredSortingElements()
const;
229 void SetFixTiltByShearing(
bool on);
231 bool GetFixTiltByShearing()
const;
236 void SetAcceptTwoSlicesGroups(
bool accept)
const;
237 bool GetAcceptTwoSlicesGroups()
const;
242 void SetToleratedOriginOffsetToAdaptive(
double fractionOfInterSliceDistanct = 0.3)
const;
247 void SetToleratedOriginOffset(
double millimeters = 0.005)
const;
249 double GetToleratedOriginError()
const;
250 bool IsToleratedOriginOffsetAbsolute()
const;
252 double GetDecimalPlacesForOrientation()
const;
260 virtual void InternalPrintConfiguration(std::ostream& os)
const override;
263 static std::string GetActiveLocale();
268 void PushLocale()
const;
273 void PopLocale()
const;
286 virtual SortingBlockList Condense3DBlocks(SortingBlockList& resultOf3DGrouping);
292 static SortingBlockList InternalExecuteSortingStep(
293 unsigned int sortingStepIndex,
295 const SortingBlockList& input);
298 virtual bool LoadMitkImageForOutput(
unsigned int o);
307 void EnsureMandatorySortersArePresent(
unsigned int decimalPlacesForOrientation);
316 SortingBlockList m_SortingResultInProgress;
318 typedef std::list<DICOMDatasetSorter::Pointer> SorterList;
332 mutable std::stack<std::string> m_ReplacedCLocales;
333 mutable std::stack<std::locale> m_ReplacedCinLocales;
335 double m_DecimalPlacesForOrientation;
338 bool m_ExternalCache;
itk::SmartPointer< Self > Pointer
#define mitkNewMacro1Param(classname, type)
The sorting/splitting building-block of DICOMITKSeriesGDCMReader.
Flexible reader based on itk::ImageSeriesReader and GDCM, for single-slice modalities like CT...
mitk::EquiDistantBlocksSorter::Pointer m_EquiDistantBlocksSorter
#define MITKDICOMREADER_EXPORT
DataCollection - Class to facilitate loading/accessing structured data.
MITKCORE_EXPORT bool operator==(const InteractionEvent &a, const InteractionEvent &b)
const std::list< DICOMDatasetSorter::ConstPointer > ConstSorterList
ReaderImplementationLevel
Describes how well the reader is tested for a certain file type (see mitk::DICOMFileReader).
static const std::string filename
#define mitkClassMacro(className, SuperClassName)
Output descriptor for DICOMFileReader.
std::vector< DICOMTagPath > DICOMTagPathList
std::vector< DICOMDatasetAccessingImageFrameList > SortingBlockList
#define mitkCloneMacro(classname)
Interface for DICOM readers that produce mitk::Images.
mitk::NormalDirectionConsistencySorter::Pointer m_NormalDirectionConsistencySorter