how to merge two images of different file types?

1 view (last 30 days)
I want to merge the top two image files to make the one at the bottom.
But no idea how to write up the script. Please help!

Accepted Answer

KSSV
KSSV on 14 Feb 2019
Edited: KSSV on 14 Feb 2019
It can be done:
  1. Read the image 1 say I1
  2. Read the image 2 say I2
  3. Get both I1, I2 to same size using imresize, if they are of not same size
  4. From second image get positions of black region..with this is mask the first image.
  2 Comments
Soon  Lee
Soon Lee on 14 Feb 2019
Thank you.
The two images have equal sizes. Do you by any chance know the exact script for doing step 4?

Sign in to comment.

More Answers (0)

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!