Trait opencv_ros_camera::CameraExt

source ·
pub trait CameraExt<R: RealField> {
    // Required method
    fn world_to_undistorted_pixel<NPTS, InStorage>(
        &self,
        world: &Points<WorldFrame, R, NPTS, InStorage>
    ) -> UndistortedPixels<R, NPTS, Owned<R, NPTS, U2>>
       where NPTS: Dim,
             InStorage: Storage<R, NPTS, U3>,
             DefaultAllocator: Allocator<R, NPTS, U3> + Allocator<R, NPTS, U2>;
}
Expand description

Extension trait to add world_to_undistorted_pixel() method.

Required Methods§

source

fn world_to_undistorted_pixel<NPTS, InStorage>( &self, world: &Points<WorldFrame, R, NPTS, InStorage> ) -> UndistortedPixels<R, NPTS, Owned<R, NPTS, U2>>
where NPTS: Dim, InStorage: Storage<R, NPTS, U3>, DefaultAllocator: Allocator<R, NPTS, U3> + Allocator<R, NPTS, U2>,

Convert 3D coordinates in the WorldFrame to undistorted pixel coordinates.

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl<R: RealField> CameraExt<R> for Camera<R, RosOpenCvIntrinsics<R>>

source§

fn world_to_undistorted_pixel<NPTS, InStorage>( &self, world: &Points<WorldFrame, R, NPTS, InStorage> ) -> UndistortedPixels<R, NPTS, Owned<R, NPTS, U2>>
where NPTS: Dim, InStorage: Storage<R, NPTS, U3>, DefaultAllocator: Allocator<R, NPTS, U3> + Allocator<R, NPTS, U2>,

Implementors§