Struct rubullet::Images [−][src]
pub struct Images { pub width: usize, pub height: usize, pub rgba: RgbaImage, pub depth: ImageBuffer<Luma<f32>, Vec<f32>>, pub segmentation: ImageBuffer<Luma<i32>, Vec<i32>>, }
Expand description
Stores the images from get_camera_image()
Fields
width: usize
width image resolution in pixels (horizontal)
height: usize
height image resolution in pixels (vertical)
rgba: RgbaImage
RGB image with additional alpha channel
depth: ImageBuffer<Luma<f32>, Vec<f32>>
Depth image. Every pixel represents a distance in meters
segmentation: ImageBuffer<Luma<i32>, Vec<i32>>
Segmentation image. Every pixel represents a unique BodyId
Auto Trait Implementations
impl RefUnwindSafe for Images
impl UnwindSafe for Images
Blanket Implementations
Mutably borrows from an owned value. Read more
type Output = T
type Output = T
Should always be Self
The inverse inclusion map: attempts to construct self
from the equivalent element of its
superset. Read more
pub fn is_in_subset(&self) -> bool
pub fn is_in_subset(&self) -> bool
Checks if self
is actually part of its subset T
(and can be converted to it).
pub fn to_subset_unchecked(&self) -> SS
pub fn to_subset_unchecked(&self) -> SS
Use with care! Same as self.to_subset
but without any property checks. Always succeeds.
pub fn from_subset(element: &SS) -> SP
pub fn from_subset(element: &SS) -> SP
The inclusion map: converts self
to the equivalent element of its superset.
pub fn vzip(self) -> V