pub trait DepthCleanerTraitConst: AlgorithmTraitConst {
// Required method
fn as_raw_DepthCleaner(&self) -> *const c_void;
// Provided methods
fn apply(
&self,
points: &impl ToInputArray,
depth: &mut impl ToOutputArray,
) -> Result<()> { ... }
fn initialize(&self) -> Result<()> { ... }
fn get_window_size(&self) -> Result<i32> { ... }
fn get_depth(&self) -> Result<i32> { ... }
fn get_method(&self) -> Result<i32> { ... }
}Expand description
Constant methods for crate::rgbd::DepthCleaner
Required Methods§
fn as_raw_DepthCleaner(&self) -> *const c_void
Provided Methods§
Sourcefn apply(
&self,
points: &impl ToInputArray,
depth: &mut impl ToOutputArray,
) -> Result<()>
fn apply( &self, points: &impl ToInputArray, depth: &mut impl ToOutputArray, ) -> Result<()>
Given a set of 3d points in a depth image, compute the normals at each point.
§Parameters
- points: a rows x cols x 3 matrix of CV_32F/CV64F or a rows x cols x 1 CV_U16S
- depth: a rows x cols matrix of the cleaned up depth
Sourcefn initialize(&self) -> Result<()>
fn initialize(&self) -> Result<()>
Initializes some data that is cached for later computation If that function is not called, it will be called the first time normals are computed
fn get_window_size(&self) -> Result<i32>
fn get_depth(&self) -> Result<i32>
fn get_method(&self) -> Result<i32>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.