Skip to content

Using python, Perform Multi band blending with two images and mask

Notifications You must be signed in to change notification settings

garychan22/multi-band-blending

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

multi-band-blending

Multi-band blending using the Gaussian and Laplacian pyramids. If you change the shape of the mask, various synthesis is possible.

multiBlending

 multiBlending(img1,img2,Mask,deep)

img1 & img2

8bit, 3-Channel Color image

Mask

8bit, 3-Channel Binary image

deep

Pyramid depth

Result

img1

apple

img2

orange

Mask

mask

result

result

getMask

getMask(img)

if your Mask Image Not binary, you can use this function to make binary Mask.

Example

Input

testMask

Output

binaryMask

Reference

https://docs.opencv.org/4.x/dc/dff/tutorial_py_pyramids.html

About

Using python, Perform Multi band blending with two images and mask

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%