[−][src]Trait cv_core::TriangulatorProject
This trait allows you to project the point a onto the bearing b by only scaling a translation vector t.
The returned value is the amout to scale t by to achieve the triangulation.
All inputs share the same origin (optical center). Below is a visualization of the problem.
tthe translation vector that needs to be scaledathe source point which is relative to the camera (seeCameraPoint)bthe destination bearingOthe optical center@the virtual image plane
t<---a
^ /
| /
@@@b@@@/@@@@@
| /
| /
|/
O
Required methods
fn triangulate_project<B: Bearing>(
&self,
from: CameraPoint,
onto: B,
translation: Vector3<f64>
) -> Option<f64>
&self,
from: CameraPoint,
onto: B,
translation: Vector3<f64>
) -> Option<f64>
Implementors
impl<T> TriangulatorProject for T where
T: TriangulatorRelative, [src]
T: TriangulatorRelative,
fn triangulate_project<B: Bearing>(
&self,
from: CameraPoint,
onto: B,
translation: Vector3<f64>
) -> Option<f64>[src]
&self,
from: CameraPoint,
onto: B,
translation: Vector3<f64>
) -> Option<f64>