pub trait GuidedFilterTrait: AlgorithmTrait + GuidedFilterTraitConst {
// Required method
fn as_raw_mut_GuidedFilter(&mut self) -> *mut c_void;
// Provided methods
fn filter(
&mut self,
src: &impl ToInputArray,
dst: &mut impl ToOutputArray,
d_depth: i32,
) -> Result<()> { ... }
fn filter_def(
&mut self,
src: &impl ToInputArray,
dst: &mut impl ToOutputArray,
) -> Result<()> { ... }
}
Expand description
Mutable methods for crate::ximgproc::GuidedFilter
Required Methods§
fn as_raw_mut_GuidedFilter(&mut self) -> *mut c_void
Provided Methods§
sourcefn filter(
&mut self,
src: &impl ToInputArray,
dst: &mut impl ToOutputArray,
d_depth: i32,
) -> Result<()>
fn filter( &mut self, src: &impl ToInputArray, dst: &mut impl ToOutputArray, d_depth: i32, ) -> 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 (Fast) Guided Filter to the filtering image.
§Parameters
-
src: filtering image with any numbers of channels.
-
dst: output image.
-
dDepth: optional depth of the output image. dDepth can be set to -1, which will be equivalent to src.depth().
§Note
This alternative version of GuidedFilterTrait::filter function uses the following default values for its arguments:
- d_depth: -1
Object Safety§
This trait is not object safe.