On the generalized k-cosine arithmetic-mean curvature for multi-scale corner detection