Skip to main content

project_pixel

Function project_pixel 

Source
pub fn project_pixel(
    system: &FlydraMultiCameraSystem<f64>,
    cam_name: &str,
    width: usize,
    height: usize,
    pt: &PointWorldFrame<f64>,
) -> Option<(f64, f64)>
Expand description

Project a 3D point into a single named camera, returning the pixel (x, y) or None if the camera is unknown or the point lands outside a width x height image.