A toy example. A toy example to illustrate the geometric measure M
(p,q) of Eq. (5) for a feature pair (p,q) at codeword k, and with Hk(P) = Hk(Q) = 1. Pyramid Match Kernel  returns 1, since it ignores feature space-time locations; Our AMK Type II returns a matching score using Eq. (6) as: , which indicates the geometric affinity of the two features.