Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question about pij in formula (3) #11

Closed
FocusK opened this issue Apr 5, 2020 · 0 comments
Closed

Question about pij in formula (3) #11

FocusK opened this issue Apr 5, 2020 · 0 comments

Comments

@FocusK
Copy link

FocusK commented Apr 5, 2020

I am so sorry to trouble you again. I am not understand the code below.
According to the paper,I know rays is pij = [i j d],rays[0] is corresponding to i, rays[1] is corresponding to j, … but I can't know the role of K and c_x, c_y. As you say in the paper, i and j are integer in the range [- (r-1)/2, (r-1)/2]. So why do you need to multiply inv_K and rays.
Another, the value of c_x and c_y is always 0?
c_x = 0 c_y = 0 K = np.array([[d,0,c_x],[0,d,c_y],[0,0,1]]) inv_K = np.linalg.inv(K) rays = np.matmul(inv_K, rays.reshape(3,r_h*r_w))

@FocusK FocusK closed this as completed Apr 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant