Struct realsense_rust::base::Rs2Intrinsics[][src]

pub struct Rs2Intrinsics(pub rs2_intrinsics);
Expand description

Type representing the model for describing the way that light bends in a stream.

This stores the focal length, principal point, dimensions, and distortion model used on the image frame. See the documentation for Rs2Distortion for specifics on the available distortion models for RealSense devices.

Use the function stream_profile.intrinsics() to retrieve these intrinsics from a certain stream.

Implementations

Width of the image in pixels

Height of the image in pixels

Horizontal coordinate of the principal point of the image, as a pixel offset from the left edge

Vertical coordinate of the principal point of the image, as a pixel offset from the top edge

Focal length of the image plane, as a multiple of pixel width

Focal length of the image plane, as a multiple of pixel height

Distortion model and coefficients of the image

Trait Implementations

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.