Azzera filtri
Azzera filtri

How to combine images (just overlap all paixels)

2 visualizzazioni (ultimi 30 giorni)
I need to overlap 4 images to yield a final single image to find the image edge.
I have only binary images. Do we have any built in functions for it?
Please help me find out the correct method.

Risposta accettata

Image Analyst
Image Analyst il 21 Apr 2013
Modificato: Image Analyst il 21 Apr 2013
Yes, you can use imshowpair(), or imfuse() - functions included in the Image Processing Toolbox.
Or, you can simply AND or OR the binary images together:
unionBlobs = bw1 | bw2 | bw3 | bw4;
intersectionBlobs = bw1 & bw2 & bw3 & bw4;
  2 Commenti
sgb
sgb il 22 Apr 2013
Modificato: sgb il 22 Apr 2013
Yes i got it Thank you
But can you please solve another doubt for me which is how can we EX-OR the images
Image Analyst
Image Analyst il 22 Apr 2013
From the help:
xor
Logical exclusive-OR
Syntax
C = xor(A, B)

Accedi per commentare.

Più risposte (0)

Community Treasure Hunt

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

Start Hunting!

Translated by