Eigenvectors, Eigenvalue, Data Science, Machine Learning, Principal Component.
outputs (source) Next we can use the covariance matrix of these gradients. Given that we are working with a 2D image there will be 2 sets of eigenpairs. If there is a major change in only one direction (such as an edge) then most of the variance of the image’s gradient will lie on that axis. If