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

ideal focal_lenth为什么是图像尺寸的平方根? #1

Open
cvchanghao opened this issue Jan 14, 2021 · 0 comments
Open

ideal focal_lenth为什么是图像尺寸的平方根? #1

cvchanghao opened this issue Jan 14, 2021 · 0 comments

Comments

@cvchanghao
Copy link

你好,感谢你的代码!
d = np.sqrt(self.height**2 + self.width**2) self.focal = d / (2 * np.sin(rgamma) if np.sin(rgamma) != 0 else 1)
这一段是为什么呢?
另外为什么要加一个T,给图像一个z向的平移dz呢?

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