转换RGB光频率 [英] Convert RGB to light frequency

查看:219
本文介绍了转换RGB光频率的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

时有可能获得一种颜色从RGB重新presentation光频率?我已经找到了相反的过程[1],但我不知道是否有可能这样。

Is it possible to obtain the light frequency of a colour from a RGB representation? I've found the opposite process [1] but I don't know if it's possible this way.

[1] http://www.fourmilab.ch/documents/specrend​​/

推荐答案

AFAIK,没有直接的答案,因为多个波长可以结合给予相同的颜色吗?所以,你必须映射到纯的颜色,然后他们的组合能够给许多其他的和同样颜色的波长。并且有几个组合,可以得到相同的颜色。这是因为inteference的。所以,你基本上是在要求一个一对多的映射。

AFAIK, there is no direct answer because multiple wavelengths can combine to give the same color right? So you have the wavelengths that map to pure colors and then their combinations can give many other and the same colors. And there are several combinations that can give the same color. This is because of inteference. So you essentially are asking for a one to many mapping.

要回答你的问题:有没有固定的公式。反向公式会给你一个范围。这是最好的,可以得到的。

To answer your question: There is no fixed formula. The reverse formulas will give you a range. That is the best it can get.

这篇关于转换RGB光频率的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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