[go: up one dir, main page]

CN101917801A - A light adjustment method, device and intelligent desk lamp - Google Patents

A light adjustment method, device and intelligent desk lamp Download PDF

Info

Publication number
CN101917801A
CN101917801A CN2010102414200A CN201010241420A CN101917801A CN 101917801 A CN101917801 A CN 101917801A CN 2010102414200 A CN2010102414200 A CN 2010102414200A CN 201010241420 A CN201010241420 A CN 201010241420A CN 101917801 A CN101917801 A CN 101917801A
Authority
CN
China
Prior art keywords
image
light
characteristic information
real
unit
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
CN2010102414200A
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.)
Sun Yat Sen University
Original Assignee
Sun Yat Sen University
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 Sun Yat Sen University filed Critical Sun Yat Sen University
Priority to CN2010102414200A priority Critical patent/CN101917801A/en
Publication of CN101917801A publication Critical patent/CN101917801A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02BCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO BUILDINGS, e.g. HOUSING, HOUSE APPLIANCES OR RELATED END-USER APPLICATIONS
    • Y02B20/00Energy efficient lighting technologies, e.g. halogen lamps or gas discharge lamps
    • Y02B20/40Control techniques providing energy savings, e.g. smart controller or presence detection

Landscapes

  • Image Processing (AREA)

Abstract

本发明实施例公开了一种光调节方法,包括:按预定的周期采集用户的图像;对所述采集的图像进行等色处理,得到所述图像的特征信息;根据所述图像的特征信息,实时调节光的照射情况。本发明实施例还公开了一种光调节装置和智能台灯。该光调节装置包括:采集单元,用于按预定的周期采集用户的图像;处理单元,用于对所述采集单元所采集的图像进行等色处理,得到所述图像的特征信息;实时调节单元,用于根据所述处理单元所得到的图像的特征信息,实时调节光的照射情况。采用本发明可根据用户的图像特征进行实时自动的光照射情况的调节,提升用户体验。

Figure 201010241420

The embodiment of the present invention discloses a light adjustment method, which includes: collecting images of users in a predetermined period; performing isochromatic processing on the collected images to obtain characteristic information of the images; according to the characteristic information of the images, Adjust light exposure in real time. The embodiment of the invention also discloses a light adjusting device and an intelligent desk lamp. The light adjustment device includes: a collection unit, used to collect images of users in a predetermined cycle; a processing unit, used to perform equichromatic processing on the images collected by the collection unit to obtain feature information of the images; a real-time adjustment unit , for adjusting the light irradiation situation in real time according to the feature information of the image obtained by the processing unit. By adopting the present invention, real-time and automatic adjustment of light irradiation conditions can be performed according to the user's image characteristics, thereby improving user experience.

Figure 201010241420

Description

一种光调节方法、装置及智能台灯 A light adjustment method, device and intelligent desk lamp

技术领域technical field

本发明涉及数字家电及智能家居技术领域,尤其涉及一种光调节方法,装置及智能台灯。The invention relates to the technical field of digital home appliances and smart home, in particular to a light adjustment method, device and smart desk lamp.

背景技术Background technique

随着科学技术的发展,人们对于生活质量的要求也越来越高,越来越希望设备智能化,以提高人们的生活效率。台灯是日常工作学习中必不可少的光设备,它给人们的生活带来了很大的便利。With the development of science and technology, people have higher and higher requirements for the quality of life, and more and more hope that the equipment will be intelligent to improve people's life efficiency. Desk lamp is requisite light equipment in daily work and study, and it has brought very big convenience to people's life.

由于台灯一直存在光照射范围明暗不均的缺陷,因此,台灯的光照射情况的调节是一个相对比较平常的过程,现有的台灯调节方案主要如下:比如:当用户在台灯下看书时,当看到远离台灯的光照射范围的内容时,台灯的光照射相对偏暗,此时需要用户手动调节台灯的光照射情况;再如:当用户在台灯下看书,看到靠近台灯的光照射范围的内容时,台灯的光照射相对偏亮,此时同样需要用户手动调节台灯的光照射情况。Because desk lamps have always had the defect of uneven light exposure range, therefore, the adjustment of the light exposure of desk lamps is a relatively common process. The existing desk lamp adjustment schemes are mainly as follows: When viewing content far away from the light irradiation range of the desk lamp, the light irradiation of the desk lamp is relatively dark. At this time, the user needs to manually adjust the light irradiation of the desk lamp; When viewing content, the light irradiation of the desk lamp is relatively bright. At this time, the user also needs to manually adjust the light irradiation of the desk lamp.

发明人在实施本发明的过程中发现,现有的台灯的光调节方案需要手动调节光照射情况,无法自动根据用户的观看方向进行实时的光线调节,用户体验性不高。In the process of implementing the present invention, the inventor found that the existing light adjustment scheme of desk lamp needs to manually adjust the light irradiation situation, and cannot automatically adjust the light in real time according to the user's viewing direction, and the user experience is not high.

发明内容Contents of the invention

本发明实施例所要解决的技术问题在于,提供一种光调节方法、装置及智能台灯,可根据用户的图像特征(如:拍摄的用户的观看方向等特征)进行实时自动的光照射情况的调节,提升用户体验。The technical problem to be solved by the embodiments of the present invention is to provide a light adjustment method, device, and smart desk lamp, which can perform real-time and automatic adjustment of the light irradiation situation according to the user's image characteristics (such as: the user's viewing direction and other characteristics of the photographed user) , to improve user experience.

