|
Medical Imaging Interaction Toolkit
2026.06.00
Medical Imaging Interaction Toolkit
|
Helper namespace for DICOM I/O operations. More...
Typedefs | |
| using | FindingsListVectorType = std::vector< DICOMDatasetAccess::FindingsListType > |
| Vector of findings lists, one per tag path of interest. More... | |
Functions | |
| MITKDICOM_EXPORT IDICOMTagsOfInterest * | GetTagsOfInterestService () |
| Retrieve the IDICOMTagsOfInterest service from the module registry. More... | |
| MITKDICOM_EXPORT FindingsListVectorType | ExtractPathsOfInterest (const DICOMTagPathList &pathsOfInterest, const DICOMDatasetAccessingImageFrameList &frames) |
| Extract tag values for paths of interest from DICOM frame information. More... | |
| MITKDICOM_EXPORT void | SetProperties (BaseData *image, const FindingsListVectorType &findings) |
| Set DICOM tag values as properties on a BaseData instance. More... | |
Helper namespace for DICOM I/O operations.
Provides utility functions for retrieving DICOM tags of interest services, extracting tag values from frame information, and setting properties on BaseData instances.
| using mitk::DICOMIOHelper::FindingsListVectorType = typedef std::vector<DICOMDatasetAccess::FindingsListType> |
Vector of findings lists, one per tag path of interest.
Definition at line 37 of file mitkDICOMIOHelper.h.
| MITKDICOM_EXPORT FindingsListVectorType mitk::DICOMIOHelper::ExtractPathsOfInterest | ( | const DICOMTagPathList & | pathsOfInterest, |
| const DICOMDatasetAccessingImageFrameList & | frames | ||
| ) |
Extract tag values for paths of interest from DICOM frame information.
For each tag path in pathsOfInterest, queries the first frame in frames for its value and collects the results.
| [in] | pathsOfInterest | List of DICOMTagPath instances to query. |
| [in] | frames | List of dataset-accessing frame info objects to query from. |
| MITKDICOM_EXPORT IDICOMTagsOfInterest* mitk::DICOMIOHelper::GetTagsOfInterestService | ( | ) |
Retrieve the IDICOMTagsOfInterest service from the module registry.
Queries the CppMicroServices module context for a registered IDICOMTagsOfInterest service. If multiple services are registered, the first one found is returned.
| MITKDICOM_EXPORT void mitk::DICOMIOHelper::SetProperties | ( | BaseData * | image, |
| const FindingsListVectorType & | findings | ||
| ) |
Set DICOM tag values as properties on a BaseData instance.
Iterates over all findings and sets each tag value as a TemporoSpatialStringProperty on the given image, using the tag path converted to a property name as the key.
| [in,out] | image | The BaseData instance on which to set the properties. |
| [in] | findings | The extracted tag findings to set as properties. |