Function charbonnier_diffusivity

Function Documentation

void charbonnier_diffusivity(const cv::Mat &Lx, const cv::Mat &Ly, cv::Mat &dst, const float k)

This function computes Charbonnier conductivity coefficient gc gc = 1 / sqrt(1 + dL^2 / k^2)


For more information check the following paper: J. Weickert Applications of nonlinear diffusion in image processing and computer vision, Proceedings of Algorithmy 2000

  • Lx – First order image derivative in X-direction (horizontal)

  • Ly – First order image derivative in Y-direction (vertical)

  • dst – Output image

  • k – Contrast factor parameter