为了解决上述技术问题,本发明实施例提供了一种光调节方法,包括:In order to solve the above technical problems, an embodiment of the present invention provides a light adjustment method, including:

按预定的周期采集用户的图像;Collect images of the user according to a predetermined cycle;

对所述采集的图像进行等色处理,得到所述图像的特征信息;performing isochromatic processing on the collected image to obtain feature information of the image;

根据所述图像的特征信息,实时调节光的照射情况。According to the characteristic information of the image, the irradiation condition of the light is adjusted in real time.

其中,所述对所述采集的图像进行等色处理,得到所述图像的特征信息,包括:按预定的数值对所述采集的图像进行像素筛选,得到所述图像的等色图;对所述等色图进行分析,得到所述图像的特征信息。Wherein, performing isochromatic processing on the collected image to obtain feature information of the image includes: performing pixel screening on the collected image according to a predetermined value to obtain an isochromatic map of the image; The isochromatic map is analyzed to obtain the feature information of the image.

其中,所述根据所述图像的特征信息,实时调节光的照射情况,包括:根据所述图像的特征信息,计算光调节的偏离度和亮度;根据所述偏离度和亮度,实时调节光的照射情况。Wherein, the real-time adjustment of light irradiation according to the characteristic information of the image includes: calculating the degree of deviation and brightness of light adjustment according to the characteristic information of the image; adjusting the degree of light adjustment in real time according to the degree of deviation and brightness. Exposure situation.

所述按预定的周期采集用户的图像之前,还包括:预先设定图像采集周期,以及预先设定像素筛选的数值。Before the acquisition of the user's image according to the predetermined period, it also includes: presetting the image acquisition period, and presetting the pixel screening value.

相应地,本发明实施例还提供了一种光调节装置,包括:Correspondingly, an embodiment of the present invention also provides a light adjustment device, including:

采集单元,用于按预定的周期采集用户的图像;an acquisition unit, configured to acquire images of the user at a predetermined period;

处理单元,用于对所述采集单元所采集的图像进行等色处理,得到所述图像的特征信息;A processing unit, configured to perform isochromatic processing on the image collected by the collection unit to obtain feature information of the image;

实时调节单元,用于根据所述处理单元所得到的图像的特征信息,实时调节光的照射情况。The real-time adjustment unit is configured to adjust the light irradiation situation in real time according to the feature information of the image obtained by the processing unit.

其中,所述处理单元包括:Wherein, the processing unit includes:

筛选单元,用于按预定的数值对所述采集的图像进行像素筛选,得到所述图像的等色图;a screening unit, configured to perform pixel screening on the collected image according to a predetermined value to obtain an isochromatic map of the image;

分析处理单元,用于对所述筛选单元得到的等色图进行分析,得到所述图像的特征信息。The analysis and processing unit is configured to analyze the isochromatic map obtained by the screening unit to obtain feature information of the image.

其中,所述实时调节单元包括:Wherein, the real-time adjustment unit includes:

计算单元,用于根据处理单元得到的所述图像的特征信息,计算光调节的偏离度和亮度;a calculation unit, configured to calculate the degree of deviation and brightness of the light adjustment according to the characteristic information of the image obtained by the processing unit;

调节单元,用于根据所述计算单元得到的偏离度和亮度,实时调节光的照射情况。The adjustment unit is used to adjust the light irradiation situation in real time according to the degree of deviation and brightness obtained by the calculation unit.

其中,所述装置还包括:存储单元,用于存储预先设定的图像采集周期,以及预先设定像素筛选的数值。Wherein, the device further includes: a storage unit, which is used for storing a preset image acquisition cycle and a preset value for pixel screening.

相应地,本发明实施例还提供了一种智能台灯,包括:上述的光调节装置。Correspondingly, an embodiment of the present invention also provides a smart desk lamp, including: the above-mentioned light adjustment device.

实施本发明实施例,具有如下有益效果:Implementing the embodiment of the present invention has the following beneficial effects:

本发明实施例按预定的周期采集用户的图像(如:用户的头像),通过对图像进行分析,获得图像的特征信息(包括:眼睛观看的方向信息),再根据该特征信息实时自动调节光的照射情况,避免了用户的对光照射情况的手动调节,提升了用户体验。The embodiment of the present invention collects the user's image (such as: the user's head portrait) according to a predetermined period, and by analyzing the image, obtains the characteristic information of the image (including: the direction information of the eyes), and then automatically adjusts the light in real time according to the characteristic information. The light exposure situation avoids the user's manual adjustment of the light exposure situation and improves the user experience.

附图说明Description of drawings

为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention or 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 are only These are some embodiments of the present invention. For those skilled in the art, other drawings can also be obtained according to these drawings without any creative effort.

图1为本发明的光调节装置的第一实施例的结构示意图;1 is a schematic structural view of the first embodiment of the light adjustment device of the present invention;

图2为本发明的光调节装置的第二实施例的结构示意图;2 is a schematic structural view of a second embodiment of the light adjustment device of the present invention;

图3为本发明的处理单元的实施例的结构示意图;FIG. 3 is a schematic structural view of an embodiment of a processing unit of the present invention;

图4为本发明的实时调节单元的实施例的结构示意图;FIG. 4 is a schematic structural view of an embodiment of the real-time adjustment unit of the present invention;

图5为本发明的光调节方法的第一实施例的流程图;5 is a flowchart of the first embodiment of the light adjustment method of the present invention;

图6为本发明的光调节方法的第二实施例的流程图。FIG. 6 is a flow chart of the second embodiment of the light adjustment method of the present invention.

