17 #ifndef mitkEquiDistantBlocksSorter_h
18 #define mitkEquiDistantBlocksSorter_h
71 virtual void Sort()
override;
76 void SetAcceptTilt(
bool accept);
77 bool GetAcceptTilt()
const;
82 void SetToleratedOriginOffsetToAdaptive(
double fractionOfInterSliceDistanct = 0.3);
89 void SetToleratedOriginOffset(
double millimeters = 0.005);
91 double GetToleratedOriginOffset()
const;
92 bool IsToleratedOriginOffsetAbsolute()
const;
94 void SetAcceptTwoSlicesGroups(
bool accept);
95 bool GetAcceptTwoSlicesGroups()
const;
97 virtual void PrintConfiguration(std::ostream& os,
const std::string& indent =
"")
const override;
123 void SetFirstFilenameOfBlock(
const std::string&
filename);
124 std::string GetFirstFilenameOfBlock()
const;
125 void SetLastFilenameOfBlock(
const std::string& filename);
126 std::string GetLastFilenameOfBlock()
const;
136 bool ContainsGantryTilt();
163 void UndoPrematureGrouping();
187 AnalyzeFileForITKImageSeriesReaderSpacingAssumption(
const DICOMDatasetList& files,
bool groupsOfSimilarImages);
193 ConstCharStarToString(
const char* s);
bool m_ToleratedOriginOffsetIsAbsolute
ResultsList m_SliceGroupingResults
The sorting/splitting building-block of DICOMITKSeriesGDCMReader.
DICOMDatasetList m_GroupedFiles
Split inputs into blocks of equidistant slices (for use in DICOMITKSeriesGDCMReader).
std::vector< DICOMTag > DICOMTagList
std::string m_LastFilenameOfBlock
std::vector< SliceGroupingAnalysisResult > ResultsList
#define MITKDICOMREADER_EXPORT
GantryTiltInformation m_TiltInfo
DataCollection - Class to facilitate loading/accessing structured data.
MITKCORE_EXPORT bool operator==(const InteractionEvent &a, const InteractionEvent &b)
Interface to datasets that is presented to sorting classes such as DICOMDatasetSorter.
Return type of AnalyzeFileForITKImageSeriesReaderSpacingAssumption().
DICOMDatasetList m_UnsortedFiles
static const std::string filename
#define mitkClassMacro(className, SuperClassName)
bool m_AcceptTwoSlicesGroups
double m_ToleratedOriginOffset
std::vector< DICOMDatasetAccess * > DICOMDatasetList
std::string m_FirstFilenameOfBlock