Reputation: 31
I want to know angle between camera and point in the image. is it possible to calculate? if yes then can i relate this angle with angle of triangle. thanks
Upvotes: 0
Views: 1473
Reputation: 10329
As I mentioned in response to your other question if your camera is calibrated, you can define the slope of a ray in world space corresponding to any point in the image. You can find the angle between that ray and the image plane which does not necessarily correspond to any plane in world space. You want to know the angle between that ray and an unknown plane however which cannot be done without depth information. Consider this ambiguity.
1
|\
| \
| \
| \
-----
2
|\
| \
| \
| \
\ \
\ \
\ \
\ \
\\
The rays extending from the camera in 1 and 2 are identical. In 2 however one ray extends farther than the other meaning the bottom left and right angles change dramatically.
Upvotes: 1