具体实施方式Detailed ways

下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. 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.

本发明实施例提供了一种智能台灯,包括光调节装置,即光调节装置被封装于所述智能台灯内,其可对用户的图像进行采集,并根据用户的图像特征,实时地、自动地对台灯的光照射情况进行调节。An embodiment of the present invention provides an intelligent desk lamp, including a light adjustment device, that is, the light adjustment device is packaged in the intelligent desk lamp, which can collect the user's image, and automatically and in real time according to the user's image characteristics Adjust the light exposure of the desk lamp.

具体实现中,请参见图1,为本发明的光调节装置的第一实施例的结构示意图;所述装置包括:In the specific implementation, please refer to FIG. 1, which is a schematic structural diagram of the first embodiment of the light adjustment device of the present invention; the device includes:

采集单元10,用于按预定的周期采集用户的图像;An acquisition unit 10, configured to acquire images of the user at a predetermined period;

具体实现中,所述采集单元10可以为红外线摄像头,因为台灯的灯光对一般的摄像头而言光线不太够,从而可能会影响采集的效果;由于人体会发热,采用红外线摄像头,可以更好的采集到用户的图像,此处用户的图像一般指用户使用该台灯时的头像。In specific implementation, the collection unit 10 can be an infrared camera, because the light of a desk lamp is not enough light for a general camera, which may affect the collection effect; since the human body can generate heat, an infrared camera can be used to better The image of the user is collected, where the image of the user generally refers to the avatar of the user when using the desk lamp.

处理单元20,用于对所述采集单元10所采集的图像进行等色处理,得到所述图像的特征信息;A processing unit 20, configured to perform isochromatic processing on the image collected by the collection unit 10 to obtain feature information of the image;

具体实现中,由于图像是由像素组成的,每一个像素都有数值,每隔一定的数值进行像素的筛选,去除不符合的像素点,即可形成该图像的等色图,上述的过程即为等色处理过程。所述处理单元20,对采集的图像进行等色处理后,得到等色图,进一步,所述处理单元20对该等色图进行分析,从而可得到图像的特征信息。In the specific implementation, since the image is composed of pixels, each pixel has a value, and the pixels are screened every certain value, and the non-conforming pixels are removed to form the isochromatic map of the image. The above process is For isochromatic processing. The processing unit 20 performs isochromatic processing on the collected image to obtain an isochromatic map, and further, the processing unit 20 analyzes the isochromatic map to obtain feature information of the image.

具体分析过程如下:由于人的两眼相对于人的脸部是凹进去的,因此,该等色图中,人的两眼会形成一个旋涡型图形,对等色图分析时,会发现该等色图的等值线会向几个点集点,这几个点分别为人的眼睛、嘴巴和鼻子,所述处理单元20对等色图进行水平方向的重复检测,可以发现只有人的眼睛是在同一直线上且相对距离比较远的,从而该两点即为人的两眼,确定的两眼的点可反映用户观看的方向等特征信息。The specific analysis process is as follows: Since the two eyes of a person are recessed relative to the face of the person, the two eyes of the person will form a swirl-shaped figure in the equal color map. When analyzing the equal color map, it will be found that this The isovalue line of the isochromatic map will gather points to several points, which are the eyes, mouth and nose of the person respectively. The processing unit 20 performs repeated detection in the horizontal direction on the isochromatic map, and it can be found that only the human eyes They are on the same straight line and relatively far apart, so the two points are the two eyes of a person, and the determined points of the two eyes can reflect characteristic information such as the direction in which the user is looking.

实时调节单元30,用于根据所述处理单元20所得到的图像的特征信息,实时调节光的照射情况。The real-time adjustment unit 30 is configured to adjust the light irradiation situation in real time according to the feature information of the image obtained by the processing unit 20 .

具体实现中,所述实时调节单元30根据所述处理单元20得到的图像的特征信息,即得到的人眼对应的两点,求得所述两点与各等值线的交点,然后计算相邻交点的距离,再与各等值线的权值进行比较,最后利用各交点的比值计算平均值,得到用户此时所需要的光的偏离度和亮度;进一步,所述实时调节单元30根据该偏离度和亮度,实时调节台灯的光的照情况,以适应用户的眼睛。In a specific implementation, the real-time adjustment unit 30 obtains the intersection point of the two points and each contour line according to the feature information of the image obtained by the processing unit 20, that is, the obtained two points corresponding to the human eyes, and then calculates the corresponding The distance between adjacent intersection points is then compared with the weights of each isovalue line, and finally the average value is calculated using the ratio of each intersection point to obtain the light deviation and brightness required by the user at this time; further, the real-time adjustment unit 30 according to The degree of deviation and brightness adjusts the lighting situation of the desk lamp in real time to adapt to the eyes of the user.

可以理解的是,上述的处理单元20和所述实时调节单元30可以为一中央处理器,其对图像进行处理、分析和计算,最后控制台灯的光照射情况的实时自动调节。It can be understood that the above-mentioned processing unit 20 and the real-time adjustment unit 30 can be a central processing unit, which processes, analyzes and calculates images, and finally automatically adjusts the light irradiation conditions of the console lights in real time.

本发明实施例按预定的周期采集用户的图像(如:用户的头像),通过对图像进行分析,获得图像的特征信息(包括:眼睛观看的方向信息),再根据该特征信息实时自动调节光的照射情况,避免了用户的对光照射情况的手动调节,提升了用户体验。The embodiment of the present invention collects the user's image (such as: the user's head portrait) according to a predetermined period, and by analyzing the image, obtains the characteristic information of the image (including: the direction information of the eyes), and then automatically adjusts the light in real time according to the characteristic information. The light exposure situation avoids the user's manual adjustment of the light exposure situation and improves the user experience.

