Borrar filtros
Borrar filtros

how to xor image to 255 value?

8 visualizaciones (últimos 30 días)
ARJUN K P
ARJUN K P el 3 de En. de 2016
Comentada: Image Analyst el 1 de Sept. de 2018
Hai, aa= imread('lena.bmp')
next how i xor the 'aa' to value 255?
aa xor 255
  2 comentarios
juveria fatima
juveria fatima el 1 de Sept. de 2018
how can xor first pixel with second and second with third and so on (for binary image)
Image Analyst
Image Analyst el 1 de Sept. de 2018
juveria, you've already accepted an answer to that here in this link

Iniciar sesión para comentar.

Respuesta aceptada

Image Analyst
Image Analyst el 3 de En. de 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)

Más respuestas (0)

Community Treasure Hunt

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

Start Hunting!

Translated by