採用された回答

Stephan
Stephan 2019 年 12 月 3 日
編集済み: Stephan 2019 年 12 月 3 日

1 投票

I = fliplr(imread('cameraman.tif'));
I1 = triu((I),1);
I2 = tril(imcomplement(I));
I_res = fliplr(I1+I2);
imshow(I_res)
BTW: Did you notice that you can accept and/or vote for useful answers?

1 件のコメント

Sadeq Ebrahimi
Sadeq Ebrahimi 2019 年 12 月 3 日
Thank you very much, I've been stuck with this problem for weeks

サインインしてコメントする。

その他の回答 (1 件)

Sushmita Dey
Sushmita Dey 2020 年 4 月 3 日

0 投票

I=imread('https://picload.files.wordpress.com/2014/02/blissful-nature-rain-n-flower.jpg');
J=imcomplement(I);
imshow(I,J,'montage')
title('complement of image')

カテゴリ

ヘルプ センター および File ExchangeModify Image Colors についてさらに検索

質問済み:

2019 年 12 月 3 日

回答済み:

2020 年 4 月 3 日

Community Treasure Hunt

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

Start Hunting!

Translated by