combine the 2 binary images

I have 2 images that are the binary same size, M.jpg and N.jpg. I want to combine the 2 images into Z.jpg as shown. How do I write programs with matlab? Thanks.
aree.supha@gmail.com
images1.bmp

 Risposta accettata

KALYAN ACHARJYA
KALYAN ACHARJYA il 1 Ago 2019
Modificato: KALYAN ACHARJYA il 1 Ago 2019
Z=M & N; %Preferred
or
Z=and(M,N);

Più risposte (0)

Categorie

Community Treasure Hunt

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

Start Hunting!

Translated by