The derivative along axis ( axis) for a discrete function is presented as (), where means convolution of two functions, and -- some discrete functions (matrices), -- function to be derivated. Knowing the derivatives along two axis it is easy to find the module of gradient as a square root of the sum of two squares. Three variants for the calculation of gradients are available in FemtoScan program: Gradient, Prewitt and Sobel. The difference between them lies in the used matrices and . They are shown in the Table 3.4.
Laplace Filter calculates the laplacian in the following way:
, where