dirichlet grayscale now logarithmic