Struct opencv::viz::WCameraPosition [−][src]
pub struct WCameraPosition { /* fields omitted */ }
Expand description
This 3D Widget represents camera position in a scene by its axes or viewing frustum. :
Implementations
Display the viewing frustum
Parameters
- K: Intrinsic matrix of the camera.
- scale: Scale of the frustum.
- color: Color of the frustum.
Creates viewing frustum of the camera based on its intrinsic matrix K.
C++ default parameters
- scale: 1.0
- color: Color::white()
Display the viewing frustum
Parameters
- fov: Field of view of the camera (horizontal, vertical).
- scale: Scale of the frustum.
- color: Color of the frustum.
Creates viewing frustum of the camera based on its field of view fov.
C++ default parameters
- scale: 1.0
- color: Color::white()
pub fn new_3(
k: Matx33d,
image: &dyn ToInputArray,
scale: f64,
color: &Color
) -> Result<WCameraPosition>
pub fn new_3(
k: Matx33d,
image: &dyn ToInputArray,
scale: f64,
color: &Color
) -> Result<WCameraPosition>
Display image on the far plane of the viewing frustum
Parameters
- K: Intrinsic matrix of the camera.
- image: BGR or Gray-Scale image that is going to be displayed on the far plane of the frustum.
- scale: Scale of the frustum and image.
- color: Color of the frustum.
Creates viewing frustum of the camera based on its intrinsic matrix K, and displays image on the far end plane.
C++ default parameters
- scale: 1.0
- color: Color::white()
pub fn new_4(
fov: Vec2d,
image: &dyn ToInputArray,
scale: f64,
color: &Color
) -> Result<WCameraPosition>
pub fn new_4(
fov: Vec2d,
image: &dyn ToInputArray,
scale: f64,
color: &Color
) -> Result<WCameraPosition>
Display image on the far plane of the viewing frustum
Parameters
- fov: Field of view of the camera (horizontal, vertical).
- image: BGR or Gray-Scale image that is going to be displayed on the far plane of the frustum.
- scale: Scale of the frustum and image.
- color: Color of the frustum.
Creates viewing frustum of the camera based on its intrinsic matrix K, and displays image on the far end plane.
C++ default parameters
- scale: 1.0
- color: Color::white()
Trait Implementations
Performs the conversion.
Performs the conversion.