how to xor image to 255 value?
조회 수: 8 (최근 30일)
이전 댓글 표시
Hai, aa= imread('lena.bmp')
next how i xor the 'aa' to value 255?
aa xor 255
댓글 수: 2
juveria fatima
2018년 9월 1일
how can xor first pixel with second and second with third and so on (for binary image)
채택된 답변
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
추가 답변 (0개)
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!