Classification of textures seen from different distances and under varying illumination direction