pub struct DecimationFilter { /* private fields */ }Expand description
Decimation Filter
This filter reduces the resolution of the depth frame by an integer factor.
Implementations§
Source§impl DecimationFilter
impl DecimationFilter
Sourcepub fn new() -> Result<Self, OrbbecError>
pub fn new() -> Result<Self, OrbbecError>
Create a new decimation filter.
Sourcepub fn set_factor(&mut self, factor: u8) -> Result<(), OrbbecError>
pub fn set_factor(&mut self, factor: u8) -> Result<(), OrbbecError>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for DecimationFilter
impl RefUnwindSafe for DecimationFilter
impl !Send for DecimationFilter
impl !Sync for DecimationFilter
impl Unpin for DecimationFilter
impl UnwindSafe for DecimationFilter
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more