[go: up one dir, main page]

CN105578166B - A kind of colour temperature determines method and device - Google Patents

A kind of colour temperature determines method and device Download PDF

Info

Publication number
CN105578166B
CN105578166B CN201610013622.7A CN201610013622A CN105578166B CN 105578166 B CN105578166 B CN 105578166B CN 201610013622 A CN201610013622 A CN 201610013622A CN 105578166 B CN105578166 B CN 105578166B
Authority
CN
China
Prior art keywords
color temperature
white balance
image
balance gain
correlated
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201610013622.7A
Other languages
Chinese (zh)
Other versions
CN105578166A (en
Inventor
张德
陈多明
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhejiang Uniview Technologies Co Ltd
Original Assignee
Zhejiang Uniview Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhejiang Uniview Technologies Co Ltd filed Critical Zhejiang Uniview Technologies Co Ltd
Priority to CN201610013622.7A priority Critical patent/CN105578166B/en
Publication of CN105578166A publication Critical patent/CN105578166A/en
Application granted granted Critical
Publication of CN105578166B publication Critical patent/CN105578166B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N9/00Details of colour television systems
    • H04N9/64Circuits for processing colour signals
    • H04N9/73Colour balance circuits, e.g. white balance circuits or colour temperature control
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/80Camera processing pipelines; Components thereof
    • H04N23/84Camera processing pipelines; Components thereof for processing colour signals
    • H04N23/88Camera processing pipelines; Components thereof for processing colour signals for colour balance, e.g. white-balance circuits or colour temperature control

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Processing Of Color Television Signals (AREA)
  • Color Television Image Signal Generators (AREA)

Abstract

本发明提供一种色温确定方法及装置,所述方法包括:统计至少三种不同色温的目标光源下采集到的目标灰色物体的图像的基色中任意两个基色的白平衡增益,并确定所述白平衡增益与色温的关系曲线;其中,所述目标光源为满足黑体辐射的光源;将CIE色度图中的等相关色温线映射到所述白平衡增益与色温的关系曲线中,以标定各目标光源下采集到的目标灰色物体的图像对应的色温的等相关色温线;根据待检测图像的白平衡增益以及所述等相关色温线,确定所述待检测图像对应的色温。应用本发明实施例可以提高色温确定的适用性和准确性。

The present invention provides a method and device for determining color temperature, the method comprising: counting the white balance gains of any two primary colors of images of a target gray object collected under target light sources of at least three different color temperatures, and determining the The relationship curve between white balance gain and color temperature; wherein, the target light source is a light source satisfying black body radiation; the equicorrelated color temperature line in the CIE chromaticity diagram is mapped to the relationship curve between white balance gain and color temperature to calibrate each The iso-correlated color temperature line corresponding to the color temperature of the image of the target gray object collected under the target light source; according to the white balance gain of the image to be detected and the iso-correlated color temperature line, determine the color temperature corresponding to the image to be detected. The applicability and accuracy of color temperature determination can be improved by applying the embodiments of the present invention.

Description

一种色温确定方法及装置Method and device for determining color temperature

技术领域technical field

本发明涉及图像处理技术领域,尤其涉及一种色温确定方法及装置。The present invention relates to the technical field of image processing, in particular to a method and device for determining color temperature.

背景技术Background technique

色温是表示光源光谱组成的属性,光谱中短波分量多色温高,光线偏蓝绿色,长波分量多色温低,图像偏红黄色。Color temperature is an attribute representing the spectral composition of the light source. In the spectrum, the short-wave components have more high color temperature, the light is blue-green, and the long-wave components have more low color temperature, and the image is reddish-yellow.

配置有图像传感器的影像采集设备通过R(Red,红色)、G(Green,绿色)、B(Blue,蓝色)三个通道的光电信号转换实现彩色影像的采集,但是环境中不同色温光源发出的R、G、B颜色分量强度不同,光路传输对R、G、B三个颜色分量的通过率不同,及不同光电转换器件对不同强度颜色分量的转化比例不同,都有可能导致影像采集设备最后的彩色影像的电信号强度与物体自身色彩存在差异,如实际场景中的白色物体,在低色温环境下偏黄,高色温下偏蓝,而对绿光感光性能更好的光电转换器件输出的图像偏绿,即影像采集设备采集的影像色彩受色温影响,需要根据色温对色彩进行还原。因而色温估计在影像采集系统中具有重要作用。The image acquisition device equipped with an image sensor realizes the acquisition of color images through the photoelectric signal conversion of the three channels R (Red, red), G (Green, green), and B (Blue, blue). The intensities of the R, G, and B color components are different, the transmission rates of the three color components of the R, G, and B color components are different, and the conversion ratios of different photoelectric conversion devices to different intensity color components are different, which may cause image acquisition equipment The electrical signal strength of the final color image is different from the color of the object itself. For example, a white object in the actual scene is yellowish in a low color temperature environment and blue in a high color temperature environment, while the output of a photoelectric conversion device with better green light sensitivity The image is greenish, that is, the color of the image captured by the image acquisition device is affected by the color temperature, and the color needs to be restored according to the color temperature. Therefore, color temperature estimation plays an important role in the image acquisition system.

发明内容Contents of the invention

本发明提供一种色温确定方法及装置,以提高色温确定的适用性和准确性。The invention provides a method and device for determining color temperature to improve the applicability and accuracy of determining color temperature.

根据本发明实施例的第一方面,提供一种色温确定方法,包括:According to the first aspect of the embodiments of the present invention, a method for determining color temperature is provided, including:

统计至少三种不同色温的目标光源下采集到的目标灰色物体的图像的三基色中任意两个基色的白平衡增益以及对应的色温,并确定所述白平衡增益与色温的关系曲线;其中,所述目标光源为满足黑体辐射的光源;Statistics of the white balance gains and corresponding color temperatures of any two of the three primary colors of images of the target gray object collected under target light sources of at least three different color temperatures, and determining the relationship curve between the white balance gain and the color temperature; wherein, The target light source is a light source satisfying blackbody radiation;

将国际照明委员会CIE色度图中的等相关色温线映射到所述白平衡增益与色温的关系曲线中,以标定各目标光源下采集到的目标灰色物体的图像对应的色温的等相关色温线;Map the isocorrelated color temperature line in the CIE chromaticity diagram of the International Commission on Illumination to the relationship curve between the white balance gain and the color temperature, so as to calibrate the isocorrelated color temperature line corresponding to the color temperature of the image of the target gray object collected under each target light source ;

根据待检测图像的白平衡增益以及所述等相关色温线,确定所述待检测图像对应的色温。The color temperature corresponding to the image to be detected is determined according to the white balance gain of the image to be detected and the iso-correlated color temperature line.

根据本发明实施例的第二方面,提供一种色温确定装置,包括:According to a second aspect of the embodiments of the present invention, there is provided a device for determining color temperature, including:

统计单元,用于统计至少三种不同色温的目标光源下采集到的目标灰色物体的图像的三基色中任意两个基色的白平衡增益;其中,所述目标光源为满足黑体辐射的光源;The statistical unit is used to count the white balance gain of any two primary colors in the three primary colors of the image of the target gray object collected under at least three target light sources with different color temperatures; wherein, the target light source is a light source that satisfies black body radiation;

第一确定单元,用于确定所述白平衡增益与色温的关系曲线;a first determining unit, configured to determine the relationship curve between the white balance gain and the color temperature;

标定单元,用于将国际照明委员会CIE色度图中的等相关色温线映射到所述白平衡增益与色温的关系曲线中,以标定各目标光源下采集到的目标灰色物体的图像对应的色温的等相关色温线;A calibration unit, configured to map the isocorrelated color temperature line in the CIE chromaticity diagram of the International Commission on Illumination to the relationship curve between the white balance gain and the color temperature, so as to calibrate the color temperature corresponding to the image of the target gray object collected under each target light source The isocorrelated color temperature line;

第二确定单元,用于根据待检测图像的白平衡增益以及所述等相关色温线,确定所述待检测图像对应的色温。The second determination unit is configured to determine the color temperature corresponding to the image to be detected according to the white balance gain of the image to be detected and the iso-correlated color temperature lines.

应用本发明实施例,通过统计至少三种不同色温的目标光源下采集到的目标灰色物体的图像的三基色中任意两个基色的白平衡增益,确定该白平衡增益与色温的关系曲线,并将CIE色度图中的等相关色温线映射到所述白平衡增益与色温的关系曲线中,以标定各目标光源下采集到的目标灰色物体的图像对应的色温的等相关色温线,进而根据待检测图像的白平衡增益以及等相关色温线,确定待检测图像对应的色温,在图像采集场景中的光源不满足黑体辐射时,仍然能够准确地进行色温确定,提高了色温确定的适用性和准确性。Applying the embodiment of the present invention, by counting the white balance gains of any two of the three primary colors of the image of the target gray object collected under at least three target light sources with different color temperatures, the relationship curve between the white balance gain and the color temperature is determined, and Map the equicorrelated color temperature lines in the CIE chromaticity diagram to the relationship curve between the white balance gain and the color temperature to calibrate the equicorrelated color temperature lines corresponding to the color temperature of the image of the target gray object collected under each target light source, and then according to The white balance gain and equal correlation color temperature line of the image to be detected can determine the corresponding color temperature of the image to be detected. When the light source in the image acquisition scene does not meet the black body radiation, the color temperature can still be determined accurately, which improves the applicability and reliability of the color temperature determination. accuracy.

附图说明Description of drawings

图1是本发明实施例提供的一种色温确定方法的流程示意图;Fig. 1 is a schematic flowchart of a color temperature determination method provided by an embodiment of the present invention;

图2A是本发明实施例提供的一种白平衡增益与色温的关系曲线示意图;2A is a schematic diagram of a relationship curve between white balance gain and color temperature provided by an embodiment of the present invention;

图2B是本发明实施例提供的一种白平衡增益与色温的关系曲线在三维坐标空间中的示意图;2B is a schematic diagram of a relationship curve between white balance gain and color temperature in a three-dimensional coordinate space provided by an embodiment of the present invention;

图2C是一种CIE色度图中的等相关色温线的示意图;Fig. 2C is a schematic diagram of equicorrelated color temperature lines in a CIE chromaticity diagram;

图2D是本发明实施例提供的一种对白平衡增益与色温的关系曲线进行插值的示意图;FIG. 2D is a schematic diagram of interpolation of the relationship curve between white balance gain and color temperature provided by an embodiment of the present invention;

图2E是本发明实施例提供的一种标定等相关色温线的示意图;Fig. 2E is a schematic diagram of a calibrated iso-correlated color temperature line provided by an embodiment of the present invention;

图3是本发明实施例提供的另一种色温确定方法的流程示意图;Fig. 3 is a schematic flowchart of another method for determining color temperature provided by an embodiment of the present invention;

图4是本发明实施例提供的一种色温确定装置的结构示意图;Fig. 4 is a schematic structural diagram of a color temperature determination device provided by an embodiment of the present invention;

图5是本发明实施例提供的另一种色温确定装置的结构示意图;Fig. 5 is a schematic structural diagram of another color temperature determination device provided by an embodiment of the present invention;

图6是本发明实施例提供的另一种色温确定装置的结构示意图;Fig. 6 is a schematic structural diagram of another color temperature determination device provided by an embodiment of the present invention;

图7是本发明实施例提供的另一种色温确定装置的结构示意图。Fig. 7 is a schematic structural diagram of another device for determining color temperature provided by an embodiment of the present invention.

具体实施方式Detailed ways

为了使本技术领域的人员更好地理解本发明实施例中的技术方案,并使本发明实施例的上述目的、特征和优点能够更加明显易懂,下面结合附图对本发明实施例中技术方案作进一步详细的说明。In order to enable those skilled in the art to better understand the technical solutions in the embodiments of the present invention, and to make the above-mentioned purposes, features and advantages of the embodiments of the present invention more obvious and understandable, the following describes the technical solutions in the embodiments of the present invention in conjunction with the accompanying drawings For further detailed explanation.

请参见图1,图1为本发明实施例提供的一种色温确定方法的流程示意图,如图1所示,该色温确定方法可以包括以下步骤:Please refer to FIG. 1. FIG. 1 is a schematic flowchart of a color temperature determination method provided by an embodiment of the present invention. As shown in FIG. 1, the color temperature determination method may include the following steps:

步骤101、统计至少三种不同色温的目标光源下采集到的目标灰色物体的图像的三基色中任意两个基色的白平衡增益,并确定该白平衡增益与色温的关系曲线,其中,该目标光源为满足黑体辐射的光源。Step 101. Count the white balance gains of any two of the three primary colors of the image of the target gray object collected under at least three target light sources with different color temperatures, and determine the relationship curve between the white balance gain and the color temperature, wherein the target The light source is a light source satisfying black body radiation.

本发明实施例中,上述方法可以应用于配置有图像传感器(如数字图像传感器)的影像采集设备(如摄像头、摄像机等)。为便于描述,以下以上述方法的执行主体为影像采集设备为例进行说明。In the embodiment of the present invention, the above method may be applied to an image acquisition device (such as a camera, a video camera, etc.) configured with an image sensor (such as a digital image sensor). For ease of description, an image acquisition device is used as an example for the execution of the above method.

本发明实施例中,目标灰色物体并不特指某一固定的灰色物体,而是可以指代任一用于等相关色温线模型建立的灰色物体;其中,灰色是指饱和度为0的颜色。In the embodiment of the present invention, the target gray object does not specifically refer to a certain fixed gray object, but may refer to any gray object used to establish an isocorrelated color temperature line model; wherein, gray refers to a color with a saturation of 0 .

优选地,该目标灰色物体可以为标准灰卡。Preferably, the target gray object can be a standard gray card.

本发明实施例中,影像采集设备可以采集至少三种不同色温的满足黑体辐射的光源(以下称为目标光源)下的目标灰色物体的图像数据,计算采集到的各不同色温的目标光源下的目标灰色物体的图像数据的三个基色中任意两个基色的白平衡增益。In the embodiment of the present invention, the image acquisition device can acquire the image data of the target gray object under at least three light sources with different color temperatures satisfying black body radiation (hereinafter referred to as the target light source), and calculate the acquired image data of the target light source with different color temperatures. The white balance gain of any two of the three primary colors of the image data of the target gray object.

其中,图像数据的白平衡增益包括图像进行白平衡校正所需要的R、G、B三个分量的增益:RGain(R增益)、GGain(G增益)、BGain(B增益),作为一种可选的实施方式,该三个分量的增益分别可以通过以下公式计算:Wherein, the white balance gain of the image data includes the gains of the R, G, and B components required for white balance correction of the image: RGain (R gain), GGain (G gain), and BGain (B gain), which can be used as a In the selected embodiment, the gains of the three components can be calculated by the following formulas:

其中,avgR(i)、avgG(i)、avgB(i)分别为各色温目标光源下采集到的目标灰色物体的图像数据中各像素点的R、G、B三个分量的平均值,i表示不同色温的目标光源。Among them, avgR(i), avgG(i), and avgB(i) are the average values of the R, G, and B components of each pixel in the image data of the target gray object collected under the target light source of each color temperature, i Represents target light sources of different color temperatures.

其中,由于在该实施方式中,G增益为恒定值,因此,可以分别根据采集到的目标灰色物体的图像的三基色中的R分量和B分量的白平衡增益,确定对应的白平衡增益与色温的关系曲线。Wherein, since in this embodiment, the G gain is a constant value, therefore, the corresponding white balance gain and Color temperature curve.

但值得说明的是,在本发明实施例中,上述三基色的白平衡增益的计算方式仅仅是本发明实施例提供的技术方案的一种具体示例,而不是对本发明保护范围的限定。例如,在本发明实施例中,三个分量的增益还可以分别通过以下公式计算:However, it is worth noting that, in the embodiment of the present invention, the calculation method of the white balance gains of the above three primary colors is only a specific example of the technical solution provided by the embodiment of the present invention, rather than limiting the protection scope of the present invention. For example, in the embodiment of the present invention, the gains of the three components can also be calculated by the following formulas:

相应地,在该情况下,由于R增益为恒定值,因此,可以分别根据采集到的目标灰色物体的图像的三基色中的G分量和B分量的白平衡增益,确定对应的白平衡增益与色温的关系曲线。Correspondingly, in this case, since the R gain is a constant value, it is possible to determine the corresponding white balance gain and Color temperature curve.

同理,本发明实施例中也可以根据采集到的目标灰色物体的图像的三基色中的G分量和R分量的白平衡增益,确定对应的白平衡增益与色温的关系曲线,其具体实现在此不再赘述。Similarly, in the embodiment of the present invention, the corresponding white balance gain and color temperature relationship curve can also be determined according to the white balance gain of the G component and the R component in the three primary colors of the image of the target gray object collected, which is specifically implemented in This will not be repeated here.

为了便于描述,下面以根据采集到的目标灰色物体的图像的三基色中的R分量和B分量的白平衡增益,确定对应的白平衡增益与色温的关系曲线为例进行描述。For the convenience of description, the following takes the white balance gain of the R component and the B component in the three primary colors of the collected image of the target gray object as an example to determine the relationship curve between the corresponding white balance gain and color temperature.

本发明实施例中,目标光源的色温可以通过色温测量装置(如色温计)测量。In the embodiment of the present invention, the color temperature of the target light source can be measured by a color temperature measuring device (such as a color temperature meter).

本发明实施例中,影像采集设备统计到各不同色温的目标光源下采集到的目标灰色物体的图像的三个基色中任意两个基色(本发明实施例中以R分量和B分量为例进行说明)的白平衡增益后,可以确定该白平衡增益与色温的关系曲线。In the embodiment of the present invention, the image acquisition device counts any two of the three primary colors of the image of the target gray object collected under the target light sources of different color temperatures (in the embodiment of the present invention, the R component and the B component are taken as an example) After specifying the white balance gain, the relationship curve between the white balance gain and the color temperature can be determined.

作为一种可选的实施方式,确定白平衡增益与色温的关系曲线,可以包括以下步骤:As an optional implementation manner, determining the relationship curve between white balance gain and color temperature may include the following steps:

11)、根据各不同色温的目标光源下采集到的图像的上述两个基色的白平衡增益(即RGain、BGain)以及对应的色温,在分别以该两个基色的白平衡增益(即RGain和BGain)为横纵坐标的坐标系中确定对应的标定点;11), according to the white balance gain (ie RGain, BGain) of the above-mentioned two primary colors of the image collected under the target light source of each different color temperature and the corresponding color temperature, the white balance gain (ie RGain and BGain) of the two primary colors is used respectively BGain) determines the corresponding calibration point in the coordinate system of horizontal and vertical coordinates;

