A=imread('kytka256.jpg');
An= 255-A;%if image is type of uint8
%or
An=imcomplement(A);
imshow(An)
Something is wrong? Let us know right here