[go: up one dir, main page]

CN102932604B - Camera exposure adjusting method - Google Patents

Camera exposure adjusting method Download PDF

Info

Publication number
CN102932604B
CN102932604B CN201210477492.4A CN201210477492A CN102932604B CN 102932604 B CN102932604 B CN 102932604B CN 201210477492 A CN201210477492 A CN 201210477492A CN 102932604 B CN102932604 B CN 102932604B
Authority
CN
China
Prior art keywords
exposure
current
flow rate
mean flow
exposure degree
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201210477492.4A
Other languages
Chinese (zh)
Other versions
CN102932604A (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.)
Beijing Jingwei Hirain Tech Co Ltd
Original Assignee
Beijing Jingwei Hirain Tech Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Jingwei Hirain Tech Co Ltd filed Critical Beijing Jingwei Hirain Tech Co Ltd
Priority to CN201210477492.4A priority Critical patent/CN102932604B/en
Publication of CN102932604A publication Critical patent/CN102932604A/en
Application granted granted Critical
Publication of CN102932604B publication Critical patent/CN102932604B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Studio Devices (AREA)

Abstract

The invention discloses a camera exposure adjusting method comprising the following steps of: obtaining preset target brightness; obtaining the present exposure of a camera; calculating the present average brightness of a present shooting region; obtaining the maximum exposure and the maximum average brightness of the camera; and obtaining the target exposure according to the present exposure, the present average brightness, the maximum exposure, the maximum average brightness and the target brightness. Through the camera exposure adjusting method, the camera can obtain better target exposure after being adjusted adaptively according to the difference between brightness and darkness of a scene and can shoot pictures with a good splicing visual effect due to the better target exposure.

Description

