[go: up one dir, main page]

CN105979236A - Image quality adjustment method and device - Google Patents

Image quality adjustment method and device Download PDF

Info

Publication number
CN105979236A
CN105979236A CN201510918151.XA CN201510918151A CN105979236A CN 105979236 A CN105979236 A CN 105979236A CN 201510918151 A CN201510918151 A CN 201510918151A CN 105979236 A CN105979236 A CN 105979236A
Authority
CN
China
Prior art keywords
image
color temperature
color
face
facial feature
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.)
Pending
Application number
CN201510918151.XA
Other languages
Chinese (zh)
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.)
Leshi Zhixin Electronic Technology Tianjin Co Ltd
Original Assignee
Leshi Zhixin Electronic Technology Tianjin 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 Leshi Zhixin Electronic Technology Tianjin Co Ltd filed Critical Leshi Zhixin Electronic Technology Tianjin Co Ltd
Priority to CN201510918151.XA priority Critical patent/CN105979236A/en
Publication of CN105979236A publication Critical patent/CN105979236A/en
Pending legal-status Critical Current

Links

Classifications

    • 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)
  • Image Processing (AREA)

Abstract

本发明实施例提供一种画质调整方法及装置,其中的方法具体包括:采集用户的面部图像;从所述面部图像中提取对应的面部特征图像;依据所述面部特征图像的颜色信息,确定显示设备的色温参数。本发明实施例能够提高色温参数的准确度和合理性,从而可以满足用户对于色温参数的个性化需求。

Embodiments of the present invention provide a method and device for image quality adjustment, wherein the method specifically includes: collecting a user's facial image; extracting a corresponding facial feature image from the facial image; determining the color information of the facial feature image based on the color information Displays the color temperature parameters of the device. The embodiments of the present invention can improve the accuracy and rationality of the color temperature parameters, thereby satisfying the user's personalized requirements for the color temperature parameters.

Description

一种画质调整方法及装置Image quality adjustment method and device

技术领域technical field

本发明实施例涉及视频技术领域,尤其涉及一种画质调整方法及装置。Embodiments of the present invention relate to the field of video technology, and in particular, to a method and device for adjusting image quality.

背景技术Background technique

随着电视机技术的发展,智能电视时代的到来,电视节目越来越多,而且随着机顶盒在电视机上的应用,以及越来越多的智能电视支持网络视频播放,使得电视播放的内容越来越多,如电视节目内容、游戏内容等。而为了在电视机上观看繁多的播放内容,用户对画质调整的要求也越来越高。With the development of TV technology and the advent of the smart TV era, there are more and more TV programs, and with the application of set-top boxes on TVs, and more and more smart TVs support online video playback, the content played on TV is becoming more and more More and more, such as TV program content, game content, etc. In order to watch a variety of broadcast content on the TV, users have higher and higher requirements for image quality adjustment.

目前在电视机上进行画质调整主要包括两种方法:Currently, there are two main ways to adjust the picture quality on the TV:

一种是电视机厂商调整好的几种标准模式,如艳丽模式用于商场展示,运动模式用于观看动作比较强的画面等等,但是这些模式都是电视厂商根据经验值和对比机调试出来的,而不一定满足用户对画质调整的个性化需求;One is several standard modes adjusted by TV manufacturers, such as gorgeous mode for display in shopping malls, sports mode for watching pictures with strong movements, etc., but these modes are adjusted by TV manufacturers based on experience and comparison machines , but does not necessarily meet the user's individual needs for image quality adjustment;

另一种就是向用户提供调整画质的接口,例如,用户可以通过该接口调整画质的亮度、对比度、饱和度等参数;然而,这种方法需要用户掌握相当的画质知识,如果用户未掌握画质知识,则调整得到的画质也无法满足用户对画质调整的个性化需求。The other is to provide users with an interface for adjusting image quality. For example, users can adjust image quality parameters such as brightness, contrast, and saturation through this interface; however, this method requires users to have considerable image quality knowledge. If you master the image quality knowledge, the adjusted image quality cannot meet the user's individual needs for image quality adjustment.

发明内容Contents of the invention

本发明实施例提供一种画质调整方法及装置,用以解决现有方案无法满足用户对画质调整的个性化需求的缺陷,能够提高色温参数的准确度和合理性,从而可以满足用户对于色温参数的个性化需求。Embodiments of the present invention provide a method and device for image quality adjustment, which are used to solve the defect that the existing solutions cannot meet the user's individual needs for image quality adjustment, and can improve the accuracy and rationality of the color temperature parameters, thereby satisfying the user's requirements for image quality adjustment. Individual requirements for color temperature parameters.

本发明实施例提供一种画质调整方法,包括:An embodiment of the present invention provides a method for adjusting image quality, including:

采集用户的面部图像;Collect facial images of users;

从所述面部图像中提取对应的面部特征图像;extracting a corresponding facial feature image from the facial image;

依据所述面部特征图像的颜色信息,确定显示设备的色温参数。Determine the color temperature parameter of the display device according to the color information of the facial feature image.

本发明实施例提供一种画质调整装置,包括:An embodiment of the present invention provides an image quality adjustment device, including:

采集模块,用于采集用户的面部图像;The collection module is used to collect the facial image of the user;

提取模块,用于从所述面部图像中提取对应的面部特征图像;及An extraction module, configured to extract a corresponding facial feature image from the facial image; and

确定模块,用于依据所述面部特征图像的颜色信息,确定显示设备的色温参数。The determination module is configured to determine the color temperature parameter of the display device according to the color information of the facial feature image.

