Effacer les filtres
Effacer les filtres

how to xor image to 255 value?

8 vues (au cours des 30 derniers jours)
ARJUN K P
ARJUN K P le 3 Jan 2016
Commenté : Image Analyst le 1 Sep 2018
Hai, aa= imread('lena.bmp')
next how i xor the 'aa' to value 255?
aa xor 255
  2 commentaires
juveria fatima
juveria fatima le 1 Sep 2018
how can xor first pixel with second and second with third and so on (for binary image)
Image Analyst
Image Analyst le 1 Sep 2018
juveria, you've already accepted an answer to that here in this link

Connectez-vous pour commenter.

Réponse acceptée

Image Analyst
Image Analyst le 3 Jan 2016
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)

Plus de réponses (0)

Community Treasure Hunt

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

Start Hunting!

Translated by