Azzera filtri
Azzera filtri

Overlay binary image on RGB image

5 visualizzazioni (ultimi 30 giorni)
SBakc
SBakc il 26 Set 2019
Spostato: DGM il 12 Giu 2024
I would like to overlay the white regions of a binary image onto an RGB image. Is this possible? What about overlaying the black regions?
  1 Commento
SATYA VENKATA TEJASWI DODDA
Spostato: DGM il 12 Giu 2024
Can anyone tell me the puprpose of image overlaying

Accedi per commentare.

Risposta accettata

KALYAN ACHARJYA
KALYAN ACHARJYA il 26 Set 2019
Modificato: KALYAN ACHARJYA il 26 Set 2019
Is this?
RGB_image=imread('image_test.jpg');
subplot(311);imshow(RGB_image);
bw_image=im2bw(rgb2gray(RGB_image));
subplot(312);imshow(bw_image);
result=imfuse(RGB_image,bw_image);
subplot(313);imshow(result);
Detail documentation here

Più risposte (0)

Community Treasure Hunt

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

Start Hunting!

Translated by