请参见图2,为本发明的光调节装置的第二实施例的结构示意图;与上一实施例相同,所述装置包括:采集单元10,处理单元20和实时调节单元30。本实施例中,所述装置还进一步包括:Please refer to FIG. 2 , which is a schematic structural diagram of a second embodiment of the light adjustment device of the present invention; same as the previous embodiment, the device includes: an acquisition unit 10 , a processing unit 20 and a real-time adjustment unit 30 . In this embodiment, the device further includes:

存储单元40,用于存储预先设定的图像采集周期,以及预先设定像素筛选的数值。The storage unit 40 is configured to store a preset image acquisition cycle and a preset value for pixel filtering.

具体实现中,所述存储单元40可以为一缓存器,其存储的预先设定的图像采集周期可根据实际情况进行设定,比如:可设定为0.5秒,或设定为1秒;另外,其存储的预先设定的像素筛选的数值也可以根据实际情况设定,力求使像素的筛选更为准确,使等色图能更清晰的反映图像的特征信息。In a specific implementation, the storage unit 40 can be a buffer, and the preset image acquisition period stored in it can be set according to the actual situation, such as: it can be set to 0.5 seconds, or it can be set to 1 second; in addition , the value of the pre-set pixel screening stored in it can also be set according to the actual situation, and strive to make the pixel screening more accurate, so that the isochromatic map can more clearly reflect the feature information of the image.

本发明实施例按预定的周期采集用户的图像(如:用户的头像),通过对图像进行分析,获得图像的特征信息(包括:眼睛观看的方向信息),再根据该特征信息实时自动调节光的照射情况,避免了用户的对光照射情况的手动调节,提升了用户体验。The embodiment of the present invention collects the user's image (such as: the user's head portrait) according to a predetermined period, and by analyzing the image, obtains the characteristic information of the image (including: the direction information of the eyes), and then automatically adjusts the light in real time according to the characteristic information. The light exposure situation avoids the user's manual adjustment of the light exposure situation and improves the user experience.

为了更清楚的说明本发明,下面将对本发明的上述光调节装置中的处理单元进行详细介绍。In order to describe the present invention more clearly, the processing unit in the above-mentioned light adjusting device of the present invention will be introduced in detail below.

请参见图3,为本发明的处理单元的实施例的结构示意图;所述处理单元20包括:Please refer to FIG. 3 , which is a schematic structural diagram of an embodiment of the processing unit of the present invention; the processing unit 20 includes:

筛选单元201,用于按预定的数值对所述采集的图像进行像素筛选,得到所述图像的等色图;A screening unit 201, configured to perform pixel screening on the collected image according to a predetermined value to obtain an isochromatic map of the image;

具体实现中,由于图像是由像素组成的,每一个像素都有数值,每隔一定的数值进行像素的筛选,去除不符合的像素点,即可形成该图像的等色图,上述的过程即为等色处理过程。所述筛选单元201,按预定的数值对采集的图像进行等色处理后,得到等色图。In the specific implementation, since the image is composed of pixels, each pixel has a value, and the pixels are screened every certain value, and the non-conforming pixels are removed to form the isochromatic map of the image. The above process is For isochromatic processing. The screening unit 201 performs isochromatic processing on the collected image according to a predetermined value to obtain an isochromatic map.

分析处理单元202,用于对所述筛选单元201得到的等色图进行分析,得到所述图像的特征信息。The analysis processing unit 202 is configured to analyze the isochromatic map obtained by the screening unit 201 to obtain feature information of the image.

具体实现中,所述分析处理单元202对该等色图进行分析,从而可得到图像的特征信息。具体分析过程如下:由于人的两眼相对于人的脸部是凹进去的,因此,该等色图中,人的两眼会形成一个旋涡型图形,对等色图分析时,会发现该等色图的等值线会向几个点集点,这几个点分别为人的眼睛、嘴巴和鼻子,所述分析处理单元202对等色图进行水平方向的重复检测,可以发现只有人的眼睛是在同一一直线上且相对距离比较远的,从而该两点即为人的两眼,确定的两眼的点可反映用户观看的方向等特征信息。In a specific implementation, the analysis and processing unit 202 analyzes the equal color map, so as to obtain feature information of the image. The specific analysis process is as follows: Since the two eyes of a person are recessed relative to the face of the person, the two eyes of the person will form a swirl-shaped figure in the equal color map. When analyzing the equal color map, it will be found that this The isovalue line of the isochromatic map will gather points to several points, which are the eyes, mouth and nose of the person respectively. The analysis and processing unit 202 performs repeated detection in the horizontal direction on the isochromatic map, and it can be found that only human The eyes are on the same straight line and relatively far apart, so the two points are the two eyes of a person, and the determined points of the two eyes can reflect characteristic information such as the direction in which the user is looking.

本发明实施例通过对图像进行分析,可获得图像的特征信息(包括:眼睛观看的方向信息)。In the embodiment of the present invention, image feature information (including: information about the viewing direction of the eyes) can be obtained by analyzing the image.

为了更清楚的说明本发明,下面将对本发明的上述光调节装置中的实时调节单元进行详细介绍。In order to illustrate the present invention more clearly, the real-time adjustment unit in the light adjustment device of the present invention will be introduced in detail below.

