Function nld_step_scalar

Function Documentation

void nld_step_scalar(cv::Mat &Ld, const cv::Mat &c, cv::Mat &Lstep, const float stepsize)

This function performs a scalar non-linear diffusion step.


Forward Euler Scheme 3x3 stencil The function c is a scalar value that depends on the gradient norm dL_by_ds = d(c dL_by_dx)_by_dx + d(c dL_by_dy)_by_dy

  • Ld – Output image in the evolution

  • c – Conductivity image

  • Lstep – Previous image in the evolution

  • stepsize – The step size in time units