DICOM Series Selector Operator#
Authors: Holoscan SDK Team (NVIDIA)
Supported platforms: x86_64, aarch64
Language: Python
Last modified: August 5, 2025
Latest version: 1.1.0
Minimum Holoscan SDK version: 1.0.3
Tested Holoscan SDK versions: 2.2.0, 3.2.0
Contribution metric: Level 2 - Trusted
This operator selects specific DICOM series from a set of studies for further processing in medical imaging workflows.
Overview#
The DICOMSeriesSelectorOperator enables filtering and selection of relevant DICOM series, streamlining downstream analysis and processing in Holoscan pipelines.
Requirements#
- Holoscan SDK Python package
- pydicom
Example Usage#
from holoscan.core import Fragment
from operators.medical_imaging.dicom_series_selector_operator import DICOMSeriesSelectorOperator
fragment = Fragment()
selector_op = DICOMSeriesSelectorOperator(
fragment,
name="series_selector", # Optional operator name
rules="""
{
"Modality": "CT",
"SeriesDescription": "Axial"
}
""", # JSON string defining selection rules
all_matched=False # Whether all rules must match (AND) or any rule can match (OR)
)
API Reference#
Python#
DICOMSeriesSelectorOperator#
Inherits from: Operator
This operator selects a list of DICOM Series in a DICOM Study for a given set of selection rules.
Methods#
| Method | Description |
|---|---|
__init__(fragment) |
Instantiate an instance. |
setup(spec) |
|
compute(op_input, op_output, context) |
Performs computation for this operator. |
filter(selection_rules, dicom_study_list, all_matched) |
Selects the series with the given matching rules. |