请参见图4,为本发明的实时调节单元的实施例的结构示意图;所述实时调节单元30包括:Please refer to FIG. 4, which is a schematic structural diagram of an embodiment of the real-time adjustment unit of the present invention; the real-time adjustment unit 30 includes:

计算单元301,用于根据处理单元20得到的所述图像的特征信息,计算光调节的偏离度和亮度;A calculation unit 301, configured to calculate the degree of deviation and brightness of the light adjustment according to the characteristic information of the image obtained by the processing unit 20;

具体实现中,所述计算单元301根据所述处理单元20得到的图像的特征信息,即得到的人眼对应的两点,求得所述两点与各等值线的交点,然后计算相邻交点的距离,再与各等值线的权值进行比较,最后利用各交点的比值计算平均值,得到用户此时所需要的光的偏离度和亮度。In a specific implementation, the calculation unit 301 obtains the intersection point between the two points and each contour line according to the feature information of the image obtained by the processing unit 20, that is, the obtained two points corresponding to the human eyes, and then calculates the adjacent The distance of the intersection point is compared with the weight of each contour line, and finally the average value is calculated by using the ratio of each intersection point to obtain the light deviation and brightness required by the user at this time.

调节单元302,用于根据所述计算单元301得到的偏离度和亮度,实时调节光的照射情况。The adjustment unit 302 is configured to adjust the illumination of the light in real time according to the degree of deviation and the brightness obtained by the calculation unit 301 .

具体实现中,台灯中可以采用一角度控制电机进行台灯的光照射的偏离度的调节,可采用一亮度调节器进行台灯的光照射的亮度的调节。所述调节单元302,根据所述计算单元301得到的偏离度和亮度,控制所述角度控制电机调节所述台灯的光照射的偏离度,并同时控制所述亮度调节器调节台灯的光照射的亮度,以适应用户的眼睛。In specific implementation, an angle control motor can be used in the desk lamp to adjust the deviation degree of the light irradiation of the desk lamp, and a brightness adjuster can be used to adjust the brightness of the light irradiation of the desk lamp. The adjusting unit 302, according to the degree of deviation and brightness obtained by the calculation unit 301, controls the angle control motor to adjust the degree of deviation of the light irradiation of the desk lamp, and at the same time controls the brightness adjuster to adjust the degree of light irradiation of the desk lamp. Brightness to suit the user's eyes.

本发明实施例根据该特征信息实时自动调节光的照射情况,避免了用户的对光照射情况的手动调节,提升了用户体验。The embodiment of the present invention automatically adjusts the light irradiation situation in real time according to the characteristic information, avoids manual adjustment of the light irradiation situation by the user, and improves user experience.

为了更清楚的说明本发明,下面将对由上述的光调节装置所执行的光调节方法进行详细介绍。In order to illustrate the present invention more clearly, the light adjustment method performed by the above light adjustment device will be described in detail below.

请参见图5,为本发明的光调节方法的第一实施例的流程图;所述方法包括:Please refer to FIG. 5, which is a flow chart of the first embodiment of the light adjustment method of the present invention; the method includes:

S101,按预定的周期采集用户的图像;S101, collecting images of users according to a predetermined period;

具体实现中,所述S101可以采用红外线摄像头,因为台灯的灯光对一般的摄像头而言光线不太够,从而可能会影响采集的效果;由于人体会发热,采用红外线摄像头,可以更好的采集到用户的图像,此处用户的图像一般指用户使用该台灯时的头像。In the specific implementation, the S101 can use an infrared camera, because the light of the desk lamp is not enough light for a general camera, which may affect the collection effect; because the human body will generate heat, the use of an infrared camera can better collect The image of the user, where the image of the user generally refers to the avatar of the user when using the desk lamp.

S102,对所述采集的图像进行等色处理,得到所述图像的特征信息;S102. Perform isochromatic processing on the collected image to obtain feature information of the image;

具体实现中,由于图像是由像素组成的,每一个像素都有数值,每隔一定的数值进行像素的筛选,去除不符合的像素点,即可形成该图像的等色图,上述的过程即为等色处理过程。所述S102对采集的图像进行等色处理后,得到等色图,进一步,所述S102对该等色图进行分析,从而可得到图像的特征信息。具体分析过程如下:由于人的两眼相对于人的脸部是凹进去的,因此,该等色图中,人的两眼会形成一个旋涡型图形,对等色图分析时,会发现该等色图的等值线会向几个点集点,这几个点分别为人的眼睛、嘴巴和鼻子,所述S102对等色图进行水平方向的重复检测,可以发现只有人的眼睛是在同一直线上且相对距离比较远的,从而该两点即为人的两眼,确定的两眼的点可反映用户观看的方向等特征信息。In the specific implementation, since the image is composed of pixels, each pixel has a value, and the pixels are screened every certain value, and the non-conforming pixels are removed to form the isochromatic map of the image. The above process is For isochromatic processing. The step S102 performs isochromatic processing on the collected image to obtain an isochromatic map, and further, the step S102 analyzes the isochromatic map, so as to obtain feature information of the image. The specific analysis process is as follows: Since the two eyes of a person are recessed relative to the face of the person, the two eyes of the person will form a swirl-shaped figure in the equal color map. When analyzing the equal color map, it will be found that this The isovalue line of the isochromatic map will gather points to several points, and these points are the eyes, mouth and nose of the person respectively. The S102 performs repeated detection in the horizontal direction on the isochromatic map, and it can be found that only the eyes of the person are in the The two points are on the same straight line and relatively far away from each other, so the two points are the two eyes of a person, and the determined points of the two eyes can reflect characteristic information such as the viewing direction of the user.

