Function pm_g1¶
Defined in File nldiffusion_functions.h
Function Documentation¶
-
void pm_g1(const cv::Mat &Lx, const cv::Mat &Ly, cv::Mat &dst, const float k)¶
This function computes the Perona and Malik conductivity coefficient g1 g1 = exp(-|dL|^2/k^2)
- Parameters
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