How to overlap edges from different images?

2 views (last 30 days)
Hello all,
I have a series of picture from which I have successfully extracted the edge. Now I want to superimpose all the edges but everytime I plot a new figure on the sequence, the new one substitues the old one. For example in my time sequence I have the following as first:
while the second one is:
and when I run my script for these 2 pictures I only have the second one
I have tried with the hold on option but it does not work.
Any suggestion?
  2 Comments
Jonas
Jonas on 28 Jul 2022
if your edge images are binary and a edge is 1, try
imagesc(im1 | im2)
or imagesc(im1+im2)
Francesco Pignatelli
Francesco Pignatelli on 29 Jul 2022
Hello Jonas,
thank you for your suggestion. Unfortunately, I do not think it is the best way to handle my 1000 images.
Thank you anyway :)

Sign in to comment.

Accepted Answer

Image Analyst
Image Analyst on 28 Jul 2022

More Answers (0)

Products


Release

R2018b

Community Treasure Hunt

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

Start Hunting!