[−][src]Trait cv::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.
t
the translation vector that needs to be scaleda
the source point which is relative to the camera (seeCameraPoint
)b
the destination bearingO
the optical center@
the virtual image plane
t<---a
^ /
| /
@@@b@@@/@@@@@
| /
| /
|/
O
Required methods
fn triangulate_project<B>(
&self,
from: CameraPoint,
onto: B,
translation: Matrix<f64, U3, U1, <DefaultAllocator as Allocator<f64, U3, U1>>::Buffer>
) -> Option<f64> where
B: Bearing,
&self,
from: CameraPoint,
onto: B,
translation: Matrix<f64, U3, U1, <DefaultAllocator as Allocator<f64, U3, U1>>::Buffer>
) -> Option<f64> where
B: Bearing,
Implementors
impl TriangulatorProject for BearingIntersectionTriangulator
[src]
fn triangulate_project<B>(
&self,
from: CameraPoint,
onto: B,
translation: Matrix<f64, U3, U1, <DefaultAllocator as Allocator<f64, U3, U1>>::Buffer>
) -> Option<f64> where
B: Bearing,
[src]
&self,
from: CameraPoint,
onto: B,
translation: Matrix<f64, U3, U1, <DefaultAllocator as Allocator<f64, U3, U1>>::Buffer>
) -> Option<f64> where
B: Bearing,
impl TriangulatorProject for BearingMinimizeReprojectionErrorTriangulator
[src]
fn triangulate_project<B>(
&self,
from: CameraPoint,
onto: B,
translation: Matrix<f64, U3, U1, <DefaultAllocator as Allocator<f64, U3, U1>>::Buffer>
) -> Option<f64> where
B: Bearing,
[src]
&self,
from: CameraPoint,
onto: B,
translation: Matrix<f64, U3, U1, <DefaultAllocator as Allocator<f64, U3, U1>>::Buffer>
) -> Option<f64> where
B: Bearing,
impl<T> TriangulatorProject for T where
T: TriangulatorRelative,
[src]
T: TriangulatorRelative,