Overlay binary image on RGB image
2 次查看(过去 30 天)
显示 更早的评论
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 个评论
SATYA VENKATA TEJASWI DODDA
2021-6-16
移动:DGM
2024-6-12
Can anyone tell me the puprpose of image overlaying
采纳的回答
KALYAN ACHARJYA
2019-9-26
编辑:KALYAN ACHARJYA
2019-9-26
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 个评论
更多回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!