12)、对标定点进行曲线拟合,以确定所述白平衡增益与色温的关系曲线。12) Perform curve fitting on the calibration points to determine the relationship curve between the white balance gain and the color temperature.

在该实施方式中,影像采集设备统计到各不同色温的目标光源下采集到的图像的白平衡增益后,影像采集设备可以根据各不同色温的目标光源下采集到的图像的RGain和BGain,在以RGain为横坐标、BGain为纵坐标的坐标系中确定对应的标定点(或称为白平衡校正位置),并对各标定点进行曲线拟合,以确定白平衡增益与色温的关系曲线,其示意图可以如图2A所示(其中Tc为色温);其中,白平衡增益与色温的关系曲线在分别以RGain、BGain以及色温为坐标轴的三维坐标系中的示意图可以如图2B所示,图2A所示的白平衡增益与色温的关系曲线为图2B所示关系曲线在分别以RGain和BGain为横纵坐标的坐标系中的投影,本文中以图2A所示的关系曲线为基础建立等相关色温线模型。In this embodiment, after the image acquisition device counts the white balance gains of the images collected under the target light sources with different color temperatures, the image acquisition device can calculate the RGain and BGain of the images collected under the target light sources with different color temperatures. Determine the corresponding calibration point (or white balance correction position) in the coordinate system with RGain as the abscissa and BGain as the ordinate, and perform curve fitting on each calibration point to determine the relationship between white balance gain and color temperature. Its schematic diagram can be as shown in Figure 2A (wherein Tc is color temperature); Wherein, the schematic diagram of the relationship curve between white balance gain and color temperature in the three-dimensional coordinate system with RGain, BGain and color temperature as coordinate axes can be as shown in Figure 2B, The relationship curve between white balance gain and color temperature shown in Figure 2A is the projection of the relationship curve shown in Figure 2B in a coordinate system with RGain and BGain as the horizontal and vertical coordinates respectively, and this paper is based on the relationship curve shown in Figure 2A Correlated color temperature line model.

