CN100419395C - Method for judging environmental brightness - Google Patents

Method for judging environmental brightness Download PDF

Info

Publication number
CN100419395C
CN100419395C CNB2004100984666A CN200410098466A CN100419395C CN 100419395 C CN100419395 C CN 100419395C CN B2004100984666 A CNB2004100984666 A CN B2004100984666A CN 200410098466 A CN200410098466 A CN 200410098466A CN 100419395 C CN100419395 C CN 100419395C
Authority
CN
China
Prior art keywords
brightness
video data
ambient
ambient brightness
average
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.)
Expired - Fee Related
Application number
CNB2004100984666A
Other languages
Chinese (zh)
Other versions
CN1614369A (en
Inventor
曹玉弟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vimicro Corp
Original Assignee
Vimicro Corp
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 Vimicro Corp filed Critical Vimicro Corp
Priority to CNB2004100984666A priority Critical patent/CN100419395C/en
Publication of CN1614369A publication Critical patent/CN1614369A/en
Application granted granted Critical
Publication of CN100419395C publication Critical patent/CN100419395C/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The present invention discloses a method for judging environmental brightness. Firstly, a camera is adopted for shooting to obtain environmental video data; then, the video data is analyzed for calculating an average brightness value; consequently, environmental brightness is judged, wherein the method of calculating the average brightness value can be obtained by calculating the value according to the brightness component of multi-frame video data. The method for judging environmental brightness is used for judging environmental brightness conditions by comparing the average brightness value and a preset brightness valve value. Compared with the prior art, the present invention has the characteristics of simple method, low cost, easy implementation, accurate brightness judgement, etc.

Description

A kind of method of judging ambient brightness
Technical field
The present invention relates to a kind of method of simple judgement ambient brightness.
Technical background
In order to know the brightness of current environment, we often adopt two kinds of methods, one: range estimation, promptly according to we personal experience, judge current brightness; It two is to use special use to have the instrument of the special measurement brightness of luminance sensor, measures brightness value accurately.Two kinds of methods all have its defective, and first kind is artificial judgement, and degree of accuracy is very low, and can only judge on-the-spot brightness, have just had no way if wonder brightness at a distance, can't realize the function of remote monitoring.Second method is then strongly professional, and the cost height is only applicable to professional domain, is not suitable for common place.
Summary of the invention
The objective of the invention is:, provide a kind of method of simple judgement ambient brightness at the deficiencies in the prior art.
In order to solve the problems of the technologies described above, the technical solution used in the present invention is: a kind of method of judging ambient brightness is at first to adopt camera to take to obtain the ambient video data, analyzes this video data then, calculate its average brightness value, thereby judge ambient brightness.
The present invention specifically can comprise the steps:
At first, adopt the scene that camera is aimed at needs test brightness;
Then, video flowing is opened receiving video data;
At last, calculate the average brightness value of described video data.
The average brightness value of described calculating video data is specifically as follows, and obtains the multi-frame video data, and calculates their luminance component respectively, is used to ask average back to obtain described average brightness value.
The method of described judgement ambient brightness is specifically as follows, and described average brightness value is used for comparing with the preset brightness threshold values, thereby judges the ambient brightness situation.
Described luminance threshold can be provided with one, when described average brightness value is higher than this luminance threshold, then is that ambient brightness is bright, when described average brightness value is lower than this luminance threshold, then is that ambient brightness is dark.
Described luminance threshold can be provided with a plurality of from small to large, thereby forms a plurality of brightness section, when described average brightness value is positioned at wherein some brightness section, then represents the ambient brightness situation of institute's testing environment for this brightness section correspondence.
Described luminance threshold can be provided with 3 from small to large, forms four brightness section, and Biao Shi ambient brightness situation is " secretly ", " darker ", " bright ", " brighter " respectively.
Described camera can adopt IP Camera.
In technique scheme, the present invention analyzes brightness value by camera capture video data, thereby can obtain more accurate brightness value, so that accurately judge ambient brightness.In addition, the method that the present invention calculates average brightness value is simple, has simplified the method for judging ambient brightness greatly, has reduced use cost, can be fit to the use in common place.And the present invention adopts IP Camera to take, and by the Network Transmission video flowing, thereby can realize the remote monitoring ambient brightness, has better practicability.
Description of drawings
Accompanying drawing 1 is the method flow diagram of the preferred embodiments of the present invention.
Embodiment
Below in conjunction with Figure of description and specific embodiment the present invention is described in further detail.
The invention provides a kind of method of judging ambient brightness, is at first to adopt camera to take to obtain the ambient video data, analyzes this video data then, calculates its average brightness value, thereby judges ambient brightness.
What accompanying drawing provided is a preferred embodiment of the present invention.
With reference to the accompanying drawings, present embodiment specifically comprises the steps:
Step 1, set in advance one or more luminance threshold, be used to form brightness section.
Step 2, employing camera are aimed at the scene that needs test brightness;
Step 3, video flowing is opened receiving video data;
Step 4, acquisition multi-frame video data, and calculate their luminance component respectively;
Step 5, a plurality of luminance components that obtained are asked on average, thereby obtained average brightness value;
Step 6, relatively with the average brightness value that obtained and described luminance threshold, thus judge ambient brightness.Be specially:
When described luminance threshold is provided with one, then,, then be that ambient brightness is bright if average brightness value is higher than this luminance threshold; If described average brightness value is lower than this luminance threshold, then be that ambient brightness is dark.
When described luminance threshold be provided with from small to large a plurality of, thereby when forming a plurality of brightness section, then, judge described average brightness value is positioned at which brightness section wherein, just represent the ambient brightness of current environment brightness situation for this brightness section correspondence.As, the scope of average brightness value is 0~100, wherein said luminance threshold is provided with 3 from small to large, be respectively 25,50,75, thereby form (0,25), (25,50), (50,75), (75,100) four brightness section, the ambient brightness situation that they are represented respectively is " secretly ", " darker ", " bright ", " brighter ".As the average brightness value that is calculated is 60, represents that then current environment brightness situation is bright.In like manner analogize, do not enumerate one by one.
When described camera adopts IP Camera, IP Camera can be sent to the network take over party with the video flowing that is obtained, and locate to implement this method the network take over party, thus make the brightness that the network take over party can long-range acquisition IP Camera environment of living in, also be convenient to make Long-distance Control.
The present invention has application preferably in the environmental monitoring field.As this camera is installed in the environment that carries out the brightness monitoring at needs, can carry out video capture to monitoring environment on the one hand, simultaneously, can also be according to the variation of ambient brightness, produce monitoring alarm, thereby reach fast forewarning function timely, and can realize remote monitoring function.

Claims (4)

1. method of judging ambient brightness, be at first to adopt IP Camera to take to obtain the ambient video data, IP Camera sends to the network take over party with the video flowing that is obtained, and the network take over party analyzes this video data, calculate its average brightness value, thereby judge ambient brightness;
Specifically comprise the steps:
At first, adopt the scene that IP Camera is aimed at needs test brightness;
Then, video flowing is opened network take over party receiving video data;
At last, the network take over party calculates the average brightness value of described video data;
Wherein: the average brightness value of described calculating video data is specially, and obtains the multi-frame video data, and calculates their luminance component respectively, is used to ask average back to obtain described average brightness value;
The method of described judgement ambient brightness is specially, and described average brightness value is used for comparing with the preset brightness threshold values, thereby judges the ambient brightness situation.
2. judge the method for ambient brightness according to claim 1, it is characterized in that: described luminance threshold is provided with one, when described average brightness value is higher than this luminance threshold, then is that ambient brightness is bright, when described average brightness value is lower than this luminance threshold, then be that ambient brightness is dark.
3. judge the method for ambient brightness according to claim 1, it is characterized in that: described luminance threshold is provided with a plurality of from small to large, thereby form a plurality of brightness section, when described average brightness value is positioned at wherein some brightness section, then represent the ambient brightness situation of institute's testing environment for this brightness section correspondence.
4. as the method for judgement ambient brightness as described in the claim 3, it is characterized in that: described luminance threshold is provided with 3 from small to large, forms four brightness section, and Biao Shi ambient brightness situation is " secretly ", " darker ", " bright ", " brighter " respectively.
CNB2004100984666A 2004-12-13 2004-12-13 Method for judging environmental brightness Expired - Fee Related CN100419395C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2004100984666A CN100419395C (en) 2004-12-13 2004-12-13 Method for judging environmental brightness

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2004100984666A CN100419395C (en) 2004-12-13 2004-12-13 Method for judging environmental brightness

Publications (2)

Publication Number Publication Date
CN1614369A CN1614369A (en) 2005-05-11
CN100419395C true CN100419395C (en) 2008-09-17

Family

ID=34766645

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2004100984666A Expired - Fee Related CN100419395C (en) 2004-12-13 2004-12-13 Method for judging environmental brightness

Country Status (1)

Country Link
CN (1) CN100419395C (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101126661B (en) * 2007-09-20 2010-06-02 北京中星微电子有限公司 Method and apparatus for determining ambient light
CN104470139B (en) * 2014-12-11 2017-10-31 大连海事大学 A kind of tunnel illumination closed-loop feedback control method

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4395099A (en) * 1980-05-02 1983-07-26 Fuji Photo Film Co., Ltd. Scene brightness measuring system
US4445778A (en) * 1979-12-21 1984-05-01 Fuji Photo Film Co., Ltd. Method of and apparatus for measuring scene brightness
JPS6444825A (en) * 1987-08-13 1989-02-17 Shibasoku Co Ltd Brightness measuring method of illuminant
JPH05145836A (en) * 1991-10-31 1993-06-11 Koito Ind Ltd Brightness measurement method by picture processing
US20030081133A1 (en) * 2001-10-31 2003-05-01 Samsung Electronics Co., Ltd. Method for determining environmental brightness to control display brightness in mobile communication terminal including camera having automatic gain control function, and method for controlling display brightness using the same

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4445778A (en) * 1979-12-21 1984-05-01 Fuji Photo Film Co., Ltd. Method of and apparatus for measuring scene brightness
US4395099A (en) * 1980-05-02 1983-07-26 Fuji Photo Film Co., Ltd. Scene brightness measuring system
JPS6444825A (en) * 1987-08-13 1989-02-17 Shibasoku Co Ltd Brightness measuring method of illuminant
JPH05145836A (en) * 1991-10-31 1993-06-11 Koito Ind Ltd Brightness measurement method by picture processing
US20030081133A1 (en) * 2001-10-31 2003-05-01 Samsung Electronics Co., Ltd. Method for determining environmental brightness to control display brightness in mobile communication terminal including camera having automatic gain control function, and method for controlling display brightness using the same

Also Published As

Publication number Publication date
CN1614369A (en) 2005-05-11

Similar Documents

Publication Publication Date Title
US20160260306A1 (en) Method and device for automated early detection of forest fires by means of optical detection of smoke clouds
CN109541028B (en) Method and system for positioning and detecting crack position of wind turbine blade
CN102456142B (en) A kind of analysis method for smoke blackness based on computer vision
EP2211534A1 (en) Imaging device, imaging method, and imaging program
CN108088654A (en) Projector quality determining method and its electronic equipment
CN104917975A (en) Adaptive automatic exposure method based on object characteristics
CN103196789A (en) Diesel vehicle tail gas smoke intensity detecting method
CN110579354A (en) Bearing detection method based on convolutional neural network
CN105872399B (en) Backlighting detecting and backlight detection system
CN205845067U (en) The pneumatic steelmaking blowing state recognition system of static nature is moved based on image
CN105376524B (en) Fuzzy detection method, monitoring device and monitoring system for image picture
CN106067177A (en) HDR scene method for detecting and device
CN102622763A (en) Method for detecting and eliminating shadow
CN109341549A (en) A kind of camera system displacement monitoring improved method based on data fusion
CN106341685A (en) Image sensor detection method and apparatus thereof
CN105445677A (en) Detection method and device for light source stroboflash
CN100419395C (en) Method for judging environmental brightness
CN103903002B (en) Ambient brightness detection method and system
CN103743425B (en) The detection method of gauge pointer dynamic response capability
WO2005061985A3 (en) Method and device for determining the position of at least one point of reflection on an obstacle
EP1418327A3 (en) A Method and System for Controlling An Internal Combustion Engine
CN106611165B (en) A kind of automotive window detection method and device based on correlation filtering and color-match
AU2018315336B2 (en) Real-time computation of an atmospheric precipitation rate from a digital image of an environment where an atmospheric precipitation is taking place
WO2006119382B1 (en) Method of information analysis
WO2008030127B1 (en) Method of eye aliveness testing and device for eye aliveness testing

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
C17 Cessation of patent right
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20080917

Termination date: 20111213