Feature Detection

Characteristics of good features

What is a good feature?

Figure1. Auto-correlation

Corner is good as a feature

Therefore, we have to find out corner of image.

What is E(u,v) formular?

\[E(u,v) = \sum_{x,y}w(x,y)[I(x+u,y+v) - I(x,y)]^2\]

Corner Detection by Auto-correlation

w(x,y) : we can call it as a filter, window and mask. i.e., gaussian filter, unit step function. I(x+u,y+v) - I(x,y): the difference between the pixel value of the original image and the pixel brightness of the image moved by u+v

Figure2. Auto-correlation
Figure3. (a) : Varied a lot of changes of pixel intensity (b): Edge (c): No change

There is a lot of computational cost:

\[O(window\_width^2 * shift\_range^2 * image\_width^2)\]

ex) \(O(11^2 * 11^2 * 600^2) = 5.2 billion\)

Can we just approximate E(u,v) locally by a quadratic surface? Yes, if we use taylor series expansion

Explanation Of Talyor expansion

\[f(x,y) \approx f(a,b) + f_{x}(a,b)(x-a) + f_{y}(a,b)(y-b) + \frac{1}{2!}(f_{xx}(a,b)(x-a)^2 + f_{xy}(a,b)(x-a)(x-b)+ f_{yy}(a,b)(y-b)^2)\]

Application Of Talyor expansion

Local quadratic approximation of E(u,v) in the neighborhood of (0,0) is given by the second-order Taylor expansion:

Figure4. Moment Matrix means Coefficient of Quadratic function
Figure5. Cornerness determines which feature is flat, edge or corner.
Figure6. Visualization of second moment matrices

Reference