Lines Matching defs:gaussian
18 * 2D Gaussian Derivatives
39 * @brief This function smoothes an image with a Gaussian kernel
65 // Perform the Gaussian Smoothing with border replication
207 * @param ksize_x Kernel size in X-direction (horizontal) for the Gaussian smoothing kernel
208 * @param ksize_y Kernel size in Y-direction (vertical) for the Gaussian smoothing kernel
222 Mat gaussian = Mat::zeros(img.rows, img.cols, CV_32F);
226 // Perform the Gaussian convolution
227 gaussian_2D_convolution(img, gaussian, ksize_x, ksize_y, gscale);
229 // Compute the Gaussian derivatives Lx and Ly
230 Scharr(gaussian, Lx, CV_32F, 1, 0, 1, 0, cv::BORDER_DEFAULT);
231 Scharr(gaussian, Ly, CV_32F, 0, 1, 1, 0, cv::BORDER_DEFAULT);
234 for (int i = 1; i < gaussian.rows - 1; i++) {
237 for (int j = 1; j < gaussian.cols - 1; j++) {
248 for (int i = 1; i < gaussian.rows - 1; i++) {
251 for (int j = 1; j < gaussian.cols - 1; j++) {