Overlay binary image on RGB image

조회 수: 18 (최근 30일)
SBakc
SBakc 2019년 9월 26일
이동: DGM 2024년 6월 12일
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
SATYA VENKATA TEJASWI DODDA 2021년 6월 16일
이동: DGM 2024년 6월 12일
Can anyone tell me the puprpose of image overlaying

댓글을 달려면 로그인하십시오.

채택된 답변

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

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Image Processing Toolbox에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by