# Best way to overlay multiple 2D images?

**URL:** https://discourse.vtk.org/t/best-way-to-overlay-multiple-2d-images/2671
**Category:** Support
**Created:** [February 21, 2020, 5:12pm UTC](https://discourse.vtk.org/t/best-way-to-overlay-multiple-2d-images/2671 "2020-02-21T17:12:02Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![msmerps](https://discourse.vtk.org/user_avatar/discourse.vtk.org/msmerps/32/1559_2.png) [@msmerps](https://discourse.vtk.org/u/msmerps)
#### Post date: [February 21, 2020, 5:12pm UTC](https://discourse.vtk.org/t/best-way-to-overlay-multiple-2d-images/2671/1 "2020-02-21T17:12:02Z")

</div>

Hi, I’m interested in making overlays of two or more 2D images in VTK (e.g., two MRIs taken multiple years apart). There appear to be two ways of doing this in VTK:

1. via vtkImageBlend ([https://itk.org/Wiki/VTK/Examples/Cxx/Images/CombineImages](https://itk.org/Wiki/VTK/Examples/Cxx/Images/CombineImages))
2. via vtkImageStack ([https://vtk.org/Wiki/VTK/Examples/Cxx/Images/ImageStack](https://vtk.org/Wiki/VTK/Examples/Cxx/Images/ImageStack))

Can anyone tell me what the pros/cons of the two methods are?  
thank you in advance for your assistance,  
-Merps

---

<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 21, 2020, 5:14pm UTC](https://discourse.vtk.org/t/best-way-to-overlay-multiple-2d-images/2671/2 "2020-02-21T17:14:20Z")

</div>

You’ve asked the same last year and even got an answer: [vtkImageStack vs. vtkImageBlend](https://discourse.vtk.org/t/vtkimagestack-vs-vtkimageblend/1009)

---

<div class="post-metadata">

### Author: ![msmerps](https://discourse.vtk.org/user_avatar/discourse.vtk.org/msmerps/32/1559_2.png) [@msmerps](https://discourse.vtk.org/u/msmerps)
#### Post date: [February 21, 2020, 5:22pm UTC](https://discourse.vtk.org/t/best-way-to-overlay-multiple-2d-images/2671/3 "2020-02-21T17:22:27Z")

</div>

Ack!!! Thank you @Andras. Honestly, I checked my discourse history before and didn’t see it. It also didn’t come up when I searched discourse with the keyword “overlay”. My apologies.  
-M
