Medical Imaging Interaction Toolkit  2024.12.99-0da743f6
Medical Imaging Interaction Toolkit
mitk::DicomSeriesReader::SliceGroupingAnalysisResult Class Reference

Return type of DicomSeriesReader::AnalyzeFileForITKImageSeriesReaderSpacingAssumption. More...

#include <mitkDicomSeriesReader.h>

Collaboration diagram for mitk::DicomSeriesReader::SliceGroupingAnalysisResult:

Public Member Functions

 SliceGroupingAnalysisResult ()
 
StringContainer GetBlockFilenames ()
 Grouping result, all same origin-to-origin distance w/o gaps. More...
 
StringContainer GetUnsortedFilenames ()
 Remaining files, which could not be grouped. More...
 
bool ContainsGantryTilt ()
 Whether or not the grouped result contain a gantry tilt. More...
 
void AddFileToSortedBlock (const std::string &filename)
 Meant for internal use by AnalyzeFileForITKImageSeriesReaderSpacingAssumption only. More...
 
void AddFileToUnsortedBlock (const std::string &filename)
 Meant for internal use by AnalyzeFileForITKImageSeriesReaderSpacingAssumption only. More...
 
void AddFilesToUnsortedBlock (const StringContainer &filenames)
 
void FlagGantryTilt ()
 Meant for internal use by AnalyzeFileForITKImageSeriesReaderSpacingAssumption only. More...
 
void UndoPrematureGrouping ()
 Only meaningful for use by AnalyzeFileForITKImageSeriesReaderSpacingAssumption. More...
 

Protected Attributes

StringContainer m_GroupedFiles
 
StringContainer m_UnsortedFiles
 
bool m_GantryTilt
 

Detailed Description

Return type of DicomSeriesReader::AnalyzeFileForITKImageSeriesReaderSpacingAssumption.

Class contains the grouping result of method DicomSeriesReader::AnalyzeFileForITKImageSeriesReaderSpacingAssumption, which takes as input a number of images, which are all equally oriented and spatially sorted along their normal direction.

The result contains of two blocks: a first one is the grouping result, all of those images can be loaded into one image block because they have an equal origin-to-origin distance without any gaps in-between.

Definition at line 605 of file mitkDicomSeriesReader.h.

Constructor & Destructor Documentation

◆ SliceGroupingAnalysisResult()

mitk::DicomSeriesReader::SliceGroupingAnalysisResult::SliceGroupingAnalysisResult ( )

Member Function Documentation

◆ AddFilesToUnsortedBlock()

void mitk::DicomSeriesReader::SliceGroupingAnalysisResult::AddFilesToUnsortedBlock ( const StringContainer filenames)

◆ AddFileToSortedBlock()

void mitk::DicomSeriesReader::SliceGroupingAnalysisResult::AddFileToSortedBlock ( const std::string &  filename)

Meant for internal use by AnalyzeFileForITKImageSeriesReaderSpacingAssumption only.

◆ AddFileToUnsortedBlock()

void mitk::DicomSeriesReader::SliceGroupingAnalysisResult::AddFileToUnsortedBlock ( const std::string &  filename)

Meant for internal use by AnalyzeFileForITKImageSeriesReaderSpacingAssumption only.

◆ ContainsGantryTilt()

bool mitk::DicomSeriesReader::SliceGroupingAnalysisResult::ContainsGantryTilt ( )

Whether or not the grouped result contain a gantry tilt.

◆ FlagGantryTilt()

void mitk::DicomSeriesReader::SliceGroupingAnalysisResult::FlagGantryTilt ( )

Meant for internal use by AnalyzeFileForITKImageSeriesReaderSpacingAssumption only.

◆ GetBlockFilenames()

StringContainer mitk::DicomSeriesReader::SliceGroupingAnalysisResult::GetBlockFilenames ( )

Grouping result, all same origin-to-origin distance w/o gaps.

◆ GetUnsortedFilenames()

StringContainer mitk::DicomSeriesReader::SliceGroupingAnalysisResult::GetUnsortedFilenames ( )

Remaining files, which could not be grouped.

◆ UndoPrematureGrouping()

void mitk::DicomSeriesReader::SliceGroupingAnalysisResult::UndoPrematureGrouping ( )

Only meaningful for use by AnalyzeFileForITKImageSeriesReaderSpacingAssumption.

Member Data Documentation

◆ m_GantryTilt

bool mitk::DicomSeriesReader::SliceGroupingAnalysisResult::m_GantryTilt
protected

Definition at line 651 of file mitkDicomSeriesReader.h.

◆ m_GroupedFiles

StringContainer mitk::DicomSeriesReader::SliceGroupingAnalysisResult::m_GroupedFiles
protected

Definition at line 648 of file mitkDicomSeriesReader.h.

◆ m_UnsortedFiles

StringContainer mitk::DicomSeriesReader::SliceGroupingAnalysisResult::m_UnsortedFiles
protected

Definition at line 649 of file mitkDicomSeriesReader.h.


The documentation for this class was generated from the following file: