Pyramid Blending with Single input and Non-Vertical Boundary

asked 2018-10-03 19:57:13 -0600

jkjk24 gravatar image

updated 2018-10-03 20:06:02 -0600

Hi All,

Here is the input image. image description

Say you do not have the other half of the images. Is it still possible to do with Laplacian pyramid blending?

I tried stuffing the image directly into the algorithm. I put weights as opposite triangles. The result comes out the same as the input. My another guess is splitting the triangles. Do gaussian and Laplacian pyramid on each separately, and then merge them.

But the challenge is how do we apply Laplacian matrix on triangular data. What do we fill on the missing half? I tried 0. It made the boundary very bright.

If pyramid blending is not the best approach for this. What other methods do you recommend me to look into for blending?

Any help is much appreciated!

edit retag flag offensive close merge delete

Comments

the answer is YES. what you need is pyrdown the images and lineblend them at each pyramid

jsxyhelu gravatar imagejsxyhelu ( 2018-10-06 17:14:17 -0600 )edit

Thank you for your comment. I tried doing that (explained by my 2nd paragraph). The output is the same as the original image. Please note where I want to merge is NOT vertical. So I do not get what you meant by "line blend".

jkjk24 gravatar imagejkjk24 ( 2018-10-06 17:17:50 -0600 )edit

sorry for my early comment,today ,i did some experiment and find it is really hard to the blend. BTW ,I tried "Poisson clone" also,it failed too.

jsxyhelu gravatar imagejsxyhelu ( 2018-10-09 02:49:06 -0600 )edit

Thanks for your input. I am new in this field, so I am not sure if any existing blending algorithm would fit in this case.

jkjk24 gravatar imagejkjk24 ( 2018-10-09 13:11:25 -0600 )edit

thai's all right!

jsxyhelu gravatar imagejsxyhelu ( 2018-10-17 08:59:17 -0600 )edit