Baba Bouncer
Thursday, October 25, 2012
Matlab Code For Power Law Transformation
%Power law
a=imread('cameraman.tif');
subplot(1,2,1);
imshow(a);
[m,n]=size(a);
for i=1:m-1
for j=1:n-1
s(i,j)=a(i,j).^4;
end;
end;
subplot(1,2,2);
imshow(a);
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment