UVA Solution
Programming Contest Problems and Solutions
Sunday, April 10, 2016
Matlab: black white negetive by imcomplement
%black white negetive by imcomplement
close all;
clear all;
aa=imread('ranahamid.jpg');
a=im2bw(aa);
b=imcomplement(a);
figure()
imshow(a)
figure()
imshow(b)
imwrite(b,'b.jpg');
Newer Post
Older Post
Home