[−][src]Trait realsense_rust::frame::VideoFrame
The trait provides methods on frames with video data.
Provided methods
fn resolution(&self) -> RsResult<Resolution>
Gets image resolution.
fn width(&self) -> RsResult<usize>
Gets image width in pixels.
fn height(&self) -> RsResult<usize>
Gets image height in pixels.
fn stride_in_bytes(&self) -> RsResult<usize>
Gets image row stride in bytes.
fn bits_per_pixel(&self) -> RsResult<usize>
Gets the size of pixel in bits.
fn image(&self) -> RsResult<Rs2Image>
Gets color image buffer referencing underlying raw data.