本发明实施例提供的画质调整方法及装置,依据面部特征图像的颜色信息,确定显示设备的色温参数,能够自动调整得到与面部特征图像的颜色信息相匹配的色温参数;由于上述色温参数能够与当前用户的面部特征图像相匹配,因此本发明实施例能够提高色温参数的准确度和合理性,从而可以满足用户对于色温参数的个性化需求。The image quality adjustment method and device provided by the embodiments of the present invention determine the color temperature parameter of the display device according to the color information of the facial feature image, and can automatically adjust to obtain the color temperature parameter that matches the color information of the facial feature image; because the above color temperature parameter can It is matched with the facial feature image of the current user, so the embodiments of the present invention can improve the accuracy and rationality of the color temperature parameters, thereby satisfying the user's personalized requirements for the color temperature parameters.

附图说明Description of drawings

为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作一简单地介绍,显而易见地,下面描述中的附图是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following will briefly introduce the drawings that need to be used in the description of the embodiments or the prior art. Obviously, the accompanying drawings in the following description These are some embodiments of the present invention. Those skilled in the art can also obtain other drawings based on these drawings without creative work.

图1为本发明的一种画质调整方法实施例一的步骤流程图;FIG. 1 is a flow chart of the steps of Embodiment 1 of an image quality adjustment method of the present invention;

图2为本发明的一种画质调整方法实施例二的步骤流程图;FIG. 2 is a flow chart of the steps of Embodiment 2 of an image quality adjustment method of the present invention;

图3为本发明的一种画质调整方法实施例三的步骤流程图;FIG. 3 is a flow chart of the steps of Embodiment 3 of an image quality adjustment method of the present invention;

图4为本发明的一种画质调整方法实施例四的步骤流程图;FIG. 4 is a flow chart of the steps of Embodiment 4 of an image quality adjustment method of the present invention;

图5为本发明的一种眼睛定位的示意图;及Fig. 5 is a schematic diagram of eye positioning of the present invention; and

图6为本发明的一种画质调整装置实施例的结构框图。FIG. 6 is a structural block diagram of an embodiment of an image quality adjustment device of the present invention.

具体实施方式detailed description

为使本发明实施例的目的、技术方案和优点更加清楚,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments It is a part of embodiments of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

方法实施例一Method embodiment one

参照图1,示出了本发明的一种画质调整方法实施例一的步骤流程图,具体可以包括:Referring to FIG. 1 , it shows a flow chart of the steps of Embodiment 1 of an image quality adjustment method of the present invention, which may specifically include:

步骤101、采集用户的面部图像;Step 101, collecting the facial image of the user;

本发明实施例可以应用于普通电视机、智能电视、显示器、手机等显示设备,用于在这些显示设备上调整PQ(画质,Picture Quality),能够自动调整得到与面部特征图像的颜色信息相匹配的色温参数,因此能够满足用户对于色温参数的个性化需求。The embodiments of the present invention can be applied to display devices such as ordinary TVs, smart TVs, monitors, mobile phones, etc., and are used to adjust PQ (Picture Quality, Picture Quality) on these display devices, and can automatically adjust to obtain the color information corresponding to the facial feature image. Matching color temperature parameters, so it can meet the user's individual needs for color temperature parameters.

在实际应用中,可以在显示设备的用户界面增加一行PQ自动调整下拉菜单,该下拉菜单中可以包括:选择通过面部信息识别自动调整PQ参数的选项。这样,当用户购买了显示设备并放置于使用环境下时,可以通过点击上述选项开启“选择通过面部信息自动调整PQ参数”的功能,则可以自动执行本发明实施例的画质调整流程。In practical applications, a row of PQ automatic adjustment drop-down menus may be added to the user interface of the display device, and the drop-down menus may include: selecting an option to automatically adjust PQ parameters through facial information recognition. In this way, when the user purchases the display device and places it in the use environment, he can click on the above option to enable the function of "selecting to automatically adjust PQ parameters through facial information", and then the image quality adjustment process of the embodiment of the present invention can be automatically executed.

在实际应用中,可以通过摄像头采集用户的面部图像。例如,可以通过智能电视配备的摄像头、或者手机的摄像头采集用户的面部头像,本发明实施例对于采集用户的面部图像的具体过程不加以限制。In practical applications, the user's facial image can be collected through the camera. For example, the user's facial avatar may be collected through a camera equipped on a smart TV or a mobile phone, and the embodiment of the present invention does not limit the specific process of collecting the user's facial image.

步骤102、从所述面部图像中提取对应的面部特征图像;Step 102, extracting a corresponding facial feature image from the facial image;

步骤103、依据所述面部特征图像的颜色信息,确定显示设备的色温参数。Step 103: Determine the color temperature parameter of the display device according to the color information of the facial feature image.

色温(color temperature)是一个源自物理学的概念,它通过温度来描述发光物体的色彩。发光物体的光谱主要频率可以用一定温度下的黑体辐射光谱来描述,这个温度就称为这个发光物体的色温。显示设备的色温是指在纯白色状态下的结果,常见的色温有5000K、6500K、9300K等。通常而言,低色温光源的特征是能量分布中红辐射相对要多些,红色的色温则偏低,约为2000K至3000K,称为“暖色调”;而色温提高后,能量分布中蓝辐射的比例增加,蓝色的色温较高,约为8000K至10000K,称为“冷色调”。Color temperature is a concept derived from physics, which describes the color of luminous objects through temperature. The main frequency of the spectrum of a luminous object can be described by the blackbody radiation spectrum at a certain temperature, and this temperature is called the color temperature of the luminous object. The color temperature of the display device refers to the result in the pure white state. Common color temperatures are 5000K, 6500K, 9300K, etc. Generally speaking, a low color temperature light source is characterized by relatively more red radiation in the energy distribution, and a lower color temperature of red, about 2000K to 3000K, which is called "warm tone"; when the color temperature is increased, the blue radiation in the energy distribution The proportion of blue increases, and the color temperature of blue is higher, about 8000K to 10000K, which is called "cool tone".

