where \f$J_{11} = M[Z_{x}^{2}]\f$, \f$J_{22} = M[Z_{y}^{2}]\f$, \f$J_{12} = M[Z_{x}Z_{y}]\f$ - components of the tensor, \f$M[]\f$ is a symbol of mathematical expectation (we can consider this operation as averaging in a window w), \f$Z_{x}\f$ and \f$Z_{y}\f$ are partial derivatives of an image \f$Z\f$ with respect to \f$x\f$ and \f$y\f$.
The eigenvalues of the tensor can be found in the below formula:
<<"GaussianBlur "<<cn<<"-chan mat "<<drows<<"x"<<dcols<<" by kernel "<<kernel<<" sigma("<<modes[modeind].sigma_x<<";"<<modes[modeind].sigma_y<<") failed with max diff "<<cvtest::norm(refdst,dst,cv::NORM_INF);
<<"GaussianBlur "<<cn<<"-chan mat "<<drows<<"x"<<dcols<<" by kernel "<<kernel<<" sigma("<<mode.sigma_x<<";"<<mode.sigma_y<<") failed with max diff "<<cvtest::norm(refdst,dst,cv::NORM_INF);