opencv::prelude

Trait GuidedFilterTrait

source
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§

Provided Methods§

source

fn filter( &mut self, src: &impl ToInputArray, dst: &mut impl ToOutputArray, d_depth: i32, ) -> 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().

§C++ default parameters
  • d_depth: -1
source

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.

Implementors§