Projective Geometry 실습
Class 1 : Euclidean Transformation
a = rgb2gray(imread('image.png')); [x_size, y_size] = size(a); R = [e*cos(theta) -sin(theta) ; e*sin(theta) cos(theta)]; t = [tx ty].'; V0 = [0 0]; H = [R t ; V0 1]; for xv1 = 1 : x_size; for yv1 = 1 : y_size; v = round(H*[xv1 yv1 1].'); b(v(1),v(2)) = a(xv1,yv1); end end |
R = [s1*cos(theta) -s2*sin(theta) ; s1*sin(theta) s2*cos(theta)]; |
% Define Shearing Matrix S = [1 Sx;Sy 1]; R = [s1*cos(theta) -s2*sin(theta) ; s1*sin(theta) s2*cos(theta)]; R = S*R; ![]() Shearing을 왼쪽과 같이 나타냄. ![]() |
...
댓글남기기