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 Center および File ExchangeImage Processing Toolbox についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by