Click here to Skip to main content
15,891,976 members
Articles / Programming Languages / Python

Image-blending using Python and OpenCV

Rate me:
Please Sign up or sign in to vote.
5.00/5 (1 vote)
22 Dec 2020CPOL7 min read 16.2K   324   5  
Python code for image-blending based on an image mask
Python and the OpenCV library make it very easy to work with visual input such as images or videos. In this tutorial, I discuss contents on image-blending and present a way of merging pixel information of two images. To accomplish this, I use a third image (the so-called mask), which serves as a template for the blending process. Because this template is a matrix of weighting factors, it is possible to produce results, which cannot be obtained with blending methods one usually finds on the web (or at least I did not find them).

Views

Daily Counts

Downloads

Weekly Counts

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Austria Austria
I try to be a behavioral scientist who uses his programming 'skills' to solve problems arising in the field of nonverbal communication.

Comments and Discussions