CN103017896B - Illumination photometry method and illumination photometry device - Google Patents
Illumination photometry method and illumination photometry device Download PDFInfo
- Publication number
- CN103017896B CN103017896B CN201210504948.1A CN201210504948A CN103017896B CN 103017896 B CN103017896 B CN 103017896B CN 201210504948 A CN201210504948 A CN 201210504948A CN 103017896 B CN103017896 B CN 103017896B
- Authority
- CN
- China
- Prior art keywords
- brightness value
- camera
- illumination
- exposure voltage
- exposure
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Abstract
The invention is applicable to the technical field of mobile terminals and provides an illumination photometry method. The illumination photometry method comprises the steps of starting a camera which is placed at a position facing to a light source; detecting an exposure voltage obtained by exposure of an image sensor in the camera; obtaining an illumination value associated with the exposure voltage from a preset database; and determining the illumination value associated with the exposure voltage as the illumination value of the position where the camera is located. By means of placing the camera at the position facing to a light source, detecting the exposure voltage of the image sensor during imaging of the camera and transforming the exposure voltage obtained from detection to the corresponding illumination value, illumination photometry is accomplished without depending on a special illumination meter, the cost for illumination photometry is effectively lowered and users can use conveniently.
Description
Technical field
The invention belongs to field of measuring technique, particularly relate to a kind of illumination photometry method and device.
Background technology
Illumination, for representing the degree that light body surface is irradiated by light, has close relationship with the life of people.Crossing dark light can cause the degree of human-body fatigue considerably beyond eyes itself, and therefore, uncomfortable or poor lighting condition causes the accident and tired one of the main reasons.In daily life, work and study under too strongly or too dark light irradiates are all harmful to eyes, so the moment keeps suitable illumination, have very large benefit to raising working and learning efficiency.
But, current illumination can only be measured with special illuminometer (or claiming lux meter), and illuminometer is normally made up of selenium cell (or silicon photocell) and microampere meter, is individual independently instrument, its manufacturing cost is relatively high, and inconvenient ordinary consumer uses.
Summary of the invention
The object of the embodiment of the present invention is to provide a kind of illumination photometry method, is intended to solve the high problem of existing illuminometer manufacturing cost.
The embodiment of the present invention is achieved in that a kind of illumination photometry method, comprising:
Start camera, described camera is placed in the position towards light source;
Detect the exposure voltage that in described camera, image sensor exposure obtains;
The brightness value be associated with described exposure voltage is obtained in presetting database;
The brightness value that described and described exposure voltage is associated is defined as the brightness value of described camera present position.
Another object of the embodiment of the present invention is to provide a kind of illumination photometry device, comprising:
Start unit, for starting camera, described camera is placed in the position towards light source;
First detecting unit, for detecting the exposure voltage that in described camera, image sensor exposure obtains;
Acquiring unit, for obtaining the brightness value be associated with described exposure voltage in presetting database;
First determining unit, the brightness value for being associated by described and described exposure voltage is defined as the brightness value of described camera present position.
By camera being placed in towards the position of light source in the embodiment of the present invention, detect the exposure voltage of imageing sensor during camera imaging, and the exposure voltage detected is converted to corresponding brightness value, thus under the prerequisite not relying on special illuminometer, complete the measurement of illumination, effectively reduce the measurement cost of illumination photometry, convenient for users.
Accompanying drawing explanation
Fig. 1 is the realization flow figure of the illumination photometry method that the embodiment of the present invention provides;
Fig. 2 is the realization flow figure of the illumination photometry method that another embodiment of the present invention provides;
Fig. 3 is the structured flowchart of the illumination photometry device that the embodiment of the present invention provides;
Fig. 4 is the structured flowchart of the illumination photometry device that another embodiment of the present invention provides.
Embodiment
In order to make object of the present invention, technical scheme and advantage clearly understand, below in conjunction with drawings and Examples, the present invention is further elaborated.Should be appreciated that specific embodiment described herein only in order to explain the present invention, be not intended to limit the present invention.
By camera being placed in towards the position of light source in the embodiment of the present invention, detect the exposure voltage of imageing sensor during camera imaging, and the exposure voltage detected is converted to corresponding brightness value, thus under the prerequisite not relying on special illuminometer, complete the measurement of illumination, effectively reduce the measurement cost of illumination photometry, convenient for users.
It should be noted that, device for running the illumination photometry method that the embodiment of the present invention provides can realize based on the intelligent terminal possessing camera, preferably, can realize based on the intelligent mobile terminal equipment possessing camera, include but not limited to the intelligent mobile terminal equipment such as mobile phone, panel computer, notebook, to improve the portability of illumination photometry equipment, user is facilitated to use illumination photometry function whenever and wherever possible.
Fig. 1 shows the realization flow of the illumination photometry method that the embodiment of the present invention provides, and details are as follows:
In step S101, start camera, described camera is placed in the position towards light source.
In the present embodiment, needing, under the scene of carrying out illumination photometry, camera to be placed in towards the position of light source.Such as, if light source is the pendent lamp on ceiling, then camera is rotated upwardly to the position aiming at pendent lamp; If when light source is ground light source, then camera is rotated down the position to alignedly area source.
Preferably, when the equipment carrying out illumination photometry is the intelligent terminal possessing front-facing camera and post-positioned pick-up head simultaneously, for ground light source, the front-facing camera of intelligent terminal can be opened, for aerial light source, the post-positioned pick-up head of intelligent terminal can be opened, thus, in the process of illumination photometry, can remain that the screen of intelligent terminal is in the state in user's visual line of sight, facilitate user read brightness value and perform associative operation.
In step s 102, the exposure voltage that in described camera, image sensor exposure obtains is detected.
In the present embodiment, after when startup camera and by camera alignment light source, the picture of camera shooting generates optical imagery by camera lens and projects imageing sensor (Sensor) on the surface, namely imageing sensor exposes the optical imagery of projection, and by relevant exposure parameter by obtaining corresponding exposure voltage after opto-electronic conversion.
The testing process of above-mentioned exposure voltage by the related transducer parameter acquiring of the processor detected image sensor in camera, can be not used in restriction the present invention at this.
Due to the same image taken for camera, also there is some difference to be positioned at the light conditions in the diverse location region of image, the light conditions of the band of position that distance light source is near is better, the light conditions of the band of position that distance light source is far away is then slightly more weak, therefore, the exposure voltage on diverse location region is also different.In concrete operating process, can after camera alignment light source, detect user taking pictures in preview interface by the image-region comprising light source image of drawing a circle or the contact action such as click is selected, thus the image-region selected for user specially carries out the detection of exposure voltage, the image-region selected due to this user contains light source, therefore carries out detecting the correct exposure voltage that can reflect whole image on this image-region.
In addition, also can detect the exposure voltage obtained on multiple image-region, and exposure voltage maximum for wherein numerical value is defined as the exposure voltage needing use in illumination photometry process.
As a preferred embodiment of the present invention, step S102 is specially:
Detect the exposure voltage that in described camera, image sensor center regional exposure obtains.
When carrying out illumination photometry, because light source initiatively can be placed in the center (also can point out user that light source is placed in view-finder center at take pictures preview interface or relevant measurement interface) of view-finder by most of user simultaneously, therefore, the exposure voltage detecting image sensor center region in camera can be given tacit consent to, thus get the Correct exposure voltage measured required for illumination.
In step s 103, in presetting database, obtain the brightness value be associated with described exposure voltage.
Namely principle due to illumination photometry is when electrooptical device is subject to light irradiation, photoelectric effect is produced at the light receiving surface of electrooptical device, luminous energy is directly changed into electric energy, and calculates brightness value according to the relation between the illumination in the potential difference (PD) be converted to and electrooptical device light receiving surface.Therefore, in the present embodiment, before step S101, also by storing the incidence relation of different exposure voltage and brightness value in presetting database, after exposure voltage being detected, namely can get the brightness value be associated with this exposure voltage from presetting database.
Particularly, before step S101, can by the experiment of person skilled, under camera is placed in different standard lamp of luminous intensities, carry out the acquisition of the corresponding relation of exposure voltage and brightness value, thus get the brightness value be associated with each grade of exposure voltage, be stored in presetting database.
In step S104, the brightness value that described and described exposure voltage is associated is defined as the brightness value of described camera present position.
In specific implementation, trickle instability may be there is in the light intensity sent due to light source, and also instability can be there is because of factors such as artificial shakes in the situation of finding a view of camera, therefore, the exposure voltage that in camera, image sensor exposure obtains is real-time change, meanwhile, also be real-time change according to the brightness value be associated that exposure voltage gets, therefore, in step S104, specifically can by detecting lock operation, to lock the current brightness value (namely no longer showing the brightness value of real-time change) measured, the brightness value of locking is defined as the brightness value of the current present position of camera.
Wherein, lock operation by detecting the push of related physical button, or can be performed by the push detecting virtual key in relative program interface.
Thus, by camera being placed in towards the position of light source, detect the exposure voltage of imageing sensor during camera imaging, and the exposure voltage detected is converted to corresponding brightness value, thus can under the prerequisite not relying on special illuminometer, complete the measurement of illumination, reduce the measurement cost of illumination photometry, convenient for users.
As one embodiment of the present of invention, further, after measuring brightness value, can, by judging the size of brightness value, user be pointed out to adjust the need of to current light situation.
Fig. 2 shows the realization flow of the illumination photometry method that another embodiment of the present invention provides, and as shown in Figure 2, after step s 104, also comprises:
Step S105, judges whether described brightness value is within the scope of default illumination threshold.
Before step S105, the current illumination measurement scene that user is arranged can be detected, thus determine to measure default illumination threshold scope corresponding to scene with the current illumination that user is arranged.
In specific implementation, in the storage unit that intelligent terminal internal system is relevant, the default illumination threshold scope that a few cover is different can be determined respectively according to the experience of technician or test, often the corresponding illumination photometry scene of illumination threshold scope preset by cover, and the default illumination threshold scope of optimum eyes of user health under reflecting this illumination photometry scene.User according to current residing actual scene, can select illumination measurement field scape, to call out the default illumination threshold scope corresponding with current actual scene.
Such as, when user is positioned at outdoor, illumination is comparatively strong, then preset illumination threshold scope and can be positioned at the higher interval of a value; When user is in night, illumination is more weak, then preset illumination threshold scope and can be positioned at the lower interval of a value.
In step S105, the brightness value measured by judgement and the different magnitude relationship of default illumination threshold scope, can perform step S106, step S107 or step S108:
In step s 106, when described brightness value is within the scope of described default illumination threshold, point out described brightness value normal.
Now, brightness value is positioned at the illumination range of suitable human eye health, then point out user's brightness value normal.
In step s 107, when described brightness value is greater than described default illumination threshold range limit, point out described brightness value excessive.
Now, user by taking suitably to turn down the measures such as light-source brightness, can reduce brightness value, being reduced to by brightness value in the scope of suitable human eye health.
In step S108, when described brightness value is less than described default illumination threshold range lower limit, point out described brightness value too small.
Now, user by taking suitably to increase the measures such as light-source brightness, can improve brightness value, being brought up to by brightness value in the scope of suitable human eye health.
Thus, based on illumination photometry result, further for user provides illumination adjustment suggestion, the Consumer's Experience of illumination photometry can be improve.
By camera being placed in towards the position of light source in the embodiment of the present invention, detect the exposure voltage of imageing sensor during camera imaging, and the exposure voltage detected is converted to corresponding brightness value, thus under the prerequisite not relying on special illuminometer, complete the measurement of illumination, effectively reduce the measurement cost of illumination photometry, convenient for users.
Fig. 3 shows the structured flowchart of the illumination photometry device that the embodiment of the present invention provides, and this device can be arranged in the intelligent terminal such as mobile phone, panel computer, for running the illumination photometry method described in Fig. 1 and Fig. 2 embodiment of the present invention.For convenience of explanation, illustrate only part related to the present embodiment.
With reference to Fig. 3, this device comprises:
Start unit 31, start camera, described camera is placed in the position towards light source.
First detecting unit 32, detects the exposure voltage that in described camera, image sensor exposure obtains.
Acquiring unit 33, obtains the brightness value be associated with described exposure voltage in presetting database.
First determining unit 34, is defined as the brightness value of described camera present position by the brightness value that described and described exposure voltage is associated.
Alternatively, this device also comprises:
Storage unit, stores the incidence relation of described exposure voltage and described brightness value in described presetting database.
Alternatively, the first detecting unit 32 is specifically for detecting the exposure voltage that in described camera, image sensor center regional exposure obtains.
Alternatively, as shown in Figure 4, this device also comprises:
Judging unit 35, for judging whether described brightness value is within the scope of default illumination threshold;
First Tip element 36, when described brightness value is within the scope of described default illumination threshold, points out described brightness value normal.
Second Tip element 37, when described brightness value is greater than described default illumination threshold range limit, points out described brightness value excessive.
3rd Tip element 38, when described brightness value is less than described default illumination threshold range lower limit, points out described brightness value too small.
Alternatively, this device also comprises:
Second detecting unit, detects the current illumination measurement scene that user is arranged.
Second determining unit, determines to measure described default illumination threshold scope corresponding to scene with described current illumination.
By camera being placed in towards the position of light source in the embodiment of the present invention, detect the exposure voltage of imageing sensor during camera imaging, and the exposure voltage detected is converted to corresponding brightness value, thus under the prerequisite not relying on special illuminometer, complete the measurement of illumination, effectively reduce illumination photometry cost, convenient for users.
The foregoing is only preferred embodiment of the present invention, not in order to limit the present invention, all any amendments done within the spirit and principles in the present invention, equivalent replacement and improvement etc., all should be included within protection scope of the present invention.
Claims (8)
1. an illumination photometry method, is characterized in that, comprising:
Start camera, described camera is placed in the position towards light source;
Detecting user taking pictures by the image-region comprising light source image that contact action is selected in preview interface, detecting according to the described image-region that described user selectes the exposure voltage that in described camera, image sensor exposure obtains;
The brightness value be associated with described exposure voltage is obtained in presetting database;
The brightness value that described and described exposure voltage is associated is defined as the brightness value of described camera present position.
2. the method for claim 1, is characterized in that, before described startup camera, also comprises:
The incidence relation of described exposure voltage and described brightness value is stored in described presetting database.
3. method as claimed in claim 1 or 2, is characterized in that, also comprise:
Judge whether described brightness value is within the scope of default illumination threshold;
When described brightness value is within the scope of described default illumination threshold, point out described brightness value normal;
When described brightness value is greater than described default illumination threshold range limit, point out described brightness value excessive;
When described brightness value is less than described default illumination threshold range lower limit, point out described brightness value too small.
4. method as claimed in claim 3, is characterized in that, described judge whether described brightness value is within the scope of default illumination threshold before, described method also comprises:
Detect the current illumination measurement scene that user is arranged;
Determine to measure described default illumination threshold scope corresponding to scene with described current illumination.
5. an illumination photometry device, is characterized in that, comprising:
Start unit, for starting camera, described camera is placed in the position towards light source;
First detecting unit, for detecting user taking pictures by the image-region comprising light source image that contact action is selected in preview interface, detects according to the described image-region that described user selectes the exposure voltage that in described camera, image sensor exposure obtains;
Acquiring unit, for obtaining the brightness value be associated with described exposure voltage in presetting database;
First determining unit, the brightness value for being associated by described and described exposure voltage is defined as the brightness value of described camera present position.
6. device as claimed in claim 5, is characterized in that, also comprise:
Storage unit, for storing the incidence relation of described exposure voltage and described brightness value in described presetting database.
7. the device as described in claim 5 or 6, is characterized in that, also comprises:
Judging unit, for judging whether described brightness value is within the scope of default illumination threshold;
First Tip element, for being within the scope of described default illumination threshold when described brightness value, points out described brightness value normal;
Second Tip element, for being greater than described default illumination threshold range limit when described brightness value, points out described brightness value excessive;
3rd Tip element, for being less than described default illumination threshold range lower limit when described brightness value, points out described brightness value too small.
8. device as claimed in claim 7, it is characterized in that, described device also comprises:
Second detecting unit, the current illumination arranged for detecting user measures scene;
Second determining unit, measures described default illumination threshold scope corresponding to scene for determining with described current illumination.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210504948.1A CN103017896B (en) | 2012-11-29 | 2012-11-29 | Illumination photometry method and illumination photometry device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210504948.1A CN103017896B (en) | 2012-11-29 | 2012-11-29 | Illumination photometry method and illumination photometry device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103017896A CN103017896A (en) | 2013-04-03 |
CN103017896B true CN103017896B (en) | 2015-06-03 |
Family
ID=47966758
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201210504948.1A Active CN103017896B (en) | 2012-11-29 | 2012-11-29 | Illumination photometry method and illumination photometry device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103017896B (en) |
Families Citing this family (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107101719A (en) * | 2016-02-19 | 2017-08-29 | 富泰华工业(深圳)有限公司 | Printing opacity detection device |
CN108871565A (en) * | 2018-06-27 | 2018-11-23 | 昆山仕优威电子科技有限公司 | A kind of light energy detection device |
CN109100118B (en) * | 2018-07-24 | 2020-08-25 | 广州柏曼光电科技有限公司 | Light source testing method and system |
CN109932056B (en) * | 2019-03-20 | 2022-04-29 | 深圳市康康网络技术有限公司 | Illuminance measurement method, user equipment, detection system and storage medium |
CN110057549B (en) * | 2019-04-08 | 2021-06-01 | Tcl华星光电技术有限公司 | Light source illumination detection method and system |
CN110346116B (en) * | 2019-06-14 | 2021-06-15 | 东南大学 | Scene illumination calculation method based on image acquisition |
CN112903094B (en) * | 2020-01-21 | 2022-11-08 | 上海掌门科技有限公司 | Method and equipment for detecting scene light |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101608950A (en) * | 2009-07-21 | 2009-12-23 | 宁书存 | Luminance detector of universal CCD camera |
CN202009440U (en) * | 2011-01-27 | 2011-10-12 | 深圳市通宝莱科技有限公司 | Camera |
-
2012
- 2012-11-29 CN CN201210504948.1A patent/CN103017896B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101608950A (en) * | 2009-07-21 | 2009-12-23 | 宁书存 | Luminance detector of universal CCD camera |
CN202009440U (en) * | 2011-01-27 | 2011-10-12 | 深圳市通宝莱科技有限公司 | Camera |
Also Published As
Publication number | Publication date |
---|---|
CN103017896A (en) | 2013-04-03 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103017896B (en) | Illumination photometry method and illumination photometry device | |
US9491370B2 (en) | Methods and apparatuses for providing guide information for a camera | |
KR102085766B1 (en) | Method and Apparatus for controlling Auto Focus of an photographing device | |
KR102148638B1 (en) | Apparatus for fever detection according to the change of external environment | |
CN106295536B (en) | Self-adapting type iris identification device and the method for carrying out iris recognition using the device | |
CN110890078B (en) | Method for automatically adjusting brightness of display screen based on pupil size | |
CN102954836B (en) | Ambient light sensor, user applying device and display device | |
CN106952252B (en) | Skin imaging system based on three spectrums | |
JP2007101618A (en) | Display device | |
CN104333709B (en) | Method, device and the electronic equipment being controlled to flash lamp | |
CN105554981B (en) | desk lamp adjusting method and device | |
KR20150039458A (en) | Display apparatus and control method for the same | |
CN110622237B (en) | Method and computer program product for controlling display parameters of a mobile device | |
WO2019039698A1 (en) | Method for processing image on basis of external light, and electronic device supporting same | |
Ma et al. | Automatic brightness control of the handheld device display with low illumination | |
CN111880309A (en) | Method for automatically adjusting brightness of AR virtual image based on pupil size | |
CN201477614U (en) | Single-reflecting liquid crystal touch screen fingerprint and palm print scanner | |
CN110111747A (en) | Adjust the method and device of screen backlight | |
CN109269643A (en) | Spectrum demodulating system and method based on mobile device screen light source | |
JP2013157845A (en) | Electronic mirror and program | |
CN209913938U (en) | Camera detection locking system based on optical imaging | |
JP2015114956A (en) | System for reading gas consumption displayed on gas meter | |
JPWO2019008936A1 (en) | Image processing device, computer program, and image processing system | |
JP5134116B2 (en) | Imaging apparatus and in-focus position search method | |
JP2009193197A (en) | Iris authentication method and iris authentication apparatus |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CP03 | Change of name, title or address | ||
CP03 | Change of name, title or address |
Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Patentee after: OPPO Guangdong Mobile Communications Co., Ltd. Address before: Changan town in Guangdong province Dongguan 523841 usha Beach Road No. 18 Patentee before: Guangdong Opel Mobile Communications Co., Ltd. |