S103,根据所述图像的特征信息,实时调节光的照射情况。S103. According to the feature information of the image, adjust the light irradiation situation in real time.

具体实现中,所述S103根据所述S102得到的图像的特征信息,即得到的人眼对应的两点,求得所述两点与各等值线的交点,然后计算相邻交点的距离,再与各等值线的权值进行比较,最后利用各交点的比值计算平均值,得到用户此时所需要的光的偏离度和亮度;进一步,所述S103根据该偏离度和亮度,实时调节台灯的光的照情况,以适应用户的眼睛。In specific implementation, said S103 obtains the intersection point of said two points and each contour line according to the feature information of the image obtained in said S102, that is, the obtained two points corresponding to the human eye, and then calculates the distance between adjacent intersection points, Then compare it with the weights of each contour line, and finally use the ratio of each intersection to calculate the average value to obtain the deviation and brightness of the light required by the user at this time; further, the S103 adjusts in real time according to the deviation and brightness The light of the desk lamp is illuminated to suit the user's eyes.

可以理解的是,上述的S102和所述S103的执行主体均可以为一中央处理器,其对图像进行处理、分析和计算,最后控制台灯的光照射情况的实时自动调节。It can be understood that both the aforementioned S102 and the aforementioned S103 may be executed by a central processing unit, which processes, analyzes and calculates the images, and finally automatically adjusts the light irradiation conditions of the console lights in real time.

本发明实施例按预定的周期采集用户的图像(如:用户的头像),通过对图像进行分析,获得图像的特征信息(包括:眼睛观看的方向信息),再根据该特征信息实时自动调节光的照射情况,避免了用户的对光照射情况的手动调节,提升了用户体验。The embodiment of the present invention collects the user's image (such as: the user's head portrait) according to a predetermined period, and by analyzing the image, obtains the characteristic information of the image (including: the direction information of the eyes), and then automatically adjusts the light in real time according to the characteristic information. The light exposure situation avoids the user's manual adjustment of the light exposure situation and improves the user experience.

请参见图6,为本发明的光调节方法的第二实施例的流程图;所述方法包括:Please refer to FIG. 6, which is a flow chart of the second embodiment of the light adjustment method of the present invention; the method includes:

S201,按预定的周期采集用户的图像;S201, collecting images of users according to a predetermined period;

本步骤与上一实施例中的S101相同,在此不赘述。This step is the same as S101 in the previous embodiment, and will not be repeated here.

S202,按预定的数值对所述采集的图像进行像素筛选,得到所述图像的等色图;S202. Perform pixel screening on the collected image according to a predetermined value to obtain an isochromatic map of the image;

具体实现中,由于图像是由像素组成的,每一个像素都有数值,每隔一定的数值进行像素的筛选,去除不符合的像素点,即可形成该图像的等色图,上述的过程即为等色处理过程。所述S202,按预定的数值对采集的图像进行等色处理后,得到等色图。In the specific implementation, since the image is composed of pixels, each pixel has a value, and the pixels are screened every certain value, and the non-conforming pixels are removed to form the isochromatic map of the image. The above process is For isochromatic processing. In the step S202, after performing isochromatic processing on the collected image according to a predetermined value, an isochromatic map is obtained.

S203,对所述等色图进行分析,得到所述图像的特征信息;S203. Analyze the isochromatic map to obtain feature information of the image;

具体实现中,所述S203对该等色图进行分析,从而可得到图像的特征信息。具体分析过程如下:由于人的两眼相对于人的脸部是凹进去的,因此,该等色图中,人的两眼会形成一个旋涡型图形,对等色图分析时,会发现该等色图的等值线会向几个点集点,这几个点分别为人的眼睛、嘴巴和鼻子,所述S203对等色图进行水平方向的重复检测,可以发现只有人的眼睛是在同一直线上且相对距离比较远的,从而该两点即为人的两眼,确定的两眼的点可反映用户观看的方向等特征信息。In a specific implementation, the step S203 analyzes the equal color map, so as to obtain the characteristic information of the image. The specific analysis process is as follows: Since the two eyes of a person are recessed relative to the face of the person, the two eyes of the person will form a swirl-shaped figure in the equal color map. When analyzing the equal color map, it will be found that this The isovalue line of the isochromatic map will gather points to several points, which are the eyes, mouth and nose of the person respectively. The S203 performs repeated detection in the horizontal direction on the isochromatic map, and it can be found that only the eyes of the person are in the The two points are on the same straight line and relatively far away from each other, so the two points are the two eyes of a person, and the determined points of the two eyes can reflect characteristic information such as the viewing direction of the user.

具体地,上述S202和S203是对上一实施例中的S102的具体细化。Specifically, the above S202 and S203 are detailed refinements of S102 in the previous embodiment.

S204,根据所述图像的特征信息,计算光调节的偏离度和亮度;S204. Calculate the deviation degree and brightness of the light adjustment according to the characteristic information of the image;

具体实现中,所述S204根据所述S203得到的图像的特征信息,即得到的人眼对应的两点,求得所述两点与各等值线的交点,然后计算相邻交点的距离,再与各等值线的权值进行比较,最后利用各交点的比值计算平均值,得到用户此时所需要的光的偏离度和亮度。In specific implementation, said S204 obtains the intersection point of said two points and each contour line according to the feature information of the image obtained in said S203, that is, the obtained two points corresponding to the human eyes, and then calculates the distance between adjacent intersection points, Then compare it with the weight of each contour line, and finally use the ratio of each intersection point to calculate the average value to obtain the light deviation and brightness required by the user at this time.

