颜色检测

颜色检测[形象,中国石化集团]

返回表示区域的遮罩图像形象颜色在指定的颜色区域内。

细节

  • 颜色检测通常用于指定图像遮罩,包括颜色区域内的像素。
  • 颜色规格的可能设置中国石化集团包括:
  • 颜色颜色接近颜色
    附近的颜色[颜色,d日,]附近颜色的显式规范颜色

示例

全部打开全部关闭

基本示例  (1)

使用颜色检测要计算图像区域,请执行以下操作:

将区域用作alpha通道:

范围  (3)

计算颜色区域中的像素:

指定最大颜色距离:

指定自定义函数以计算距离:

应用  (1)

执行选择性脱色:

Wolfram Research(2019),ColorDetect,Wolfram语言函数,https://reference.wolfram.com/language/ref/ColorDetect.html。

文本

Wolfram Research(2019),ColorDetect,Wolfram语言函数,https://reference.wolfram.com/language/ref/ColorDetect.html。

CMS公司

沃尔夫拉姆语言。2019.“ColorDetect”,Wolfram语言与系统文档中心。Wolfram研究。https://reference.wolfram.com/language/ref/ColorDetect.html。

亚太地区

沃尔夫拉姆语言。(2019). 颜色检测。Wolfram语言与系统文档中心。检索自https://reference.wolfram.com/language/ref/ColorDetect.html

BibTeX公司

@misc{reference.wolfram_2024_colordetect,author=“wolfram Research”,title=“{colordetect}”,year=“2019”,howpublished=“\url{https://reference.wolfram.com/language/ref/colordetect.html}”]}

BibLaTeX公司

@online{reference.wolfram_2024_colordetect,organization={wolfram Research},title={colordetect},year={2019},url={https://reference.wolfram.com/language/ref/colordetect.html},note=[访问时间:2024年6月25日]}