Visual phase resolution for gray-scale textures