xor value always get zero
古いコメントを表示
img=img('lena.bmp');
i=10;
j=10;
img(i,j)
the result is 158
after i xor with 255
xor(img(i,j),255)
the result is wrong... always get zero...
how to get correct xored value?
1 件のコメント
the cyclist
2016 年 2 月 10 日
I don't think I would say that the result is wrong. I would say that the xor function doesn't do what you think it does.
Can you tell us what you need your function to actually do?
採用された回答
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Image Processing Toolbox についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!