Clara Viz 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 integrates Clara Viz visualization into medical imaging pipelines.
Overview#
The ClaraVizOperator enables advanced visualization of medical imaging data using Clara Viz, supporting GPU-accelerated rendering and interaction.
Requirements#
- Holoscan SDK Python package
- clara-viz
- IPython
- ipywidgets
Example Usage#
from holoscan.core import Fragment
from operators.medical_imaging.clara_viz_operator import ClaraVizOperator
fragment = Fragment()
viz_op = ClaraVizOperator(
fragment,
name="clara_viz", # Optional operator name
input_name_image="image", # Name of the input port for the image
input_name_seg_image="seg_image" # Name of the input port for the segmentation image
)
API Reference#
Python#
ClaraVizOperator#
Inherits from: Operator
This operator uses Clara Viz to provide interactive view of a 3D volume including segmentation mask.
Methods#
| Method | Description |
|---|---|
__init__(fragment) |
Constructor of the operator. |
setup(spec) |
|
compute(op_input, op_output, context) |
Displays the input image and segmentation mask |