步骤102、将CIE色度图中的等相关色温线映射到所述白平衡增益与色温的关系曲线,以标定各目标光源下采集到的目标灰色物体的图像对应的色温的等相关色温线。Step 102: Map the isocorrelated color temperature lines in the CIE chromaticity diagram to the relationship curve between white balance gain and color temperature, so as to calibrate the isocorrelated color temperature lines corresponding to the color temperature of the image of the target gray object collected under each target light source.

本发明实施例中,影像采集设备确定各不同色温的目标光源下采集到的目标灰色物体的图像的白平衡增益与对应的色温的关系曲线后,可以进一步标定各目标光源下采集到的目标灰色物体的图像对应的色温的等相关色温线,以建立对应的等相关色温线模型。In the embodiment of the present invention, after the image acquisition device determines the relationship curve between the white balance gain and the corresponding color temperature of the image of the target gray object collected under the target light sources of different color temperatures, it can further calibrate the target gray objects collected under the target light sources. Equicorrelated color temperature lines corresponding to the color temperature of the image of the object, so as to establish a corresponding equicorrelated color temperature line model.

具体的,可以按照CIE(International Commission on illumination,国际照明委员会)1960UCS色度图(一种标准色度图,以下简称CIE色度图)中各个色温处的等相关色温线的斜率,标定各目标光源下采集到的目标灰色物体的图像对应的色温的等相关色温线的斜率。其中,CIE色度图中的等相关色温线可以如图2C所示,该CIE色度图的横纵坐标分别对应 Specifically, each target can be calibrated according to the slope of the equal-correlated color temperature line at each color temperature in the CIE (International Commission on illumination, International Commission on Illumination) 1960UCS chromaticity diagram (a standard chromaticity diagram, hereinafter referred to as the CIE chromaticity diagram). The slope of the equal-correlated color temperature line corresponding to the color temperature of the image of the target gray object collected under the light source. Among them, the equicorrelated color temperature lines in the CIE chromaticity diagram can be shown in Figure 2C, and the horizontal and vertical coordinates of the CIE chromaticity diagram correspond to and

其中,对于存在于CIE色度图中的色温,将该色温的等相关色温线在CIE色度图中的斜率,确定为该色温的等相关色温线在上述白平衡增益与色温的关系曲线中的斜率;Among them, for the color temperature existing in the CIE chromaticity diagram, the slope of the iso-correlated color temperature line of the color temperature in the CIE chromaticity diagram is determined as the equi-correlated color temperature line of the color temperature in the above-mentioned relationship curve between white balance gain and color temperature The slope of;

对于未存在于CIE色度图中的色温,根据CIE色度图中存在的该色温的相邻两个色温的等相关色温线在CIE色度图中的斜率,确定该色温的等相关色温线在上述白平衡增益与色温的关系曲线中的斜率;其中,与该色温相邻的两个色温中一个高于该色温,另一个小于该色温;等相关色温线的斜率与色温大小满足单调性(即随着色温的增大单调增大或单调减小)。For a color temperature that does not exist in the CIE chromaticity diagram, determine the equicorrelated color temperature line of the color temperature according to the slope of the equicorrelated color temperature lines of two adjacent color temperatures existing in the CIE chromaticity diagram in the CIE chromaticity diagram The slope in the relationship curve between the above-mentioned white balance gain and color temperature; among them, one of the two color temperatures adjacent to the color temperature is higher than the color temperature, and the other is lower than the color temperature; the slope of the equal-correlated color temperature line and the size of the color temperature satisfy monotonicity (ie monotonically increasing or monotonically decreasing as the color temperature increases).

举例来说,假设CIE色度图中包括色温10000K、6000K和4000K,各目标光源下采集到的目标灰色物体的图像对应的色温分别为10000K、7500K和6000K,则目标光源下采集到的目标灰色物体的图像对应的色温为10000K和6000K的等相关色温线的斜率可以直接根据上述色度图中的色温10000K和6000K的等相关色温线的斜率确定,而色温7500K的等相关色温线的斜率则可以根据CIE色度图中与该色温(7500K)相邻的两个色温(10000K和6000K)的斜率确定。例如,假设色温10000K的等相关色温线在CIE色度图中的斜率对应的角度为A1,色温6000K的等相关色温线在CIE色度图中的斜率对应的角度为A2,则色温7500K的等相关色温线在CIE色度图中的斜率对应的角度可以为:A2+(A2-A1)*(7500K-6000K)/(10000K-6000K),进而,可以根据该角度确定色温6000K在上述白平衡增益与色温的关系曲线中的斜率。其中,6000K、7500K以及10000K等色温的等相关色温线在CIE色度图以及上述白平衡增益与色温的关系曲线中均依次增大。For example, assuming that the CIE chromaticity diagram includes color temperatures of 10000K, 6000K and 4000K, and the corresponding color temperatures of the images of the target gray object collected under each target light source are 10000K, 7500K and 6000K respectively, then the target gray object collected under the target light source The slopes of the equi-correlated color temperature lines corresponding to the color temperature of 10000K and 6000K corresponding to the image of the object can be determined directly from the slopes of the equi-correlated color temperature lines of the color temperature 10000K and 6000K in the above chromaticity diagram, while the slope of the equi-correlated color temperature line of the color temperature of 7500K is It can be determined according to the slope of the two color temperatures (10000K and 6000K) adjacent to the color temperature (7500K) in the CIE chromaticity diagram. For example, assuming that the angle corresponding to the slope of the equi-correlated color temperature line with a color temperature of 10000K in the CIE chromaticity diagram is A1, and the angle corresponding to the slope of the equi-correlated color temperature line with a color temperature of 6000K in the CIE chromaticity diagram is A2, then the color temperature of a color temperature of 7500K is The angle corresponding to the slope of the correlated color temperature line in the CIE chromaticity diagram can be: A2+(A2-A1)*(7500K-6000K)/(10000K-6000K), and then, according to this angle, the color temperature 6000K can be determined at the above white balance gain The slope in a curve versus color temperature. Among them, the isocorrelated color temperature lines of 6000K, 7500K, and 10000K color temperatures increase sequentially in the CIE chromaticity diagram and the above-mentioned relationship curve between white balance gain and color temperature.

步骤103、根据待检测图像的白平衡增益以及等相关色温线,确定待检测图像对应的色温。Step 103: Determine the color temperature corresponding to the image to be detected according to the white balance gain and the iso-correlated color temperature line of the image to be detected.

本发明实施例中,待检测图像可以为影像采集设备采集到的任意一帧图像。In the embodiment of the present invention, the image to be detected may be any frame of image collected by the image collection device.

当影像采集设备需要确定待检测图像对应的色温时,影像采集设备可以计算该待检测图像的白平衡增益,并根据该待检测图像的白平衡增益以及上述等相关色温线,确定该待检测图像对应的色温。其中,待检测图像对应的色温为影像采集设备采集该待检测图像时所处场景的光源的色温。When the image acquisition device needs to determine the color temperature corresponding to the image to be detected, the image acquisition device can calculate the white balance gain of the image to be detected, and determine the image to be detected according to the white balance gain of the image to be detected and the above-mentioned correlated color temperature line corresponding color temperature. Wherein, the color temperature corresponding to the image to be detected is the color temperature of the light source of the scene where the image acquisition device collects the image to be detected.

作为一种可选的实施方式,上述步骤103中,根据待检测图像的白平衡增益以及等相关色温线,确定待检测图像对应的色温,可以包括以下步骤:As an optional implementation, in the above step 103, determining the color temperature corresponding to the image to be detected according to the white balance gain and the isocorrelated color temperature line of the image to be detected may include the following steps:

21)、根据待检测图像的上述两个基色的白平衡增益(即RGain和BGain),在分别以该两个基色的白平衡增益(RGain和BGain)为横纵坐标的坐标系中的确定对应的目标位置;21) According to the white balance gains (i.e. RGain and BGain) of the above two primary colors of the image to be detected, the corresponding determination in the coordinate system with the white balance gains (RGain and BGain) of the two primary colors as the horizontal and vertical coordinates respectively target position;

22)、根据目标位置到相邻两条等相关色温线的距离,以及该相邻两条的等相关色温线对应的色温,确定待检测图像对应的色温;其中,该相邻两条的等相关色温线位于所述目标位置的两侧。22), according to the distance from the target position to two adjacent equi-correlated color temperature lines, and the color temperature corresponding to the adjacent two equi-correlated color temperature lines, determine the corresponding color temperature of the image to be detected; wherein, the adjacent two equi-correlated color temperature lines Correlated color temperature lines are located on either side of the target location.

