How to overlap edges from different images?

2 次查看(过去 30 天)
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 个评论
Jonas
Jonas 2022-7-28
if your edge images are binary and a edge is 1, try
imagesc(im1 | im2)
or imagesc(im1+im2)
Francesco Pignatelli
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 :)

请先登录,再进行评论。

采纳的回答

Image Analyst
Image Analyst 2022-7-28

更多回答(0 个)

产品


版本

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by