本发明实施例中,面部特征可用于表示眼睛、鼻子、嘴巴、额头、肤色等体现在面部图像中的特征。面部特征不同主要取决于人生活的地理位置、生活习性、遗传基因等地域位置因素,这些地域位置因素容易造成面部特征信息的差异。以地理位置因素为例,在气候较暖的亚洲板块生活的人多数大多为黄色皮肤,而在气候较寒冷的欧洲板块生活的人大多为白皙肤色,及在气候较热的非洲及南北美洲板块生活的人大多为黑色皮肤等。以遗传基因为例,亚裔人的眼睛大多为黑色,欧洲人的眼睛大多为蓝色,非洲人的眼睛大多为褐色等。In the embodiment of the present invention, facial features may be used to represent features such as eyes, nose, mouth, forehead, and skin color that are reflected in the facial image. Differences in facial features mainly depend on geographical location factors such as people's geographical location, living habits, genetic genes, etc. These geographical location factors are likely to cause differences in facial feature information. Taking geographical factors as an example, most people living in the warmer Asian plate have yellow skin, while most of the people living in the colder European plate have fair skin, and people living in the hotter African and North and South American plates have yellow skin. People who live mostly have black skin and so on. Taking genetics as an example, the eyes of Asians are mostly black, the eyes of Europeans are mostly blue, and the eyes of Africans are mostly brown.

经研究可以发现如下面部特征信息与色温的规律:眼睛瞳孔的色素沉淀可以影响色温的视觉效果。例如,9300K的画质对于黑眼睛的人而言是白色的,而9300K的画质对于蓝眼睛的人而言是偏蓝色的。又如,6500K的画质对于蓝眼睛的人而言是白色的,而6500K的画质对于黑眼睛的人而言是偏黄色。再如,4700-5500K之间的画质对于褐色眼睛的人而言是白色的等等。After research, it can be found that the following rules of facial feature information and color temperature: the pigmentation of the pupil of the eye can affect the visual effect of color temperature. For example, a 9300K image looks white to a person with dark eyes, while a 9300K image appears bluish to a person with blue eyes. For another example, the picture quality of 6500K is white to people with blue eyes, while the picture quality of 6500K is yellowish to people with black eyes. For another example, the picture quality between 4700-5500K is white for people with brown eyes and so on.

本发明实施例利用眼睛规律,依据面部特征图像的颜色信息,确定显示设备的色温参数,能够自动调整得到与面部特征图像的颜色信息相匹配的色温参数,因此能够满足用户对于色温参数的个性化需求。The embodiment of the present invention utilizes the law of the eyes and determines the color temperature parameters of the display device according to the color information of the facial feature image, and can automatically adjust the color temperature parameters that match the color information of the facial feature image, thus satisfying the user's personalization of the color temperature parameters need.

在本发明的一种应用示例中,欧洲人到中国出差,中国酒店中电视机的色温参数大多为9300K左右,本发明实施例则可以依据欧洲人的面部特征信息的颜色,自动调整得到相匹配的色温参数,该色温参数为6500K左右,因此,可以满足欧洲人对于色温参数的个性化需求。In an application example of the present invention, Europeans go on a business trip to China, and the color temperature parameters of TVs in Chinese hotels are mostly around 9300K. The embodiment of the present invention can automatically adjust to match the color according to the facial feature information of Europeans. The color temperature parameter is about 6500K, so it can meet the individual needs of Europeans for color temperature parameters.

在本发明的另一种应用示例中,中国人到欧洲留学,而欧洲本地电视机的色温参数大多为6500K左右,本发明实施例则可以依据中国人的面部特征信息的颜色,自动调整得到相匹配的色温参数,该色温参数为9300K左右,因此,可以满足中国人对于色温参数的个性化需求。In another application example of the present invention, Chinese people go to study in Europe, and the color temperature parameters of European local TV sets are mostly around 6500K. The embodiment of the present invention can automatically adjust the color according to the facial feature information of Chinese people to obtain a corresponding Matching color temperature parameters, the color temperature parameters are about 9300K, so it can meet the individual needs of Chinese people for color temperature parameters.

综上,本发明实施例可以依据所述面部特征图像的颜色信息,确定显示设备的色温参数。To sum up, the embodiment of the present invention can determine the color temperature parameter of the display device according to the color information of the facial feature image.

方法实施例二Method embodiment two

参照图2,示出了本发明的一种画质调整方法实施例二的步骤流程图,具体可以包括:Referring to FIG. 2 , it shows a flow chart of the steps of Embodiment 2 of an image quality adjustment method of the present invention, which may specifically include:

步骤201、采集用户的面部图像;Step 201, collecting the facial image of the user;

步骤202、从所述面部图像中提取对应的面部特征图像;Step 202, extracting a corresponding facial feature image from the facial image;

步骤203、依据所述面部特征图像的颜色信息,确定显示设备的色温参数;Step 203: Determine the color temperature parameter of the display device according to the color information of the facial feature image;

其中,所述依据所述面部特征图像的颜色信息,确定显示设备的色温参数的步骤203,具体可以包括:Wherein, the step 203 of determining the color temperature parameter of the display device according to the color information of the facial feature image may specifically include:

步骤231、依据所述面部特征图像的颜色信息,在面部颜色信息与色温参数之间的映射关系中进行查找,以得到所述颜色信息对应的色温参数。Step 231 , according to the color information of the facial feature image, search in the mapping relationship between facial color information and color temperature parameters, so as to obtain the color temperature parameters corresponding to the color information.

相对于实施例一,本实施例具体化了依据所述面部特征图像的颜色信息,确定显示设备的色温参数的过程,其中,可以在面部颜色信息与色温参数之间的映射关系中进行查找,以得到所述颜色信息对应的色温参数;在实际应用中,面部颜色信息与色温参数之间的映射关系可以存储于显示设备的存储器中,通过查找上述存储器得到所述颜色信息对应的色温参数,能够提高显示设备的色温参数的确定效率。Compared with Embodiment 1, this embodiment embodies the process of determining the color temperature parameter of the display device according to the color information of the facial feature image, wherein the mapping relationship between the facial color information and the color temperature parameter can be searched, To obtain the color temperature parameter corresponding to the color information; in practical applications, the mapping relationship between the facial color information and the color temperature parameter can be stored in the memory of the display device, and obtain the color temperature parameter corresponding to the color information by searching the above memory, The efficiency of determining the color temperature parameter of the display device can be improved.

在本发明的一种可选实施例中,可以通过如下步骤建立面部颜色信息与色温参数之间的映射关系:In an optional embodiment of the present invention, the mapping relationship between facial color information and color temperature parameters can be established through the following steps:

步骤S11、确定基准面部颜色信息及对应的基准色温参数;Step S11, determining the reference facial color information and the corresponding reference color temperature parameters;

步骤S12、依据面部颜色信息偏移与色温参数偏移之间的映射关系,对所述基准面部颜色和所述基准色温参数进行调整,以得到依据所述基准面部颜色信息调整得到的面部颜色信息对应的色温参数。Step S12: According to the mapping relationship between the facial color information offset and the color temperature parameter offset, adjust the reference facial color and the reference color temperature parameter to obtain facial color information adjusted according to the reference facial color information Corresponding color temperature parameters.

在本发明的一种应用示例中,可以分别将黑色RGB(0,0,0)、蓝色RGB(0,0,255)作为基准面部颜色信息,并分别将9300K和6500K作为黑色RGB(0,0,0)、蓝色RGB(0,0,255)对应的基准色温参数。In an application example of the present invention, black RGB (0,0,0) and blue RGB (0,0,255) can be used as reference face color information respectively, and 9300K and 6500K can be used as black RGB (0,0 ,0), the reference color temperature parameters corresponding to blue RGB(0,0,255).

面部颜色信息偏移、基准色温参数偏移可分别用于表示面部颜色信息、基准色温参数相对于对应的基准面部颜色信息、基准色温参数的偏移量,面部颜色信息偏移与色温参数偏移之间的映射关系则用于表示面部颜色信息偏移带来的色温参数偏移的多少。以黑色RGB(0,0,0)为例,R分量的偏移A1可以带来色温参数的偏移B1,例如,在A1为5时,B1为-2,又如,在A1为-5时,B1为+2等等,可以理解,本领域技术人员可以根据瞳孔的色素沉淀对于色温的视觉效果的影响程度,设置面部颜色信息偏移与色温参数偏移之间的映射关系,本发明实施例对于面部颜色信息偏移与色温参数偏移之间的映射关系的具体设置方式不加以限制。The facial color information offset and the reference color temperature parameter offset can be used to represent the facial color information, the reference color temperature parameter relative to the corresponding reference facial color information, the offset of the reference color temperature parameter, the facial color information offset and the color temperature parameter offset The mapping relationship between is used to indicate the amount of color temperature parameter shift caused by the face color information shift. Taking black RGB (0,0,0) as an example, the offset A1 of the R component can bring about the offset B1 of the color temperature parameter. For example, when A1 is 5, B1 is -2, and for example, when A1 is -5 When B1 is +2, etc., it can be understood that those skilled in the art can set the mapping relationship between facial color information offset and color temperature parameter offset according to the degree of influence of pupil pigmentation on the visual effect of color temperature. The embodiment does not limit the specific setting manner of the mapping relationship between the facial color information offset and the color temperature parameter offset.

以黑色RGB(0,0,0)为例,对所述基准面部颜色和所述基准色温参数进行调整的具体过程可以为,对RGB(0,0,0)的R分量进行调整,假设R分量的调整数值为A1,则可以通过查询面部颜色信息偏移与色温参数偏移之间的映射关系得到色温参数的调整数值为B1,从而,调整后RGB(A1,0,0)对应的色温参数可以为9300K+B1。可以理解,上述只是作为示例,本发明实施例对于对所述基准面部颜色和所述基准色温参数进行调整的具体过程不加以限制。Taking black RGB(0,0,0) as an example, the specific process of adjusting the reference face color and the reference color temperature parameter may be to adjust the R component of RGB(0,0,0), assuming that R The adjusted value of the component is A1, and the adjusted value of the color temperature parameter can be obtained by querying the mapping relationship between the face color information offset and the color temperature parameter offset. Therefore, the adjusted color temperature corresponding to RGB(A1,0,0) The parameter can be 9300K+B1. It can be understood that the foregoing is only an example, and the embodiment of the present invention does not limit the specific process of adjusting the reference face color and the reference color temperature parameter.

需要说明的是,上述步骤231通过查找得到所述颜色信息对应的色温参数只是作为可选实施例,而不理解为本发明实施例对于依据所述面部特征图像的颜色信息,确定显示设备的色温参数的应用限制,实际上,本领域技术人员可以根据实际应用需求采用依据所述面部特征图像的颜色信息,确定显示设备的色温参数的其它技术方案。例如,可以依据颜色信息与基准面部颜色信息的差异,对基准色温参数进行调整,以得到颜色信息对应的色温参数。It should be noted that the above step 231 obtained by searching the color temperature parameter corresponding to the color information is only an optional embodiment, and it is not understood that the embodiment of the present invention determines the color temperature of the display device based on the color information of the facial feature image. Application limitations of the parameters. In fact, those skilled in the art may adopt other technical solutions for determining the color temperature parameters of the display device based on the color information of the facial feature image according to actual application requirements. For example, the reference color temperature parameter may be adjusted according to the difference between the color information and the reference facial color information, so as to obtain the color temperature parameter corresponding to the color information.

方法实施例三Method embodiment three

参照图3,示出了本发明的一种画质调整方法实施例三的步骤流程图,具体可以包括:Referring to FIG. 3 , it shows a flow chart of the steps of Embodiment 3 of an image quality adjustment method of the present invention, which may specifically include:

步骤301、采集用户的面部图像;Step 301, collecting the facial image of the user;

步骤302、从所述面部图像中提取对应的面部特征图像;Step 302, extracting a corresponding facial feature image from the facial image;

步骤303、依据所述面部特征图像的颜色信息,确定显示设备的色温参数;Step 303. Determine the color temperature parameter of the display device according to the color information of the facial feature image;

其中,所述依据所述面部特征图像的颜色信息,确定显示设备的色温参数的步骤303,具体可以包括:Wherein, the step 303 of determining the color temperature parameter of the display device according to the color information of the facial feature image may specifically include:

步骤331、依据所述面部特征图像的眼睛颜色信息,在眼睛面部颜色信息与色温参数之间的映射关系中进行查找,以得到所述眼睛颜色信息对应的色温参数;Step 331, according to the eye color information of the facial feature image, search in the mapping relationship between eye and face color information and color temperature parameters to obtain the color temperature parameters corresponding to the eye color information;

步骤332、在查找得到所述眼睛颜色信息对应的色温参数后,依据所述肤色信息对所述色温参数进行调整,并将调整后的色温参数作为所述显示设备的色温参数。Step 332: After finding the color temperature parameter corresponding to the eye color information, adjust the color temperature parameter according to the skin color information, and use the adjusted color temperature parameter as the color temperature parameter of the display device.

本发明实施例中,肤色信息可以作为识别用户的地域位置信息和确定色温参数的辅助信息。比如说同样是蓝眼睛的两个用户,用户A的肤色偏白,用户B的肤色偏黄,可以认为,用户A生活在较为寒冷的地域位置,而用户B生活在较暖的地域位置,假设基准眼睛蓝色对应的基准肤色为RGB(238,233,233),基准眼睛蓝色对应的基准色温参数为6500K,则可以依据基准肤色与当前肤色的差异,对基准色温参数进行调整;例如,针对肤色偏白的人,可以在6500K的基础上将色温参数向下调整;而针对肤色偏黄的人,则可以在6500K的基础上将色温参数向上调整,因此可以得到更为精确的色温参数。In the embodiment of the present invention, the skin color information can be used as auxiliary information for identifying the geographical position information of the user and determining the color temperature parameter. For example, two users with the same blue eyes, user A's skin color is fair, and user B's skin color is yellowish. It can be considered that user A lives in a colder region, while user B lives in a warmer region. Suppose The reference skin color corresponding to the reference eye blue is RGB(238,233,233), and the reference color temperature parameter corresponding to the reference eye blue is 6500K. The reference color temperature parameter can be adjusted according to the difference between the reference skin color and the current skin color; For people with yellowish skin tone, the color temperature parameters can be adjusted downwards based on 6500K; for people with yellowish skin, the color temperature parameters can be adjusted upwards based on 6500K, so more accurate color temperature parameters can be obtained.

方法实施例四Method Embodiment Four

参照图4,示出了本发明的一种画质调整方法实施例四的步骤流程图,具体可以包括:Referring to FIG. 4 , it shows a flow chart of the steps of Embodiment 4 of an image quality adjustment method of the present invention, which may specifically include:

步骤401、采集用户的面部图像;Step 401, collecting the facial image of the user;

步骤402、从所述面部图像中提取对应的面部特征图像;Step 402, extracting a corresponding facial feature image from the facial image;

步骤403、依据所述面部特征图像的颜色信息,确定显示设备的色温参数;Step 403: Determine the color temperature parameter of the display device according to the color information of the facial feature image;

其中,所述从所述面部图像中提取对应的面部特征图像的步骤402,具体可以包括:Wherein, the step 402 of extracting a corresponding facial feature image from the facial image may specifically include:

步骤421、对所述面部图像进行眼睛定位,得到眼睛位置;Step 421, perform eye positioning on the facial image to obtain the eye position;

步骤422、根据所述眼睛位置,从所述面部图像中提取面部特征图像。Step 422 , extract facial feature images from the facial image according to the eye positions.

相对于实施例一,本实施例通过步骤421-步骤422描述了从所述面部图像中提取对应的面部特征图像的具体过程。Compared with the first embodiment, this embodiment describes the specific process of extracting the corresponding facial feature image from the facial image through steps 421-422.

步骤421Step 421

在具体实现中,可以采用统计模式识别方法,将采集并分割获得的面部图像中的双眼区域图像和非双眼区域图像作为训练样本,训练得到双眼区域检测器。例如,采用自适应增强(Adaboost,adaptive boosting)算法对10000张24×16的双眼区域图像和非双眼区域图像进行训练,得到双眼区域检测器。In a specific implementation, a statistical pattern recognition method may be used, and binocular region images and non-binocular region images in the collected and segmented facial images may be used as training samples to train a binocular region detector. For example, an adaptive boosting (Adaboost, adaptive boosting) algorithm is used to train 10,000 24×16 binocular region images and non-binocular region images to obtain a binocular region detector.

在进行眼睛定位时,可以采用所述双眼区域检测器在面部图像内搜索双眼区域位置,确定双眼区域位置后,在所述双眼区域位置内定位左眼位置和右眼位置。参考图5示出了本发明的一种眼睛定位的示意图,其中5a为双眼区域检测器搜索到的眼睛矩形区域位置,5b所示的矩形中心即为眼睛位置。When performing eye positioning, the binocular area detector can be used to search for binocular area positions in the facial image, and after the binocular area positions are determined, the left eye position and the right eye position are located within the binocular area positions. Referring to FIG. 5 , a schematic diagram of eye positioning according to the present invention is shown, in which 5a is the position of the rectangular eye area searched by the binocular area detector, and the center of the rectangle shown in 5b is the eye position.

