[ New messages · Members · Forum rules · Search · RSS ]
  • Page 1 of 1
  • 1
Negative of Image
dksDate: Friday, 16 August 13, 3:57 PM | Message # 1
New Lit
Group: Friends
Messages: 4
Status: Offline
I=imread('C:\Users\Documents\MATLAB\image\1.jpg');
imshow(I);
for k=1:196
    for j=1:257
        m(k,j)=255-I(k,j);
    end
end
figure,
imshow(m);
 
  • Page 1 of 1
  • 1
Search: