フィルターのクリア

how to xor image to 255 value?

8 ビュー (過去 30 日間)
ARJUN K P
ARJUN K P 2016 年 1 月 3 日
コメント済み: Image Analyst 2018 年 9 月 1 日
Hai, aa= imread('lena.bmp')
next how i xor the 'aa' to value 255?
aa xor 255
  2 件のコメント
juveria fatima
juveria fatima 2018 年 9 月 1 日
how can xor first pixel with second and second with third and so on (for binary image)
Image Analyst
Image Analyst 2018 年 9 月 1 日
juveria, you've already accepted an answer to that here in this link

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

採用された回答

Image Analyst
Image Analyst 2016 年 1 月 3 日
Did you try the xor() function?
grayImage = imread('moon.tif');
subplot(1,2,1);
imshow(grayImage);
output = xor(grayImage, 255);
subplot(1,2,2);
imshow(output)

その他の回答 (0 件)

Community Treasure Hunt

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

Start Hunting!

Translated by