步骤422Step 422

步骤422可以根据眼睛位置,从所述面部图像中提取眼睛、脸部、鼻子等面部特征的图像。Step 422 may extract images of facial features such as eyes, face, and nose from the facial image according to the position of the eyes.

在本发明的一种可选实施例中,上述提取过程具体可以包括:根据所述眼睛位置,从所述面部图像中割取预设大小的眼睛图像和/或脸部图像。以眼睛图像为例,所述割取过程可以包括:根据瞳孔中心,分割出两个矩形区域。这里的预设大小可根据实际情况确定,例如,同为24×16的眼睛图像。以脸部图像为例,所述割取过程可以包括:在距离眼睛图像下侧预设距离的位置割取第一预设大小的脸部图像等等。In an optional embodiment of the present invention, the above extraction process may specifically include: cutting an eye image and/or a face image of a preset size from the face image according to the position of the eyes. Taking an eye image as an example, the cutting process may include: dividing two rectangular regions according to the center of the pupil. The preset size here can be determined according to the actual situation, for example, the eye image is also 24×16. Taking a face image as an example, the cropping process may include: cropping a face image of a first preset size at a position at a preset distance from the lower side of the eye image, and so on.

方法实施例五Method Embodiment Five

本实施例还可以在确定显示设备的色温参数的基础上,依据所述面部特征图像的颜色信息,对显示设备的对比度和/或锐度进行调整,以通过与面部特征图像的颜色信息最匹配的色温参数、对比度和/或锐度,实现显示器的最佳显示效果。In this embodiment, on the basis of determining the color temperature parameters of the display device, the contrast and/or sharpness of the display device may be adjusted according to the color information of the facial feature image, so as to best match the color information of the facial feature image Color temperature parameters, contrast and/or sharpness, to achieve the best display effect of the monitor.

在本发明的一种应用示例中,可以依据面部特征图像的颜色信息与色温参数对应基准颜色信息的差异,对显示设备的对比度和/或锐度进行调整。假设确定的色温参数为6500K,6500K对应的基准肤色为基准白色,则如果当前用户的肤色比基准白色浅,则可以适当增加对比度和锐度,以实现颜色的明显过度;相反,当前用户的肤色比基准白色深,则可以适当减小对比度和锐度参数,以保证颜色的缓慢过度。可以理解,本发明实施例对于依据所述面部特征图像的颜色信息,对显示设备的对比度和/或锐度进行调整的具体过程不加以限制。In an application example of the present invention, the contrast and/or sharpness of the display device can be adjusted according to the difference between the color information of the facial feature image and the reference color information corresponding to the color temperature parameter. Assuming that the determined color temperature parameter is 6500K, and the reference skin color corresponding to 6500K is the reference white, then if the current user's skin color is lighter than the reference white, the contrast and sharpness can be appropriately increased to achieve a clear transition of color; on the contrary, the current user's skin color If the color is darker than the reference white, the contrast and sharpness parameters can be appropriately reduced to ensure a slow transition of the color. It can be understood that the embodiment of the present invention does not limit the specific process of adjusting the contrast and/or sharpness of the display device according to the color information of the facial feature image.

装置实施例Device embodiment

参照图6,示出了本发明的一种画质调整装置实施例的结构框图,具体可以包括:Referring to FIG. 6 , it shows a structural block diagram of an embodiment of an image quality adjustment device according to the present invention, which may specifically include:

采集模块601,用于采集用户的面部图像;Acquisition module 601, for collecting the facial image of the user;

提取模块602,用于从所述面部图像中提取对应的面部特征图像;及An extraction module 602, configured to extract a corresponding facial feature image from the facial image; and

确定模块603,用于依据所述面部特征图像的颜色信息,确定显示设备的色温参数。The determination module 603 is configured to determine the color temperature parameter of the display device according to the color information of the facial feature image.

在本发明的一种可选实施例中,所述确定模块603,具体可以包括:In an optional embodiment of the present invention, the determining module 603 may specifically include:

查找子模块,用于依据所述面部特征图像的颜色信息,在面部颜色信息与色温参数之间的映射关系中进行查找,以得到所述颜色信息对应的色温参数。The search sub-module is configured to search the mapping relationship between facial color information and color temperature parameters according to the color information of the facial feature image, so as to obtain the color temperature parameters corresponding to the color information.

在本发明的另一种可选实施例中,所述装置还可以包括:用于建立面部颜色信息与色温参数之间的映射关系的建立模块;In another optional embodiment of the present invention, the device may further include: an establishment module for establishing a mapping relationship between facial color information and color temperature parameters;

所述建立模块,具体可以包括:The building module may specifically include:

确定子模块,用于确定基准面部颜色信息及对应的基准色温参数;及A determination sub-module is used to determine the reference facial color information and the corresponding reference color temperature parameters; and

第一调整子模块,用于依据面部颜色信息偏移与色温参数偏移之间的映射关系,对所述基准面部颜色和所述基准色温参数进行调整,以得到依据所述基准面部颜色信息调整得到的面部颜色信息对应的色温参数。The first adjustment sub-module is configured to adjust the reference facial color and the reference color temperature parameter according to the mapping relationship between the facial color information offset and the color temperature parameter offset, so as to obtain the adjustment based on the reference facial color information The color temperature parameter corresponding to the obtained facial color information.

在本发明的再一种可选实施例中,所述颜色信息包括眼睛颜色信息和肤色信息,则所述确定模块603,还可以包括:In yet another optional embodiment of the present invention, the color information includes eye color information and skin color information, then the determining module 603 may also include:

