获取具有相同颜色的图像中的像素数. [英] get the count of pixels in an image with the same color.

查看:73
本文介绍了获取具有相同颜色的图像中的像素数.的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要获取包含相同颜色的像素数,我发现了一些有关此像素的文章,所有这些文章都建议使用迭代每个像素,如果有其他方法可以使用. />

I need to get the number of pixels that contains the same color , i found some article about this and all of them suggested to use iterate each pixel , i would like to if there is some other way i could use.

thanks in advance.

推荐答案

计数是一个迭代过程,因此您必须一个一个地移到每个像素.
Counting is an iterative process, so you have to go to each pixel one by one.


这篇关于获取具有相同颜色的图像中的像素数.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