Introduction - If you have any usage issues, please Google them yourself
By analyzing the histogram of the texture image, we do the appropriate gray-scale transformation to achieve the purpose of gray-level compression without affecting the quality of the texture as much as possible