Beyond the Euclidean distance: Creating effective visual codebooks using the histogram intersection kernel