Local , Semi-local and Global Models for Texture , Object and Scene Recognition