# converting closed surface to binary image

**URL:** https://discourse.vtk.org/t/converting-closed-surface-to-binary-image/10780
**Category:** Support
**Created:** [February 23, 2023, 10:41pm UTC](https://discourse.vtk.org/t/converting-closed-surface-to-binary-image/10780 "2023-02-23T22:41:55Z")
**Posts on this page:** 1
**Showing post:** 5

<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: [February 24, 2023, 12:18pm UTC](https://discourse.vtk.org/t/converting-closed-surface-to-binary-image/10780/5 "2023-02-24T12:18:08Z")

</div>

You can use the image stencil to modify the

> [@AndreAhmed](#):
>
> how do I color specific voxels that are under the Lasso (Selected by it )

See [how to clip vtkImageData with the specified mask? - #2 by zhang-qiang-github](https://discourse.vtk.org/t/how-to-clip-vtkimagedata-with-the-specified-mask/8352/2)

---

_[View the full topic](https://discourse.vtk.org/t/converting-closed-surface-to-binary-image/10780)._
