how we could add upper border to an image?
A:
If 'a' contains image:
[m,n] = size(a);
b=zeros(m+1,n);
for i=1:m
for j=1:n
b(i+1,j)=a(i,j);
end
end
imshow(b);
ashish chittora
2010-08-08 14:28:18