Towards accurate visual information estimation with Entropy of Primitive