# Is there a way to use superimposed in opencv library?

**URL:** https://forum.opencv.org/t/is-there-a-way-to-use-superimposed-in-opencv-library/24286
**Category:** Uncategorized
**Tags:** imgproc
**Created:** [December 30, 2025, 2:41pm UTC](https://forum.opencv.org/t/is-there-a-way-to-use-superimposed-in-opencv-library/24286 "2025-12-30T14:41:29Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![fkuslu](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.opencv.org/fkuslu/32/13824_2.png) [@fkuslu](https://forum.opencv.org/u/fkuslu)
#### Post date: [December 30, 2025, 2:41pm UTC](https://forum.opencv.org/t/is-there-a-way-to-use-superimposed-in-opencv-library/24286/1 "2025-12-30T14:41:29Z")

</div>

Hi,

I am building a project where i need to superimpose certain objects on a x-ray luggage image. I came across **[pyxvis](https://github.com/computervision-xray-testing/pyxvis)** library but I am wondering if there any method like this in opencv?

The method I need to use is “Superimposition”

Thank you!

---

<div class="post-metadata">

### Author: ![crackwitz](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.opencv.org/crackwitz/32/14_2.png) [@crackwitz](https://forum.opencv.org/u/crackwitz)
#### Post date: [December 30, 2025, 7:23pm UTC](https://forum.opencv.org/t/is-there-a-way-to-use-superimposed-in-opencv-library/24286/2 "2025-12-30T19:23:41Z")

</div>

just do the math yourself. it’s easy with numpy, and even with plain opencv it’s easy enough.

you just need some multiplication and addition, over arrays or slices of arrays.

here are _ **many** _ wrong ways to do it, and one or two _right_ ways to do it:

> <https://stackoverflow.com/questions/40895785/using-opencv-to-overlay-blend-transparent-image-onto-another-image>
