This is a type of corner detector used in computer vision.

The HCD is invariant to rotations and are partially invariant to changes in intensity. For a corner detector that is invariant to scaling, the Scale Invariant Feature Transform is used.

The intuition behind the HCD is that an imaginary shifting window moved in either the or direction at a corner will result in a large variance in intensity values.

Consider a sample of size and a sliding window that shifts by

We can form a structure tensor which characterises the distribution of the gradient of pixel intensities within a neighbourhood. Namely, it is essentially a non-normalised covariance matrix.

This is:

With eigenvalues , we can show that:

The intuition behind this is that the variance in intensity is large in both directions when a corner is present.