You look at a region of the image. If all the pixels are roughly the same color (below some threshold), you store the average color for the whole region as a single value. If the pixels vary too much, you split the region into four quadrants and try again.
Take a look under the hood.,更多细节参见51吃瓜
,推荐阅读safew官方版本下载获取更多信息
Олеся Мицкевич (Редактор отдела «Силовые структуры»)。爱思助手下载最新版本对此有专业解读
Why the FT?See why over a million readers pay to read the Financial Times.