how to xor image to 255 value?
    9 views (last 30 days)
  
       Show older comments
    
Hai, aa= imread('lena.bmp')
next how i xor the 'aa' to value 255?
aa xor 255
2 Comments
  juveria fatima
 on 1 Sep 2018
				how can xor first pixel with second and second with third and so on (for binary image)
Accepted Answer
  Image Analyst
      
      
 on 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)
0 Comments
More Answers (0)
See Also
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