S205,根据所述偏离度和亮度,实时调节光的照射情况。S205. According to the degree of deviation and the brightness, adjust the irradiation condition of the light in real time.

具体实现中,台灯中可以采用一角度控制电机进行台灯的光照射的偏离度的调节,可采用一亮度调节器进行台灯的光照射的亮度的调节。所述S205根据所述S204得到的偏离度和亮度,控制所述角度控制电机调节所述台灯的光照射的偏离度,并同时控制所述亮度调节器调节台灯的光照射的亮度,以适应用户的眼睛。In specific implementation, an angle control motor can be used in the desk lamp to adjust the deviation degree of the light irradiation of the desk lamp, and a brightness adjuster can be used to adjust the brightness of the light irradiation of the desk lamp. The S205 controls the angle control motor to adjust the deviation of the light irradiation of the desk lamp according to the deviation and the brightness obtained in the above S204, and simultaneously controls the brightness adjuster to adjust the brightness of the light irradiation of the desk lamp to suit the user s eyes.

上述S204和S205为上一实施例中的S103的具体细化。The above S204 and S205 are detailed refinements of S103 in the previous embodiment.

本发明实施例避免了用户的对光照射情况的手动调节,提升了用户体验。The embodiment of the present invention avoids the manual adjustment of the light irradiation situation by the user, and improves the user experience.

通过上述实施例的描述,本发明实施例按预定的周期采集用户的图像(如:用户的头像),通过对图像进行分析,获得图像的特征信息(包括:眼睛观看的方向信息),再根据该特征信息实时自动调节光的照射情况,避免了用户的对光照射情况的手动调节,提升了用户体验。Through the description of the above-mentioned embodiment, the embodiment of the present invention collects the user's image (such as: the user's avatar) according to a predetermined period, and by analyzing the image, obtains the feature information of the image (including: the direction information of the eyes), and then according to The feature information automatically adjusts the light irradiation situation in real time, avoiding manual adjustment of the light irradiation situation by the user, and improving user experience.

本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,所述的程序可存储于一计算机可读取存储介质中,该程序在执行时,可包括如上述各方法的实施例的流程。其中,所述的存储介质可为磁碟、光盘、只读存储记忆体(Read-Only Memory,ROM)或随机存储记忆体(RandomAccess Memory,RAM)等。Those of ordinary skill in the art can understand that all or part of the processes in the methods of the above embodiments can be implemented through computer programs to instruct related hardware, and the programs can be stored in a computer-readable storage medium. During execution, it may include the processes of the embodiments of the above-mentioned methods. Wherein, the storage medium may be a magnetic disk, an optical disk, a read-only memory (Read-Only Memory, ROM) or a random access memory (Random Access Memory, RAM), etc.

以上所揭露的仅为本发明较佳实施例而已,当然不能以此来限定本发明之权利范围,本领域普通技术人员可以理解实现上述实施例的全部或部分流程,并依本发明权利要求所作的等同变化,仍属于发明所涵盖的范围。What is disclosed above is only a preferred embodiment of the present invention, and certainly cannot limit the scope of rights of the present invention with this. Those of ordinary skill in the art can understand the whole or part of the process of realizing the above-mentioned embodiment, and make according to the claims of the present invention The equivalent changes still belong to the scope covered by the invention.

Claims (9)

1. a light regulation method is characterized in that, comprising:
Gather user's image by the predetermined cycle;
Image to described collection carries out the isochrome processing, obtains the characteristic information of described image;
According to the characteristic information of described image, the radiation situation of real-time regulated light.
2. the method for claim 1 is characterized in that, described image to described collection carries out isochrome to be handled, and obtains the characteristic information of described image, comprising:
By predetermined numerical value the image of described collection is carried out the pixel screening, obtain the chromatic graph that waits of described image;
The described chromatic graph that waits is analyzed, obtained the characteristic information of described image.
3. the method for claim 1 is characterized in that, described characteristic information according to described image, and the radiation situation of real-time regulated light comprises:
According to the characteristic information of described image, calculate irrelevance and brightness that light is regulated;
According to described irrelevance and brightness, the radiation situation of real-time regulated light.
4. as each described method of claim 1 to 3, it is characterized in that, before the described image, also comprise by predetermined cycle collection user:
Preestablish the IMAQ cycle, and the numerical value that preestablishes the pixel screening.
5. a light adjusting device is characterized in that, comprising:
Collecting unit is used for the image by predetermined cycle collection user;
Processing unit, the image that is used for that described collecting unit is gathered carry out isochrome to be handled, and obtains the characteristic information of described image;
The real-time regulated unit is used for the characteristic information according to the resulting image of described processing unit, the radiation situation of real-time regulated light.
6. device as claimed in claim 5 is characterized in that, described processing unit comprises:
The screening unit is used for by predetermined numerical value the image of described collection being carried out the pixel screening, obtains the chromatic graph that waits of described image;
Analysis and processing unit is used for the chromatic graph that waits that described screening unit obtains is analyzed, and obtains the characteristic information of described image.
7. as claim 5 or 6 described devices, it is characterized in that described real-time regulated unit comprises:
Computing unit is used for the characteristic information of the described image that obtains according to processing unit, calculates irrelevance and brightness that light is regulated;
Regulon is used for the irrelevance and the brightness that obtain according to described computing unit, the radiation situation of real-time regulated light.
8. device as claimed in claim 7 is characterized in that, also comprises:
Memory cell is used to store the predefined IMAQ cycle, and the numerical value that preestablishes the pixel screening.
9. an intelligent desk lamp is characterized in that, comprising: as each described smooth adjusting device of claim 5 to 8.
CN2010102414200A 2010-07-30 2010-07-30 A light adjustment method, device and intelligent desk lamp Pending CN101917801A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2010102414200A CN101917801A (en) 2010-07-30 2010-07-30 A light adjustment method, device and intelligent desk lamp

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2010102414200A CN101917801A (en) 2010-07-30 2010-07-30 A light adjustment method, device and intelligent desk lamp