A kind of control method of camera exposure
Technical field
The present invention relates to the exposure regulation technology field in electronic engineering technology, more particularly, relate to a kind of control method of camera exposure.
Background technology
At present, in the technology of being parked by camera pan, be take different scenes by different video cameras, and then the image mosaic of the scene photographed by each video camera together, parked by spliced image.When the light and shade of photographed scene differs greatly, in order to obtain good visual effect on spliced map, need to allow the exposure of each video camera carry out adaptive adjustment for the difference of scene light and shade.
At present, the adjustment of camera exposure, is mainly regulated by video camera current exposure degree, the current mean flow rate of shooting environmental and object brightness.But, when the increase amplitude of mean flow rate is less than the increase amplitude of exposure, easily there is exposure overshoot, namely regulate transition, the situation of exposure fluctuation.Spliced image light and shade can be caused to glimmer, produce bad visual experience.
Summary of the invention
In view of this, the invention provides a kind of control method of camera exposure, according to the light and shade difference of scene after Automatic adjusument, good target light exposure degree can be got to realize video camera, the image of splicing good visual effect can be shot by good target light exposure degree.
For solving the problems of the technologies described above, the technical solution used in the present invention is: a kind of control method of camera exposure, comprising:
Obtain preset target brightness;
Obtain the current exposure degree of video camera;
Calculate the current mean flow rate in current shooting region;
Obtain the maximum exposure degree of video camera and maximum mean flow rate;
Target light exposure degree is obtained according to described current exposure degree, current mean flow rate, maximum exposure degree, maximum mean flow rate and object brightness.
Preferably, after the current mean flow rate in described calculating current shooting region, also comprise:
Judge whether the error between the mean flow rate in described current shooting region and object brightness is less than default error; If be less than, terminate to regulate, otherwise then:
Obtain the maximum exposure degree of video camera and maximum mean flow rate;
Target light exposure degree is obtained according to described current exposure degree, current mean flow rate, maximum exposure degree, maximum mean flow rate and object brightness.
Preferably, the current mean flow rate in described calculating current shooting region is specially:
Obtain the brightness of all pixels in current shooting region;
By the brightness of described all pixels divided by total pixel count.
Preferably, describedly obtain target light exposure degree according to described current exposure degree, current mean flow rate, maximum exposure degree, maximum mean flow rate and object brightness and be specially:
The first exposure is determined according to described current exposure degree, current mean flow rate and object brightness;
The second exposure is determined according to described current exposure degree, current mean flow rate, maximum exposure degree, maximum mean flow rate and object brightness;
Calculate the difference of described first exposure and described current exposure degree and the difference of described second exposure and described current exposure degree;
Choose first exposure less with described current exposure degree difference or the second exposure is target light exposure degree.
Preferably, describedly determine that the first exposure is specially according to described current exposure degree, current mean flow rate and object brightness:
Set up coordinate system, with current exposure degree for transverse axis X, the mean flow rate in current shooting region is longitudinal axis Y;
The point determined in described coordinate system with described current exposure degree and described current mean flow rate and the origin of coordinates, determine Article 1 straight line;
The horizontal linear of object brightness is equaled for Article 3 straight line with current mean flow rate;
Determine that the abscissa of described Article 1 straight line and described Article 3 straight-line intersection is described first exposure according to described Article 1 straight line and described Article 3 straight line.
Preferably, describedly determine that the second exposure is specially according to described current exposure degree, current mean flow rate, maximum exposure degree, maximum mean flow rate and object brightness:
The point that the point determined in described coordinate system with described current exposure degree and described current mean flow rate and described maximum exposure degree and described maximum mean flow rate are determined in described coordinate system, determines Article 2 straight line;
Determine that the abscissa of described Article 2 straight line and described Article 3 straight-line intersection is described second exposure according to described Article 2 straight line and described Article 3 straight line.
As can be seen from above-mentioned technical scheme, the control method of a kind of camera exposure disclosed by the invention, by obtaining the current exposure degree of preset target brightness and video camera, and calculate the current mean flow rate in current shooting region, in conjunction with the maximum exposure degree of video camera, maximum mean flow rate and desirable object brightness, get good target light exposure degree.Due in the adjustment process of camera exposure, also contemplate the maximum exposure degree of video camera and maximum mean flow rate, make the target light exposure degree that gets after overregulating better, can splice good visual effect by the image of the target light exposure degree shooting got, and avoid because only carrying out regulating the problem that there will be image flicker according to current exposure degree and current mean flow rate.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, be briefly described to the accompanying drawing used required in embodiment or description of the prior art below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
The flow chart of Fig. 1 a kind of camera exposure control method disclosed in the embodiment of the present invention;
The flow chart of Fig. 2 a kind of camera exposure control method disclosed in another embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is only a part of embodiment of the present invention, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
The embodiment of the invention discloses a kind of control method of camera exposure, can according to the light and shade difference of scene after Automatic adjusument to realize video camera, get good target light exposure degree, the image of splicing good visual effect can be shot by good target light exposure degree.
As shown in Figure 1, a kind of control method of camera exposure, comprising:
S101, acquisition preset target brightness;
The current exposure degree of S102, acquisition video camera;
The current mean flow rate in S103, calculating current shooting region;
S104, the maximum exposure degree obtaining video camera and maximum mean flow rate;
S105, obtain target light exposure degree according to described current exposure degree, current mean flow rate, maximum exposure degree, maximum mean flow rate and object brightness.
Concrete, obtain the current exposure degree of video camera, any given when described current exposure degree is photographic images;
Obtain the brightness of all pixels in current shooting region, by the brightness of all pixels divided by total pixel count, calculate the current mean flow rate in current shooting region;
Obtain the maximum exposure degree of video camera and maximum mean flow rate, described maximum exposure degree and maximum mean flow rate are the maximum exposure degree of camera hardware permission and maximum mean flow rate;
Target light exposure degree is obtained according to current exposure degree, current mean flow rate, maximum exposure degree, maximum mean flow rate and object brightness.
Concrete, obtain target light exposure degree according to current exposure degree, current mean flow rate, maximum exposure degree, maximum mean flow rate and object brightness and be specially:
Set up coordinate system, with current exposure degree for transverse axis X, the mean flow rate in current shooting region is longitudinal axis Y.Make (current exposure degree, current mean flow rate) to be (x1, y1), (maximum exposure degree, maximum mean flow rate) is (x2, y2), and (x0, y0) is the origin of coordinates, and object brightness mathematic(al) representation is in a coordinate system: y=k; Wherein: k is object brightness;
According to (x1, and (x0 y1), y0) Article 1 straight line (y-y0)/(y1-y0)=(x-x0)/(x1-x0) is determined at 2, calculate the abscissa of Article 1 straight line (y-y0)/(y1-y0)=(x-x0)/(x1-x0) and straight line y=k intersection point, and make it be the first exposure;
According to (x1, and (x2 y1), y2) Article 2 straight line (y-y2)/(y1-y2)=(x-x2)/(x1-x2) is determined at 2, calculate the abscissa of Article 2 straight line (y-y2)/(y1-y2)=(x-x2)/(x1-x2) and straight line y=k intersection point, and make it be the second exposure;
Compare the difference of the first exposure and current exposure degree and the difference of the second exposure and current exposure degree respectively, getting wherein less with current exposure degree difference exposure is target light exposure degree, as: when the difference of the first exposure and current exposure degree is less than the difference of the second exposure and current exposure degree, getting the first exposure is target light exposure degree;
The exposure of video camera is adjusted to determined target light exposure degree from current exposure degree is adaptive, by target light exposure degree, current shooting region is taken, thus the spliced map of better visual effect can be formed.
On the basis of above-described embodiment, the bright control method additionally providing a kind of camera exposure of this law, as shown in Figure 2, comprising:
S201, acquisition preset target brightness;
The current exposure degree of S202, acquisition video camera;
The current mean flow rate in S203, calculating current shooting region;
Whether S204, error between the mean flow rate judging described current shooting region and object brightness are less than default error; If be less than, enter step S207, otherwise then enter step S204:
S205, the maximum exposure degree obtaining video camera and maximum mean flow rate;
S206, obtain target light exposure degree according to described current exposure degree, current mean flow rate, maximum exposure degree, maximum mean flow rate and object brightness;
S207, end regulate.
Concrete, by judging whether the error between the mean flow rate in current shooting region and object brightness is less than default error, if be less than, then without the need to regulating current exposure degree, the shooting efficiency to current shooting region can be improved.
If be not less than, then obtain target light exposure degree according to current exposure degree, current mean flow rate, maximum exposure degree, maximum mean flow rate and object brightness.
The concrete acquisition process of target light exposure degree is identical with the acquisition process of target light exposure degree in a upper embodiment, therefore, does not repeat them here.
The control method of the camera exposure disclosed in above-described embodiment, can meet when maximum exposure degree gets the maximum exposure degree of video camera equally, image brightness is less than maximum mean flow rate but is greater than the situation of object brightness, and when maximum exposure degree gets the maximum exposure degree of video camera, image brightness is less than the situation of object brightness, and current exposure degree and current mean flow rate form the situation of sag vertical curve in a coordinate system.
In this specification, each embodiment adopts the mode of going forward one by one to describe, and what each embodiment stressed is the difference with other embodiments, between each embodiment identical similar portion mutually see.
To the above-mentioned explanation of the disclosed embodiments, professional and technical personnel in the field are realized or uses the present invention.To be apparent for those skilled in the art to the multiple amendment of these embodiments, General Principle as defined herein can without departing from the spirit or scope of the present invention, realize in other embodiments.Therefore, the present invention can not be restricted to these embodiments shown in this article, but will meet the widest scope consistent with principle disclosed herein and features of novelty.

