How to overlap edges from different images?

조회 수: 1 (최근 30일)
Francesco Pignatelli
Francesco Pignatelli 2022년 7월 28일
댓글: Francesco Pignatelli 2022년 7월 29일
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일

추가 답변 (0개)

제품


릴리스

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by