The invention discloses a self-adaptive ambient light matching method and
system for the
color temperature of an electronic
whiteboard, ambient light information is collected through a common camera, the color characteristics of ambient light are sensed in real time in combination with an intelligent spectrum
reconstruction algorithm and a
color temperature matching strategy, and the
color temperature displayed by the electronic
whiteboard can be dynamically matched with the ambient light, so that the color temperature of the electronic
whiteboard can be dynamically matched with the ambient light. Comprising the following steps: 1, pre-constructing a strategy
library in which a plurality of groups of color temperature-brightness parameters and matched scenes are stored; 2, acquiring an ambient light image through a wide-angle camera, and performing multi-frame average
noise reduction and
exposure calibration on the ambient light image to obtain an RGB measured value of ambient light; 3, based on a preset PCA spectrum basis vector
library, reconstructing the RGB measured value of the ambient light into an ambient spectrum in a range of 380-780 nm by adopting a non-negative sparse regression
algorithm; and 4, calculating an environment color temperature according to the reconstructed environment spectrum, selecting a color temperature-brightness parameter matched with the environment color temperature from a strategy
library in combination with a CIE
CAM02
color adaptation transformation model, and adjusting the electronic whiteboard.