# How can Make 3D & 2D Countor from DICOM(RTStrucure) file?

**URL:** https://discourse.vtk.org/t/how-can-make-3d-2d-countor-from-dicom-rtstrucure-file/11071
**Category:** Development
**Tags:** jobs, python, code, proposal, file-formats
**Created:** [March 28, 2023, 6:17am UTC](https://discourse.vtk.org/t/how-can-make-3d-2d-countor-from-dicom-rtstrucure-file/11071 "2023-03-28T06:17:20Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![lassoan](https://discourse.vtk.org/user_avatar/discourse.vtk.org/lassoan/32/50_2.png) [@lassoan](https://discourse.vtk.org/u/lassoan)
#### Post date: [March 28, 2023, 5:28pm UTC](https://discourse.vtk.org/t/how-can-make-3d-2d-countor-from-dicom-rtstrucure-file/11071/2 "2023-03-28T17:28:35Z")

</div>

This and similar topics posted on this forum may help:

> [@Convert 3D contour point cloud to binary voxel map](https://discourse.vtk.org/t/convert-3d-contour-point-cloud-to-binary-voxel-map/4214):
>
> I am writing a small C++ program, which contains: a voxel grid (nX \* nY \* nZ) a voxel (i,j,k) to 3D point (x,y,z) conversion matrix an array of 3D points (x,y,z) defining a closed surface As I am new to VTK, I was looking for help to see what would be the most efficient / shortest way to compute a boolean 3D matrix that tells me which points of the 3D voxel grid are inside the contour, and which ones are not. I would prefer not to use external batch-processes, just C++ API libraries like VTK …

---

_[View the full topic](https://discourse.vtk.org/t/how-can-make-3d-2d-countor-from-dicom-rtstrucure-file/11071)._