在该实施方式中,对于采集到的任意一帧图像,影像采集设备可以对该图像进行白平衡处理,以得到该图像的RGain和BGain,进而在以RGain为横坐标、BGain为纵坐标的坐标系中,确定对应的目标位置。In this embodiment, for any captured image, the image acquisition device can perform white balance processing on the image to obtain the RGain and BGain of the image, and then in the coordinates with RGain as the abscissa and BGain as the ordinate In the system, determine the corresponding target position.

进一步地,影像采集设备可以遍历上述等相关色温线,获取该目标位置对应的相邻两条等相关色温线,即位于目标位置两侧,且与该目标位置最接近的两条等相关色温线。影像采集设备可以计算目标位置到该相邻两条等相关色温线的距离,进而根据该目标位置到该相邻两条等相关色温线的距离,以及该相邻两条等相关色温线对应的色温,确定待检测图像对应的色温。Further, the image acquisition device can traverse the above equi-correlated color temperature lines to obtain two adjacent equi-correlated color temperature lines corresponding to the target position, that is, the two equi-correlated color temperature lines located on both sides of the target position and closest to the target position . The image acquisition device can calculate the distance from the target position to the two adjacent equi-correlated color temperature lines, and then according to the distance from the target position to the two adjacent equi-correlated color temperature lines, and the corresponding Color temperature, determine the color temperature corresponding to the image to be detected.

作为一种可选的实施方式,在本发明实施例中,根据目标位置到相邻两条等相关色温线的距离,以及该相邻两条的等相关色温线对应的色温,确定待检测图像对应的色温,可以具体通过以下公式实现:As an optional implementation, in the embodiment of the present invention, the image to be detected is determined according to the distance from the target position to two adjacent equi-correlated color temperature lines, and the color temperature corresponding to the two adjacent equi-correlated color temperature lines The corresponding color temperature can be realized by the following formula:

其中,TcCur为待检测图像对应的色温,TcLf、TcRt为该相邻两条等相关色温线对应的色温,TcRt>TcLf,distLf与distRt分别为目标位置到该相邻两条等相关色温线的距离。Among them, TcCur is the color temperature corresponding to the image to be detected, TcLf and TcRt are the color temperatures corresponding to the two adjacent equi-correlated color temperature lines, TcRt>TcLf, distLf and distRt are the distance from the target position to the adjacent two equi-correlated color temperature lines distance.

本发明实施例中,影像采集设备确定采集到的图像对应的色温后,可以根据该色温进行色彩还原校正,其具体实现本发明实施例不再赘述。In the embodiment of the present invention, after the image acquisition device determines the color temperature corresponding to the captured image, it can perform color restoration and correction according to the color temperature, and the specific implementation of the embodiment of the present invention will not be repeated.

值得说明的是,在本发明实施例中,步骤101~步骤102所描述的等相关色温线的标定方式在整个流程中可以仅执行一次,基于该等相关色温线参数,影像采集设备可以执行任意多次的步骤103,即影像采集设备可以一直采用该等相关色温线参数对后续采集到的图像进行色温确定。而不需要每次进行色温确定时,均重新确定一次等相关色温线。It is worth noting that, in the embodiment of the present invention, the calibration of the iso-correlated color temperature lines described in steps 101 to 102 can be performed only once in the whole process, and based on the parameters of the iso-correlated color temperature lines, the image acquisition device can perform any Step 103 is performed multiple times, that is, the image acquisition device can always use the parameters of the correlated color temperature line to determine the color temperature of subsequent acquired images. It is not necessary to re-determine the equi-correlated color temperature line every time the color temperature is determined.

进一步地,考虑到影像采集设备采用的滤镜等硬件装置不同时,采集到的图像的色温可能也会存在区别,因此,对于任一款影像采集设备,需要针对该影像采集设备使用的不同硬件装置(如滤镜等会对采集到的图像的色温产生影响的硬件装置)标定不同的等相关色温线,其具体实现在此不再赘述。Further, considering that the image acquisition equipment uses different hardware devices such as filters, the color temperature of the captured images may also be different. Therefore, for any type of image acquisition equipment, it is necessary to target different hardware used by the image acquisition equipment. Devices (such as filters and other hardware devices that affect the color temperature of the collected images) calibrate different equi-correlated color temperature lines, and the specific implementation thereof will not be repeated here.

可见,在图1所示的方法流程中,通过统计至少三种不同色温的目标光源下采集到的目标灰色物体的图像的白平衡增益与对应的色温的关系曲线,并将CIE色度图中的等相关色温线映射到该白平衡增益与色温的关系曲线中,以标定各目标光源下采集到的目标灰色物体的图像对应的色温的等相关色温线,进而在需要确定待检测图像的色温时,可以根据待检测图像的白平衡增益以及等相关色温线,确定该待检测图像的色温,在图像采集场景中的光源不满足黑体辐射时,仍然能够准确地进行色温确定,提高了色温确定的适用性和准确性。It can be seen that in the method flow shown in Figure 1, the relationship curves between the white balance gain and the corresponding color temperature of the image of the target gray object collected under at least three target light sources with different color temperatures are counted, and the CIE chromaticity diagram The iso-correlated color temperature line is mapped to the relationship curve between white balance gain and color temperature to calibrate the iso-correlated color temperature line corresponding to the color temperature of the image of the target gray object collected under each target light source, and then determine the color temperature of the image to be detected When , the color temperature of the image to be detected can be determined according to the white balance gain of the image to be detected and the isocorrelated color temperature line. When the light source in the image acquisition scene does not meet the black body radiation, the color temperature can still be determined accurately, which improves the color temperature determination. applicability and accuracy.

请参见图3,图3为本发明实施例提供的另一种色温确定方法的流程示意图,如图3所示,该色温确定方法可以包括以下步骤:Please refer to FIG. 3. FIG. 3 is a schematic flowchart of another color temperature determination method provided by an embodiment of the present invention. As shown in FIG. 3, the color temperature determination method may include the following steps:

步骤301、统计至少三种不同色温的目标光源下采集到的目标灰色物体的图像的R分量和B分量的白平衡增益。Step 301 , counting the white balance gains of the R component and the B component of the image of the target gray object collected under at least three target light sources with different color temperatures.

步骤302、根据各不同色温的目标光源下采集到的目标灰色物体的图像的RGain、BGain以及对应的色温,在分别以RGain和BGain为横纵坐标的坐标系中确定对应的标定点。Step 302: According to the RGain, BGain and the corresponding color temperature of the image of the target gray object collected under the target light sources with different color temperatures, determine the corresponding calibration points in the coordinate system with RGain and BGain as the horizontal and vertical coordinates respectively.

步骤303、对标定点进行曲线拟合,以确定白平衡增益与色温的关系曲线。Step 303 , performing curve fitting on the calibration points to determine a relationship curve between white balance gain and color temperature.

本发明实施例中,步骤301~步骤303的具体实现可以参见图1所示的方法流程中的相关描述,本发明实施例在此不再赘述。In the embodiment of the present invention, for the specific implementation of steps 301 to 303, reference may be made to the relevant description in the method flow shown in FIG.

步骤304、对白平衡增益与色温的关系曲线中的标定点进行插值,以增加白平衡增益与色温的关系曲线上的标定点的数量。Step 304 , interpolating the calibration points in the relationship curve between white balance gain and color temperature, so as to increase the number of calibration points on the relationship curve between white balance gain and color temperature.

本发明实施例中,考虑到当白平衡增益与色温的关系曲线中标定点过少时,后续流程中根据各标定点对应的等相关色温线确定待检测图像的色温时准确率会比较低,因而,在确定白平衡增益与色温的关系曲线后,可以对该关系曲线上的标定点进行插值,以增加该关系曲线上的标定点的数量,其示意图可以如图2D所示。In the embodiment of the present invention, it is considered that when there are too few calibration points in the relationship curve between white balance gain and color temperature, the accuracy rate of determining the color temperature of the image to be detected according to the iso-correlated color temperature line corresponding to each calibration point in the subsequent process will be relatively low. Therefore, After the relationship curve between white balance gain and color temperature is determined, calibration points on the relationship curve can be interpolated to increase the number of calibration points on the relationship curve, and a schematic diagram thereof can be shown in FIG. 2D .

应该认识到,当白平衡增益与色温的关系曲线中与各目标光源下采集到的图像的白平衡增益对应的标定点的数量足够时,即目标光源的种类足够(如目标光源的种类超过预设阈值)时,也可以不进行标定点的插值,而直接进行后续步骤的处理。It should be recognized that when the number of calibration points corresponding to the white balance gain of the image collected under each target light source in the relationship curve between white balance gain and color temperature is sufficient, that is, the type of target light source is sufficient (such as the type of target light source exceeds the preset When the threshold value is set), the interpolation of the calibration points may not be performed, but the processing of the subsequent steps may be directly performed.

步骤305、将CIE色度图中的等相关色温线映射到所述白平衡增益与色温的关系曲线中,以标定与白平衡增益与色温的关系曲线上各标定点对应的等相关色温线。Step 305: Map the isocorrelated color temperature lines in the CIE chromaticity diagram to the white balance gain-color temperature relationship curve to calibrate the isocorrelated color temperature line corresponding to each calibration point on the white balance gain-color temperature relationship curve.

本发明实施例中,在对白平衡增益与色温的关系曲线中的标定点进行插值之后,影像采集设备可以对白平衡增益与色温的关系曲线上的各标定点(包括与各目标光源下采集到的图像的白平衡增益对应的标定点,以及通过插值新增的标定点)进行等相关色温线标定,其示意图可以如图2E所示。In the embodiment of the present invention, after interpolating the calibration points in the relationship curve between white balance gain and color temperature, the image acquisition device can calculate each calibration point on the relationship curve between white balance gain and color temperature (including those collected under each target light source). The calibration points corresponding to the white balance gain of the image, and the calibration points newly added by interpolation) are used for calibration of the equi-correlated color temperature line, and the schematic diagram thereof can be shown in FIG. 2E .

