Overlay binary image on RGB image

18 vues (au cours des 30 derniers jours)
SBakc
SBakc le 26 Sep 2019
Déplacé(e) : DGM le 12 Juin 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 commentaire
SATYA VENKATA TEJASWI DODDA
SATYA VENKATA TEJASWI DODDA le 16 Juin 2021
Déplacé(e) : DGM le 12 Juin 2024
Can anyone tell me the puprpose of image overlaying

Connectez-vous pour commenter.

Réponse acceptée

KALYAN ACHARJYA
KALYAN ACHARJYA le 26 Sep 2019
Modifié(e) : KALYAN ACHARJYA le 26 Sep 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

Plus de réponses (0)

Catégories

En savoir plus sur Image Processing Toolbox dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by