Overlay binary image on RGB image

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 comentario

SATYA VENKATA TEJASWI DODDA
SATYA VENKATA TEJASWI DODDA el 16 de Jun. de 2021
Movida: DGM el 12 de Jun. de 2024
Can anyone tell me the puprpose of image overlaying

Iniciar sesión para comentar.

 Respuesta aceptada

KALYAN ACHARJYA
KALYAN ACHARJYA el 26 de Sept. de 2019
Editada: KALYAN ACHARJYA el 26 de Sept. de 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

Más respuestas (0)

Categorías

Más información sobre Image Processing Toolbox en Centro de ayuda y File Exchange.

Etiquetas

Preguntada:

el 26 de Sept. de 2019

Movida:

DGM
el 12 de Jun. de 2024

Community Treasure Hunt

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

Start Hunting!

Translated by