CornerResponseMethod
Description
Corner detection method
Corner response is calculated with regard to convolution matrix, given as \[M = \left(\begin{array}{ccc} \sum g_r^2 & \sum g_c g_r \\ \sum g_c g_r & \sum g_c^2 \end{array} \right)\]
Values of this enumeration:
- KanadeTomasi - \(KT = \mathrm{min}(\lambda_1, \lambda_2)\), where \(\lambda_1, \lambda_2\) are eigenvalues of convolution matrix.
- Harris - Harris' corner response is calculated as follows: \(H = \mathrm{det}(M) - k \mathrm{tr}^2(M)\) where \(M\) denotes convolution matrix.
namespace CornerResponseMethod { enum Type { KanadeTomasi, Harris }; }