|
Medical Imaging Interaction Toolkit
2026.06.00
Medical Imaging Interaction Toolkit
|
Return type of DicomSeriesReader::AnalyzeFileForITKImageSeriesReaderSpacingAssumption. More...
#include <mitkDicomSeriesReader.h>

Public Member Functions | |
| SliceGroupingAnalysisResult () | |
| StringContainer | GetBlockFilenames () |
| Get the grouped filenames (all with same origin-to-origin distance, no gaps). More... | |
| StringContainer | GetUnsortedFilenames () |
| Get the remaining files which could not be grouped. More... | |
| bool | ContainsGantryTilt () |
| Whether the grouped result contains a gantry tilt. More... | |
| void | AddFileToSortedBlock (const std::string &filename) |
| Add a file to the sorted (grouped) block. More... | |
| void | AddFileToUnsortedBlock (const std::string &filename) |
| Add a file to the unsorted (remaining) block. More... | |
| void | AddFilesToUnsortedBlock (const StringContainer &filenames) |
| Add multiple files to the unsorted (remaining) block. More... | |
| void | FlagGantryTilt () |
| Flag this result as containing a gantry tilt. More... | |
| void | UndoPrematureGrouping () |
| Undo a premature grouping decision. More... | |
Protected Attributes | |
| StringContainer | m_GroupedFiles |
| Files that form a valid image block. More... | |
| StringContainer | m_UnsortedFiles |
| Files that could not be grouped. More... | |
| bool | m_GantryTilt |
| Whether gantry tilt was detected. More... | |
Return type of DicomSeriesReader::AnalyzeFileForITKImageSeriesReaderSpacingAssumption.
Contains the grouping result of AnalyzeFileForITKImageSeriesReaderSpacingAssumption(), which takes as input a number of images that are all equally oriented and spatially sorted along their normal direction.
The result consists of two blocks: the first contains files that can be loaded into one image block because they have equal origin-to-origin distance without gaps. The second contains remaining files that need further analysis.
Definition at line 641 of file mitkDicomSeriesReader.h.
| mitk::DicomSeriesReader::SliceGroupingAnalysisResult::SliceGroupingAnalysisResult | ( | ) |
| void mitk::DicomSeriesReader::SliceGroupingAnalysisResult::AddFilesToUnsortedBlock | ( | const StringContainer & | filenames | ) |
Add multiple files to the unsorted (remaining) block.
| filenames | Paths to the files to add. |
| void mitk::DicomSeriesReader::SliceGroupingAnalysisResult::AddFileToSortedBlock | ( | const std::string & | filename | ) |
Add a file to the sorted (grouped) block.
| filename | Path to the file to add. |
| void mitk::DicomSeriesReader::SliceGroupingAnalysisResult::AddFileToUnsortedBlock | ( | const std::string & | filename | ) |
Add a file to the unsorted (remaining) block.
| filename | Path to the file to add. |
| bool mitk::DicomSeriesReader::SliceGroupingAnalysisResult::ContainsGantryTilt | ( | ) |
Whether the grouped result contains a gantry tilt.
| void mitk::DicomSeriesReader::SliceGroupingAnalysisResult::FlagGantryTilt | ( | ) |
Flag this result as containing a gantry tilt.
| StringContainer mitk::DicomSeriesReader::SliceGroupingAnalysisResult::GetBlockFilenames | ( | ) |
Get the grouped filenames (all with same origin-to-origin distance, no gaps).
| StringContainer mitk::DicomSeriesReader::SliceGroupingAnalysisResult::GetUnsortedFilenames | ( | ) |
Get the remaining files which could not be grouped.
| void mitk::DicomSeriesReader::SliceGroupingAnalysisResult::UndoPrematureGrouping | ( | ) |
Undo a premature grouping decision.
Moves all files from the sorted block back into the unsorted block. Only meaningful for use by AnalyzeFileForITKImageSeriesReaderSpacingAssumption.
|
protected |
Whether gantry tilt was detected.
Definition at line 704 of file mitkDicomSeriesReader.h.
|
protected |
Files that form a valid image block.
Definition at line 701 of file mitkDicomSeriesReader.h.
|
protected |
Files that could not be grouped.
Definition at line 702 of file mitkDicomSeriesReader.h.