# question about draw region of interest

**URL:** https://discourse.vtk.org/t/question-about-draw-region-of-interest/3429
**Category:** Support
**Created:** [June 1, 2020, 3:32am UTC](https://discourse.vtk.org/t/question-about-draw-region-of-interest/3429 "2020-06-01T03:32:56Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![yuhuimoon](https://discourse.vtk.org/letter_avatar_proxy/v4/letter/y/c6cbf5/32.png) [@yuhuimoon](https://discourse.vtk.org/u/yuhuimoon)
#### Post date: [June 1, 2020, 3:32am UTC](https://discourse.vtk.org/t/question-about-draw-region-of-interest/3429/1 "2020-06-01T03:32:56Z")

</div>

The DICOM image can be read and rendered by using vtkResliceImageViewer. I want to draw region of interest(ROI) with the shapes like rectangle, circle(as the following picture show). After that, I want to modify the pixel of the slice image after drawing ROI and the 3D scene can get the 3D mesh of the ROI(with thickness). I have scaned the document and found the **vtkContourWidget**. It seem to be suitable for the requirement. But I am not sure, is there any more suitable class for me to use? I will be very appreciated if anyone can give me some tips. Thanks in advance.

![2020-06-01_113158](https://discourse.vtk.org/uploads/default/original/2X/f/fa323c7faa9ebcb4276dce392940bb6480adb29e.png)

---

<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: [June 2, 2020, 9:06pm UTC](https://discourse.vtk.org/t/question-about-draw-region-of-interest/3429/2 "2020-06-02T21:06:01Z")

</div>

You can find proper tools implemented for this in VTK-based tools, such as 3D Slicer or MITK, which you can use as is or customize/extend as needed.
