Lines Matching defs:Lx
89 * @param Lx First order image derivative in X-direction (horizontal)
94 void pm_g1(const cv::Mat& Lx, const cv::Mat& Ly, cv::Mat& dst, float k) {
96 Size sz = Lx.size();
100 const float* Lx_row = Lx.ptr<float>(y);
116 * @param Lx First order image derivative in X-direction (horizontal)
121 void pm_g2(const cv::Mat &Lx, const cv::Mat& Ly, cv::Mat& dst, float k) {
123 Size sz = Lx.size();
124 dst.create(sz, Lx.type());
128 const float *Lx_row = Lx.ptr<float>(y);
139 * @param Lx First order image derivative in X-direction (horizontal)
147 void weickert_diffusivity(const cv::Mat& Lx, const cv::Mat& Ly, cv::Mat& dst, float k) {
149 Size sz = Lx.size();
153 const float* Lx_row = Lx.ptr<float>(y);
172 * @param Lx First order image derivative in X-direction (horizontal)
180 void charbonnier_diffusivity(const cv::Mat& Lx, const cv::Mat& Ly, cv::Mat& dst, float k) {
182 Size sz = Lx.size();
186 const float* Lx_row = Lx.ptr<float>(y);
223 Mat Lx = Mat::zeros(img.rows, img.cols, CV_32F);
229 // Compute the Gaussian derivatives Lx and Ly
230 Scharr(gaussian, Lx, CV_32F, 1, 0, 1, 0, cv::BORDER_DEFAULT);
235 const float *lx = Lx.ptr<float>(i);
238 modg = lx[j]*lx[j] + ly[j]*ly[j];
249 const float *lx = Lx.ptr<float>(i);
252 modg = lx[j]*lx[j] + ly[j]*ly[j];