Claims (5)

1. a control method for camera exposure, is characterized in that, comprising:
Obtain preset target brightness;
Obtain the current exposure degree of video camera;
Calculate the current mean flow rate in current shooting region;
Obtain the maximum exposure degree of video camera and maximum mean flow rate;
Target light exposure degree is obtained according to described current exposure degree, current mean flow rate, maximum exposure degree, maximum mean flow rate and object brightness;
Wherein, describedly obtain target light exposure degree according to described current exposure degree, current mean flow rate, maximum exposure degree, maximum mean flow rate and object brightness and be specially:
The first exposure is determined according to described current exposure degree, current mean flow rate and object brightness;
The second exposure is determined according to described current exposure degree, current mean flow rate, maximum exposure degree, maximum mean flow rate and object brightness;
Calculate the difference of described first exposure and described current exposure degree and the difference of described second exposure and described current exposure degree;
Choose first exposure less with described current exposure degree difference or the second exposure is target light exposure degree.
2. method according to claim 1, is characterized in that, after the current mean flow rate in described calculating current shooting region, also comprises:
Judge whether the error between the mean flow rate in described current shooting region and object brightness is less than default error; If be less than, terminate to regulate, otherwise then:
Obtain the maximum exposure degree of video camera and maximum mean flow rate;
Target light exposure degree is obtained according to described current exposure degree, current mean flow rate, maximum exposure degree, maximum mean flow rate and object brightness.
3. method according to claim 1 and 2, is characterized in that, the current mean flow rate in described calculating current shooting region is specially:
Obtain the brightness of all pixels in current shooting region;
By the brightness of described all pixels divided by total pixel count.
4. method according to claim 1, is characterized in that, describedly determines that the first exposure is specially according to described current exposure degree, current mean flow rate and object brightness:
Set up coordinate system, with current exposure degree for transverse axis X, the mean flow rate in current shooting region is longitudinal axis Y;
The point determined in described coordinate system with described current exposure degree and described current mean flow rate and the origin of coordinates, determine Article 1 straight line;
The horizontal linear of object brightness is equaled for Article 3 straight line with current mean flow rate;
Determine that the abscissa of described Article 1 straight line and described Article 3 straight-line intersection is described first exposure according to described Article 1 straight line and described Article 3 straight line.
5. method according to claim 4, is characterized in that, describedly determines that the second exposure is specially according to described current exposure degree, current mean flow rate, maximum exposure degree, maximum mean flow rate and object brightness:
The point that the point determined in described coordinate system with described current exposure degree and described current mean flow rate and described maximum exposure degree and described maximum mean flow rate are determined in described coordinate system, determines Article 2 straight line;
Determine that the abscissa of described Article 2 straight line and described Article 3 straight-line intersection is described second exposure according to described Article 2 straight line and described Article 3 straight line.
CN201210477492.4A 2012-11-21 2012-11-21 Camera exposure adjusting method Active CN102932604B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210477492.4A CN102932604B (en) 2012-11-21 2012-11-21 Camera exposure adjusting method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210477492.4A CN102932604B (en) 2012-11-21 2012-11-21 Camera exposure adjusting method

