# Change the colour of the background of vtkImageReslice for areas out of the region of the surface

**URL:** https://discourse.vtk.org/t/change-the-colour-of-the-background-of-vtkimagereslice-for-areas-out-of-the-region-of-the-surface/776
**Category:** Support
**Created:** [April 18, 2019, 11:16am UTC](https://discourse.vtk.org/t/change-the-colour-of-the-background-of-vtkimagereslice-for-areas-out-of-the-region-of-the-surface/776 "2019-04-18T11:16:32Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![zandarina](https://discourse.vtk.org/letter_avatar_proxy/v4/letter/z/4af34b/32.png) [@zandarina](https://discourse.vtk.org/u/zandarina)
#### Post date: [April 18, 2019, 11:16am UTC](https://discourse.vtk.org/t/change-the-colour-of-the-background-of-vtkimagereslice-for-areas-out-of-the-region-of-the-surface/776/1 "2019-04-18T11:16:32Z")

</div>

Hi everybody,

I have a doubt, i am getting certain planes of a surface with vtkImageReslice but i found that these regions outside the volume are painted in a weird colour different to black. I read that there is a bug but someone knows how to solve it?

I have tried to use SetBackgroundColor and SetLevel but as i read these functions do not work because of a bug of this class. I updated the new version of vtk but i saw this is not fixed yet.

Thanks
