replace grain size and radius 3d histogram by color histogram