其中,对于对应的色温存在于CIE色度图中的标定点,将该标定点对应的色温的等相关色温线在CIE色度图中的斜率,确定为该标定点对应的等相关色温线在白平衡增益与色温的关系曲线中的斜率;Wherein, for the corresponding color temperature exists in the calibration point of the CIE chromaticity diagram, the slope of the iso-correlated color temperature line of the color temperature corresponding to the calibration point in the CIE chromaticity diagram is determined as the equi-correlated color temperature line corresponding to the calibration point. The slope in the white balance gain versus color temperature curve;

对于对应的色温未存在于CIE色度图中的标定点,根据CIE色度图中存在的与该标定点对应的色温相邻的两个色温的等相关色温线在CIE色度图中的斜率,确定该标定点对应的等相关色温线在白平衡增益与色温的关系曲线中的斜率;其中,与该标定点对应的色温相邻的两个色温中一个高于该标定点对应的色温,另一个小于该标定点对应的色温;等相关色温线的斜率与色温大小满足单调性。For a calibration point whose corresponding color temperature does not exist in the CIE chromaticity diagram, the slope of the equicorrelated color temperature lines of two color temperatures adjacent to the color temperature corresponding to the calibration point existing in the CIE chromaticity diagram in the CIE chromaticity diagram , determine the slope of the isocorrelated color temperature line corresponding to the calibration point in the relationship curve between white balance gain and color temperature; wherein, one of the two color temperatures adjacent to the color temperature corresponding to the calibration point is higher than the color temperature corresponding to the calibration point, The other is smaller than the color temperature corresponding to the calibration point; the slope of the equal-correlated color temperature line and the color temperature satisfy monotonicity.

步骤306、根据待检测图像的白平衡增益以及等相关色温线,确定待检测图像对应的色温。Step 306: Determine the color temperature corresponding to the image to be detected according to the white balance gain and the iso-correlated color temperature line of the image to be detected.

本发明实施例中,步骤306的具体实现可以参见上述步骤103中的相关描述,本发明实施例在此不再赘述。In the embodiment of the present invention, for the specific implementation of step 306, reference may be made to the relevant description in the foregoing step 103, and details are not repeated in this embodiment of the present invention.

需要注意的是,在本发明实施例中,若目标位置处于等相关色温线的最外侧,即不存在位于目标位置两侧的相邻两个等相关色温线,则可以将最近接目标位置的等相关色温线对应的色温确定为待检测图像对应的色温,或者以其它策略进一步确定待检测图像对应的色温,本发明实施例对此不做限定。It should be noted that, in the embodiment of the present invention, if the target position is at the outermost side of the equi-correlated color temperature line, that is, there are no adjacent two equi-correlated color temperature lines located on both sides of the target position, the closest to the target position can be The color temperature corresponding to the iso-correlated color temperature line is determined as the color temperature corresponding to the image to be detected, or the color temperature corresponding to the image to be detected is further determined by other strategies, which is not limited in this embodiment of the present invention.

通过以上描述可以看出,在本发明实施例提供的技术方案中,通过统计至少三种不同色温的目标光源下采集到的目标灰色物体的图像的三基色中任意两个基色的白平衡增益,确定该白平衡增益与色温的关系曲线,并将CIE色度图中的等相关色温线映射到所述白平衡增益与色温的关系曲线中,以标定各目标光源下采集到的目标灰色物体的图像对应的色温的等相关色温线,进而根据待检测图像的白平衡增益以及等相关色温线,确定待检测图像对应的色温,在图像采集场景中的光源不满足黑体辐射时,仍然能够准确地进行色温确定,提高了色温确定的适用性和准确性。It can be seen from the above description that in the technical solutions provided by the embodiments of the present invention, by counting the white balance gains of any two of the three primary colors of the image of the target gray object collected under at least three target light sources with different color temperatures, Determine the relationship curve between the white balance gain and color temperature, and map the isocorrelated color temperature line in the CIE chromaticity diagram to the relationship curve between the white balance gain and color temperature, so as to calibrate the target gray objects collected under each target light source The equal-correlation color temperature line of the color temperature corresponding to the image, and then determine the corresponding color temperature of the image to be detected according to the white balance gain and the iso-correlation color temperature line of the image to be detected. When the light source in the image acquisition scene does not meet the black body radiation, it can still be accurately The determination of the color temperature improves the applicability and accuracy of the determination of the color temperature.

请参见图4,为本发明实施例提供的一种色温确定装置的结构示意图,其中,该色温确定装置可以应用于上述方法实施例中的影像采集设备,如图4所示,该色温确定装置可以包括:Please refer to FIG. 4 , which is a schematic structural diagram of a color temperature determination device provided by an embodiment of the present invention, wherein the color temperature determination device can be applied to the image acquisition device in the above method embodiment, as shown in FIG. 4 , the color temperature determination device Can include:

统计单元410,用于统计至少三种不同色温的目标光源下采集到的目标灰色物体的图像的三基色中任意两个基色的白平衡增益;其中,所述目标光源为满足黑体辐射的光源;The statistical unit 410 is used to count the white balance gain of any two primary colors in the three primary colors of the image of the target gray object collected under at least three target light sources with different color temperatures; wherein, the target light source is a light source that satisfies black body radiation;

第一确定单元420,用于确定所述白平衡增益与色温的关系曲线;The first determining unit 420 is configured to determine the relationship curve between the white balance gain and the color temperature;

标定单元430,用于将CIE色度图中的等相关色温线映射到所述白平衡增益与色温的关系曲线中,以标定各目标光源下采集到的目标灰色物体的图像对应的色温的等相关色温线;The calibration unit 430 is configured to map the isocorrelated color temperature line in the CIE chromaticity diagram to the relationship curve between the white balance gain and the color temperature, so as to calibrate the isocorrelation of the color temperature corresponding to the image of the target gray object collected under each target light source. Correlated color temperature line;

第二确定单元440,用于根据待检测图像的白平衡增益以及所述等相关色温线,确定所述待检测图像对应的色温。The second determination unit 440 is configured to determine the color temperature corresponding to the image to be detected according to the white balance gain of the image to be detected and the iso-correlated color temperature lines.

请一并参阅图5,图5为本发明实施例提供的另一种色温确定装置的结构示意图,在图4所示实施例的基础上,图5所示的色温确定装置中,第一确定单元420可以包括:Please also refer to FIG. 5. FIG. 5 is a schematic structural diagram of another color temperature determination device provided by an embodiment of the present invention. On the basis of the embodiment shown in FIG. 4, in the color temperature determination device shown in FIG. 5, the first determination Unit 420 may include:

第一确定子单元421,用于根据各不同色温的目标光源下采集到的目标灰色物体的图像的所述两个基色的白平衡增益以及对应的色温,在分别以该两个基色的白平衡增益为横纵坐标的坐标系中确定对应的标定点;The first determining subunit 421 is configured to, according to the white balance gains of the two primary colors and the corresponding color temperatures of the images of the target gray object collected under the target light sources of different color temperatures, respectively use the white balance of the two primary colors Determine the corresponding calibration point in the coordinate system where the gain is the horizontal and vertical coordinates;

拟合单元422,用于对所述标定点进行曲线拟合,以确定所述白平衡增益与色温的关系曲线。The fitting unit 422 is configured to perform curve fitting on the calibration points to determine the relationship curve between the white balance gain and the color temperature.

请一并参阅图6,图6为本发明实施例提供的另一种色温确定装置的结构示意图,在图5所示实施例的基础上,图6所示的色温确定装置还可以包括:Please also refer to FIG. 6. FIG. 6 is a schematic structural diagram of another color temperature determination device provided by an embodiment of the present invention. On the basis of the embodiment shown in FIG. 5, the color temperature determination device shown in FIG. 6 may also include:

插值单元450,用于对所述白平衡增益与色温的关系曲线中的标定点进行插值,以增加所述白平衡增益与色温的关系曲线上的标定点的数量;An interpolation unit 450, configured to interpolate calibration points in the relationship curve between white balance gain and color temperature, so as to increase the number of calibration points on the relationship curve between white balance gain and color temperature;

相应地,所述标定单元430,可以具体用于对于对应的色温存在于所述CIE色度图中的标定点,将该标定点对应的色温的等相关色温线在所述CIE色度图中的斜率,确定为该标定点对应的等相关色温线在所述白平衡增益与色温的关系曲线中的斜率;对于对应的色温未存在于所述CIE色度图中的标定点,根据所述CIE色度图中存在的与该标定点对应的色温相邻的两个色温的等相关色温线在所述CIE色度图中的斜率,确定该标定点对应的等相关色温线在所述白平衡增益与色温的关系曲线中的斜率;其中,与该标定点对应的色温相邻的两个色温中一个高于该标定点对应的色温,另一个小于该标定点对应的色温;等相关色温线的斜率与色温大小满足单调性。Correspondingly, the calibration unit 430 can be specifically configured to, for a calibration point existing in the CIE chromaticity diagram for the corresponding color temperature, put the equicorrelated color temperature line of the color temperature corresponding to the calibration point in the CIE chromaticity diagram The slope is determined as the slope of the iso-correlated color temperature line corresponding to the calibration point in the relationship curve between the white balance gain and the color temperature; for the calibration point whose corresponding color temperature does not exist in the CIE chromaticity diagram, according to the The slope of the equicorrelated color temperature lines of two color temperatures adjacent to the color temperature corresponding to the calibration point in the CIE chromaticity diagram in the CIE chromaticity diagram determines that the equicorrelated color temperature lines corresponding to the calibration point are in the white The slope of the relationship curve between balance gain and color temperature; among them, one of the two color temperatures adjacent to the color temperature corresponding to the calibration point is higher than the color temperature corresponding to the calibration point, and the other is lower than the color temperature corresponding to the calibration point; equal correlation color temperature The slope of the line and the color temperature satisfy monotonicity.

