imagehomog not working for the image
Closed this issue · 1 comments
Addhi86 commented
Hello
I am trying to use imagehomog
function from the toolbox but unfortunately, i am not getting the correct output
here is my code
im = imread('cameraman.tif');
n = [0;0;-1];
d = Inf
theta = 60*pi/180;
R = [ 1 1 0 ;
0 cos(theta) -sin(theta);
0 sin(theta) cos(theta)];
t = [0;0;0];
K=[300 0 0;
0 300 0;
0 0 1];
H=K*R/K-1/d*K*t*n'*K;
img=imagehomog((im),H','c');
figure;imshow(img)
Can you please suggest me how can i fix it?
YouriT commented
Sorry but I haven't went into this project for more that 3years and it was a study project, hence I'm not maintaining it.