Publications (2)

Publication Number Publication Date
CN102932604A CN102932604A (en) 2013-02-13
CN102932604B true CN102932604B (en) 2015-01-14

Family

ID=47647292

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210477492.4A Active CN102932604B (en) 2012-11-21 2012-11-21 Camera exposure adjusting method

Country Status (1)

Country Link
CN (1) CN102932604B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10462376B2 (en) 2015-01-27 2019-10-29 Huawei Technologies Co., Ltd. Exposure method in panoramic photo shooting and apparatus
CN104601901A (en) * 2015-02-02 2015-05-06 深圳酷派技术有限公司 Terminal picture taking control method and terminal
CN114040122B (en) * 2020-12-02 2024-08-16 海信视像科技股份有限公司 Display equipment, image processing method and equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW200741330A (en) * 2006-04-25 2007-11-01 Asia Optical Co Inc Image extraction apparatus and method of auto exposure control for same
CN101193211A (en) * 2006-12-01 2008-06-04 亚洲光学股份有限公司 Video picking device and its automatic exposure control method
CN101374204A (en) * 2007-08-24 2009-02-25 亚洲光学股份有限公司 Method and system for processing image
JP2009044221A (en) * 2007-08-06 2009-02-26 Nikon Corp Imaging device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW200741330A (en) * 2006-04-25 2007-11-01 Asia Optical Co Inc Image extraction apparatus and method of auto exposure control for same
CN101193211A (en) * 2006-12-01 2008-06-04 亚洲光学股份有限公司 Video picking device and its automatic exposure control method
JP2009044221A (en) * 2007-08-06 2009-02-26 Nikon Corp Imaging device
CN101374204A (en) * 2007-08-24 2009-02-25 亚洲光学股份有限公司 Method and system for processing image

Also Published As

Publication number Publication date
CN102932604A (en) 2013-02-13

Similar Documents

Publication Publication Date Title
CN101783011B (en) Distortion correction method of fish eye lens
TWI464526B (en) High dynamic range image exposure time control method
CN104618648A (en) Panoramic video splicing system and splicing method
CN103426403B (en) The correction image-pickup method of LED display, picture display process and bearing calibration
CN103188433B (en) Image demister and image haze removal method
US9313411B2 (en) Camera, distortion correction device and distortion correction method
WO2018120011A1 (en) Projected image correction method and device, and robot
CN106447602A (en) Image mosaic method and device
CN101631219A (en) Image correcting apparatus, image correcting method, projector and projection system
US10706518B2 (en) Dual camera system with improved video smooth transition by image blending
CN102932604B (en) Camera exposure adjusting method
US8837814B2 (en) Correction of geometric mismatch in stereoscopic images
CN104539921A (en) Illumination compensation method based on multi-projector system
CN105282421A (en) A method, device and terminal for acquiring a defogged image
CN105787920A (en) Dome screen demarcating method, demarcating system and control device
CN110290365B (en) Edge fusion method
CN106707658B (en) Method and system for correcting image blur caused by lens tilt
CN104486603A (en) Multi-projection color correcting method based on HDR (high dynamic range) imaging
CN106550227B (en) A kind of image saturation method of adjustment and device
JP5300025B2 (en) Visual parameter automatic correction method for image forming apparatus
CN111491070B (en) Display panel multi-view angle equalization Demura method and terminal equipment
CN106067937A (en) Lens module array, image sensing device and digital zoom image fusion method
KR101621201B1 (en) Wearable projection apparatus and projection method
WO2016136151A1 (en) Image processing device, image processing method and program for executing same
US11240429B2 (en) Target object elimination method based on panoramic camera

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

Address after: 4 / F, building 1, No.14 Jiuxianqiao Road, Chaoyang District, Beijing 100020

Patentee after: Beijing Jingwei Hirain Technologies Co.,Inc.

Address before: 100101 Beijing city Chaoyang District Anxiang Beili 11 B block 8 layer

Patentee before: Beijing Jingwei HiRain Technologies Co.,Ltd.

CP03 Change of name, title or address