Enhancements for local feature based image classification