请一并参阅图7,图7为本发明实施例提供的另一种色温确定装置的结构示意图,在图4所示实施例的基础上,图7所示的色温确定装置中,第二确定单元440可以包括:Please also refer to FIG. 7. FIG. 7 is a schematic structural diagram of another color temperature determination device provided by an embodiment of the present invention. On the basis of the embodiment shown in FIG. 4, in the color temperature determination device shown in FIG. 7, the second determination Unit 440 may include:

第二确定子单元441,用于根据所述待检测图像的所述两个基色的白平衡增益,在分别以所述两个基色的白平衡增益为横纵坐标的坐标系中的确定对应的目标位置;The second determining subunit 441 is configured to determine the corresponding target location;

第三确定子单元442,用于根据所述目标位置到相邻两条等相关色温线的距离,以及该相邻两条的等相关色温线对应的色温,确定待检测图像对应的色温;其中,该相邻两条的等相关色温线位于所述目标位置的两侧。The third determining subunit 442 is configured to determine the color temperature corresponding to the image to be detected according to the distance from the target position to two adjacent equi-correlated color temperature lines, and the color temperature corresponding to the two adjacent equi-correlated color temperature lines; , the two adjacent equicorrelated color temperature lines are located on both sides of the target position.

在可选实施例中,所述第三确定子单元442,可以具体用于通过以下公式实现根据所述目标位置到相邻两条等相关色温线的距离,以及该相邻两条的等相关色温线对应的色温,确定待检测图像对应的色温:In an optional embodiment, the third determination subunit 442 can be specifically configured to realize the distance from the target position to two adjacent equi-correlated color temperature lines, and the equi-correlated color temperature lines of the two adjacent equi-correlated lines through the following formula: The color temperature corresponding to the color temperature line determines the color temperature corresponding to the image to be detected:

其中,TcCur为所述待检测图像对应的色温,TcLf、TcRt为该相邻两条等相关色温线对应的色温,TcRt>TcLf,distLf与distRt分别为所述目标位置到该相邻两条等相关色温线的距离。Wherein, TcCur is the color temperature corresponding to the image to be detected, TcLf and TcRt are the color temperatures corresponding to the two adjacent equi-correlated color temperature lines, TcRt>TcLf, distLf and distRt are respectively the distance between the target position and the two adjacent equi-correlated color temperature lines. The distance of the correlated color temperature line.

上述装置中各个单元的功能和作用的实现过程具体详见上述方法中对应步骤的实现过程,在此不再赘述。For the implementation process of the functions and effects of each unit in the above device, please refer to the implementation process of the corresponding steps in the above method for details, and will not be repeated here.

对于装置实施例而言,由于其基本对应于方法实施例,所以相关之处参见方法实施例的部分说明即可。以上所描述的装置实施例仅仅是示意性的,其中所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部模块来实现本发明方案的目的。本领域普通技术人员在不付出创造性劳动的情况下,即可以理解并实施。As for the device embodiment, since it basically corresponds to the method embodiment, for related parts, please refer to the part description of the method embodiment. The device embodiments described above are only illustrative, and the units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in One place, or it can be distributed to multiple network elements. Part or all of the modules can be selected according to actual needs to achieve the purpose of the solution of the present invention. It can be understood and implemented by those skilled in the art without creative effort.

由上述实施例可见,通过统计至少三种不同色温的目标光源下采集到的目标灰色物体的图像的三基色中任意两个基色的白平衡增益,确定该白平衡增益与色温的关系曲线,并将CIE色度图中的等相关色温线映射到所述白平衡增益与色温的关系曲线中,以标定各目标光源下采集到的目标灰色物体的图像对应的色温的等相关色温线,进而根据待检测图像的白平衡增益以及等相关色温线,确定待检测图像对应的色温,在图像采集场景中的光源不满足黑体辐射时,仍然能够准确地进行色温确定,提高了色温确定的适用性和准确性。It can be seen from the above embodiments that by counting the white balance gains of any two of the three primary colors of the image of the target gray object collected under at least three target light sources with different color temperatures, the relationship curve between the white balance gain and the color temperature is determined, and Map the equicorrelated color temperature lines in the CIE chromaticity diagram to the relationship curve between the white balance gain and the color temperature to calibrate the equicorrelated color temperature lines corresponding to the color temperature of the image of the target gray object collected under each target light source, and then according to The white balance gain and equal correlation color temperature line of the image to be detected can determine the corresponding color temperature of the image to be detected. When the light source in the image acquisition scene does not meet the black body radiation, the color temperature can still be determined accurately, which improves the applicability and reliability of the color temperature determination. accuracy.

本领域技术人员在考虑说明书及实践这里公开的发明后,将容易想到本发明的其它实施方案。本申请旨在涵盖本发明的任何变型、用途或者适应性变化,这些变型、用途或者适应性变化遵循本发明的一般性原理并包括本发明未公开的本技术领域中的公知常识或惯用技术手段。说明书和实施例仅被视为示例性的,本发明的真正范围和精神由下面的权利要求指出。Other embodiments of the invention will be readily apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any modification, use or adaptation of the present invention, these modifications, uses or adaptations follow the general principles of the present invention and include common knowledge or conventional technical means in the technical field not disclosed in the present invention . The specification and examples are to be considered exemplary only, with a true scope and spirit of the invention being indicated by the following claims.

应当理解的是,本发明并不局限于上面已经描述并在附图中示出的精确结构,并且可以在不脱离其范围进行各种修改和改变。本发明的范围仅由所附的权利要求来限制。It should be understood that the present invention is not limited to the precise constructions which have been described above and shown in the accompanying drawings, and various modifications and changes may be made without departing from the scope thereof. The scope of the invention is limited only by the appended claims.

Claims (8)