第二调整子模块,用于在查找得到所述眼睛颜色信息对应的色温参数后,依据所述肤色信息对所述色温参数进行调整,并将调整后的色温参数作为所述显示设备的色温参数。The second adjustment sub-module is configured to adjust the color temperature parameter according to the skin color information after finding the color temperature parameter corresponding to the eye color information, and use the adjusted color temperature parameter as the color temperature parameter of the display device .

在本发明的又一种可选实施例中,所述提取模块602,具体可以包括:In yet another optional embodiment of the present invention, the extraction module 602 may specifically include:

定位子模块,用于对所述面部图像进行眼睛定位,得到眼睛位置;及The positioning sub-module is used to perform eye positioning on the facial image to obtain the position of the eyes; and

定位后提取子模块,用于根据所述眼睛位置,从所述面部图像中提取面部特征图像。The post-location extraction submodule is used to extract facial feature images from the facial image according to the eye position.

在本发明的一种可选实施例中,所述定位后提取子模块,具体可以包括:In an optional embodiment of the present invention, the extraction submodule after positioning may specifically include:

提取单元,用于根据所述眼睛位置,从所述面部图像中割取预设大小的眼睛图像和/或脸部图像。The extracting unit is configured to cut out an eye image and/or a face image of a preset size from the face image according to the position of the eyes.

在本发明的另一种可选实施例中,所述装置还可以包括:In another optional embodiment of the present invention, the device may also include:

调整模块,用于依据所述面部特征图像的颜色信息,对显示设备的对比度和/或锐度进行调整。An adjustment module, configured to adjust the contrast and/or sharpness of the display device according to the color information of the facial feature image.

对于装置实施例而言,由于其与方法实施例基本相似,所以描述的比较简单,相关之处参见方法实施例的部分说明即可。As for the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and for related parts, please refer to the part of the 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 this embodiment. It can be understood and implemented by those skilled in the art without any creative effort.

通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到各实施方式可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件。基于这样的理解,上述技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品可以存储在计算机可读存储介质中,如ROM/RAM、磁碟、光盘等,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行各个实施例或者实施例的某些部分所述的方法。Through the above description of the implementations, those skilled in the art can clearly understand that each implementation can be implemented by means of software plus a necessary general hardware platform, and of course also by hardware. Based on this understanding, the essence of the above technical solution or the part that contributes to the prior art can be embodied in the form of software products, and the computer software products can be stored in computer-readable storage media, such as ROM/RAM, magnetic discs, optical discs, etc., including several instructions to make a computer device (which may be a personal computer, server, or network device, etc.) execute the methods described in various embodiments or some parts of the embodiments.

最后应说明的是:以上实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的精神和范围。Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that: it can still be Modifications are made to the technical solutions described in the foregoing embodiments, or equivalent replacements are made to some of the technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the various embodiments of the present invention.

Claims (10)

1. an image quality adjustment method, it is characterised in that including:
Gather the face-image of user;
The facial feature image of correspondence is extracted from described face-image;
According to the colouring information of described facial feature image, determine the color temperature parameters of display device.
Method the most according to claim 1, it is characterised in that described according to described facial characteristics figure The colouring information of picture, determines the step of the color temperature parameters of display device, including:
According to the colouring information of described facial feature image, between face colouring information and color temperature parameters Mapping relations make a look up, the color temperature parameters corresponding to obtain described colouring information.
Method the most according to claim 2, it is characterised in that set up face face as follows Mapping relations between color information and color temperature parameters:
Determine the benchmark color temperature parameters of benchmark face colouring information and correspondence;
According to the mapping relations between face colouring information skew and color temperature parameters skew, to described datum level Portion's color and described benchmark color temperature parameters are adjusted, to obtain adjusting according to described benchmark face colouring information The color temperature parameters that the whole facial colouring information obtained is corresponding.
Method the most according to claim 2, it is characterised in that described colouring information includes eyes face Color information and Skin Color Information, the most described colouring information according to described facial feature image, determine that display sets The step of standby color temperature parameters, also includes:
After lookup obtains the color temperature parameters that described eye-color information is corresponding, according to described Skin Color Information pair Described color temperature parameters is adjusted, and will adjust after color temperature parameters as described display device colour temperature join Number.
5. according to described method arbitrary in Claims 1-4, it is characterised in that described from described Portion's image extracts the step of the facial feature image of correspondence, including:
Described face-image is carried out eye location, obtains eye position;
According to described eye position, from described face-image, extract facial feature image.
Method the most according to claim 5, it is characterised in that described according to described eye position, The step of facial feature image is extracted from described face-image, including:
According to described eye position, from described face-image, extract eye image and/or the face of default size Portion's image.
7. according to described method arbitrary in Claims 1-4, it is characterised in that described method is also wrapped Include:
According to the colouring information of described facial feature image, contrast and/or acutance to display device are carried out Adjust.
8. a quality adjustment device, it is characterised in that including:
Acquisition module, for gathering the face-image of user;
Extraction module, for extracting the facial feature image of correspondence from described face-image;And
Determine module, for the colouring information according to described facial feature image, determine the color of display device Temperature parameter.
Device the most according to claim 8, it is characterised in that described determine module, including:
Search submodule, for the colouring information according to described facial feature image, at face colouring information And the mapping relations between color temperature parameters make a look up, the colour temperature ginseng corresponding to obtain described colouring information Number.
Device the most according to claim 8 or claim 9, it is characterised in that described device also includes:
Adjusting module, for the colouring information according to described facial feature image, the contrast to display device Degree and/or acutance are adjusted.
CN201510918151.XA 2015-12-10 2015-12-10 Image quality adjustment method and device Pending CN105979236A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510918151.XA CN105979236A (en) 2015-12-10 2015-12-10 Image quality adjustment method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510918151.XA CN105979236A (en) 2015-12-10 2015-12-10 Image quality adjustment method and device