Publications (1)

Publication Number Publication Date
CN101917801A true CN101917801A (en) 2010-12-15

Family

ID=43325153

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2010102414200A Pending CN101917801A (en) 2010-07-30 2010-07-30 A light adjustment method, device and intelligent desk lamp

Country Status (1)

Country Link
CN (1) CN101917801A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104519640A (en) * 2013-09-26 2015-04-15 松下电器产业株式会社 Lighting control system
CN105759851A (en) * 2016-03-29 2016-07-13 联想(北京)有限公司 Electronic equipment and control method
CN107846762A (en) * 2017-10-25 2018-03-27 北京小米移动软件有限公司 The control method and device of a kind of illuminating lamp
CN109041379A (en) * 2018-08-10 2018-12-18 广东工业大学 A kind of Intelligent illuminating method, device, equipment and storage medium
CN109640476A (en) * 2018-12-14 2019-04-16 福建鸿博光电科技有限公司 A kind of method and apparatus adjusting illumination
CN109949193A (en) * 2019-04-02 2019-06-28 中国计量大学上虞高等研究院有限公司 Learning attention detection and pre-judgment device and method under variable light environment
CN111315071A (en) * 2020-02-28 2020-06-19 广东精装照明有限公司 LED intelligent control method and system

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN200980186Y (en) * 2006-12-08 2007-11-21 天津三星电子有限公司 An intelligent household lighting device regulating brightness of indoor light by pupil size
CN101090482A (en) * 2006-06-13 2007-12-19 唐琎 Driver fatigue monitoring system and method based on image process and information mixing technology

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101090482A (en) * 2006-06-13 2007-12-19 唐琎 Driver fatigue monitoring system and method based on image process and information mixing technology
CN200980186Y (en) * 2006-12-08 2007-11-21 天津三星电子有限公司 An intelligent household lighting device regulating brightness of indoor light by pupil size

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104519640A (en) * 2013-09-26 2015-04-15 松下电器产业株式会社 Lighting control system
CN105759851A (en) * 2016-03-29 2016-07-13 联想(北京)有限公司 Electronic equipment and control method
CN105759851B (en) * 2016-03-29 2019-12-24 联想(北京)有限公司 Electronic equipment and control method
CN107846762A (en) * 2017-10-25 2018-03-27 北京小米移动软件有限公司 The control method and device of a kind of illuminating lamp
CN109041379A (en) * 2018-08-10 2018-12-18 广东工业大学 A kind of Intelligent illuminating method, device, equipment and storage medium
CN109640476A (en) * 2018-12-14 2019-04-16 福建鸿博光电科技有限公司 A kind of method and apparatus adjusting illumination
CN109949193A (en) * 2019-04-02 2019-06-28 中国计量大学上虞高等研究院有限公司 Learning attention detection and pre-judgment device and method under variable light environment
CN111315071A (en) * 2020-02-28 2020-06-19 广东精装照明有限公司 LED intelligent control method and system
CN111315071B (en) * 2020-02-28 2021-04-27 广东精装照明有限公司 LED intelligent control method and system

Similar Documents

Publication Publication Date Title
CN101917801A (en) A light adjustment method, device and intelligent desk lamp
CN106973278B (en) A kind of automatic white balance device and method with reference to face color character
CN108401154B (en) Image exposure degree non-reference quality evaluation method
CN104917975B (en) A kind of adaptive automatic explosion method based on target signature
CN102438107B (en) Method for processing microscope video image
CN113515975B (en) Face and iris image acquisition method and device, readable storage medium and equipment
US20160110846A1 (en) Automatic display image enhancement based on user's visual perception model
TWI577189B (en) Methods and apparatus for adjusting auxiliary lamp during image capturing
CN105100632A (en) Adjusting method and apparatus for automatic exposure of imaging device, and imaging device
CN109982012B (en) Image processing method and device, storage medium and terminal
CN103699877A (en) Method and system for improving face recognition effects
CN102300100B (en) White balance control device and method
CN107895350B (en) HDR image generation method based on self-adaptive double gamma transformation
CN106157305B (en) A fast generation method of high dynamic image based on local characteristics
CN105718922B (en) Adaptive adjustment method and device for iris recognition
CN108600649A (en) A kind of Intelligent House Light brightness acquisition and control method
WO2013114803A1 (en) Image processing device, image processing method therefor, computer program, and image processing system
CN115471887B (en) Double-shot face recognition method, equipment and medium without white light supplementary lighting lamp
CN105788562A (en) Brightness control method and system for display device
CN109299634A (en) Spot detection method, system, equipment and storage medium
RU2016107229A (en) MEASUREMENTS
CN106454140B (en) A kind of information processing method and electronic equipment
CN104050676B (en) A kind of backlight image detecting method and device based on Logistic regression models
WO2016078440A1 (en) Method and apparatus for controlling screen of mobile terminal
WO2020227898A1 (en) Image fusion method, image acquisition device and movable platform

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20101215

RJ01 Rejection of invention patent application after publication