add gray-value histogram(failed)