1.一种色温确定方法,其特征在于,包括:1. A method for determining color temperature, comprising: 统计至少三种不同色温的目标光源下采集到的目标灰色物体的图像的三基色中任意两个基色的白平衡增益,并确定所述白平衡增益与色温的关系曲线;其中,所述目标光源为满足黑体辐射的光源;Count the white balance gains of any two of the three primary colors of the images of the target gray object collected under at least three target light sources with different color temperatures, and determine the relationship curve between the white balance gain and the color temperature; wherein, the target light source In order to satisfy the light source of black body radiation; 将国际照明委员会CIE色度图中的等相关色温线映射到所述白平衡增益与色温的关系曲线中,以标定各目标光源下采集到的目标灰色物体的图像对应的色温的等相关色温线;Map the isocorrelated color temperature line in the CIE chromaticity diagram of the International Commission on Illumination to the relationship curve between the white balance gain and the color temperature, so as to calibrate the isocorrelated color temperature line corresponding to the color temperature of the image of the target gray object collected under each target light source ; 根据待检测图像的白平衡增益以及所述等相关色温线,确定所述待检测图像对应的色温;Determine the color temperature corresponding to the image to be detected according to the white balance gain of the image to be detected and the iso-correlated color temperature line; 其中,所述根据待检测图像的白平衡增益以及所述等相关色温线,确定所述待检测图像对应的色温包括:根据所述待检测图像的所述两个基色的白平衡增益,在分别以所述两个基色的白平衡增益为横纵坐标的坐标系中的确定对应的目标位置;根据所述目标位置到相邻两条等相关色温线的距离,以及该相邻两条的等相关色温线对应的色温,确定待检测图像对应的色温;其中,该相邻两条的等相关色温线位于所述目标位置的两侧。Wherein, the determining the color temperature corresponding to the image to be detected according to the white balance gain of the image to be detected and the iso-correlated color temperature line includes: according to the white balance gains of the two primary colors of the image to be detected, respectively Determine the corresponding target position in the coordinate system with the white balance gains of the two primary colors as the horizontal and vertical coordinates; according to the distance from the target position to two adjacent equi-correlated color temperature lines, and the equi-correlated color temperature lines of the two adjacent The color temperature corresponding to the correlated color temperature line determines the color temperature corresponding to the image to be detected; wherein, the two adjacent equal correlated color temperature lines are located on both sides of the target position. 2.根据权利要求1所述的方法,其特征在于,所述确定所述白平衡增益与色温的关系曲线,包括:2. The method according to claim 1, wherein the determining the relationship curve between the white balance gain and the color temperature comprises: 根据各不同色温的目标光源下采集到的目标灰色物体的图像的所述两个基色的白平衡增益以及对应的色温,在分别以该两个基色的白平衡增益为横纵坐标的坐标系中确定对应的标定点;According to the white balance gain of the two primary colors and the corresponding color temperature of the image of the target gray object collected under the target light source with different color temperature, in the coordinate system with the white balance gain of the two primary colors as the horizontal and vertical coordinates respectively Determine the corresponding calibration point; 对所述标定点进行曲线拟合,以确定所述白平衡增益与色温的关系曲线。Curve fitting is performed on the calibration points to determine the relationship curve between the white balance gain and the color temperature. 3.根据权利要求2所述的方法,其特征在于,所述对所述标定点进行曲线拟合之后,还包括:3. method according to claim 2, is characterized in that, after described calibration point is carried out curve fitting, also comprises: 对所述白平衡增益与色温的关系曲线中的标定点进行插值,以增加所述白平衡增益与色温的关系曲线上的标定点的数量;Interpolating the calibration points in the relationship curve between white balance gain and color temperature to increase the number of calibration points on the relationship curve between white balance gain and color temperature; 所述将国际照明委员会CIE色度图中的等相关色温线映射到所述白平衡增益与色温的关系曲线,以标定各目标光源下采集到的目标灰色物体的图像对应的色温的等相关色温线,包括:Mapping the equicorrelated color temperature line in the CIE chromaticity diagram of the International Commission on Illumination to the relationship curve between the white balance gain and the color temperature to calibrate the equicorrelated color temperature of the color temperature corresponding to the image of the target gray object collected under each target light source lines, including: 对于对应的色温存在于所述CIE色度图中的标定点,将该标定点对应的色温的等相关色温线在所述CIE色度图中的斜率,确定为该标定点对应的等相关色温线在所述白平衡增益与色温的关系曲线中的斜率;For the corresponding color temperature exists in the calibration point of the CIE chromaticity diagram, the slope of the equicorrelated color temperature line of the color temperature corresponding to the calibration point in the CIE chromaticity diagram is determined as the equicorrelated color temperature corresponding to the calibration point The slope of the line in the relational curve of white balance gain and color temperature; 对于对应的色温未存在于所述CIE色度图中的标定点,根据所述CIE色度图中存在的与该标定点对应的色温相邻的两个色温的等相关色温线在所述CIE色度图中的斜率,确定该标定点对应的等相关色温线在所述白平衡增益与色温的关系曲线中的斜率;其中,与该标定点对应的色温相邻的两个色温中一个高于该标定点对应的色温,另一个小于该标定点对应的色温;等相关色温线的斜率与色温大小满足单调性。For a calibration point whose corresponding color temperature does not exist in the CIE chromaticity diagram, according to the equicorrelated color temperature lines of two color temperatures adjacent to the color temperature corresponding to the calibration point existing in the CIE chromaticity diagram in the CIE The slope in the chromaticity diagram determines the slope of the iso-correlated color temperature line corresponding to the calibration point in the relationship curve between the white balance gain and the color temperature; wherein, one of the two color temperatures adjacent to the color temperature corresponding to the calibration point is higher For the color temperature corresponding to the calibration point, the other is smaller than the color temperature corresponding to the calibration point; the slope of the equal correlation color temperature line and the color temperature satisfy monotonicity. 4.根据权利要求1所述的方法,其特征在于,所述根据所述目标位置到相邻两条等相关色温线的距离,以及该相邻两条的等相关色温线对应的色温,确定待检测图像对应的色温,具体通过以下公式实现:4. The method according to claim 1, characterized in that, according to the distance from the target position to two adjacent equi-correlated color temperature lines, and the color temperature corresponding to the two adjacent equi-correlated color temperature lines, determine The color temperature corresponding to the image to be detected is specifically realized by the following formula: <mrow> <mi>T</mi> <mi>c</mi> <mi>C</mi> <mi>u</mi> <mi>r</mi> <mo>=</mo> <mi>T</mi> <mi>c</mi> <mi>L</mi> <mi>f</mi> <mo>+</mo> <mfrac> <mrow> <mi>d</mi> <mi>i</mi> <mi>s</mi> <mi>t</mi> <mi>L</mi> <mi>f</mi> </mrow> <mrow> <mi>d</mi> <mi>i</mi> <mi>s</mi> <mi>t</mi> <mi>L</mi> <mi>f</mi> <mo>+</mo> <mi>d</mi> <mi>i</mi> <mi>s</mi> <mi>t</mi> <mi>R</mi> <mi>t</mi> </mrow> </mfrac> <mrow> <mo>(</mo> <mi>T</mi> <mi>c</mi> <mi>R</mi> <mi>t</mi> <mo>-</mo> <mi>T</mi> <mi>c</mi> <mi>L</mi> <mi>f</mi> <mo>)</mo> </mrow> </mrow> <mrow><mi>T</mi><mi>c</mi><mi>C</mi><mi>u</mi><mi>r</mi><mo>=</mo><mi>T</mi><mi>c</mi><mi>L</mi><mi>f</mi><mo>+</mo><mfrac><mrow><mi>d</mi><mi>i</mi><mi>s</mi><mi>t</mi><mi>L</mi><mi>f</mi></mrow><mrow><mi>d</mi><mi>i</mi><mi>s</mi><mi>t</mi><mi>L</mi><mi>f</mi><mo>+</mo><mi>d</mi><mi>i</mi><mi>s</mi><mi>t</mi><mi>R</mi><mi>t</mi></mrow></mfrac><mrow><mo>(</mo><mi>T</mi><mi>c</mi><mi>R</mi><mi>t</mi><mo>-</mo><mi>T</mi><mi>c</mi><mi>L</mi><mi>f</mi><mo>)</mo></mrow></mrow> 其中,TcCur为所述待检测图像对应的色温,TcLf、TcRt为该相邻两条等相关色温线对应的色温,TcRt>TcLf,distLf与distRt分别为所述目标位置到该相邻两条等相关色温线的距离。Wherein, TcCur is the color temperature corresponding to the image to be detected, TcLf and TcRt are the color temperatures corresponding to the two adjacent equi-correlated color temperature lines, TcRt>TcLf, distLf and distRt are respectively the distance between the target position and the adjacent two equi-correlated color temperature lines. The distance of the correlated color temperature line. 5.一种色温确定装置,其特征在于,包括:5. A color temperature determining device, characterized in that it comprises: 统计单元,用于统计至少三种不同色温的目标光源下采集到的目标灰色物体的图像的三基色中任意两个基色的白平衡增益;其中,所述目标光源为满足黑体辐射的光源;The statistical unit is used to count the white balance gain of any two primary colors in the three primary colors of the image of the target gray object collected under at least three target light sources with different color temperatures; wherein, the target light source is a light source that satisfies black body radiation; 第一确定单元,用于确定所述白平衡增益与色温的关系曲线;a first determining unit, configured to determine the relationship curve between the white balance gain and the color temperature; 标定单元,用于将国际照明委员会CIE色度图中的等相关色温线映射到所述白平衡增益与色温的关系曲线中,以标定各目标光源下采集到的目标灰色物体的图像对应的色温的等相关色温线;A calibration unit, configured to map the isocorrelated color temperature line in the CIE chromaticity diagram of the International Commission on Illumination to the relationship curve between the white balance gain and the color temperature, so as to calibrate the color temperature corresponding to the image of the target gray object collected under each target light source The isocorrelated color temperature line; 第二确定单元,用于根据待检测图像的白平衡增益以及所述等相关色温线,确定所述待检测图像对应的色温The second determination unit is configured to determine the color temperature corresponding to the image to be detected according to the white balance gain of the image to be detected and the iso-correlated color temperature line 其中,所述第二确定单元包括:Wherein, the second determination unit includes: 第二确定子单元,用于根据所述待检测图像的所述两个基色的白平衡增益,在分别以所述两个基色的白平衡增益为横纵坐标的坐标系中的确定对应的目标位置;The second determination subunit is used to determine the corresponding target in a coordinate system with the white balance gains of the two primary colors as the horizontal and vertical coordinates according to the white balance gains of the two primary colors of the image to be detected Location; 第三确定子单元,用于根据所述目标位置到相邻两条等相关色温线的距离,以及该相邻两条的等相关色温线对应的色温,确定待检测图像对应的色温;其中,该相邻两条的等相关色温线位于所述目标位置的两侧。The third determining subunit is used to determine the color temperature corresponding to the image to be detected according to the distance from the target position to two adjacent iso-correlated color temperature lines, and the color temperature corresponding to the two adjacent iso-correlated color temperature lines; wherein, The two adjacent equi-correlated color temperature lines are located on both sides of the target position. 6.根据权利要求5所述的装置,其特征在于,所述第一确定单元,包括:6. The device according to claim 5, wherein the first determining unit comprises: 第一确定子单元,用于根据各不同色温的目标光源下采集到的目标灰色物体的图像的所述两个基色的白平衡增益以及对应的色温,在分别以该两个基色的白平衡增益为横纵坐标的坐标系中确定对应的标定点;The first determining subunit is used to, according to the white balance gain of the two primary colors and the corresponding color temperature of the image of the target gray object collected under the target light source with different color temperatures, respectively use the white balance gains of the two primary colors Determine the corresponding calibration point in the coordinate system of horizontal and vertical coordinates; 拟合单元,用于对所述标定点进行曲线拟合,以确定所述白平衡增益与色温的关系曲线。A fitting unit is configured to perform curve fitting on the calibration points to determine a relationship curve between the white balance gain and the color temperature. 7.根据权利要求6所述的装置,其特征在于,所述装置还包括:7. The device according to claim 6, further comprising: 插值单元,用于对所述白平衡增益与色温的关系曲线中的标定点进行插值,以增加所述白平衡增益与色温的关系曲线上的标定点的数量;an interpolation unit, configured to interpolate calibration points in the relationship curve between white balance gain and color temperature, so as to increase the number of calibration points on the relationship curve between white balance gain and color temperature; 所述标定单元,具体用于标定对于对应的色温存在于所述CIE色度图中的标定点,将该标定点对应的色温的等相关色温线在所述CIE色度图中的斜率,确定为该标定点对应的等相关色温线在所述白平衡增益与色温的关系曲线中的斜率;对于对应的色温未存在于所述CIE色度图中的标定点,根据所述CIE色度图中存在的与该标定点对应的色温相邻的两个色温的等相关色温线在所述CIE色度图中的斜率,确定该标定点对应的等相关色温线在所述白平衡增益与色温的关系曲线中的斜率;其中,与该标定点对应的色温相邻的两个色温中一个高于该标定点对应的色温,另一个小于该标定点对应的色温;等相关色温线的斜率与色温大小满足单调性。The calibration unit is specifically used to calibrate a calibration point that exists in the CIE chromaticity diagram for the corresponding color temperature, and determine the slope of the equicorrelated color temperature line of the color temperature corresponding to the calibration point in the CIE chromaticity diagram. is the slope of the isocorrelated color temperature line corresponding to the calibration point in the relationship curve between the white balance gain and the color temperature; for a calibration point whose corresponding color temperature does not exist in the CIE chromaticity diagram, according to the CIE chromaticity diagram The slope of the iso-correlated color temperature lines of two color temperatures adjacent to the color temperature corresponding to the calibration point in the CIE chromaticity diagram, determine the equi-correlation color temperature line corresponding to the calibration point in the white balance gain and color temperature The slope in the relationship curve of the calibration point; wherein, one of the two color temperatures adjacent to the color temperature corresponding to the calibration point is higher than the color temperature corresponding to the calibration point, and the other is lower than the color temperature corresponding to the calibration point; the slope of the equal correlation color temperature line and The color temperature satisfies monotonicity. 8.根据权利要求5所述的装置,其特征在于,所述第三确定子单元,具体用于通过以下公式实现根据所述目标位置到相邻两条等相关色温线的距离,以及该相邻两条的等相关色温线对应的色温,确定待检测图像对应的色温:8. The device according to claim 5, wherein the third determining subunit is specifically configured to realize the distance from the target position to two adjacent equi-correlated color temperature lines according to the following formula, and the phase Determine the color temperature corresponding to the image to be detected by the color temperature corresponding to the two adjacent equi-correlated color temperature lines: <mrow> <mi>T</mi> <mi>c</mi> <mi>C</mi> <mi>u</mi> <mi>r</mi> <mo>=</mo> <mi>T</mi> <mi>c</mi> <mi>L</mi> <mi>f</mi> <mo>+</mo> <mfrac> <mrow> <mi>d</mi> <mi>i</mi> <mi>s</mi> <mi>t</mi> <mi>L</mi> <mi>f</mi> </mrow> <mrow> <mi>d</mi> <mi>i</mi> <mi>s</mi> <mi>t</mi> <mi>L</mi> <mi>f</mi> <mo>+</mo> <mi>d</mi> <mi>i</mi> <mi>s</mi> <mi>t</mi> <mi>R</mi> <mi>t</mi> </mrow> </mfrac> <mrow> <mo>(</mo> <mi>T</mi> <mi>c</mi> <mi>R</mi> <mi>t</mi> <mo>-</mo> <mi>T</mi> <mi>c</mi> <mi>L</mi> <mi>f</mi> <mo>)</mo> </mrow> </mrow> <mrow><mi>T</mi><mi>c</mi><mi>C</mi><mi>u</mi><mi>r</mi><mo>=</mo><mi>T</mi><mi>c</mi><mi>L</mi><mi>f</mi><mo>+</mo><mfrac><mrow><mi>d</mi><mi>i</mi><mi>s</mi><mi>t</mi><mi>L</mi><mi>f</mi></mrow><mrow><mi>d</mi><mi>i</mi><mi>s</mi><mi>t</mi><mi>L</mi><mi>f</mi><mo>+</mo><mi>d</mi><mi>i</mi><mi>s</mi><mi>t</mi><mi>R</mi><mi>t</mi></mrow></mfrac><mrow><mo>(</mo><mi>T</mi><mi>c</mi><mi>R</mi><mi>t</mi><mo>-</mo><mi>T</mi><mi>c</mi><mi>L</mi><mi>f</mi><mo>)</mo></mrow></mrow> 其中,TcCur为所述待检测图像对应的色温,TcLf、TcRt为该相邻两条等相关色温线对应的色温,TcRt>TcLf,distLf与distRt分别为所述目标位置到该相邻两条等相关色温线的距离。Wherein, TcCur is the color temperature corresponding to the image to be detected, TcLf and TcRt are the color temperatures corresponding to the two adjacent equi-correlated color temperature lines, TcRt>TcLf, distLf and distRt are respectively the distance between the target position and the two adjacent equi-correlated color temperature lines. The distance of the correlated color temperature line.
CN201610013622.7A 2016-01-08 2016-01-08 A kind of colour temperature determines method and device Active CN105578166B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610013622.7A CN105578166B (en) 2016-01-08 2016-01-08 A kind of colour temperature determines method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610013622.7A CN105578166B (en) 2016-01-08 2016-01-08 A kind of colour temperature determines method and device

