# What should I do to obtain such a display result？

**URL:** <https://discourse.vtk.org/t/what-should-i-do-to-obtain-such-a-display-result/11125>\
**Category:** Development\
**Tags:** code\
**Created:** [April 4, 2023, 9:21am UTC](https://discourse.vtk.org/t/what-should-i-do-to-obtain-such-a-display-result/11125 "2023-04-04T09:21:01Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![marlon.ma](https://discourse.vtk.org/user_avatar/discourse.vtk.org/marlon.ma/32/6091_2.png) [@marlon.ma](https://discourse.vtk.org/u/marlon.ma)\
**Post date:** [April 4, 2023, 9:21am UTC](https://discourse.vtk.org/t/what-should-i-do-to-obtain-such-a-display-result/11125/1 "2023-04-04T09:21:01Z")

</div>

![image](https://discourse.vtk.org/uploads/default/original/2X/f/f67308f679eae3814c2a108724d0017c0a2cb635.jpeg)

I don’t know how to generate a single color image.

---

<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:** [April 4, 2023, 11:37am UTC](https://discourse.vtk.org/t/what-should-i-do-to-obtain-such-a-display-result/11125/2 "2023-04-04T11:37:33Z")

</div>

You can either resample the transformed moving image to the fixed image and blend them using an imaging filter (for generating a static image), or render the images using semi-transparent actors (for interactive use).

You can search in VTK examples for code pieces you can use. However, I would generally recommend to customize/extend existing VTK-based open-source medical image analysis and vísualization applications that can already do this, such as 3D Slicer or MITK, especially if you want to build an interactive GUI.
