[−][src]Function opencv::ximgproc::l0_smooth
pub fn l0_smooth(
src: &dyn ToInputArray,
dst: &mut dyn ToOutputArray,
lambda: f64,
kappa: f64
) -> Result<()>
Global image smoothing via L0 gradient minimization.
Parameters
-
src: source image for filtering with unsigned 8-bit or signed 16-bit or floating-point depth.
-
dst: destination image.
-
lambda: parameter defining the smooth term weight.
-
kappa: parameter defining the increasing factor of the weight of the gradient data term.
For more details about L0 Smoother, see the original paper xu2011image.
C++ default parameters
- lambda: 0.02
- kappa: 2.0