Publications (1)

Publication Number Publication Date
CN105979236A true CN105979236A (en) 2016-09-28

Family

ID=56988211

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510918151.XA Pending CN105979236A (en) 2015-12-10 2015-12-10 Image quality adjustment method and device

Country Status (1)

Country Link
CN (1) CN105979236A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106534836A (en) * 2016-11-30 2017-03-22 珠海市魅族科技有限公司 Image adjusting method and apparatus
CN109545159A (en) * 2018-11-23 2019-03-29 京东方科技集团股份有限公司 Gammate, virtual reality device and its driving method
CN109727198A (en) * 2019-01-03 2019-05-07 成都品果科技有限公司 A kind of brightness of image optimization method based on Face Detection
CN112257671A (en) * 2020-11-16 2021-01-22 深圳市巨烽显示科技有限公司 Display device and personalized display effect adjusting method thereof
CN113055752A (en) * 2021-03-11 2021-06-29 深圳创维-Rgb电子有限公司 Image quality adjusting method and device and smart television
WO2023087152A1 (en) * 2021-11-16 2023-05-25 深圳Tcl新技术有限公司 Image quality adjusting method and apparatus, device, and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090002517A1 (en) * 2006-01-10 2009-01-01 Matsushita Electric Industrial Co., Ltd. Color Correction Device, Color Correction Method, Dynamic Camera Color Correction Device, and Video Search Device Using the Same
CN103618918A (en) * 2013-11-27 2014-03-05 青岛海信电器股份有限公司 Method and device for controlling display of smart television
CN103634680A (en) * 2013-11-27 2014-03-12 青岛海信电器股份有限公司 Smart television play control method and device
CN103699222A (en) * 2013-12-11 2014-04-02 天津三星电子有限公司 Automatic display terminal image quality adjustment method and display terminal
CN103871390A (en) * 2012-12-12 2014-06-18 联想(北京)有限公司 Color temperature adjusting method and electronic equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090002517A1 (en) * 2006-01-10 2009-01-01 Matsushita Electric Industrial Co., Ltd. Color Correction Device, Color Correction Method, Dynamic Camera Color Correction Device, and Video Search Device Using the Same
CN103871390A (en) * 2012-12-12 2014-06-18 联想(北京)有限公司 Color temperature adjusting method and electronic equipment
CN103618918A (en) * 2013-11-27 2014-03-05 青岛海信电器股份有限公司 Method and device for controlling display of smart television
CN103634680A (en) * 2013-11-27 2014-03-12 青岛海信电器股份有限公司 Smart television play control method and device
CN103699222A (en) * 2013-12-11 2014-04-02 天津三星电子有限公司 Automatic display terminal image quality adjustment method and display terminal

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106534836A (en) * 2016-11-30 2017-03-22 珠海市魅族科技有限公司 Image adjusting method and apparatus
CN109545159A (en) * 2018-11-23 2019-03-29 京东方科技集团股份有限公司 Gammate, virtual reality device and its driving method
CN109727198A (en) * 2019-01-03 2019-05-07 成都品果科技有限公司 A kind of brightness of image optimization method based on Face Detection
CN112257671A (en) * 2020-11-16 2021-01-22 深圳市巨烽显示科技有限公司 Display device and personalized display effect adjusting method thereof
CN113055752A (en) * 2021-03-11 2021-06-29 深圳创维-Rgb电子有限公司 Image quality adjusting method and device and smart television
WO2023087152A1 (en) * 2021-11-16 2023-05-25 深圳Tcl新技术有限公司 Image quality adjusting method and apparatus, device, and storage medium
GB2627402A (en) * 2021-11-16 2024-08-21 Shenzhen Tcl New Tech Co Ltd Image quality adjusting method and apparatus, device, and storage medium

Similar Documents

Publication Publication Date Title
CN105979236A (en) Image quality adjustment method and device
CN110163810B (en) Image processing method, device and terminal
CN105187810B (en) A kind of auto white balance method and electronic medium device based on face color character
US9118876B2 (en) Automatic skin tone calibration for camera images
CN109191410A (en) A kind of facial image fusion method, device and storage medium
US9002109B2 (en) Color correction based on multiple images
CN103327345B (en) White balance processing method and processing device thereof
WO2017035949A1 (en) Intelligent home device interaction method and system based on intelligent television video scene
CN106030665B (en) Realistic colour is created for the virtual objects in augmented reality environment
TW201724081A (en) Method and system for setting interface element colors
CN105261326A (en) Display device for adjusting display color gamut and method for adjusting display color gamut
US11727321B2 (en) Method for rendering of augmented reality content in combination with external display
CN112328345B (en) Method, apparatus, electronic device and readable storage medium for determining theme colors
KR20120070985A (en) Virtual experience system based on facial feature and method therefore
CN110675839A (en) Screen adjusting method, electronic equipment and related device
CN104994363B (en) A kind of U.S. face method, device and intelligent terminal based on dress ornament
KR20160135155A (en) Method and device for sharing image
US20180098043A1 (en) Assisted Auto White Balance
CN102546945A (en) How to automatically optimize mobile phone photos
CN104951770A (en) Construction method and application method for face image database as well as corresponding devices
CN113132696A (en) Image tone mapping method, device, electronic equipment and storage medium
CN109544441B (en) Image processing method and device, and skin color processing method and device in live broadcast
CN110650573A (en) Interaction method and device, intelligent mirror, electronic equipment and computer storage medium
CN106097261A (en) Image processing method and device
CN110673737B (en) Adjustment method and device for display content based on smart home operating system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20160928