Overlay binary image on RGB image

조회 수: 3 (최근 30일)
SBakc
SBakc 2019년 9월 26일
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?

채택된 답변

KALYAN ACHARJYA
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

추가 답변 (1개)

SATYA VENKATA TEJASWI DODDA
SATYA VENKATA TEJASWI DODDA 2021년 6월 16일
Can anyone tell me the puprpose of image overlaying

Community Treasure Hunt

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

Start Hunting!

Translated by