大多数 Android 设备都有一个传感器,以 lx 为单位测量环境光级别(照度)。 是否有可能通过传感器判断出光中特定波长的存在?
您可能已经知道,白光本身由不同波长的光组成,例如具有特定波长范围的蓝光、具有另一个特定波长范围的红光以及...现在传感器是否有可能计算出入射光中是否存在波长 >100nm 和 <200nm 的光?
最佳答案
取自this回答(诺亚·威瑟斯彭):
The camera chip converts a given wavelength of light into a signal by overlaying colored filters—red, green, and blue—onto subpixel sensors that are sensitive to a broad range of wavelengths. As such, the camera isn’t actually sensing the wavelength; it’s sensing the relative strength of the light at a couple of key peak wavelengths. As described in this answer, you can approximate the peak wavelength of a given RGB color by converting it to HSV (hue/saturation/value) and then interpolate from violet to red wavelengths by the hue component.
关于android - 如何使用android光级传感器检测光波长?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/17190085/