pub trait AdaptiveManifoldFilterTrait: AlgorithmTrait + AdaptiveManifoldFilterTraitConst {
// Required method
fn as_raw_mut_AdaptiveManifoldFilter(&mut self) -> *mut c_void;
// Provided methods
fn filter(
&mut self,
src: &impl ToInputArray,
dst: &mut impl ToOutputArray,
joint: &impl ToInputArray,
) -> Result<()> { ... }
fn filter_def(
&mut self,
src: &impl ToInputArray,
dst: &mut impl ToOutputArray,
) -> Result<()> { ... }
fn collect_garbage(&mut self) -> Result<()> { ... }
fn set_sigma_s(&mut self, val: f64) -> Result<()> { ... }
fn set_sigma_r(&mut self, val: f64) -> Result<()> { ... }
fn set_tree_height(&mut self, val: i32) -> Result<()> { ... }
fn set_pca_iterations(&mut self, val: i32) -> Result<()> { ... }
fn set_adjust_outliers(&mut self, val: bool) -> Result<()> { ... }
fn set_use_rng(&mut self, val: bool) -> Result<()> { ... }
}
Expand description
Mutable methods for crate::ximgproc::AdaptiveManifoldFilter
Required Methods§
fn as_raw_mut_AdaptiveManifoldFilter(&mut self) -> *mut c_void
Provided Methods§
Sourcefn filter(
&mut self,
src: &impl ToInputArray,
dst: &mut impl ToOutputArray,
joint: &impl ToInputArray,
) -> Result<()>
fn filter( &mut self, src: &impl ToInputArray, dst: &mut impl ToOutputArray, joint: &impl ToInputArray, ) -> Result<()>
Sourcefn filter_def(
&mut self,
src: &impl ToInputArray,
dst: &mut impl ToOutputArray,
) -> Result<()>
fn filter_def( &mut self, src: &impl ToInputArray, dst: &mut impl ToOutputArray, ) -> Result<()>
Apply high-dimensional filtering using adaptive manifolds.
§Parameters
-
src: filtering image with any numbers of channels.
-
dst: output image.
-
joint: optional joint (also called as guided) image with any numbers of channels.
§Note
This alternative version of AdaptiveManifoldFilterTrait::filter function uses the following default values for its arguments:
- joint: noArray()
fn collect_garbage(&mut self) -> Result<()>
Sourcefn set_pca_iterations(&mut self, val: i32) -> Result<()>
fn set_pca_iterations(&mut self, val: i32) -> Result<()>
§See also
setPCAIterations getPCAIterations
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.