pub trait DTFilterTrait: AlgorithmTrait + DTFilterTraitConst {
// Required method
fn as_raw_mut_DTFilter(&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::DTFilter
Required Methods§
fn as_raw_mut_DTFilter(&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<()>
Produce domain transform filtering operation on source image.
§Parameters
-
src: filtering image with unsigned 8-bit or floating-point 32-bit depth and up to 4 channels.
-
dst: destination image.
-
dDepth: optional depth of the output image. dDepth can be set to -1, which will be equivalent to src.depth().
§C++ default parameters
- d_depth: -1
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<()>
Produce domain transform filtering operation on source image.
§Parameters
-
src: filtering image with unsigned 8-bit or floating-point 32-bit depth and up to 4 channels.
-
dst: destination 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 DTFilterTrait::filter function uses the following default values for its arguments:
- d_depth: -1
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.