Overlay binary image on RGB image

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 日

0 投票

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 件)

カテゴリ

ヘルプ センター および File ExchangeImage Processing Toolbox についてさらに検索

質問済み:

2019 年 9 月 26 日

移動済み:

DGM
2024 年 6 月 12 日

Community Treasure Hunt

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

Start Hunting!

Translated by