# vtkResliceImageViewer display RGBA image

**URL:** https://discourse.vtk.org/t/vtkresliceimageviewer-display-rgba-image/8174
**Category:** Support
**Created:** [March 30, 2022, 7:20am UTC](https://discourse.vtk.org/t/vtkresliceimageviewer-display-rgba-image/8174 "2022-03-30T07:20:04Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Zhengduo\_Zhu](https://discourse.vtk.org/user_avatar/discourse.vtk.org/zhengduo_zhu/32/4903_2.png) [@Zhengduo\_Zhu](https://discourse.vtk.org/u/Zhengduo_Zhu)
#### Post date: [March 30, 2022, 7:20am UTC](https://discourse.vtk.org/t/vtkresliceimageviewer-display-rgba-image/8174/1 "2022-03-30T07:20:05Z")

</div>

Hey guys:

How can I let resliceimageviewer display a colored image? I know that vtkResliceImageViewer can setup lookup table. But I need to blend two images after map image to color.

I use DICOM reader to read image data. Then I create a lookup table to change image data into RGBA. Next I blend image with a mask to display the region of interst. Everything works fine except vtkResliceImageViewer can’t display color. Can someone help me?

Or does someone know how to create a Lookup table that output origin image?

Cheers  
Zheng
