obtain histogram information