Trait FastBilateralSolverFilterTrait

Source
pub trait FastBilateralSolverFilterTrait: AlgorithmTrait + FastBilateralSolverFilterTraitConst {
    // Required method
    fn as_raw_mut_FastBilateralSolverFilter(&mut self) -> *mut c_void;

    // Provided method
    fn filter(
        &mut self,
        src: &impl ToInputArray,
        confidence: &impl ToInputArray,
        dst: &mut impl ToOutputArray,
    ) -> Result<()> { ... }
}
Expand description

Required Methods§

Provided Methods§

Source

fn filter( &mut self, src: &impl ToInputArray, confidence: &impl ToInputArray, dst: &mut impl ToOutputArray, ) -> Result<()>

Apply smoothing operation to the source image.

§Parameters
  • src: source image for filtering with unsigned 8-bit or signed 16-bit or floating-point 32-bit depth and up to 3 channels.

  • confidence: confidence image with unsigned 8-bit or floating-point 32-bit confidence and 1 channel.

  • dst: destination image.

Note: Confidence images with CV_8U depth are expected to in [0, 255] and CV_32F in [0, 1] range.

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.

Implementors§