Medical Imaging Interaction Toolkit  2026.06.00
Medical Imaging Interaction Toolkit
mitkDICOMFilesHelper.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 mitkDICOMFilesHelper_h
14 #define mitkDICOMFilesHelper_h
15 
16 #include <string>
17 #include <vector>
18 
19 #include <MitkDICOMExports.h>
20 
21 namespace mitk {
22 
24 typedef std::vector<std::string> DICOMFilePathList;
25 
40 
53 
66 DICOMFilePathList MITKDICOM_EXPORT FilterDICOMFilesForSameSeries(const std::string& refFilePath, const DICOMFilePathList& fileList);
67 }
68 
69 #endif
#define MITKDICOM_EXPORT
Find image slices visible on a given plane.
std::vector< std::string > DICOMFilePathList
A list of file paths used throughout the DICOM module.
DICOMFilePathList MITKDICOM_EXPORT FilterDICOMFilesForSameSeries(const std::string &refFilePath, const DICOMFilePathList &fileList)
Filter DICOM files to return only those in the same series as a reference file.
DICOMFilePathList MITKDICOM_EXPORT GetDICOMFilesInSameDirectory(const std::string &filePath)
Search a directory for DICOM files.
DICOMFilePathList MITKDICOM_EXPORT FilterForDICOMFiles(const DICOMFilePathList &fileList)
Filter a file list to contain only valid DICOM files.