A Moving Average Bidirectional Texture Function Model