135 words
1 minute
Cerebrovascular Rendering Based on Python VTK

Preface#

During the process of writing a paper, there was a need for vascular rendering. Based on existing C++ code, a Python VTK version of the rendering was developed. The rendering effect is decent and sufficient for scientific visualization purposes. The source code is open-sourced on GitHub. If you find it useful, please consider giving it a Star.

QingYunA
/
Cerebrovascular-Segmentation-Rendering-by-Python-VTK
Waiting for api.github.com...
00K
0K
0K
Waiting...

How to Use#

Usage instructions are available on GitHub in both English and Chinese versions. Following the README should allow most users to get started directly.

Please note that only .mhd format rendering has been tested. Other file formats may encounter issues. Feel free to submit an issue if you encounter any problems.

Rendering Results#

  1. Rendering prediction only

  1. Rendering ft, fp, tp, etc. after calculating the confusion matrix between prediction and gt (label)

  1. Adding colorbar on top of the rendering (currently not very aesthetically pleasing)

Cerebrovascular Rendering Based on Python VTK
https://yunqing.org/en/posts/cerebrovascular-rendering-based-on-python-vtk/
作者
Yunqing
发布于
2025-08-11
许可协议
CC BY-NC-SA 4.0