How to overlap edges from different images?

2 ビュー (過去 30 日間)
Francesco Pignatelli
Francesco Pignatelli 2022 年 7 月 28 日
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
Francesco Pignatelli 2022 年 7 月 29 日
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 日
  1 件のコメント
Francesco Pignatelli
Francesco Pignatelli 2022 年 7 月 29 日
It worked. Thank you @Image Analyst :)

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeImage Processing Toolbox についてさらに検索

製品


リリース

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by