IMSHEAR2
Image shearing with slope s
Contents
DESCRIPTION
IMGOUT = IMSHEAR2(I,S)
double the size of the image by
symmetrical zero padding
and then shear the image with slope S.
Input
I - Image
s - slope
Ouput
imgOut - Output sheared image with size doubleEXAMPLE
img = zeros(256);
img(129,:) = 1;
imgS = imShear2(img,0.5);
figure(1);
subplot(1,2,1), imshow(img);
subplot(1,2,2), imshow(imgS);
See also
Copyright
Copyright (C) 2011. Xiaosheng Zhuang, University of Osnabrueck