HSV颜色范围表 [英] HSV Color ranges table

查看:2497
本文介绍了HSV颜色范围表的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在开发一个应用程序,孩子们需要在相机屏幕上使用某个目标点来寻找某种颜色 - 类似于增强现实。
我已经得到了整个工作已经,但与RGB颜色。
对于每种颜色,红色,绿色,蓝色,黄色,紫色等。我一直在测试和定义RGB值的范围,以确定它是什么颜色。很多工作。

I'm developing an App in which children need to find certain colors using a certain target dot on the camera screen - kind of augmented reality like. I've got the whole thing working already, but with RGB colors. For each color, red, green, blue, yellow, purple, etc. I've been testing and defining the ranges of the RGB values to determine when it is exactly which color. A lot of work.

然而,我了解到使用HSV它工作更好。但我不想再经历整个过程,为每种颜色设置范围。但我根本无法在网上找到它,我已经googling了两个小时了!

However, I've learned that using HSV it works even better. But I don't want to go through the whole process again of setting ranges for each color. But I simply can't find it anywhere online, I've been googling for two hours already!

所以我在寻找是很简单:
对于一组约8种标准颜色:红色,绿色,蓝色,黄色,紫色等对应的HSV范围。

So what I'm searching for is pretty simple: For a set of about 8 standard colors: red, green, blue, yellow, purple, etc the corresponding HSV ranges.

例如:
颜色red -
0到20之间的色调,0.8到1.0之间的饱和度,0.8和1.0之间的值。 (不确定这是正确的,只是一个例子)

For example: The color red - Hue between 0 and 20, Saturation between 0.8 and 1.0, Value between 0.8 and 1.0. (not sure this is right, just an example)

我的意思是,有人肯定已经做了这个了!

I mean, someone must have done this already sometime!?

推荐答案

第一个数学定义的颜色空间之一是 CIE 1931 XYZ颜色空间。我认为维基百科上的文章应该提供一些额外的洞察你想要做什么的复杂性。我确信有人这样做了,但我不相信它是开源的。

One of the first mathematically defined color spaces is the CIE 1931 XYZ color space. I think that article on Wikipedia should provide some additional insight in the complexity of what you would like to do. I am sure that someone has done this, but I don't believe it's open source.

我发现的最接近的图是在维基百科上发布网络颜色文章。

The closest chart I found is publish on Wikipedia under Web colors article.

这篇关于HSV颜色范围表的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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