Summary of the invention
Purpose of this disclosure is to provide a kind of light filling equipment, the calibration method of light filling, device, storage medium and equipment, use
It is uneven to solve the light filling as caused by error in the prior art, repair cumbersome problem.
To achieve the goals above, according to the first aspect of the embodiments of the present disclosure, a kind of light filling equipment, the light filling are provided
Equipment includes: at least two first light compensating lamps, at least two second light compensating lamps and lens, the colour temperature of first light compensating lamp and institute
The colour temperature for stating the second light compensating lamp is not identical;
The lens are covered at least two first light compensating lamp and described at least two according to preset positional relationship
The top of second light compensating lamp, so that the light that at least two first light compensating lamp and at least two second light compensating lamp issue
The lens can be passed through;
It is applied with the first electric current at least two first light compensating lamp, is applied at least two second light compensating lamp
Second electric current, it is described to pass through the central bright spot for controlling light filling equipment described in first electric current and second current regulation
Central bright spot is the highest position of light neutral color temperature that the light filling equipment issues.
Optionally, at least two first light compensating lamp intersects on the same line at least two second light compensating lamp
Arrangement.
Optionally, at least two first light compensating lamp and at least two second light compensating lamp are according to preset arrangement side
Formula cross arrangement in the same plane;
The arrangement mode includes: at least two first light compensating lamp and at least two second light compensating lamp first
Cross arrangement on direction and second direction, the first direction and the second direction are different side on the same plane
To;
Alternatively, at least two first light compensating lamp and at least two second light compensating lamps group on the same plane
At matrix, the every a line and/or each column of first light compensating lamp and second light compensating lamp in the matrix intersect row
Column;
Alternatively, at least two first light compensating lamp and at least two second light compensating lamp, using preset as the center of circle
At least one justify upper cross arrangement.
Optionally, the lens are Fresnel Lenses, are provided with multiple protrusions on the Fresnel Lenses, each described the
One light compensating lamp corresponds to a protrusion, each corresponding protrusion of second light compensating lamp.
According to the second aspect of an embodiment of the present disclosure, a kind of calibration method of light filling is provided, Image Acquisition terminal is applied to,
Described image acquisition terminal includes: light filling equipment and camera lens described in the first aspect of the embodiment of the present disclosure, the light filling equipment
It is disposed on the same plane with the camera lens, the distance between the light filling equipment and the camera lens are preset length, the side
Method includes:
Target image is acquired in default scene, does not include any light source in the default scene, the target image is
The image that the camera lens acquires in the light that the light filling equipment issues;
According to the brightness contour of the target image, determine the target image geometric center and the target image
Brightness center, the brightness center be the highest position of target image neutral color temperature;
According to the geometric center and the brightness center, first electric current and second electric current are adjusted.
Optionally, described according to the geometric center and the brightness center, adjust first electric current and described second
Electric current, comprising:
Determine the target range between the geometric center and the brightness center;
When the target range is greater than preset first distance threshold value, first electricity is adjusted according to the target range
Stream and second electric current;
When the target range is less than or equal to the first distance threshold value, first electric current and described second are kept
Electric current.
It is optionally, described that first electric current and second electric current are adjusted according to the target range, comprising:
According to the target range, the electric current for being applied to a kind of light compensating lamp is improved, reduces the electricity for being applied to two class light compensating lamps
Stream, one kind light compensating lamp, which are that the distance to the brightness center is greater than to described the first of the distance of the geometric center, to be mended
Light lamp or the second light compensating lamp, the two classes light compensating lamp be, distance to the brightness center be less than to the geometric center away from
From first light compensating lamp or the second light compensating lamp.
Optionally, described to improve the electric current for being applied to a kind of light compensating lamp according to the target range, reduction is applied to two classes
The electric current of light compensating lamp, comprising:
The first adjusting electric current is determined according to the target range according to distance and the preset corresponding relationship of electric current, and/or
Second adjusts electric current;
The electric current for first light compensating lamp being applied in a kind of light compensating lamp is increased described first and adjusts electric current, it will
The electric current for being applied to first light compensating lamp in the two classes light compensating lamp reduces described first and adjusts electric current;And/or
The electric current for second light compensating lamp being applied in a kind of light compensating lamp is increased described second and adjusts electric current, it will
The electric current for being applied to second light compensating lamp in the two classes light compensating lamp reduces described second and adjusts electric current.
According to the third aspect of an embodiment of the present disclosure, a kind of calibrating installation of light filling is provided, Image Acquisition terminal is applied to,
Described image acquisition terminal includes: light filling equipment and camera lens described in the first aspect of the embodiment of the present disclosure, the light filling equipment
It is disposed on the same plane with the camera lens, the distance between the light filling equipment and the camera lens are preset length, the dress
It sets and includes:
Acquisition module does not include any light source, institute in the default scene for acquiring target image in default scene
Stating target image is the image that the camera lens acquires in the light that the light filling equipment issues;
Determining module determines the geometric center of the target image for the brightness contour according to the target image
With the brightness center of the target image, the brightness center is the highest position of target image neutral color temperature;
Adjustment module, for according to the geometric center and the brightness center, adjusting first electric current and described the
Two electric currents.
Optionally, the adjustment module includes:
Submodule is determined, for determining the target range between the geometric center and the brightness center;
Adjust submodule, for when the target range be greater than preset first distance threshold value when, according to the target away from
From adjusting first electric current and second electric current;
The adjusting submodule is also used to keep when the target range is less than or equal to the first distance threshold value
First electric current and second electric current.
Optionally, the adjusting submodule is used for:
According to the target range, the electric current for being applied to a kind of light compensating lamp is improved, reduces the electricity for being applied to two class light compensating lamps
Stream, one kind light compensating lamp, which are that the distance to the brightness center is greater than to described the first of the distance of the geometric center, to be mended
Light lamp or the second light compensating lamp, the two classes light compensating lamp be, distance to the brightness center be less than to the geometric center away from
From first light compensating lamp or the second light compensating lamp.
Optionally, the adjusting submodule is used for:
The first adjusting electric current is determined according to the target range according to distance and the preset corresponding relationship of electric current, and/or
Second adjusts electric current;
The electric current for first light compensating lamp being applied in a kind of light compensating lamp is increased described first and adjusts electric current, it will
The electric current for being applied to first light compensating lamp in the two classes light compensating lamp reduces described first and adjusts electric current;And/or
The electric current for second light compensating lamp being applied in a kind of light compensating lamp is increased described second and adjusts electric current, it will
The electric current for being applied to second light compensating lamp in the two classes light compensating lamp reduces described second and adjusts electric current.
According to a fourth aspect of embodiments of the present disclosure, a kind of computer readable storage medium is provided, calculating is stored thereon with
The step of machine program, the calibration method for the light filling that realization second aspect provides when which is executed by processor.
According to a fifth aspect of the embodiments of the present disclosure, a kind of electronic equipment is provided, comprising:
Memory is stored thereon with computer program;
Processor, for executing the computer program in the memory, to realize the light filling of second aspect offer
Calibration method the step of.
Through the above technical solutions, the disclosure provides a kind of light filling equipment, the equipment include at least two first light compensating lamps,
At least two second light compensating lamps and lens, the first light compensating lamp and the second light compensating lamp have different colour temperatures, and lens are according to preset
Positional relationship is arranged at least two first light compensating lamps and at least two second light compensating lamps, so that at least two first light fillings
The light that lamp and at least two second light compensating lamps issue can pass through lens.Wherein, it is applied at least two first light compensating lamps
First electric current is applied with the second electric current at least two second light compensating lamps, to pass through the first electric current of control and the second current regulation
The highest central bright spot of light neutral color temperature that light filling equipment issues.Light filling is adjusted by controlling the electric current being applied on light compensating lamp
The central bright spot of lamp, is easy to implement, and without tearing machine maintenance open, improves the yields and efficiency of production, reduces costs, and energy
Enough uniform light fillings, improve light filling effect.
Other feature and advantage of the disclosure will the following detailed description will be given in the detailed implementation section.
Specific embodiment
Example embodiments are described in detail here, and the example is illustrated in the accompanying drawings.Following description is related to
When attached drawing, unless otherwise indicated, the same numbers in different drawings indicate the same or similar elements.Following exemplary embodiment
Described in embodiment do not represent all implementations consistent with this disclosure.On the contrary, they be only with it is such as appended
The example of the consistent device and method of some aspects be described in detail in claims, the disclosure.
Introduce the disclosure offer the light filling equipment of terminal, the calibration method of light filling, device, storage medium and equipment it
Before, application scenarios involved by each embodiment of the disclosure are introduced first.Light filling equipment can be solid in the application scenarios
Be scheduled in any terminal with shooting function, wherein terminal for example can be smart phone, tablet computer, smart television,
The mobile terminals such as smartwatch, PDA (Personal Digital Assistant, personal digital assistant) and portable computer.
Wherein, the position of light filling equipment at the terminal, can be set near the camera lens of terminal (such as: light filling equipment and camera lens it
Between distance can be 1-1.5cm), so as to light filling equipment camera lens acquire image when carry out light filling.
Fig. 1 is a kind of schematic diagram of light filling equipment shown according to an exemplary embodiment, as shown in Figure 1, the light filling is set
Standby 100 include: at least two first light compensating lamps 101, at least two second light compensating lamps 102 and lens 103, the first light compensating lamp 101
Colour temperature and the second light compensating lamp 102 colour temperature it is not identical.
Lens 103 are covered at least two first light compensating lamps 101 and at least two second according to preset positional relationship and mend
The top of light lamp 102, so that the light that at least two first light compensating lamps 101 and at least two second light compensating lamps 102 issue can
Across lens.
For example, the light compensating lamp in light filling equipment 100 includes two kinds: first light compensating lamps 101 and the second light compensating lamp 102,
First light compensating lamp 101 and the second light compensating lamp 102 have a different colour temperatures, for example, the first light compensating lamp 101 can be HCCT (English:
High Correlated Color Temperature, Chinese: high correlated colour temperature) light source, such as: highlighted White LED, second
Light compensating lamp 102 can be LCCT (English: Low Correlated Color Temperature, Chinese: low related color temperature) light
Source, such as: amber LED.By taking light filling equipment shown in FIG. 1 as an example, including two the first light compensating lamps 101 (HCCT1 and
HCCT2), two the second light compensating lamps 102 (LCCT1 and LCCT2).HCCT1, HCCT2, LCCT1 and LCCT2 are distributed across one
On straight line, the top of HCCT1, HCCT2, LCCT1 and LCCT2 is arranged in lens 103.
Lines A indicates the position where the central bright spot of the LCCT virtual light source formed when LCCT1 and LCCT2 shines simultaneously
It sets, lines C indicates the position where the central bright spot of the HCCT virtual light source formed when HCCT1 and HCCT2 shines simultaneously, lines
B indicates the position where the central bright spot of light filling equipment (i.e. HCCT1, HCCT2, LCCT1 and LCCT2 shine simultaneously).Wherein,
The central bright spot of LCCT virtual light source indicates the highest position of light neutral color temperature issued when LCCT1 and LCCT2 shines simultaneously,
The central bright spot of HCCT virtual light source indicates the highest position of light neutral color temperature issued when HCCT1 and HCCT2 shines simultaneously, mends
The central bright spot of light device indicates that the light neutral color temperature issued when HCCT1, HCCT2, LCCT1 and LCCT2 shine simultaneously is highest
Position.
Wherein, the first electric current is applied at least two first light compensating lamps 101,102 apply at least two second light compensating lamps
Added with the second electric current, with by the central bright spot of control the first electric current and the second current regulation light filling equipment, central bright spot is to mend
The highest position of light neutral color temperature that light device issues.
It is exemplary, it is applied with the first electric current on HCCT1 and HCCT2, that is, the electric current I being applied on HCCT11Be applied to
Electric current I on HCCT22And be equal to the first electric current, be applied with the second electric current on LCCT1 and LCCT2, it can be understood as be applied to
The electric current I of LCCT13With the electric current I being applied on LCCT24And be equal to the second electric current.It can keep I1+I2=the first electric current
Under the premise of (light color temperature for guaranteeing that HCCT1 and HCCT2 are issued is constant), control I respectively1And I2Size, with adjust HCCT void
The position (i.e. the position of lines C) of the central bright spot of quasi- light source is keeping I3+I4(guarantee LCCT1 under the premise of=the second electric current
The light color temperature issued with LCCT2 is constant), I is controlled respectively3And I4Size, to adjust the central bright spot of LCCT virtual light source
Position (i.e. the position of lines A), to adjust the position (i.e. the position of lines B) of the central bright spot of light filling equipment.
Further, the lens 103 in light filling equipment 100, the light for issuing light compensating lamp carry out optically focused.Lens
103 may include multiple lens, and the corresponding light compensating lamp of each lens (can be any one first light compensating lamp or the second light filling
Lamp), i.e., a lens are provided with above each light compensating lamp.Lens 103 are also possible to a lens.The lens are, for example, luxuriant and rich with fragrance alunite
Your lens are provided with multiple protrusions, the corresponding protrusion of each light compensating lamp, as shown in Figure 1, on lens 103 on Fresnel Lenses
Including tetra- protrusions of a, b, c, d.
In conclusion the disclosure provides a kind of light filling equipment, which includes at least two first light compensating lamps, at least two
Second light compensating lamp and lens, the first light compensating lamp and the second light compensating lamp have different colour temperatures, and lens are according to preset positional relationship
It is arranged at least two first light compensating lamps and at least two second light compensating lamps, so that at least two first light compensating lamps and at least
The light that two the second light compensating lamps issue can pass through lens.Wherein, it is applied with the first electric current at least two first light compensating lamps,
It is applied with the second electric current at least two second light compensating lamps, to pass through the first electric current of control and the second current regulation light filling equipment hair
The highest central bright spot of light neutral color temperature out.It is bright come the center for adjusting light compensating lamp by controlling the electric current being applied on light compensating lamp
Point, is easy to implement, and without tearing machine maintenance open, improves the yields and efficiency of production, reduces costs, and can uniformly mend
Light improves light filling effect.
Specifically, the arrangement mode of at least two first light compensating lamps and at least two second light compensating lamps can there are many, one
Kind is achieved in that: at least two first light compensating lamps and at least two second light compensating lamp cross arrangements on the same line.
Wherein, the distance between any two first adjacent light compensating lamps are the first length at least two first light compensating lamps,
The distance between second adjacent light compensating lamp of any two at least two second light compensating lamps is the second length.Is indicated with open circles
One light compensating lamp, filled circles indicate that the second light compensating lamp is illustrated, when the first light compensating lamp and second light compensating lamp are located along the same line,
As shown in Figure 2 a, the first light compensating lamp and the second light compensating lamp cross arrangement, can be improved the spotlight effect of light filling equipment, while can
Save concentrating device the space occupied at the terminal.First length and the second length can be identical, can not also be identical.Wherein
One length (or second length) is bigger, i.e., the distance between identical two kinds of light compensating lamps are remoter, then the center to light compensating lamp is bright
The degree of regulation of point is higher.
In another implementation, at least two first light compensating lamps and at least two second light compensating lamps are according to preset arrangement
Mode cross arrangement in the same plane.
Arrangement mode may include: as shown in Figure 2 b that at least two first light compensating lamps and at least two second light compensating lamps exist
Cross arrangement on first direction and second direction, first direction and second direction are different direction on same plane.
Alternatively, at least two first light compensating lamps are at least two second light compensating lamps same such as Fig. 2 c and as shown in Figure 2 d
Matrix, the every a line and/or each column cross arrangement of the first light compensating lamp and the second light compensating lamp in a matrix are formed in plane.
Alternatively, as shown in Figure 2 e, at least two first light compensating lamps and at least two second light compensating lamps are being circle with preset
At least one of the heart justifies upper cross arrangement.Wherein, on the first light compensating lamp and the second light compensating lamp can be justified with cross arrangement at one,
It can be using cross arrangement on multiple concentric circles using same preset as the center of circle.
In conclusion the disclosure provides a kind of light filling equipment, which includes at least two first light compensating lamps, at least two
Second light compensating lamp and lens, the first light compensating lamp and the second light compensating lamp have different colour temperatures, and lens are according to preset positional relationship
It is arranged at least two first light compensating lamps and at least two second light compensating lamps, so that at least two first light compensating lamps and at least
The light that two the second light compensating lamps issue can pass through lens.Wherein, it is applied with the first electric current at least two first light compensating lamps,
It is applied with the second electric current at least two second light compensating lamps, to pass through the first electric current of control and the second current regulation light filling equipment hair
The highest central bright spot of light neutral color temperature out.It is bright come the center for adjusting light compensating lamp by controlling the electric current being applied on light compensating lamp
Point, is easy to implement, and without tearing machine maintenance open, improves the yields and efficiency of production, reduces costs, and can uniformly mend
Light improves light filling effect.
Fig. 3 a is a kind of flow chart of the calibration method of light filling shown according to an exemplary embodiment, as shown in Figure 3a,
This method is applied to Image Acquisition terminal, and Image Acquisition terminal includes: light filling equipment and mirror shown in any one of Fig. 1 to Fig. 2 e
Head, light filling equipment are disposed on the same plane with camera lens, and the distance between light filling equipment and camera lens are preset length, this method packet
Include following steps:
Step 201, target image is acquired in default scene, presetting in scene does not include any light source, and target image is
The image that camera lens acquires in the light that light filling equipment issues.
For example, in Image Acquisition terminal, light filling equipment and camera lens in the same plane are provided with, wherein mend
The positional relationship of light device and camera lens, can be the distance between light filling equipment and camera lens be preset length (such as: 1-
1.5cm), preset length is smaller, and the effect of light filling is better.Further, the angle of lens in adjusting light filling equipment can also be passed through
Degree, so that the focus of lens and camera lens can be overlapped at range image acquisition terminal certain distance (such as can be 1m), with
Improve the quality of Image Acquisition terminal acquisition image.
In order to accurately obtain effect of the light filling equipment in Image Acquisition terminal acquired image, can will preset
Scene setting is that there is no the scenes of any light source, it can be understood as default scene is a darkroom.By Image Acquisition terminal
Camera lens and light filling equipment are directed at the darkroom (Image Acquisition terminal can be set at the pre-determined distance apart from the darkroom wall), into
Row exposure is taken pictures, to obtain the target image that camera lens acquires in the light that light filling equipment issues.
Step 202, according to the brightness contour of target image, determine target image geometric center and target image it is bright
Degree center, brightness center are the highest position of target image neutral color temperature.
Step 203, according to geometric center and brightness center, the first electric current and the second electric current are adjusted.
It is exemplary, after obtaining target image, preset processing is carried out to target image, to obtain the brightness of target image
Contour, as shown in Figure 3b.Wherein, the geometric center of target image is O, and the highest brightness center of target image neutral color temperature is P,
It can be according to the position of geometric center and brightness center, to adjust the first electric current being applied on the first light compensating lamp and be applied to the
The second electric current on two light compensating lamps finally makes the geometric center on target image to adjust the central bright spot of light filling equipment
It can be overlapped with brightness center, i.e., light filling equipment can carry out uniform light filling to target image.Wherein, the electricity applied on light compensating lamp
It is similar to proportional relationship between the colour temperature for the light that stream size and light compensating lamp issue, as shown in Figure 3c, wherein horizontal axis is electric current
It is worth (Forward Current, unit mA), the longitudinal axis is the changing value (Δ CCT, unit K) of opposite colour temperature.Therefore, it is protecting
Holding the sum of current value on each first light compensating lamp is the first electric current, and keeping the sum of current value on each second light compensating lamp is the
Under the premise of two electric currents, the electric current on each first light compensating lamp (and/or second light compensating lamp) is adjusted, the first light compensating lamp can be made
While the colour temperature for the light that (or second light compensating lamp) issues is constant, the center for adjusting the first light compensating lamp (or second light compensating lamp) is bright
Point, so that geometric center and brightness center can be overlapped on target image.
Therefore it may only be necessary to which controlling the first electric current distributes the electric current on each first light compensating lamp, and/or the second electric current of control
Distribute the electric current on each second light compensating lamp, it will be able to which the central bright spot for adjusting light filling equipment is solved due to lens and benefit
The problem of central bright spot as caused by rigging error deviates between light lamp is realized simply, without carrying out to Image Acquisition terminal
It tears machine maintenance open, reduces workload and maintenance cost, to improve the yields and efficiency of production, and light filling can be made to set
It is standby that uniform light filling is carried out to camera lens, improve light filling effect.
In conclusion the disclosure is sent out first in the default scene for not including any light source, through camera lens in light filling equipment
Target image is acquired in light out, the brightness contour of target image is obtained later, so that it is determined that in the geometry of target image
The heart and the highest brightness center of target image neutral color temperature, finally, adjusting is applied to first according to geometric center and brightness center
The first electric current on light compensating lamp and the second electric current being applied on the second light compensating lamp.By controlling the electric current being applied on light compensating lamp
The central bright spot of light compensating lamp is adjusted, is easy to implement, without tearing machine maintenance open, the yields and efficiency of production is improved, reduces
Cost, and can uniform light filling, improve light filling effect.
Fig. 4 a is the flow chart of the calibration method of another light filling shown according to an exemplary embodiment, such as Fig. 4 a institute
Show, step 203 includes:
Step 2031, the target range between geometric center and brightness center is determined.
Step 2032, when target range is greater than preset first distance threshold value, the first electric current is adjusted according to target range
With the second electric current.
Step 2033, when target range is less than or equal to first distance threshold value, the first electric current and the second electric current are kept.
For example, according to the brightness contour of target image, for the target image shown in Fig. 3 b, O point to P point
Distance is a, when acquiring target image each time due to image collecting device, may have artificial error and environment and become
Change bring error, therefore, first distance threshold value can be preset as the deviation allowed.First distance threshold value can basis
The actual size of target image determines, illustrates so that the size of target image is 640*480, i.e., includes in target image
307200 pixels, then first distance threshold value can be set to 3072 (i.e. the 1% of target image size) a pixel institutes
The distance of occupancy.When target range is greater than preset first distance threshold value, judge in the geometric center and brightness of target image
The heart has been shifted out the range allowed, then adjusting the first electric current and the second electric current according to target range, that is, controls the first electricity
Flow point fits over the electric current on each first light compensating lamp, and/or the second electric current of control distributes the electric current on each second light compensating lamp.
When target range is less than or equal to first distance threshold value, judge that the geometric center of target image and brightness off-centring can connect
By not changing the electric current being applied on the first light compensating lamp and the second light compensating lamp.
Wherein, the implementation of step 2032 may include:
According to target range, the electric current for being applied to a kind of light compensating lamp is improved, reduces the electric current for being applied to two class light compensating lamps, one
Class light compensating lamp is that the distance to brightness center is greater than the first light compensating lamp or the second light compensating lamp to the distance of geometric center, two classes
Light compensating lamp is that the distance to brightness center is less than the first light compensating lamp or the second light compensating lamp to the distance of geometric center.
It is exemplary, the electric current on each first light compensating lamp, and/or the second electric current of control are distributed by the first electric current of control
The electric current on each second light compensating lamp is distributed, to keep the brightness center on target image close to geometric center.Wherein it is possible to
Light compensating lamp is divided into a kind of light compensating lamp and two class light compensating lamps, a kind of light compensating lamp can be the first light compensating lamp and be also possible to the second light filling
Lamp, likewise, two class light compensating lamps, which can be the first light compensating lamp, is also possible to the second light compensating lamp.Corresponding one kind light compensating lamp, arrives brightness
The distance at center is greater than the distance to geometric center, needs to improve electric current, corresponds to two class light compensating lamps, and the distance to brightness center is small
In the distance for arriving geometric center, need to reduce electric current, further, if the distance at light compensating lamp to brightness center is equal into geometry
The distance of the heart can not change the electric current of the light compensating lamp then the light that the light compensating lamp issues does not influence the position at brightness center.
Further, specific embodiment may include:
1) the first adjusting electric current and/or are determined according to target range according to distance and the preset corresponding relationship of electric current
Two adjust electric current.
2) electric current for the first light compensating lamp being applied in a kind of light compensating lamp is increased by first and adjusts electric current, two classes will be applied to
The electric current of the first light compensating lamp in light compensating lamp reduces first and adjusts electric current.And/or
3) electric current for the second light compensating lamp being applied in a kind of light compensating lamp is increased by second and adjusts electric current, two classes will be applied to
The electric current of the second light compensating lamp in light compensating lamp reduces second and adjusts electric current.
It is illustrated with light filling equipment shown in Fig. 4 b, shooting visual angle region can be understood as the region of target image acquisition,
Two the first light compensating lamps: HCCT1 and HCCT2, two the second light compensating lamps: LCCT1 and LCCT2, cross-distribution is point-blank.
Exist between brightness center and geometric center (i.e. LCCT virtual light source and HCCT virtual light source are collectively formed central bright spot) inclined
It moves, brightness center is on the right side of geometric center.Can so increase on the left of geometric center two light compensating lamps (i.e. HCCT1 and
LCCT2 the electric current on) reduces the electric current on two light compensating lamps (i.e. HCCT2 and LCCT1) on the right side of geometric center.It is bright to make
Degree center is moved to the left, close to geometric center, as illustrated in fig. 4 c.
Wherein, distance and the preset corresponding relationship of electric current can be what rule of thumb data and/or experimental data determined,
Brightness center in the size of the electric current applied on light compensating lamp and Image Acquisition terminal acquired image to geometric center away from
From size between relationship, such as can be functional relation of the distance with electric current, be also possible to relation table of the distance with electric current
Lattice can also be the function model established using preset algorithm (such as learning algorithm).It can search and correspond to according to target range
Related table, so that it is determined that first adjusts electric current and/or second adjusts electric current, or using target range as function model
The output of function model is adjusted electric current and/or the second adjusting electric current by input.It is controlled in a kind of light compensating lamp again
The electric current of first light compensating lamp increases by first and adjusts electric current, and the electric current of the first light compensating lamp in two class light compensating lamps reduces first and adjusts electricity
Stream.Or electric current increase the second adjusting electric current of the second light compensating lamp in a kind of light compensating lamp is controlled, second in two class light compensating lamps
The electric current of light compensating lamp reduces second and adjusts electric current.It, can be only according to the when adjusting the position at brightness center according to target range
One adjusting electric current come control the first light compensating lamp (only adjust the first light compensating lamp it is luminous simultaneously when the center of virtual light source that forms it is bright
Point), or only according to the second adjusting electric current come control the second light compensating lamp (only adjust the second light compensating lamp it is luminous simultaneously when form
The central bright spot of virtual light source), further, the first light compensating lamp can also be controlled according to the first adjusting electric current simultaneously, and press
The second light compensating lamp is controlled according to the second adjusting electric current, can achieve brightness center adjustment to the effect close to geometric center.
It should be noted that before the application scenarios of this method can be for the factory of Image Acquisition terminal, to Image Acquisition terminal
Detection indicate that Image Acquisition terminal is qualified (i.e. non-defective unit) if target range is less than or equal to first distance threshold value, if target away from
From first distance threshold value is greater than, indicate that Image Acquisition terminal needs to adjust the central bright spot of light filling equipment.Further, to figure
After being adjusted as acquisition terminal, step 201 can also be repeated to step 203, until target range is small on target image
In or be equal to first distance threshold value until.Also, step 201 to step 203, which can be, to be executed by Image Acquisition terminal.It can also
To execute step 201 by Image Acquisition terminal, then by Image Acquisition terminal target image to be sent to computing capability stronger
Terminal is managed, step 202 is executed to 203 by processing terminal, then the strategy of the first electric current and the second electric current will be adjusted by processing terminal
It is sent to Image Acquisition terminal, makes Image Acquisition terminal and adjusts the central bright spot of light filling equipment according to strategy.Above-mentioned embodiment party
By way of example only, the disclosure is not construed as limiting the executing subject of this method to formula.
In conclusion the disclosure is sent out first in the default scene for not including any light source, through camera lens in light filling equipment
Target image is acquired in light out, the brightness contour of target image is obtained later, so that it is determined that in the geometry of target image
The heart and the highest brightness center of target image neutral color temperature, finally, adjusting is applied to first according to geometric center and brightness center
The first electric current on light compensating lamp and the second electric current being applied on the second light compensating lamp.By controlling the electric current being applied on light compensating lamp
The central bright spot of light compensating lamp is adjusted, is easy to implement, without tearing machine maintenance open, the yields and efficiency of production is improved, reduces
Cost, and can uniform light filling, improve light filling effect.
Fig. 5 is a kind of block diagram of the calibrating installation of light filling shown according to an exemplary embodiment, as shown in figure 5, the dress
It sets 300 and is applied to Image Acquisition terminal, Image Acquisition terminal includes: light filling equipment shown in any one of Fig. 1 to Fig. 2 e, light filling
Equipment is disposed on the same plane with camera lens, and the distance between light filling equipment and camera lens are preset length, and device 300 includes:
Acquisition module 301, for acquiring target image in default scene, presetting in scene does not include any light source, mesh
Logo image is the image that camera lens acquires in the light that light filling equipment issues.
Determining module 302 determines the geometric center and target of target image for the brightness contour according to target image
The brightness center of image, brightness center are the highest position of target image neutral color temperature.
Adjustment module 303, for adjusting the first electric current and the second electric current according to geometric center and brightness center.
Fig. 6 is the block diagram of the calibrating installation of another light filling shown according to an exemplary embodiment, as shown in fig. 6, adjusting
Saving module 303 includes:
Submodule 3031 is determined, for determining the target range between geometric center and brightness center.
Submodule 3032 is adjusted, is used for when target range is greater than preset first distance threshold value, according to target range tune
Save the first electric current and the second electric current.
Submodule 3032 is adjusted, is also used to keep the first electric current when target range is less than or equal to first distance threshold value
With the second electric current.
Wherein, adjusting submodule 3032 can be used for executing following steps:
According to target range, the electric current for being applied to a kind of light compensating lamp is improved, reduces the electric current for being applied to two class light compensating lamps, one
Class light compensating lamp is that the distance to brightness center is greater than the first light compensating lamp or the second light compensating lamp to the distance of geometric center, two classes
Light compensating lamp is that the distance to brightness center is less than the first light compensating lamp or the second light compensating lamp to the distance of geometric center.
Concrete implementation mode may include:
1) the first adjusting electric current and/or are determined according to target range according to distance and the preset corresponding relationship of electric current
Two adjust electric current.
2) electric current for the first light compensating lamp being applied in a kind of light compensating lamp is increased by first and adjusts electric current, two classes will be applied to
The electric current of the first light compensating lamp in light compensating lamp reduces first and adjusts electric current.And/or
3) electric current for the second light compensating lamp being applied in a kind of light compensating lamp is increased by second and adjusts electric current, two classes will be applied to
The electric current of the second light compensating lamp in light compensating lamp reduces second and adjusts electric current.
About the device in above-described embodiment, wherein modules execute the concrete mode of operation in related this method
Embodiment in be described in detail, no detailed explanation will be given here.
In conclusion the disclosure is sent out first in the default scene for not including any light source, through camera lens in light filling equipment
Target image is acquired in light out, the brightness contour of target image is obtained later, so that it is determined that in the geometry of target image
The heart and the highest brightness center of target image neutral color temperature, finally, adjusting is applied to first according to geometric center and brightness center
The first electric current on light compensating lamp and the second electric current being applied on the second light compensating lamp.By controlling the electric current being applied on light compensating lamp
The central bright spot of light compensating lamp is adjusted, is easy to implement, without tearing machine maintenance open, the yields and efficiency of production is improved, reduces
Cost, and can uniform light filling, improve light filling effect.
Fig. 7 is the block diagram of a kind of electronic equipment 400 shown according to an exemplary embodiment.As shown in fig. 7, the electronics is set
Standby 400 may include: processor 401, memory 402.The electronic equipment 400 can also include multimedia component 403, input/
Export one or more of (I/O) interface 404 and communication component 405.
Wherein, processor 401 is used to control the integrated operation of the electronic equipment 400, to complete the calibration of above-mentioned light filling
All or part of the steps in method.Memory 402 is for storing various types of data to support in the electronic equipment 400
Operation, these data for example may include the instruction of any application or method for operating on the electronic equipment 400,
And the relevant data of application program, such as contact data, the message of transmitting-receiving, picture, audio, video etc..The memory
402 can be realized by any kind of volatibility or non-volatile memory device or their combination, such as static random is deposited
Access to memory (Static Random Access Memory, abbreviation SRAM), electrically erasable programmable read-only memory
(Electrically Erasable Programmable Read-Only Memory, abbreviation EEPROM), erasable programmable
Read-only memory (Erasable Programmable Read-Only Memory, abbreviation EPROM), programmable read only memory
(Programmable Read-Only Memory, abbreviation PROM), and read-only memory (Read-Only Memory, referred to as
ROM), magnetic memory, flash memory, disk or CD.Multimedia component 403 may include screen and audio component.Wherein
Screen for example can be touch screen, and audio component is used for output and/or input audio signal.For example, audio component may include
One microphone, microphone is for receiving external audio signal.The received audio signal can be further stored in storage
Device 402 is sent by communication component 405.Audio component further includes at least one loudspeaker, is used for output audio signal.I/O
Interface 404 provides interface between processor 401 and other interface modules, other above-mentioned interface modules can be keyboard, mouse,
Button etc..These buttons can be virtual push button or entity button.Communication component 405 is for the electronic equipment 400 and other
Wired or wireless communication is carried out between equipment.Wireless communication, such as Wi-Fi, bluetooth, near-field communication (Near Field
Communication, abbreviation NFC), 2G, 3G or 4G or they one or more of combination, therefore corresponding communication
Component 405 may include: Wi-Fi module, bluetooth module, NFC module.
In one exemplary embodiment, electronic equipment 400 can be by one or more application specific integrated circuit
(Application Specific Integrated Circuit, abbreviation ASIC), digital signal processor (Digital
Signal Processor, abbreviation DSP), digital signal processing appts (Digital Signal Processing Device,
Abbreviation DSPD), programmable logic device (Programmable Logic Device, abbreviation PLD), field programmable gate array
(Field Programmable Gate Array, abbreviation FPGA), controller, microcontroller, microprocessor or other electronics member
Part is realized, for executing the calibration method of above-mentioned light filling.
In a further exemplary embodiment, a kind of computer readable storage medium including program instruction is additionally provided, it should
The step of calibration method of above-mentioned light filling is realized when program instruction is executed by processor.For example, the computer-readable storage medium
Matter can be the above-mentioned memory 402 including program instruction, and above procedure instruction can be held by the processor 401 of electronic equipment 400
It goes to complete the calibration method of above-mentioned light filling.
In conclusion the disclosure is sent out first in the default scene for not including any light source, through camera lens in light filling equipment
Target image is acquired in light out, the brightness contour of target image is obtained later, so that it is determined that in the geometry of target image
The heart and the highest brightness center of target image neutral color temperature, finally, adjusting is applied to first according to geometric center and brightness center
The first electric current on light compensating lamp and the second electric current being applied on the second light compensating lamp.By controlling the electric current being applied on light compensating lamp
The central bright spot of light compensating lamp is adjusted, is easy to implement, without tearing machine maintenance open, the yields and efficiency of production is improved, reduces
Cost, and can uniform light filling, improve light filling effect.
The preferred embodiment of the disclosure is described in detail in conjunction with attached drawing above, still, the disclosure is not limited to above-mentioned reality
The detail in mode is applied, in the range of the technology design of the disclosure, a variety of letters can be carried out to the technical solution of the disclosure
Monotropic type, these simple variants belong to the protection scope of the disclosure.
It is further to note that specific technical features described in the above specific embodiments, in not lance
In the case where shield, can be combined in any appropriate way, in order to avoid unnecessary repetition, the disclosure to it is various can
No further explanation will be given for the combination of energy.
In addition, any combination can also be carried out between a variety of different embodiments of the disclosure, as long as it is without prejudice to originally
Disclosed thought equally should be considered as disclosure disclosure of that.