Overlay binary image on RGB image
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
SBakc
am 26 Sep. 2019
Verschoben: DGM
am 12 Jun. 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 Kommentar
SATYA VENKATA TEJASWI DODDA
am 16 Jun. 2021
Verschoben: DGM
am 12 Jun. 2024
Can anyone tell me the puprpose of image overlaying
Akzeptierte Antwort
KALYAN ACHARJYA
am 26 Sep. 2019
Bearbeitet: KALYAN ACHARJYA
am 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
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/239933/image.png)
0 Kommentare
Weitere Antworten (0)
Siehe auch
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!