Here are the key steps in Harris corner detection:
1. Compute the autocorrelation matrix M for a window around each pixel using:
M = ∑w(x,y)[IxIx IxIy]
[IxIy IyIy]
Where Ix and Iy are the gradients of the image I in x and y directions.
2. Compute the corner response function R = det(M) - k(trace(M))^2
3. A large R value indicates a corner. Threshold R to find candidate corner points.
4. Refine the candidate locations using interpolation.
So in summary, Harris detection looks for pixels with