https://www.docin.com/p-816661174.html http://media.cs.tsinghua.edu.cn/~ahz/digitalimageprocess/chapter10/chapt10_ahz.htm