CN104333707B - Camera parameter method of adjustment and system - Google Patents
Camera parameter method of adjustment and system Download PDFInfo
- Publication number
- CN104333707B CN104333707B CN201410693214.1A CN201410693214A CN104333707B CN 104333707 B CN104333707 B CN 104333707B CN 201410693214 A CN201410693214 A CN 201410693214A CN 104333707 B CN104333707 B CN 104333707B
- Authority
- CN
- China
- Prior art keywords
- adjustment
- evaluation
- estimate
- camera
- gear
- 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
Landscapes
- Studio Devices (AREA)
Abstract
The present invention provides a kind of camera parameter method of adjustment and system, and its method includes step:Control camera to be adjusted gathers image under current exposure parameter and obtains view data, and obtains pixel distribution data to the view data progress pixels statisticses currently obtained;The default evaluation of estimate currently calculated is calculated according to currently available pixel distribution data;Judge whether the evaluation of estimate currently calculated meets default adjustment success conditions, if not, corresponding adjustment gear number and gear adjustment direction are chosen according to the evaluation of estimate currently calculated, adjustment gear number and gear adjustment direction according to currently selecting adjust the exposure parameter of the camera, using the exposure parameter after adjustment as new current exposure parameter, return to the control camera to be adjusted and the step of image obtains view data is gathered under current exposure parameter;If so, terminating the adjustment to the camera parameter.Using the solution of the present invention, it is possible to achieve automatically adjusting for camera parameter, regulated efficiency is improved.
Description
Technical field
The present invention relates to field of photoelectric technology, more particularly to a kind of camera parameter method of adjustment and system.
Background technology
With field of photoelectric technology fast development and user's request it is growing, people are in daily life to camera
Application demand it is more and more extensive, can shoot the camera (particularly slr camera) of high grade picture turns into the development in the field
One of direction.The mode of traditional adjustment camera parameter is to need artificial progress, will to captured picture quality for some
Higher field is asked, carry out parameter adjustment repeatedly is generally required, the picture otherwise shot can not then meet application demand.Example
Such as, when being corrected to LED display, in order to save correction cost, data acquisition is often carried out using camera, and gathered
The accuracy of data directly affects collection effect, therefore is also required to repeatedly adjust the parameter of camera until satisfaction will
Ask, this can take some time, and regulated efficiency is low.
The content of the invention
It is an object of the invention to provide a kind of camera parameter method of adjustment and system, it is possible to achieve camera parameter it is automatic
Regulation, improves regulated efficiency.
The purpose of the present invention is achieved through the following technical solutions:
A kind of camera parameter method of adjustment, comprises the following steps:
Control camera to be adjusted gathers image under current exposure parameter and obtains view data, and the figure to currently obtaining
Pixel distribution data are obtained as data carry out pixels statisticses;
The evaluation of estimate of the image currently gathered is calculated according to currently available pixel distribution data and default evaluation function;
Judge whether the evaluation of estimate currently calculated meets default adjustment success conditions;
If it is not, corresponding adjustment gear number and gear adjustment direction are chosen according to the evaluation of estimate currently calculated, according to
The adjustment gear number and gear adjustment direction currently selected adjust the exposure parameter of the camera, by the exposure parameter after adjustment
As new current exposure parameter, the return control camera to be adjusted gathers image under current exposure parameter and obtains picture number
According to the step of;
If so, terminating the adjustment to the camera parameter.
A kind of camera parameter adjusts system, comprises the following steps:
Data acquisition module, picture number is obtained for controlling camera to be adjusted to gather image under current exposure parameter
According to;
Data statistics module, pixel distribution data are obtained for carrying out pixels statisticses to the view data currently obtained;
Computing module, for calculating what is currently gathered according to currently available pixel distribution data and default evaluation function
The evaluation of estimate of image;
Whether judge module, the evaluation of estimate for judging currently to calculate meets default adjustment success conditions,
Adjusting module, for when the result of determination of the judge module is no, being selected according to the evaluation of estimate currently calculated
Corresponding adjustment gear number and gear adjustment direction are taken, is adjusted according to the adjustment gear number and gear adjustment direction currently selected
The exposure parameter of the whole camera, using the exposure parameter after adjustment as new current exposure parameter, controls the data acquisition
Module carries out the control camera to be adjusted and the process that image obtains view data is gathered under current exposure parameter, sentences described
The result of determination of disconnected module is when being, to terminate the adjustment to the camera parameter.
According to the scheme of the invention described above, it is to control camera to be adjusted to gather image under current exposure parameter to obtain
View data, and pixel distribution data are obtained to the view data progress pixels statisticses currently obtained, according to currently available picture
Plain distributed data calculates the default evaluation of estimate currently calculated, judges whether the evaluation of estimate currently calculated meets default tune
Whole success conditions, if it is not, choosing corresponding adjustment gear number and gear adjustment direction, root according to the evaluation of estimate currently calculated
The exposure parameter of the camera is adjusted according to the adjustment gear number and gear adjustment direction currently selected, the exposure after adjustment is joined
Number is as new current exposure parameter, and the return control camera to be adjusted gathers image under current exposure parameter and obtains image
The step of data, if so, terminating the adjustment to the camera parameter, it carries out any operation without user can just realize to phase
The adjust automatically of machine parameter, improves the efficiency of camera parameter adjustment.
Brief description of the drawings
Fig. 1 is the schematic flow sheet of the camera parameter method of adjustment embodiment of the present invention;
Fig. 2 adjusts the structural representation of one embodiment of system for the camera parameter of the present invention;
Fig. 3 adjusts the structural representation of another embodiment of system for the camera parameter of the present invention.
Embodiment
For the objects, technical solutions and advantages of the present invention are more clearly understood, below in conjunction with drawings and Examples, to this
Invention is described in further detail.It should be appreciated that embodiment described herein is only to explain the present invention,
Do not limit protection scope of the present invention.
In the following description, the embodiment first against the camera parameter method of adjustment of the present invention is illustrated, then to this
Each embodiment of the camera parameter adjustment system of the invention of invention is illustrated.
It is shown in Figure 1, it is the schematic flow sheet of the camera parameter method of adjustment embodiment of the present invention.As shown in figure 1, this
The camera parameter method of adjustment of invention comprises the following steps:
Step S101:Control camera to be adjusted gathers image under current exposure parameter and obtains view data, into step
Rapid S102;
Data acquisition for carrying out LED display timing, collection is that LED display shows that R (red), G are (green
Color), a kind of color in B (blueness) when image, but the present invention is not limited to only gather a kind of mode of the image of color;
Step S102:Pixels statisticses are carried out to the view data currently obtained and obtain pixel distribution data, into step
S103;
The pixel value of each pixel in the view data that currently obtains can be extracted, it is each according to what is extracted
The pixel of pixel is worth to pixel distribution data, wherein, pixel value distributed data refers to the corresponding pixel value of different pixel values
The number situation of (or referred to as pixel), for example, for the view data that image resolution ratio is 100 × 100, having 10000
Individual pixel, the pixel value of this 10000 pixels can be extracted respectively, further according to the pixel value of this 10000 pixels
It is 1 pixel value number (or referred to as picture to determine pixel value number (or referred to as pixel number), pixel value that pixel value is 0
Vegetarian refreshments number), pixel value be that 2 pixel value numbers (or referred to as pixel number), pixel value are that 3 pixel value numbers (or claim
For pixel number) ... the pixel value number (or referred to as pixel number) that pixel value is 255;
Step S103:The image currently gathered is calculated according to currently available pixel distribution data and default evaluation function
Evaluation of estimate, into step S104;
Wherein, the form of evaluation function can be set according to actual needs, in one of the embodiments, evaluation function
Form can be shown in equation below (1):
Wherein, K1、K2、…、KnRepresent the interval saturation coefficient parameter of default each pixel value, X1、X2、…、XnRepresent each
The interval pixel value number of pixel value, N represents the interval pixel value number and value of each pixel value, and Y represents commenting for evaluation function
Value;
It should be noted that the interval number of pixel value and the interval corresponding higher limit of each pixel value here is with
Limit value can be configured according to actual needs, can be by 0~255 according to the model split set as multiple pixel value areas
Between, can also according to actual needs only by 0~255 part according to the model split set be multiple pixel values interval, example
Such as, if known pixel values be less than 80 pixel value on judge camera exposure state influence it is very small, can by 80~255 this
It is a part of interval as multiple pixel values according to the model split set, in addition, pixel value interval here includes usual meaning
Numerical intervals, but because individual data is considered as higher limit and lower limit identical numerical intervals, accordingly it is also possible to will be single
Pixel value is referred to as pixel value interval, in the present invention, is illustrated with the pixel value interval of general designation;
Above-mentioned saturation coefficient parameter can be set according to actual conditions, specifically, due in practical application, focal length, right
The size and readability of the difference LED such as burnt and camera position imagings may also be different, so in the range of being possible to use
An intermediateness (imaging size is in centre, and focusing definition is also at middle left and right) is taken to carry out setting for saturation coefficient parameter
It is fixed;
For example, under the intermediateness taken, shooting a reference picture, the interval pixel value number of each pixel value is entered
Row statistics, for example, statistical result is as shown in table 1:
Table 1
Pixel value is interval | 80-120 | 121-170 | 171-230 | 231-254 | 255 |
Pixel value number | X5 | X4 | X3 | X2 | X1 |
Saturation coefficient weight | K5 | K4 | K3 | K2 | K1 |
Each LED pixel characteristic distributions under lucky saturation state (critical condition):There is 1 pixel to be between 231-254,
There are 10 pixels to be between 170-230, there are 20 pixels to be between 121-170.Remaining is between 80-120, it is assumed that
Just undersaturated LED picture points covering 80-255 pixel values number is 50;Because the brightness of each LED points of LED screen has necessarily
Discreteness (what is had is brighter, and what is had is dark), can be specific as follows (due to picture from the angle initialization weight coefficient of probability
The number of LED points is unknown, is illustrated below with percentage, and by a LED point to being illustrated exemplified by should having 50 pixels):
If the central value pixel for having a LED point in the LED points for allowing 1/100 is 255, X is now set1=5000, if
The central value pixel for having a LED point in the LED points for allowing 1/10 is 231-254, now sets X2=500, if average each
LED points will have 10 pixels or so to be distributed in 171-230, then now, X3=1/10, if each LED will have 20 pixels
Left and right is distributed in 121-170, then now, X4=1/20, due to X5Coefficient reference value less, can set one smaller
Coefficient:Such as, e=1/200;
So, after the saturation coefficient parameter setting more than, when picture is just at unsaturation, the Y value of calculation is in 1-
10 or so;If picture overexposure, number of pixels interval 231-255 must increase into multiple, and Y value can be much larger than 10;
Can be according to the process that currently available pixel distribution data calculate the default evaluation of estimate currently calculated:Root
The interval pixel value number X of each pixel value is determined according to currently available pixel distribution data1、X2、…、XnAnd it is described and
Value N, according to the pixel value number X that each pixel value is interval1、X2、…、XnAnd commenting of currently calculating of described and value N calculating
It is worth Y, namely the interval pixel value number X of each pixel value currently determined1、X2、…、XnAnd in described and value N substitutions
State in formula (1) the calculating evaluation function and calculate current functional value;
Step S104:Judge whether the evaluation of estimate currently calculated meets default adjustment success conditions, if it is not, entering step
Rapid S105, if so, into step S106;
Judge whether the evaluation of estimate currently calculated meets the mode of default adjustment success conditions, can judge current
Whether the evaluation of estimate calculated identical with default desired value, or judge the evaluation of estimate that currently calculates whether with fall into it is default
Target zone in;
Step S105:Corresponding adjustment gear number and gear adjustment direction are chosen according to the evaluation of estimate currently calculated,
Adjustment gear number and gear adjustment direction according to currently selecting adjust the exposure parameter of the camera, by the exposure after adjustment
Parameter is used as new current exposure parameter, return to step S101;
It will be understood by those skilled in the art that the evaluation of estimate that ought currently calculate with adjustment success conditions difference compared with
Adjustment gear number is also larger when the difference of the evaluation of estimate currently calculated and adjustment success conditions is smaller when big, adjusts gear number
Also it is smaller, and should reduce gear during overexposure, can also gear adjustment direction be called downshift direction, owe raise shelves when exposing
Position, can also gear adjustment direction be called upshift direction, in practical application, different evaluations can be set according to actual needs
It is worth adjustment gear number and gear adjustment direction corresponding to interval, then can be commented according to residing for the evaluation of estimate currently calculated
Value interval chooses corresponding adjustment gear number and gear adjustment direction, further according to the adjustment gear number and shelves currently selected
Position adjustment direction adjusts the exposure parameter (carrying out gear adjustment) of the camera;
In one of the embodiments, corresponding adjustment gear number and gear are chosen according to the evaluation of estimate currently calculated
Adjustment direction can specifically include step:Evaluation of estimate according to currently calculating determines that the corresponding evaluation of estimate of the evaluation of estimate is interval,
According to the interval binding with adjustment gear number, gear adjustment direction of the evaluation of estimate that identified evaluation of estimate is interval and prestores
Relation chooses the corresponding adjustment gear number of the evaluation of estimate currently calculated and gear adjustment direction;
Step S106:Terminate the adjustment to the camera parameter.
Accordingly, according to the scheme of above-described embodiment, it is control camera to be adjusted collection figure under current exposure parameter
Pixel distribution data are obtained as obtaining view data, and pixels statisticses being carried out to the view data currently obtained, are obtained according to current
To pixel distribution data calculate the default evaluation of estimate currently calculated, judge whether the evaluation of estimate currently calculated meets pre-
If adjustment success conditions, if it is not, choosing corresponding adjustment gear number according to the evaluation of estimate that currently calculates and gear is adjusted
Direction, the exposure parameter of the camera is adjusted according to the adjustment gear number and gear adjustment direction currently selected, after adjustment
Exposure parameter as new current exposure parameter, return to the control camera to be adjusted and gather image under current exposure parameter
The step of obtaining view data, if so, terminate adjustment to the camera parameter, it carries out any operation without user just can be with
The adjust automatically to camera parameter is realized, the efficiency of camera parameter adjustment is improved.
In addition, as it was previously stated, choosing corresponding adjustment gear number and gear adjustment according to the evaluation of estimate currently calculated
During direction, it can be chosen based on the interval binding relationship with adjustment gear number, gear adjustment direction of evaluation of estimate, and in order that in advance
The evaluation of estimate of storage is interval can to meet various different situations with adjustment gear number, the binding relationship of gear adjustment direction, for example
Camera focus is different or focusing state is different, in one of the embodiments, and institute's evaluation values are interval with adjusting gear number, shelves
The binding relationship of position adjustment direction can be obtained in the following way:
Change each exposure parameter of the camera in the case where the camera is in current focus, current focusing state, obtain each
The view data that control camera collection image during exposure parameter is obtained, respectively according to each view data and the evaluation letter
Number calculates the evaluation of estimate of each corresponding image, and the evaluation of estimate obtained according to calculating determines evaluation of estimate pass corresponding with camera gear
System, when being unsatisfactory for default collection and finishing condition, changes current focus or current focusing state, by current Jiao after change
Away from or current focusing state as new current focus or current focusing state, return be in the camera it is current burnt
Away from each exposure parameter for changing the camera under, current focusing state, control camera collection when obtaining each exposure parameter
The step of view data that image is obtained, when meeting collection and finishing condition, according to the evaluation of estimate of each determination and camera gear
Corresponding relation determine that evaluation of estimate is interval with adjustment gear number, the binding relationship of gear adjustment direction.
Wherein, the mode for changing current focus can add or subtract a predetermined focal length by current focus every time to walk
It is long, change current focusing state and focusing state is changed into a more focusing state from a focusing state, collection finishes condition can
To be to have traveled through the focal length of each length and traveled through each focusing state;
The evaluation of estimate of each determination can be integrated and determine that evaluation of estimate is interval with adjusting gear with the corresponding relation of camera gear
Number, the binding relationship of gear adjustment direction, for example, the corresponding relation of the evaluation of estimate determined for the first time and camera gear includes evaluating
Value A (or referred to as evaluation of estimate interval A) corresponding camera gear is 10 grades, evaluation of estimate B (or referred to as evaluation of estimate interval B) correspondences
Camera gear be 3 grades, if evaluation of estimate B (or referred to as evaluation of estimate interval B) corresponding camera gear be optimum exposure parameter pair
The gear answered, then this correspondence evaluation of estimate A (or referred to as evaluation of estimate interval A) adjustment gear number is that 7, gear adjustment direction is
Downshift direction, similarly, it may be determined that the adjustment gear number and shelves of each correspondence evaluation of estimate A (or referred to as evaluation of estimate interval A)
Position adjustment direction, the adjustment gear number of each correspondence evaluation of estimate A (or referred to as evaluation of estimate interval A) is averaged i.e. can be true
The adjustment gear number of the fixed binding with evaluation of estimate A (or referred to as evaluation of estimate interval A), by each time, correspondingly evaluation of estimate A is (or referred to as
Evaluation of estimate interval A) gear adjustment direction in a kind of most gear adjustment direction be defined as determining (or claiming with evaluation of estimate A
For evaluation of estimate interval A) binding gear adjustment direction.
In the present embodiment, because the binding relationship of numerical intervals and adjustment gear number, gear adjustment direction is that synthesis is examined
Each focal length, each focusing state, each exposure parameter are considered to obtain, therefore various different situations can be met.
In addition, in order to prevent from, when adjusting the exposure parameter of the camera, endless loop occurring in certain extreme cases,
For example, preceding once increase after K grades, K grades of reduction is needed according to the evaluation of estimate of the evaluation function redefined again and is absorbed in and extremely following
Ring, in one of the embodiments, the adjustment gear number and gear adjustment direction that the basis is currently selected adjust the phase
The step of exposure parameter of machine, includes step:If the current adjustment gear number is identical with the adjustment gear number of last time adjustment
And current gear adjustment direction and last adjustment gear adjustment direction on the contrary, then current adjustment gear number subtracted one or
Person adds one;According to the exposure ginseng of the adjustment gear number after subtracting one or Jia one and current gear adjustment direction adjustment camera
Number, the situation of endless loop can be avoided the occurrence of using the scheme in the present embodiment.
According to the camera parameter method of adjustment of the invention described above, the present invention also provides a kind of camera parameter adjustment system, with
The embodiment of the camera parameter adjustment system of the lower just present invention is described in detail.The camera parameter of the present invention is shown in Fig. 2
The structural representation of the embodiment of adjustment system.For convenience of description, part related to the present invention is merely illustrated in fig. 2.
As shown in Fig. 2 the camera parameter adjustment system of the embodiment of the present invention, including acquisition module 201, data statistics module
202nd, computing module 203, judge module 204, adjusting module 205, wherein:
Acquisition module 201, view data is obtained for controlling camera to be adjusted to gather image under current exposure parameter;
Statistical module 202, pixel distribution data are obtained for carrying out pixels statisticses to the view data currently obtained;
Computing module 203, is currently adopted for being calculated according to currently available pixel distribution data and default evaluation function
The evaluation of estimate of the image of collection;
Whether judge module 204, the evaluation of estimate for judging currently to calculate meets default adjustment success conditions,
Adjusting module 205, for when the result of determination of judge module 204 is no, according to the evaluation of estimate currently calculated
Corresponding adjustment gear number and gear adjustment direction are chosen, according to the adjustment gear number and gear adjustment direction currently selected
The exposure parameter of the camera is adjusted, using the exposure parameter after adjustment as new current exposure parameter, controls the data to adopt
Collection module carries out the control camera to be adjusted and the process that image obtains view data is gathered under current exposure parameter, is judging
The result of determination of module 204 is when being, to terminate the adjustment to the camera parameter.
In one of the embodiments, the evaluation function can beWherein, K1、
K2、…、KnRepresent the interval saturation coefficient parameter of default each pixel value, X1、X2、…、XnRepresent the interval pixel of each pixel value
It is worth number, N represents the interval pixel value number and value of each pixel value;
Computing module 203 can determine the interval pixel value of each pixel value according to currently available pixel distribution data
Number and described and value, the figure currently gathered is calculated according to the interval pixel value number of each pixel value and described and value
The evaluation of estimate of picture.
In one of the embodiments, adjusting module 205 can determine the evaluation of estimate according to the evaluation of estimate currently calculated
Corresponding evaluation of estimate is interval, according to the evaluation of estimate that identified evaluation of estimate is interval and prestores it is interval with adjustment gear number,
The binding relationship of gear adjustment direction chooses the corresponding adjustment gear number of the evaluation of estimate currently calculated and gear adjustment direction.
In one of the embodiments, as shown in figure 3, the camera parameter of the present invention adjusts system, in addition to:
Binding module 206, each of the camera is changed for being in the camera under current focus, current focusing state
Exposure parameter, the view data that control camera collection image when obtaining each exposure parameter is obtained, respectively according to each image
Data and the evaluation function calculate the evaluation of estimate of each corresponding image, and the evaluation of estimate obtained according to calculating determine evaluation of estimate with
The corresponding relation of camera gear, when being unsatisfactory for default collection and finishing condition, changes current focus or current focusing state,
Using the current focus after change or current focusing state as new current focus or current focusing state, return and perform
The camera is in each exposure parameter for changing the camera under current focus, current focusing state, and bar is finished meeting collection
During part, determine that evaluation of estimate is interval with adjusting gear number, gear according to the corresponding relation of the evaluation of estimate of each determination and camera gear
The binding relationship of adjustment direction.
In one of the embodiments, adjusting module 205 can be in current adjustment gear number and the upper tune once adjusted
When the identical and current gear adjustment direction of whole gear number is opposite with the gear adjustment direction of last time adjustment, by current adjustment
Gear number subtracts one or Jia one, is adjusted according to the adjustment gear number after subtracting one or Jia one and current gear adjustment direction
The exposure parameter of camera.
The camera parameter method of adjustment of the camera parameter adjustment system and the present invention of the present invention is corresponded, in above-mentioned camera
The technical characteristic and its advantage that the embodiment of parameter regulation means is illustrated are applied to the implementation that camera parameter adjusts system
In example, hereby give notice that.
Embodiment described above only expresses the several embodiments of the present invention, and it describes more specific and detailed, but simultaneously
Therefore the limitation to the scope of the claims of the present invention can not be interpreted as.It should be pointed out that for one of ordinary skill in the art
For, without departing from the inventive concept of the premise, various modifications and improvements can be made, these belong to the guarantor of the present invention
Protect scope.Therefore, the protection domain of patent of the present invention should be determined by the appended claims.
Claims (8)
1. a kind of camera parameter method of adjustment, it is characterised in that comprise the following steps:
Control camera to be adjusted gathers image under current exposure parameter and obtains view data, and the picture number to currently obtaining
Pixel distribution data are obtained according to pixels statisticses are carried out, wherein, pixel value distributed data refers to the corresponding pixel value of different pixel values
Number situation;
The evaluation of estimate of the image currently gathered is calculated according to currently available pixel distribution data and default evaluation function, it is described
Evaluation function isWherein, K1、K2、…、KnRepresent the interval saturation of default each pixel value
Figure parameters, X1、X2、…、XnThe interval pixel value number of each pixel value is represented, N represents the interval pixel value number of each pixel value
And value, Y represents the evaluation of estimate of evaluation function;
Judge whether the evaluation of estimate currently calculated meets default adjustment success conditions;
If it is not, corresponding adjustment gear number and gear adjustment direction are chosen according to the evaluation of estimate currently calculated, according to current
The adjustment gear number and gear adjustment direction selected adjust the exposure parameter of the camera, using the exposure parameter after adjustment as
New current exposure parameter, the return control camera to be adjusted gathers image under current exposure parameter and obtains view data
Step, wherein, the step of choosing corresponding adjustment gear number and gear adjustment direction according to the evaluation of estimate currently calculated is wrapped
Include following steps:Evaluation of estimate according to currently calculating determines that the corresponding evaluation of estimate of the evaluation of estimate is interval;Commented according to identified
Value interval and the interval binding relationship with adjustment gear number, gear adjustment direction of the evaluation of estimate prestored choose current meter
The corresponding adjustment gear number of evaluation of estimate and gear adjustment direction calculated;
If so, terminating the adjustment to the camera parameter.
2. camera parameter method of adjustment according to claim 1, it is characterised in that:
The evaluation of estimate that the image currently gathered is calculated according to currently available pixel distribution data and default evaluation function
The step of comprise the following steps:
The interval pixel value number and described and value of each pixel value is determined according to currently available pixel distribution data;
The evaluation of estimate of the image currently gathered is calculated according to the interval pixel value number of each pixel value and described and value.
3. camera parameter method of adjustment according to claim 1, it is characterised in that institute's evaluation values are interval with adjusting gear
Number, the binding relationship of gear adjustment direction are obtained in the following way:
Change each exposure parameter of the camera in the case where the camera is in current focus, current focusing state, obtain each exposure
The view data that control camera collection image during parameter is obtained;
The evaluation of estimate of each corresponding image is calculated according to each view data and the evaluation function respectively, and obtained according to calculating
Evaluation of estimate determines the corresponding relation of evaluation of estimate and camera gear;
When being unsatisfactory for default collection and finishing condition, change current focus or current focusing state, will be current after change
Focal length or current focusing state return to described be in the camera and worked as new current focus or current focusing state
The step of changing each exposure parameter of the camera under front focal length, current focusing state;
When meeting collection and finishing condition, evaluation of estimate area is determined according to the evaluation of estimate of each determination and the corresponding relation of camera gear
Between with adjustment gear number, gear adjustment direction binding relationship.
4. camera parameter method of adjustment according to claim 1, it is characterised in that the adjustment shelves that the basis is currently selected
The step of digit and gear adjustment direction adjust the exposure parameter of the camera includes step:
If the current adjustment gear number gear adjustment direction identical and current with the adjustment gear number of last adjustment and
The gear adjustment direction of last time adjustment is on the contrary, then subtracting one by current adjustment gear number or Jia one;
The exposure parameter of camera is adjusted according to the adjustment gear number after subtracting one or Jia one and current gear adjustment direction.
5. a kind of camera parameter adjusts system, it is characterised in that including:
Acquisition module, view data is obtained for controlling camera to be adjusted to gather image under current exposure parameter;
Statistical module, pixel distribution data are obtained for carrying out pixels statisticses to the view data currently obtained, wherein, pixel value
Distributed data refers to the number situation of the corresponding pixel value of different pixel values;
Computing module, for calculating the image currently gathered according to currently available pixel distribution data and default evaluation function
Evaluation of estimate, the evaluation function isWherein, K1、K2、…、KnRepresent default each picture
The interval saturation coefficient parameter of element value, X1、X2、…、XnThe interval pixel value number of each pixel value is represented, N represents each pixel value area
Between pixel value number and value, Y represents the evaluation of estimate of evaluation function;
Whether judge module, the evaluation of estimate for judging currently to calculate meets default adjustment success conditions;
Adjusting module, for when the result of determination of the judge module is no, being determined according to the evaluation of estimate currently calculated should
The corresponding evaluation of estimate of evaluation of estimate is interval, interval with adjusting shelves according to the evaluation of estimate that identified evaluation of estimate is interval and prestores
Digit, the binding relationship of gear adjustment direction choose the corresponding adjustment gear number of the evaluation of estimate currently calculated and gear adjustment
Direction, the exposure parameter of the camera is adjusted according to the adjustment gear number and gear adjustment direction currently selected, after adjustment
Exposure parameter as new current exposure parameter, control the data acquisition module to carry out the control camera to be adjusted and working as
The process that image obtains view data is gathered under prior exposure parameter, when the result of determination of the judge module is is, end pair
The adjustment of the camera parameter.
6. camera parameter according to claim 5 adjusts system, it is characterised in that:
The computing module according to currently available pixel distribution data determine the interval pixel value number of each pixel value with
And described and value, the image that is currently gathered according to the interval pixel value number of each pixel value and the calculating of described and value comments
Value.
7. camera parameter according to claim 5 adjusts system, it is characterised in that also include:
Binding module, changes each exposure ginseng of the camera for being in the camera under current focus, current focusing state
Number, the view data that control camera collection image when obtaining each exposure parameter is obtained, respectively according to each view data and
The evaluation function calculates the evaluation of estimate of each corresponding image, and the evaluation of estimate obtained according to calculating determines evaluation of estimate and camera shelves
The corresponding relation of position, when being unsatisfactory for default collection and finishing condition, changes current focus or current focusing state, will change
Current focus or current focusing state afterwards is returned and performed in the phase as new current focus or current focusing state
Machine, which is under current focus, current focusing state, changes each exposure parameter of the camera, when meeting collection and finishing condition, root
Determine that evaluation of estimate is interval with adjusting gear number, gear adjustment direction according to the evaluation of estimate of each determination and the corresponding relation of camera gear
Binding relationship.
8. camera parameter according to claim 5 adjusts system, it is characterised in that:
The adjusting module is adjusted in the current adjustment gear number gear identical and current with the upper adjustment gear number once adjusted
Perfect square to it is opposite with the gear adjustment direction of last time adjustment when, current adjustment gear number is subtracted one or Jia one, according to subtracting
One or the adjustment gear number after Jia one and current gear adjustment direction adjust the exposure parameter of camera.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410693214.1A CN104333707B (en) | 2014-11-25 | 2014-11-25 | Camera parameter method of adjustment and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410693214.1A CN104333707B (en) | 2014-11-25 | 2014-11-25 | Camera parameter method of adjustment and system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104333707A CN104333707A (en) | 2015-02-04 |
CN104333707B true CN104333707B (en) | 2017-10-10 |
Family
ID=52408349
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410693214.1A Active CN104333707B (en) | 2014-11-25 | 2014-11-25 | Camera parameter method of adjustment and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104333707B (en) |
Families Citing this family (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
GB2541041B (en) * | 2016-01-07 | 2018-05-09 | Imagination Tech Ltd | Focus statistics |
CN111095293B (en) | 2017-12-15 | 2023-09-12 | 华为技术有限公司 | Image aesthetic processing method and electronic equipment |
CN110634163B (en) * | 2019-09-29 | 2022-07-19 | 上海闻泰信息技术有限公司 | Method, device and equipment for calibrating parameters of terminal camera and storage medium |
CN112040180B (en) * | 2020-08-19 | 2022-06-07 | 浙江大华技术股份有限公司 | Control method, device and system of image acquisition device |
CN112104814B (en) * | 2020-11-03 | 2021-02-26 | 卡莱特(深圳)云科技有限公司 | Automatic exposure adjusting method and device and LED display screen correcting method |
CN112672142B (en) * | 2020-12-16 | 2022-04-15 | 长光卫星技术股份有限公司 | Feedback type automatic judgment system and method for image quality compensation correction |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20080158430A1 (en) * | 2006-12-29 | 2008-07-03 | Hu Shane C | Method, apparatus and system using hierarchical histogram for automatic exposure adjustment of an image |
CN103237175A (en) * | 2013-04-17 | 2013-08-07 | 中国科学院西安光学精密机械研究所 | Automatic exposure method of digital camera based on human visual characteristics |
CN103327259A (en) * | 2013-07-19 | 2013-09-25 | 西安诺瓦电子科技有限公司 | Parameter adjusting method and device of camera for correcting LED (Light Emitting Diode) display screen |
CN103888681A (en) * | 2014-04-18 | 2014-06-25 | 四川华雁信息产业股份有限公司 | Automatic exposure method and device |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP4151387B2 (en) * | 2002-11-15 | 2008-09-17 | セイコーエプソン株式会社 | Automatic image quality adjustment according to subject brightness |
JP4155280B2 (en) * | 2005-05-18 | 2008-09-24 | コニカミノルタオプト株式会社 | Imaging device |
-
2014
- 2014-11-25 CN CN201410693214.1A patent/CN104333707B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20080158430A1 (en) * | 2006-12-29 | 2008-07-03 | Hu Shane C | Method, apparatus and system using hierarchical histogram for automatic exposure adjustment of an image |
CN103237175A (en) * | 2013-04-17 | 2013-08-07 | 中国科学院西安光学精密机械研究所 | Automatic exposure method of digital camera based on human visual characteristics |
CN103327259A (en) * | 2013-07-19 | 2013-09-25 | 西安诺瓦电子科技有限公司 | Parameter adjusting method and device of camera for correcting LED (Light Emitting Diode) display screen |
CN103888681A (en) * | 2014-04-18 | 2014-06-25 | 四川华雁信息产业股份有限公司 | Automatic exposure method and device |
Non-Patent Citations (2)
Title |
---|
一种基于亮度直方图的自动曝光控制方法;杨海涛等;《光学学报》;20070531;第27卷(第5期);全文 * |
一种基于图像分区的自动曝光算法;甘玉泉等;《图像处理》;20091231;第25卷(第4-3期);全文 * |
Also Published As
Publication number | Publication date |
---|---|
CN104333707A (en) | 2015-02-04 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104333707B (en) | Camera parameter method of adjustment and system | |
CN103826066B (en) | Automatic exposure adjusting method and system | |
US7742637B2 (en) | Apparatus, method, and program for taking an image, and apparatus, method, and program for processing an image | |
CN100546341C (en) | Imaging device | |
TWI389559B (en) | Foreground image separation method | |
CN103312973B (en) | Electronic installation and method of adjustment thereof | |
CN104917975B (en) | A kind of adaptive automatic explosion method based on target signature | |
CN100553301C (en) | The modification method of brightness | |
CN109151426B (en) | White balance adjusting method and device, camera and medium | |
US8013909B2 (en) | Method and apparatus for adjusting exposure in digital imaging | |
CN106412447A (en) | Exposure control system and method thereof | |
CN105046655B (en) | A kind of automatic sharpening method of video image and device | |
US7706676B2 (en) | Automatic exposure control method | |
JP6218389B2 (en) | Image processing apparatus and image processing method | |
CN101489050B (en) | Automatic exposure control method | |
CN104301622B (en) | A kind of Space-based Space Imagewise exposure time self-adaptation control method and device | |
US7995137B2 (en) | Exposure compensation method for digital image | |
CN102665047A (en) | Exposure control method for imaging of complementary metal-oxide-semiconductor (CMOS) image sensor | |
CN107492075B (en) | method for single LDR image exposure correction based on detail enhancement | |
CN102547055A (en) | Image processing apparatus and image processing method | |
DE60221122T2 (en) | AUTOMATIC FOCUSING PROCESS WHICH IS SENSITIVE TO THE SCENE LIGHTING LEVEL | |
CN106851138A (en) | A kind of image processing method based on HDR | |
CN105933687A (en) | Automatic white balance processing method and device for images | |
CN104539852A (en) | Transient automatic exposure method appropriate for transient highlight scene | |
CN106550227A (en) | A kind of image saturation method of adjustment and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CP03 | Change of name, title or address | ||
CP03 | Change of name, title or address |
Address after: Kezhu road high tech Industrial Development Zone, Guangzhou city of Guangdong Province, No. 233 510670 Patentee after: Wei Chong group Limited by Share Ltd Address before: 510670 Guangdong city of Guangzhou province Kezhu Guangzhou high tech Industrial Development Zone, Road No. 233 Patentee before: Guangdong Weichuangshixun Science and Technology Co., Ltd. |