Publications (2)

Publication Number Publication Date
CN105578166A CN105578166A (en) 2016-05-11
CN105578166B true CN105578166B (en) 2018-06-05

Family

ID=55887766

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610013622.7A Active CN105578166B (en) 2016-01-08 2016-01-08 A kind of colour temperature determines method and device

Country Status (1)

Country Link
CN (1) CN105578166B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105959661B (en) * 2016-05-06 2019-07-26 联想(北京)有限公司 A kind of color temperature estimation method and electronic equipment

Families Citing this family (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105606230B (en) * 2016-01-26 2018-06-15 浙江大学 A kind of accurate method and system for obtaining correlated color temperature of light source
CN106131527A (en) * 2016-07-26 2016-11-16 深圳众思科技有限公司 Dual camera color synchronization method, device and terminal
CN106370398B (en) * 2016-09-23 2019-02-22 北京小米移动软件有限公司 Flashlight acceptance method and device
CN107682958A (en) * 2017-10-13 2018-02-09 勤上光电股份有限公司 A kind of LED desk lamp of computer-readable recording medium and the application medium
CN107872663B (en) 2017-12-25 2019-05-24 Oppo广东移动通信有限公司 Image processing method and device, computer readable storage medium and computer equipment
CN108184106A (en) * 2017-12-29 2018-06-19 努比亚技术有限公司 Image processing method, mobile terminal and computer readable storage medium
CN108234971B (en) 2018-02-09 2019-11-05 上海小蚁科技有限公司 White balance parameter determines method, white balance adjustment method and device, storage medium, terminal
CN108965846A (en) * 2018-09-07 2018-12-07 晶晨半导体(上海)股份有限公司 Adjust method, system and the display of white balance
CN109493829B (en) * 2018-11-26 2020-08-04 深圳市华星光电半导体显示技术有限公司 Method for acquiring color temperature of image
CN110211062A (en) * 2019-05-20 2019-09-06 深圳市华星光电半导体显示技术有限公司 A kind of scene light source color temperature control method
CN113256487B (en) * 2021-06-10 2021-11-12 珠海市杰理科技股份有限公司 Image processing method, apparatus, device and storage medium
CN114867148A (en) * 2022-04-26 2022-08-05 福州爱国者之星光电科技有限公司 Multi-path light mixing method and terminal
CN115914602B (en) * 2022-11-28 2025-01-17 峰米(重庆)创新科技有限公司 White balance adjustment method, white balance adjustment device, computer equipment and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1374505A (en) * 2001-03-10 2002-10-16 三星电子株式会社 Apparatus and method for counting colour temperature
CN1691749A (en) * 2004-04-21 2005-11-02 明基电通股份有限公司 Digital camera capable of measuring chromaticity coordinates and correlated color temperature and method thereof
CN101420626A (en) * 2007-10-22 2009-04-29 索尼株式会社 Color signal processing circuit, image capture device and method for processing color singal
CN101697654A (en) * 2009-10-30 2010-04-21 中山大学 Correlated color temperature and color rendering index self-calibration circuit of LED light source consisting of light of multiple colors
CN101738831A (en) * 2008-11-25 2010-06-16 三星电子株式会社 Method and apparatus for calibrating a color temperature of a projector
CN101911715A (en) * 2008-02-13 2010-12-08 高通股份有限公司 The white balance calibration that is used for digital camera device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1374505A (en) * 2001-03-10 2002-10-16 三星电子株式会社 Apparatus and method for counting colour temperature
CN1691749A (en) * 2004-04-21 2005-11-02 明基电通股份有限公司 Digital camera capable of measuring chromaticity coordinates and correlated color temperature and method thereof
CN101420626A (en) * 2007-10-22 2009-04-29 索尼株式会社 Color signal processing circuit, image capture device and method for processing color singal
CN101911715A (en) * 2008-02-13 2010-12-08 高通股份有限公司 The white balance calibration that is used for digital camera device
CN101738831A (en) * 2008-11-25 2010-06-16 三星电子株式会社 Method and apparatus for calibrating a color temperature of a projector
CN101697654A (en) * 2009-10-30 2010-04-21 中山大学 Correlated color temperature and color rendering index self-calibration circuit of LED light source consisting of light of multiple colors

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105959661B (en) * 2016-05-06 2019-07-26 联想(北京)有限公司 A kind of color temperature estimation method and electronic equipment

Also Published As

Publication number Publication date
CN105578166A (en) 2016-05-11

Similar Documents

Publication Publication Date Title
CN105578166B (en) A kind of colour temperature determines method and device
US11849224B2 (en) Global tone mapping
CN104618702B (en) A kind of digital camera auto white balance method supposed based on white block
CN102892010B (en) White balance processing method and device under multiple light sources
CN1994000B (en) Automatic white balance method and apparatus
CN103227928B (en) White balance adjusting method and device
KR101092539B1 (en) Imaging device that automatically adjusts white balance and its white balance adjustment method
CN103139572B (en) Photosensitive device and for its white balance method and device
CN101957988B (en) Method and device for obtaining probability distribution of image grey spots and white balance method and device
CN103796003B (en) A kind of image correcting method of stereo camera shooting and system
CN113452980B (en) Image processing method, terminal and storage medium
TWI740316B (en) Day-mode-night-mode switching method and related monitoring camera apparatus
CN103634581A (en) White balance control method, device and electronic equipment
WO2021223185A1 (en) Camera and alignment method and apparatus therefor, and gimbal
EP3888345A1 (en) Method for generating image data for machine learning based imaging algorithms
CN105472365B (en) A kind of method and apparatus of AWB
CN111314684A (en) A method of white balance correction based on metamerism
CN103079077B (en) A kind of image processing method
US9654756B1 (en) Method and apparatus for interpolating pixel colors from color and panchromatic channels to color channels
CN115100085B (en) Image color correction method, device, storage medium and electronic device
CN106572343A (en) Color cast preventing method and terminal
US8284260B2 (en) Optimal raw RGB determination for color calibration
CN102231787A (en) Image color correction method and device
CN103313066B (en) Interpolation method and device
US20090244316A1 (en) Automatic white balance control

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant