how to merge (stitch) 2 images without black points in opencv c++

asked 2019-09-17 04:08:56 -0500

hddsdd gravatar image

I have 2 images and when I stitch them, there'll be some black area in the result image. I'll share the images. so how can I stitch them without black area.

I have a homography matrix and I stitch them using ROI.

But I have search about "seamless clone" in opencv, but I don't yet know it'll helpful for me. I need advice. images: https://ibb.co/njb9Q1V https://ibb.co/bQ9Yn8k

result image: https://ibb.co/BNFZXhM

I want like that: https://ibb.co/41yj2KQ

edit retag flag offensive close merge delete

Comments

you can use stitching module

LBerger gravatar imageLBerger ( 2019-09-17 04:13:12 -0500 )edit