Trait opencv_ros_camera::CameraExt
source · [−]pub trait CameraExt<R: RealField> {
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>,
DefaultAllocator: Allocator<R, NPTS, U2>;
}Expand description
Extension trait to add world_to_undistorted_pixel() method.
Required Methods
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>,
DefaultAllocator: Allocator<R, NPTS, U2>,
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>,
DefaultAllocator: Allocator<R, NPTS, U2>,
Convert 3D coordinates in the WorldFrame to undistorted pixel coordinates.