Function; convolve the derivative of the image and the Gaussian function;
Gaussian function is used as a pre-smoothing kernel in image processing ;
Convolution is the sum of two variables after being multiplied within a certain range.
Parameter translation (the order corresponds to the order of the above parameters):
Input image,
Output image,
Enter the smoothing factor (0.2 ≤ Sigma ≤ 50.0),
Enter the feature or derivative to be calculated,
description:
derivate_gauss convolves the image with the derivative of the Gaussian function, and calculates various features derived therefrom. If you pass a value in Sigma, the amount of smoothing in the column and row directions is the same. If you pass two values in Sigma, the first value specifies the amount of smoothing in the column direction, and the second value specifies the amount of smoothing in the row direction.
The possible values of the parameter Component are as follows:
1.'none': just smooth;
2.'x': the first derivative along x
3.'y': the first derivative along y
4.'gradient': the absolute value of the gradient
5.'gradient_dir': express the gradient direction in radians
6.'xx': the second derivative along x.
7.'yy': the second derivative along the y direction
8.'xxx': the third derivative along x.
9.'yyy': the third derivative along y.
10.'xxy': third derivative along xxy
11.'xyy': the third derivative along xyy.
12.'det': Determinant of the Hessian matrix
The Hessian Matrix, also translated as Hessian Matrix, Hessian Matrix, Hessian Matrix, etc., is a square matrix composed of the second-order partial derivatives of a multivariate function , which describes the local curvature of the function .
The determinant is the scaling factor of the linear transformation.
13.'laplace': Laplace operator
14、'mean_curvature':
- Mean curvature
15.'gauss_curvature': Gaussian curvature
16.'area': differential
17.'eigenvalue1': the first eigenvalue
18.'eigenvalue2': the second eigenvalue
19.'eigenvec_dir': the direction of the eigenvector corresponding to the first eigenvalue (radians)
20.'kitchen_rosenfeld': the second derivative perpendicular to the gradient
21.'zuniga_haralick': normalized second derivative perpendicular to the gradient
22. '2nd_ddg': second derivative along the gradient
23.'de_saint_venant': second derivative along and perpendicular to the gradient