Trait opencv::prelude::FastBilateralSolverFilter
source · pub trait FastBilateralSolverFilter: AlgorithmTrait + FastBilateralSolverFilterConst {
// Required method
fn as_raw_mut_FastBilateralSolverFilter(&mut self) -> *mut c_void;
// Provided method
fn filter(
&mut self,
src: &dyn ToInputArray,
confidence: &dyn ToInputArray,
dst: &mut dyn ToOutputArray
) -> Result<()> { ... }
}
Expand description
Interface for implementations of Fast Bilateral Solver.
For more details about this solver see BarronPoole2016 .
Required Methods§
fn as_raw_mut_FastBilateralSolverFilter(&mut self) -> *mut c_void
Provided Methods§
sourcefn filter(
&mut self,
src: &dyn ToInputArray,
confidence: &dyn ToInputArray,
dst: &mut dyn ToOutputArray
) -> Result<()>
fn filter( &mut self, src: &dyn ToInputArray, confidence: &dyn ToInputArray, dst: &mut dyn 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.