CN111212238A - Contrast focusing method, system, equipment and storage medium under point light source scene - Google Patents

Contrast focusing method, system, equipment and storage medium under point light source scene Download PDF

Info

Publication number
CN111212238A
CN111212238A CN202010095197.7A CN202010095197A CN111212238A CN 111212238 A CN111212238 A CN 111212238A CN 202010095197 A CN202010095197 A CN 202010095197A CN 111212238 A CN111212238 A CN 111212238A
Authority
CN
China
Prior art keywords
brightness
light source
point light
scene
focusing
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.)
Pending
Application number
CN202010095197.7A
Other languages
Chinese (zh)
Inventor
温瑞丹
陈欢
魏道敏
张鑫
汪涛
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Spreadtrum Communications Shanghai Co Ltd
Original Assignee
Spreadtrum Communications Shanghai Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Spreadtrum Communications Shanghai Co Ltd filed Critical Spreadtrum Communications Shanghai Co Ltd
Priority to CN202010095197.7A priority Critical patent/CN111212238A/en
Publication of CN111212238A publication Critical patent/CN111212238A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/67Focus control based on electronic image sensor signals
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/62Control of parameters via user interfaces
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/70Circuitry for compensating brightness variation in the scene
    • H04N23/73Circuitry for compensating brightness variation in the scene by influencing the exposure time

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • Automatic Focus Adjustment (AREA)
  • Studio Devices (AREA)
  • Focusing (AREA)

Abstract

The invention discloses a contrast type focusing method, a system, equipment and a storage medium under a point light source scene, wherein the method comprises the following steps: acquiring an image in each current scene along with the movement of the lens; acquiring brightness values of all points in the statistical region in the image; determining a focusing position according to the brightness value; and the current scene is a point light source scene. The method, the system, the equipment and the storage medium for contrast type focusing in the point light source scene are suitable for various point light source scenes, can fundamentally solve the influence of the point light sources, and improve the accuracy and the stability of the contrast type focusing of the point light sources.

Description

Contrast focusing method, system, equipment and storage medium under point light source scene
Technical Field
The invention relates to the technical field of image processing, in particular to a contrast type focusing method, a system, equipment and a storage medium under a point light source scene.
Background
Among the many image qualities of interest to the market, image sharpness is a fundamental requirement. In order to obtain clear images, the success of focusing is a determining factor, and the focusing effect of different scenes in day and night is an important functional index for assessing focusing. But it is currently common that the focusing effect is not ideal for night-time specific scenes, one of which is a point source scene.
Contrast focusing (also called contrast focusing) is to calculate the value of Fv (Focus value, the amount of contrast in a statistical region, also called contrast value) corresponding to an image while gradually moving a lens from the bottom to the top, and continuously record the value of contrast Fv to form an Fv curve. During the scan, the peak (maximum) of the Fv curve is considered to be the in-focus position. Generally, a general focusing scene is described as follows, as the focusing lens approaches or moves away from the actual focusing point, the image definition also monotonically increases or decreases correspondingly, as shown in fig. 1, the Fv curve of the scene presents better unimodal, the abscissa represents the position of the lens corresponding to the image, and the ordinate represents the corresponding Fv value. For the curve of the scene, the contrast type focusing can quickly search the focusing position with the best definition, and the focusing accuracy and stability are higher. However, the Fv curves corresponding to some point light source scenes often have a pseudo-peak as shown in fig. 2, or the peak position is not a focusing position, which increases the focusing difficulty, and the repeated shaking of the lens is likely to occur during the focusing process, thereby affecting the focusing accuracy and real-time performance.
In the process of researching point light source contrast focusing, the brightness histogram and Fv curve of the point light source are found to have certain characteristics, so that the point light source scene can be identified and the contrast focusing can be completed according to the characteristics of the point light source and the Fv curve. The method specifically comprises the following steps: in a night point light source scene, because the brightness of the external environment is low, and the low-brightness areas in the image are many, the number of low-brightness points is large; if a point light source exists in the scene, the corresponding highlight point can be increased; the brightness distribution of the point light sources is very low in the whole scene, and the brightness distribution characteristic of the point light sources is shown in fig. 3, wherein the abscissa represents the brightness and the ordinate represents the number of points corresponding to the brightness. In the prior art, a point light source scene can be identified according to the characteristics.
By testing the focusing process of a large number of point light source scenes, the Fv curve of a point light source scene with a part of farther object distance is found to have the rule as shown in FIG. 4. In the contrast focusing process, as the lens moves from a far point to a near point, a point light source scene does not go from blurring to sharpness and then to blurring, but goes from sharpness to blurring, and in the front part where the Fv curve is flat, the image definition at different positions is similar; the Fv curve then begins to fall in the middle and the image also blurs. According to the Fv curve characteristic of the point light source, the far point is considered to be the focus point. In practical application, when the scene is judged to be a point light source scene and no single peak value of the Fv curve is found, if the Fv curve meets the rule of fig. 4, the lens is directly pushed to a far point, and contrast focusing is completed.
Therefore, the prior art is only based on testing, and extracts the focusing characteristics of a point light source scene with a part of object distances far away, so as to complete contrast type focusing of the point light source scene meeting the characteristics. However, for point light source scenes that do not meet this characteristic, existing solutions cannot be used to solve the problems they present during contrast focus.
In a night scene with a point light source, most details in the scene are not obvious due to low ambient brightness, the contrast is low, and the Fv value obtained by calculation is not large; but around the point source there will be a strong contrast edge between high and low brightness, whose Fv value is much larger than that of other details in the scene, and therefore dominates the entire focusing process. When the lens is in focus, the point light source is converged, the strong edge becomes sharper, but the edge area is reduced; when the lens is far away from the focal position, light spots are diffused, strong edges are blurred, and the edge area is increased.
For night scenes, the details of the scene are not obvious due to low brightness, Fv curves tend to be flat, and peak positions are not obvious. In addition, due to the influence of the point light source, the focusing is prone to be inaccurate in contrast focusing, for example, Fv curve oscillation exists, a plurality of false edges exist, or the peak position of the Fv curve deviates from the real focusing position, so that the focusing failure of the point light source scene can be caused.
Disclosure of Invention
The invention provides a method, a system, equipment and a storage medium for contrast focusing in a point light source scene, which are suitable for various point light source scenes, can fundamentally solve the influence of point light sources and improve the accuracy and stability of the contrast focusing of the point light sources, and aims to overcome the defects that in the prior art, the reverse differential focusing processing mode of the point light source scene is only suitable for the point light source scene with a longer object distance, and the problems of the point light source scene which does not meet the characteristics cannot be solved in the contrast focusing process.
The invention solves the technical problems through the following technical scheme:
the invention provides a contrast focusing method under a point light source scene, which comprises the following steps:
acquiring an image in each current scene along with the movement of the lens;
acquiring brightness values of all points in the statistical region in the image;
determining a focusing position according to the brightness value;
and the current scene is a point light source scene.
Optionally, the step of determining the focus position according to the brightness value includes the following steps:
judging whether the brightness value of each point in the statistical area is larger than a first preset highlight threshold point by point, if so, setting the corresponding point as a deletion point, and otherwise, setting the corresponding point as a retention point;
determining the in-focus position from the Fv of all the retention points.
According to the scheme, the first preset highlight threshold is designed, the point exceeding the value is regarded as a point light source, the Fv value of the point is not calculated, and the point meeting the first preset brightness threshold is counted to complete contrast focusing. The method eliminates the influence of the point light source by taking the sample point as the minimum unit, is suitable for various point light source scenes, can fundamentally solve the influence of the point light source, and improves the accuracy and stability of contrast type focusing of the point light source.
Optionally, the first preset highlight threshold is 240-250.
Optionally, the step of determining the focus position according to the brightness value includes the following steps:
calculating the brightness sum of all the points in the statistical region according to the brightness value;
forming a variation curve of luminance information corresponding to the lens movement based on the luminance sum;
and determining the lowest position of the brightness value based on the change curve, wherein the lowest position of the brightness value is the in-focus position.
The scheme is designed according to the following characteristics of the point light source in the focusing process: and as the lens is far away from the convergent point position, the image is gradually blurred, the light spots of the point light sources are dispersed and increased, and the integral brightness of the image is obviously increased. Therefore, by calculating the sum of the luminance in a statistical region ROI (statistical region, also called region of interest) in the scene, as the lens moves, a curve of the light source scene based on the regional luminance information is formed. From the curve of the variation trend of the curve, the image brightness when the focusing lens deviates from the focusing position is obviously greater than the image brightness at the focusing position (the image is clearest), so the lowest brightness value is the focusing position. The scheme is suitable for various point light source scenes, can fundamentally solve the influence of the point light sources, and improves the accuracy and stability of contrast type focusing of the point light sources.
Optionally, the method further comprises the following steps:
dividing the statistical area into a plurality of sub-windows;
the step of determining a focus position according to the brightness value includes the steps of:
generating a luminance histogram for each of the sub-windows based on the luminance values of points in the sub-windows;
calculating the brightness proportion of each sub-window one by one according to the brightness histogram, wherein the brightness proportion is the proportion of the number of points of which the brightness values included in the sub-windows exceed a second preset brightness threshold value to the number of points included in the whole sub-window;
judging whether the brightness proportion is greater than a preset proportion, if so, setting the corresponding sub-window as a deletion sub-window, and otherwise, setting the corresponding sub-window as a retention sub-window;
and determining the focusing position according to Fv at the middle points of all the reserved sub-windows.
The method divides the ROI into a plurality of sub-windows, each sub-window has respective brightness histogram information, the number of the brightness exceeding a set threshold value in each sub-window is judged to account for the proportion of the whole sub-window, when the proportion exceeds the set threshold value, the number of the point light sources distributed in the sub-window is considered to be too large, the influence of the point light sources is large, the sub-window is deleted from the ROI of a statistical region, and then the Fv value corresponding to the sub-window is not calculated, so that the influence of the point light sources is directly eliminated. The scheme eliminates the influence of the point light source by taking the sub-window as the minimum unit, is suitable for various point light source scenes, can fundamentally solve the influence of the point light source, and improves the accuracy and stability of contrast type focusing of the point light source.
Optionally, the step of determining the focus position according to the brightness value includes the following steps:
calculating an Fv value based on the luma value using a direct type II filter to determine the in-focus position.
The scheme designs a direct II-type filter suitable for low illumination at night, and the filter can be used for extracting the details of the allowed frequency part in the image, because the strong contrast edge formed around the point light source can influence contrast focusing, so the allowed frequency of the designed band-pass direct II-type filter is the low frequency part. The direct II-type filter with the minimum occupied storage space is selected to exclude strong contrast pseudo details around the point light source, and Fv values of other low-frequency real details in the area are calculated to complete contrast focusing. The method is suitable for various point light source scenes, can fundamentally solve the influence of the point light sources, and improves the accuracy and stability of contrast type focusing of the point light sources.
Optionally, the method further comprises the following steps:
and identifying whether the current scene is a point light source scene.
Optionally, the step of identifying whether the current scene is a point light source scene includes the following steps:
acquiring an AE (automatic exposure) value under the current scene;
generating a brightness histogram of the current scene;
calculating the proportion of the number of points with brightness lower than a preset low-brightness threshold value in the current scene to the total number of points in the current scene to obtain a first proportion;
calculating the proportion of the number of points with brightness higher than a third preset highlight threshold value in the current scene to the total number of points in the current scene to obtain a second proportion;
and judging whether the first specific gravity is greater than a preset low-brightness specific gravity, whether the second specific gravity is greater than a preset high-brightness specific gravity and whether the AE value is greater than a preset AE threshold value, wherein if yes, the current scene is a point light source scene.
According to the scheme, the 3A (AF (automatic focusing), AE and AWB (automatic white balance)) system is used for acquiring the AE value of the current scene, so that the brightness and the noise level of the current external environment can be known. The larger the AE value, the larger the luminance gain illustrating compensation, the darker the external environment, and the noise is gain-amplified; on the contrary, the AE value is small, the compensated brightness gain is small, which shows that the brightness of the external environment is high, and the amplification factor of the noise is small. When the AE value exceeds the set AE threshold, the current environment is determined to be a low-light environment, and may be a nighttime environment.
The method and the device count the brightness histogram of the current scene, judge whether the proportion of points with brightness lower than the corresponding preset threshold value in the current scene to all the points is greater than the preset low-brightness proportion, and judge whether the proportion of points with brightness higher than the corresponding preset threshold value is greater than the preset high-brightness proportion, if the above two conditions are met, the brightness histogram of the scene meets the distribution characteristics of the brightness histogram of the point light source scene shown in fig. 3.
And when the two conditions are that the current environment is a low-brightness environment and the brightness histogram meets the distribution characteristics of the brightness histogram of the point light source, determining that the scene is a point light source scene, and otherwise, directly finishing the inverse differential focusing according to the common scene.
In a second aspect, the present invention provides a system for contrast focusing in a point light source scene, comprising:
the image acquisition module is used for acquiring images in each current scene along with the movement of the lens;
the brightness acquisition module is used for acquiring brightness values of all points in the statistical region in the image;
the focusing determining module is used for determining a focusing position according to the brightness value;
and the current scene is a point light source scene.
Optionally, the in-focus determining module includes:
the first judging unit is used for judging whether the brightness value of each point in the statistical area is larger than a first preset highlight threshold point by point, if so, setting the corresponding point as a deleting point, and otherwise, setting the corresponding point as a retaining point;
and the first focusing unit is used for determining the focusing position according to the Fv of all the retention points.
Optionally, the in-focus determining module includes:
the brightness and statistic unit is used for calculating the brightness sum of all the points in the statistic area according to the brightness value;
a curve forming unit for forming a variation curve of luminance information corresponding to the lens movement based on the luminance sum;
and the second focusing unit is used for determining the lowest position of the brightness value based on the change curve, and the lowest position of the brightness value is the focusing position.
Optionally, the system further includes a sub-window dividing module;
the sub-window dividing module is used for dividing the statistical area into a plurality of sub-windows;
the in-focus determination module includes:
a first histogram generating unit configured to generate a luminance histogram for each of the sub-windows based on the luminance values of the dots in the sub-windows;
the brightness proportion generating unit is used for calculating the brightness proportion of each sub-window one by one according to the brightness histogram, wherein the brightness proportion is the proportion of the number of points of which the brightness values included in the sub-windows exceed a second preset brightness threshold value to the number of points included in the whole sub-window;
the second judgment unit is used for judging whether the brightness specific gravity is greater than the preset specific gravity, if so, setting the corresponding sub-window as a deletion sub-window, and otherwise, setting the corresponding sub-window as a retention sub-window;
and the third focusing unit is used for determining the focusing position according to the Fv at the midpoints of all the reserved sub-windows.
Optionally, the in-focus determination module is configured to determine the in-focus position based on the Fv value calculated by the direct type II filter using the luma value.
Optionally, the system further comprises an identification module;
the identification module is used for identifying whether the current scene is a point light source scene.
Optionally, the identification module includes:
the AE obtaining unit is used for obtaining an AE value under the current scene;
a second histogram generating unit, configured to generate a luminance histogram of the current scene;
the first calculating unit is used for calculating the proportion of the number of points with brightness lower than a preset low-brightness threshold value in the current scene to the total number of points in the current scene to obtain a first proportion;
the second calculation unit is used for calculating the proportion of the number of points with the brightness higher than a third preset highlight threshold value in the current scene to the total number of points in the current scene to obtain a second proportion;
and the third judging unit is used for judging whether the first specific gravity is greater than a preset low-brightness specific gravity, whether the second specific gravity is greater than a preset high-brightness specific gravity and whether the AE value is greater than a preset AE threshold value, and if so, the current scene is a point light source scene.
A third aspect of the present invention provides an electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor executes the computer program to implement the method for contrast focusing in a point light source scene according to the first aspect.
A fourth aspect of the invention provides a computer-readable storage medium having stored thereon a computer program which, when being executed by a processor, carries out the steps of the method for contrast focusing in a point source scene as defined in the first aspect.
The positive progress effects of the invention are as follows: the method, the system, the equipment and the storage medium for contrast type focusing in the point light source scene are suitable for various point light source scenes, can fundamentally solve the influence of the point light sources, and improve the accuracy and the stability of the contrast type focusing of the point light sources.
Drawings
FIG. 1 is a diagram of a single-peak Fv curve for contrast-based focusing in the prior art.
FIG. 2 is a diagram of pseudo-peak Fv curves for contrasted focusing in a prior art point source scene.
Fig. 3 is a diagram illustrating a luminance distribution curve of a point light source in the prior art.
FIG. 4 is a diagram of a prior art point source Fv profile of one type.
FIG. 5 is a flowchart of a contrast focusing method in a point light source scene according to embodiment 1 of the present invention.
Fig. 6 is a flowchart of step S102 in embodiment 1 of the present invention.
FIG. 7 is a flowchart of a contrast focusing method in a point light source scene according to embodiment 2 of the present invention.
FIG. 8 is a flowchart of a contrast focusing method in a point light source scene according to embodiment 3 of the present invention.
FIG. 9 is a flowchart of a contrast focusing method in a point light source scene according to embodiment 4 of the present invention.
Fig. 10 is a schematic structural diagram of a first-order direct type II filter used in embodiment 4 of the present invention.
FIG. 11 is a block diagram of a system for contrast focusing in a point light source scene according to embodiment 5 of the present invention.
Fig. 12 is a schematic structural diagram of a focusing determination module in embodiment 5 of the present invention.
Fig. 13 is a schematic structural diagram of an identification module in embodiment 5 of the present invention.
Fig. 14 is a schematic structural diagram of a focusing determination module in embodiment 6 of the present invention.
FIG. 15 is a block diagram of a system for contrast focusing in a point light source scene according to embodiment 7 of the present invention.
Fig. 16 is a schematic structural view of a focusing determination module in embodiment 7 of the present invention.
Fig. 17 is a schematic structural diagram of an electronic device according to embodiment 9 of the present invention.
Detailed Description
The invention is further illustrated by the following examples, which are not intended to limit the scope of the invention.
Example 1
As shown in fig. 5, the present embodiment provides a contrast focusing method in a point light source scene, including the following steps:
s101, acquiring an image in each current scene along with the movement of a lens;
and S102, identifying whether the current scene is a point light source scene, if so, executing a step of determining a focusing position according to the brightness value, and if not, ending the process.
Wherein the step of determining the in-focus position according to the brightness value comprises the steps of:
s103, acquiring brightness values of all points in a statistical area in the image;
step S104, judging whether the brightness value of each point in the statistical area is larger than a first preset highlight threshold point by point, if so, setting the corresponding point as a deletion point, and if not, setting the corresponding point as a retention point;
the value range of the first preset highlight threshold is 240-250.
And step S105, determining the focusing position according to the Fv of all the reserved points.
Wherein, step S102 includes the following steps as shown in fig. 6:
step S1021, obtaining an AE value under the current scene;
step S1022, generating a brightness histogram of the current scene;
step S1023, calculating the proportion of the number of points with brightness lower than a preset low-brightness threshold value in the current scene to the total number of points in the current scene to obtain a first proportion; calculating the proportion of the number of points with brightness higher than a third preset highlight threshold value in the current scene to the total number of points in the current scene to obtain a second proportion;
step S1024, judging whether the first specific gravity is larger than a preset low-brightness specific gravity, whether the second specific gravity is larger than a preset high-brightness specific gravity and whether the AE value is larger than a preset AE threshold value, if so, determining that the current scene is a point light source scene, and continuing to execute step S103, otherwise, ending the process. The AE threshold is an empirical value, and a person skilled in the art can set the value according to actual needs, and the value is not limited herein.
In this embodiment, a preset low brightness threshold value L _ th and a third preset high brightness threshold value H _ th are set for comparison, and a point quantity specific gravity L _ r (0-1) with a brightness lower than L _ th and a point quantity specific gravity H _ r (0-1) with a brightness higher than H _ th are used to determine whether the current scene is a point light source scene, where the sum of L _ r and H _ r must be less than or equal to 1. And if the proportion of the number of points with the brightness of the current scene lower than L _ th in all points is greater than the preset low-brightness proportion, and the proportion of the points with the brightness higher than H _ th is greater than the preset high-brightness proportion, judging that the current scene is a point light source scene. Wherein, the low brightness threshold value L _ th is less than 50, and the high brightness threshold value H _ th is more than 220.
In the embodiment, the AE value of the current scene is acquired through the 3A system, so that the brightness and the noise level of the current external environment can be known. The larger the AE value, the larger the luminance gain illustrating compensation, the darker the external environment, and the noise is gain-amplified; on the contrary, the AE value is small, the compensated brightness gain is small, which shows that the brightness of the external environment is high, and the amplification factor of the noise is small. When the AE value exceeds the set AE threshold, the current environment is determined to be a low-volume environment, and a night environment is likely to be present.
In this embodiment, a luminance histogram of a current scene is counted, whether a proportion of points in the current scene, in which the number of points whose luminance is lower than a corresponding preset threshold value accounts for all the points, is greater than a preset low-luminance proportion and whether a proportion of points whose luminance is higher than the corresponding preset threshold value is greater than a preset high-luminance proportion is determined, and if the above two conditions are met, the luminance histogram of the scene meets the luminance histogram distribution characteristics of the point light source scene shown in fig. 3.
And when the two conditions are that the current environment is a low-brightness environment and the brightness histogram meets the distribution characteristics of the brightness histogram of the point light source, determining that the scene is a point light source scene, and otherwise, directly finishing the inverse differential focusing according to the common scene.
In this embodiment, a first preset highlight threshold is designed, a point exceeding the value is regarded as a point light source, the Fv value of the point is not calculated, and the point meeting the first preset brightness threshold is counted to complete contrast focusing. The embodiment eliminates the influence of the point light source by taking the sample point as the minimum unit, is suitable for various point light source scenes, can fundamentally solve the influence of the point light source, and improves the accuracy and the stability of contrast type focusing of the point light source.
Example 2
As shown in fig. 7, the present embodiment provides a contrast focusing method in a point light source scene, including the following steps:
step S201, acquiring images in each current scene along with the movement of a lens;
step S202, identifying whether the current scene is a point light source scene, if so, executing the step of determining the focusing position according to the brightness value, and if not, ending the process.
Wherein the step of determining the in-focus position according to the brightness value comprises the steps of:
step S203, calculating the brightness sum of all points in the statistical area according to the brightness value;
step S204, forming a variation curve of the brightness information corresponding to the lens movement based on the brightness sum;
and S205, determining the lowest position of the brightness value based on the change curve, wherein the lowest position of the brightness value is the in-focus position.
The implementation process of step S202 is similar to that of step S102 in embodiment 1, and step S203 is executed only after it is determined to be a point light source scene in this embodiment, which is not described herein again.
The present embodiment has the following characteristic design in the focusing process according to the point light source: and as the lens is far away from the convergent point position, the image is gradually blurred, the light spots of the point light sources are dispersed and increased, and the integral brightness of the image is obviously increased. Therefore, by calculating the sum of the luminance in the statistical region ROI in the scene, as the lens moves, a curve of the light source scene based on the region luminance information is formed. As can be seen from the curve trend, the image brightness when the focusing lens is shifted from the in-focus position is significantly greater than the image brightness at the in-focus position (where the image is sharpest), and therefore the lowest brightness value is the in-focus position. The embodiment counts the sum of the scene image brightness, selects the image position with the minimum brightness as the focus according to the principle that the spot of the point light source is the minimum at the focusing position, is suitable for various point light source scenes, can fundamentally solve the influence of the point light source, and improves the accuracy and the stability of contrast type focusing of the point light source.
Example 3
As shown in fig. 8, the present embodiment provides a contrast focusing method in a point light source scene, including the following steps:
s301, acquiring images in each current scene along with the movement of a lens; dividing a statistical area in the current scene into a plurality of sub-windows;
step S302, whether the current scene is a point light source scene is identified, if yes, the step of determining the focusing position according to the brightness value is executed, and if not, the process is ended.
Wherein the step of determining the in-focus position according to the brightness value comprises the steps of:
step S303, generating a brightness histogram of each sub-window based on the brightness value of the middle point of the sub-window;
step S304, calculating the brightness proportion of each sub-window one by one according to the brightness histogram, wherein the brightness proportion is the proportion of the number of points of which the brightness values included in the sub-windows exceed a second preset brightness threshold value to the number of points included in the whole sub-window;
step S305, judging whether the brightness specific gravity is greater than a preset specific gravity, if so, setting the corresponding sub-window as a deletion sub-window, and if not, setting the corresponding sub-window as a retention sub-window;
and S306, determining the focusing position according to the Fv of the middle points of all the reserved sub-windows.
The implementation process of step S302 is similar to that of step S102 in embodiment 1, and the difference is only that step S303 is executed after the point light source scene is determined in this embodiment, which is not described herein again.
In the embodiment, a statistical region ROI is divided into a plurality of sub-windows, each sub-window has respective luminance histogram information, the number of the luminance exceeding a set threshold value in each sub-window is judged to account for the proportion of the whole sub-window, when the proportion exceeds the set threshold value, the number of the point light sources distributed in the sub-window is considered to be too large, the influence of the point light sources is large, the sub-window is deleted from the statistical region ROI, and then the Fv value corresponding to the sub-window is not calculated, so that the influence of the point light sources is directly eliminated. The sub-window is used as the minimum unit to eliminate the influence of the point light source, the method is suitable for various point light source scenes, the influence of the point light source can be fundamentally solved, and the contrast type focusing accuracy and stability of the point light source are improved.
Example 4
As shown in fig. 9, the present embodiment provides a contrast focusing method in a point light source scene, including the following steps:
s401, acquiring images in each current scene along with the movement of a lens;
step S402, identifying whether the current scene is a point light source scene, if so, executing the step of determining the focusing position according to the brightness value, and if not, ending the process.
Wherein the step of determining the in-focus position according to the brightness value comprises the steps of:
and S403, calculating an Fv value based on the brightness value by using a first-order direct II-type filter to determine a focusing position.
The implementation process of step S402 is similar to that of step S102 in embodiment 1, and the difference is only that step S403 is executed after the point light source scene is determined in this embodiment, which is not described herein again.
In this embodiment, the structure of the first-order direct type II filter is shown in fig. 10. Where w (n) is the output of the all-pole system:
Figure BDA0002384455730000121
y (n) is the input to the all-zero system, with the output:
Figure BDA0002384455730000131
x (N) is a signal value currently input into the direct II type system, y (N) is an output value of the direct II type system, namely an Fv value obtained through a band-pass direct II type filter, N and M are orders of a zero system and a pole system respectively, k and N are integers which are more than or equal to 0, and a and b are adjustable coefficients. The direct II-type filter with adjustable coefficients can meet the frequency distribution of different point light source scenes, and the allowable band-pass range is low frequency, so that the interference of high-frequency information of a point light source can be avoided.
The present embodiment is suitable for a low-night direct type II filter, by which details of the frequency portions allowed to pass through in the image can be extracted, because the strong contrast edges formed around the point light source affect the contrast focus, and therefore the designed band-pass direct type II filter allows the frequency to pass through to be the low-frequency portion. In the embodiment, the direct II-type filter occupying the minimum storage space is selected to exclude strong contrast pseudo details around the point light source, and Fv values of other low-frequency real details in the area are calculated to complete contrast focusing. The method is suitable for various point light source scenes, can fundamentally solve the influence of the point light sources, and improves the accuracy and stability of contrast type focusing of the point light sources.
Example 5
As shown in fig. 11, the present embodiment provides a system for contrast focusing in a point light source scene, including:
the image acquisition module 1 is used for acquiring images in each current scene along with the movement of the lens;
the identification module 2 is used for identifying whether the current scene is a point light source scene;
the brightness acquisition module 3 is used for acquiring brightness values of all points in a statistical area in an image;
and the focusing determining module 4 is used for determining a focusing position according to the brightness value.
As shown in fig. 12, in the present embodiment, the in-focus determining module 4 includes:
a first judging unit 41, configured to judge, point by point, whether a brightness value of each point in the statistical area is greater than a first preset highlight threshold, if yes, set the corresponding point as a deletion point, and if not, set the corresponding point as a retention point;
a first focusing unit 42 for determining a focusing position from the Fv of all the remaining points.
As shown in fig. 13, in the present embodiment, the identification module 2 includes:
an AE obtaining unit 21 configured to obtain an AE value in a current scene;
a second histogram generating unit 22 for generating a luminance histogram of the current scene;
the first calculating unit 23 is configured to calculate a ratio of the number of points in the current scene, of which the brightness is lower than a preset low-brightness threshold, to the total number of points in the current scene to obtain a first ratio;
a second calculating unit 24, configured to calculate a ratio between the number of points in the current scene whose luminance is higher than a third preset highlight threshold and the total number of points in the current scene, so as to obtain a second ratio;
and a third determining unit 25, configured to determine whether the first specific gravity is greater than a preset low-luminance specific gravity, whether the second specific gravity is greater than a preset high-luminance specific gravity, and whether the AE value is greater than a preset AE threshold, where if yes, the current scene is a point light source scene.
In this embodiment, a first preset highlight threshold is designed, a point exceeding the value is regarded as a point light source, the Fv value of the point is not calculated, and the point meeting the first preset brightness threshold is counted to complete contrast focusing. The embodiment eliminates the influence of the point light source by taking the sample point as the minimum unit, is suitable for various point light source scenes, can fundamentally solve the influence of the point light source, and improves the accuracy and the stability of contrast type focusing of the point light source.
Example 6
The present embodiment provides a contrast focusing system in a point light source scene, which is further improved on the basis of embodiment 5, except that the focus determining module 4 is implemented differently. The concrete description is as follows:
as shown in fig. 14, the in-focus determination module 4 in the present embodiment includes:
a luminance sum statistic unit 51 for calculating luminance sums of all points within the statistic region from the luminance values;
a curve forming unit 52 for forming a variation curve of luminance information corresponding to the lens movement based on the luminance sum;
and the second focusing unit 53 is configured to determine a lowest position of the brightness value based on the variation curve, where the lowest position of the brightness value is a focusing position.
The present embodiment has the following characteristic design in the focusing process according to the point light source: and as the lens is far away from the convergent point position, the image is gradually blurred, the light spots of the point light sources are dispersed and increased, and the integral brightness of the image is obviously increased. Therefore, by calculating the sum of the luminance in the statistical region ROI in the scene, as the lens moves, a curve of the light source scene based on the region luminance information is formed. As can be seen from the curve trend, the image brightness when the focusing lens is shifted from the in-focus position is significantly greater than the image brightness at the in-focus position (where the image is sharpest), and therefore the lowest brightness value is the in-focus position. The embodiment is suitable for various point light source scenes, can fundamentally solve the influence of the point light sources, and improves the accuracy and stability of contrast type focusing of the point light sources.
Example 7
The present embodiment provides a system for contrast focusing in a point light source scene, which is further improved based on embodiment 5, and one of the differences is that as shown in fig. 15, the system of the present embodiment further includes a sub-window dividing module 5, which is configured to divide a statistical region into a plurality of sub-windows; another difference is that the focus determination module 4 is implemented differently. The concrete description is as follows:
as shown in fig. 16, the in-focus determination module 4 in the present embodiment includes:
a first histogram generating unit 61 for generating a luminance histogram of each sub-window based on luminance values of points in the sub-windows;
a brightness proportion generating unit 62, configured to calculate the brightness proportion of each sub-window one by one according to the brightness histogram, where the brightness proportion is a proportion of the number of points included in the sub-window whose brightness value exceeds a second preset brightness threshold to the number of points included in the entire sub-window;
a second determining unit 63, configured to determine whether the brightness specific gravity is greater than a preset specific gravity, if so, set the corresponding sub-window as a deletion sub-window, and otherwise, set the corresponding sub-window as a retention sub-window;
and a third focusing unit 64 for determining the focusing position according to the Fv of the middle points of all the reserved sub-windows.
In the embodiment, a statistical region ROI is divided into a plurality of sub-windows, each sub-window has respective luminance histogram information, the number of the luminance exceeding a set threshold value in each sub-window is judged to account for the proportion of the whole sub-window, when the proportion exceeds the set threshold value, the number of the point light sources distributed in the sub-window is considered to be too large, the influence of the point light sources is large, the sub-window is deleted from the statistical region ROI, and then the Fv value corresponding to the sub-window is not calculated, so that the influence of the point light sources is directly eliminated. The sub-window is used as the minimum unit to eliminate the influence of the point light source, the method is suitable for various point light source scenes, the influence of the point light source can be fundamentally solved, and the contrast type focusing accuracy and stability of the point light source are improved.
Example 8
The present embodiment provides a contrast focusing system in a point light source scene, which is further improved on the basis of embodiment 5, except that the focus determining module 4 is implemented differently. The concrete description is as follows:
in the embodiment, the focusing determination module 4 uses a direct type II filter to calculate the Fv value based on the luminance value to determine the focusing position.
This embodiment designs a direct type II filter suitable for low illumination at night, by which the details of the frequency portion allowed to pass through in the image can be extracted, because the strong contrast edge formed around the point light source affects the contrast focusing, so the designed band-pass direct type II filter allows the frequency to pass through to be the low frequency portion. In the embodiment, the direct II-type filter occupying the minimum storage space is selected to exclude strong contrast pseudo details around the point light source, and Fv values of other low-frequency real details in the area are calculated to complete contrast focusing. The method is suitable for various point light source scenes, can fundamentally solve the influence of the point light sources, and improves the accuracy and stability of contrast type focusing of the point light sources.
Example 9
Fig. 17 is a schematic structural diagram of an electronic device according to embodiment 9 of the present invention. The electronic device comprises a memory, a processor and a computer program stored on the memory and capable of running on the processor, wherein the processor executes the program to realize the contrast focusing method in the point light source scene in any one of embodiments 1 to 4. The electronic device 30 shown in fig. 17 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiment of the present invention.
As shown in fig. 17, the electronic device 30 may be embodied in the form of a general purpose computing device, which may be, for example, a server device. The components of the electronic device 30 may include, but are not limited to: the at least one processor 31, the at least one memory 32, and a bus 33 connecting the various system components (including the memory 32 and the processor 31).
The bus 33 includes a data bus, an address bus, and a control bus.
The memory 32 may include volatile memory, such as Random Access Memory (RAM)321 and/or cache memory 322, and may further include Read Only Memory (ROM) 323.
Memory 32 may also include a program/utility 325 having a set (at least one) of program modules 324, such program modules 324 including, but not limited to: an operating system, one or more application programs, other program modules, and program data, each of which, or some combination thereof, may comprise an implementation of a network environment.
The processor 31 executes a computer program stored in the memory 32 to execute various functional applications and data processing, such as a contrast focusing method in a point light source scene according to any one of embodiments 1 to 4 of the present invention.
The electronic device 30 may also communicate with one or more external devices 34 (e.g., keyboard, pointing device, etc.). Such communication may be through input/output (I/O) interfaces 35. Also, model-generating device 30 may also communicate with one or more networks (e.g., a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public network, such as the Internet) via network adapter 36. As shown, network adapter 36 communicates with the other modules of model-generating device 30 via bus 33. It should be understood that although not shown in the figures, other hardware and/or software modules may be used in conjunction with the model-generating device 30, including but not limited to: microcode, device drivers, redundant processors, external disk drive arrays, RAID (disk array) systems, tape drives, and data backup storage systems, etc.
It should be noted that although in the above detailed description several units/modules or sub-units/modules of the electronic device are mentioned, such a division is merely exemplary and not mandatory. Indeed, the features and functionality of two or more of the units/modules described above may be embodied in one unit/module according to embodiments of the invention. Conversely, the features and functions of one unit/module described above may be further divided into embodiments by a plurality of units/modules.
Example 10
The present embodiment provides a computer-readable storage medium, on which a computer program is stored, which when executed by a processor, implements the steps of the method for contrast focusing in a point light source scene according to any one of embodiments 1 to 4.
More specific examples, among others, that the readable storage medium may employ may include, but are not limited to: a portable disk, a hard disk, random access memory, read only memory, erasable programmable read only memory, optical storage device, magnetic storage device, or any suitable combination of the foregoing.
In a possible implementation manner, the present invention can also be implemented in the form of a program product, which includes program code for causing a terminal device to execute the steps in the method for implementing contrast focusing in a point light source scene according to any one of embodiments 1 to 4 when the program product is run on the terminal device.
Where program code for carrying out the invention is written in any combination of one or more programming languages, the program code may be executed entirely on the user device, partly on the user device, as a stand-alone software package, partly on the user device and partly on a remote device or entirely on the remote device.
While specific embodiments of the invention have been described above, it will be appreciated by those skilled in the art that this is by way of example only, and that the scope of the invention is defined by the appended claims. Various changes and modifications to these embodiments may be made by those skilled in the art without departing from the spirit and scope of the invention, and these changes and modifications are within the scope of the invention.

Claims (16)

1. A method for contrast focusing in a point light source scene, comprising the steps of:
acquiring an image in each current scene along with the movement of the lens;
acquiring brightness values of all points in the statistical region in the image;
determining a focusing position according to the brightness value;
and the current scene is a point light source scene.
2. The method for contrast focusing in a point light source scene as claimed in claim 1,
the step of determining a focus position according to the brightness value includes the steps of:
judging whether the brightness value of each point in the statistical area is larger than a first preset highlight threshold point by point, if so, setting the corresponding point as a deletion point, and otherwise, setting the corresponding point as a retention point;
determining the in-focus position from the Fv of all the retention points.
3. The method for contrast focusing in a point light source scene as claimed in claim 1,
the step of determining a focus position according to the brightness value includes the steps of:
calculating the brightness sum of all the points in the statistical region according to the brightness value;
forming a variation curve of luminance information corresponding to the lens movement based on the luminance sum;
and determining the lowest position of the brightness value based on the change curve, wherein the lowest position of the brightness value is the in-focus position.
4. The method for contrast focusing in a point light source scene as claimed in claim 1, wherein said method further comprises the steps of:
dividing the statistical area into a plurality of sub-windows;
the step of determining a focus position according to the brightness value includes the steps of:
generating a luminance histogram for each of the sub-windows based on the luminance values of points in the sub-windows;
calculating the brightness proportion of each sub-window one by one according to the brightness histogram, wherein the brightness proportion is the proportion of the number of points of which the brightness values included in the sub-windows exceed a second preset brightness threshold value to the number of points included in the whole sub-window;
judging whether the brightness proportion is greater than a preset proportion, if so, setting the corresponding sub-window as a deletion sub-window, and otherwise, setting the corresponding sub-window as a retention sub-window;
and determining the focusing position according to Fv at the middle points of all the reserved sub-windows.
5. The method for contrast focusing in a point light source scene as claimed in claim 1,
the step of determining a focus position according to the brightness value includes the steps of:
calculating an Fv value based on the luma value using a direct type II filter to determine the in-focus position.
6. The method for contrast focusing in a point light source scene as claimed in any one of claims 1 to 5, further comprising the steps of:
and identifying whether the current scene is a point light source scene.
7. The method for contrast focusing in a point light source scene of claim 6,
the step of identifying whether the current scene is a point light source scene comprises the steps of:
obtaining an AE value under the current scene;
generating a brightness histogram of the current scene;
calculating the proportion of the number of points with brightness lower than a preset low-brightness threshold value in the current scene to the total number of points in the current scene to obtain a first proportion;
calculating the proportion of the number of points with brightness higher than a third preset highlight threshold value in the current scene to the total number of points in the current scene to obtain a second proportion;
and judging whether the first specific gravity is greater than a preset low-brightness specific gravity, whether the second specific gravity is greater than a preset high-brightness specific gravity and whether the AE value is greater than a preset AE threshold value, wherein if yes, the current scene is a point light source scene.
8. A system for contrast focusing in a point source scene, comprising:
the image acquisition module is used for acquiring images in each current scene along with the movement of the lens;
the brightness acquisition module is used for acquiring brightness values of all points in the statistical region in the image;
the focusing determining module is used for determining a focusing position according to the brightness value;
and the current scene is a point light source scene.
9. The system for contrast focusing in a point light source scene of claim 8,
the in-focus determination module includes:
the first judging unit is used for judging whether the brightness value of each point in the statistical area is larger than a first preset highlight threshold point by point, if so, setting the corresponding point as a deleting point, and otherwise, setting the corresponding point as a retaining point;
and the first focusing unit is used for determining the focusing position according to the Fv of all the retention points.
10. The system for contrast focusing in a point light source scene of claim 8,
the in-focus determination module includes:
the brightness and statistic unit is used for calculating the brightness sum of all the points in the statistic area according to the brightness value;
a curve forming unit for forming a variation curve of luminance information corresponding to the lens movement based on the luminance sum;
and the second focusing unit is used for determining the lowest position of the brightness value based on the change curve, and the lowest position of the brightness value is the focusing position.
11. The system for contrast focusing in a point light source scene of claim 8, further comprising a sub-window dividing module;
the sub-window dividing module is used for dividing the statistical area into a plurality of sub-windows;
the in-focus determination module includes:
a first histogram generating unit configured to generate a luminance histogram for each of the sub-windows based on the luminance values of the dots in the sub-windows;
the brightness proportion generating unit is used for calculating the brightness proportion of each sub-window one by one according to the brightness histogram, wherein the brightness proportion is the proportion of the number of points of which the brightness values included in the sub-windows exceed a second preset brightness threshold value to the number of points included in the whole sub-window;
the second judgment unit is used for judging whether the brightness specific gravity is greater than the preset specific gravity, if so, setting the corresponding sub-window as a deletion sub-window, and otherwise, setting the corresponding sub-window as a retention sub-window;
and the third focusing unit is used for determining the focusing position according to the Fv at the midpoints of all the reserved sub-windows.
12. The system for contrast focusing in a point light source scene of claim 8,
the in-focus determination module is to determine the in-focus position using a direct type II filter to calculate an Fv value based on the luma value.
13. The system for contrast focusing in a point light source scene as claimed in any one of claims 8 to 12, wherein said system further comprises an identification module;
the identification module is used for identifying whether the current scene is a point light source scene.
14. The system for contrast focusing in a point source scene of claim 13,
the identification module comprises:
the AE obtaining unit is used for obtaining an AE value under the current scene;
a second histogram generating unit, configured to generate a luminance histogram of the current scene;
the first calculating unit is used for calculating the proportion of the number of points with brightness lower than a preset low-brightness threshold value in the current scene to the total number of points in the current scene to obtain a first proportion;
the second calculation unit is used for calculating the proportion of the number of points with the brightness higher than a third preset highlight threshold value in the current scene to the total number of points in the current scene to obtain a second proportion;
and the third judging unit is used for judging whether the first specific gravity is greater than a preset low-brightness specific gravity, whether the second specific gravity is greater than a preset high-brightness specific gravity and whether the AE value is greater than a preset AE threshold value, and if so, the current scene is a point light source scene.
15. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor executes the computer program to implement the method for contrast focusing in a point light source scene according to any one of claims 1 to 7.
16. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method for contrast focusing in a point light source scene according to any one of claims 1 to 7.
CN202010095197.7A 2020-02-14 2020-02-14 Contrast focusing method, system, equipment and storage medium under point light source scene Pending CN111212238A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010095197.7A CN111212238A (en) 2020-02-14 2020-02-14 Contrast focusing method, system, equipment and storage medium under point light source scene

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010095197.7A CN111212238A (en) 2020-02-14 2020-02-14 Contrast focusing method, system, equipment and storage medium under point light source scene

Publications (1)

Publication Number Publication Date
CN111212238A true CN111212238A (en) 2020-05-29

Family

ID=70786877

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010095197.7A Pending CN111212238A (en) 2020-02-14 2020-02-14 Contrast focusing method, system, equipment and storage medium under point light source scene

Country Status (1)

Country Link
CN (1) CN111212238A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112333903A (en) * 2020-10-28 2021-02-05 浙江大华技术股份有限公司 Focusing method and device under light scene
CN115278066A (en) * 2022-07-18 2022-11-01 Oppo广东移动通信有限公司 Point light source detection method, focusing method and device, storage medium and electronic equipment

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007065048A (en) * 2005-08-29 2007-03-15 Fujifilm Holdings Corp Photographing device and focus control method
CN1956501A (en) * 2005-10-13 2007-05-02 卡西欧计算机株式会社 Lens position adjusting apparatus, lens position adjusting method and recording medium
CN103095983A (en) * 2011-10-31 2013-05-08 株式会社日立制作所 Image signal processing device
CN104853087A (en) * 2015-03-16 2015-08-19 浙江宇视科技有限公司 Identification and focusing method for point light source scene
CN106257914A (en) * 2015-06-19 2016-12-28 奥林巴斯株式会社 Focus detection device and focus detecting method
CN107643578A (en) * 2016-07-21 2018-01-30 中兴通讯股份有限公司 A kind of Atomatic focusing method, device and mobile terminal
CN108198195A (en) * 2017-12-28 2018-06-22 努比亚技术有限公司 A kind of method of focusing, terminal and computer readable storage medium
CN110336951A (en) * 2019-08-26 2019-10-15 厦门美图之家科技有限公司 Contrast formula focusing method, device and electronic equipment

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007065048A (en) * 2005-08-29 2007-03-15 Fujifilm Holdings Corp Photographing device and focus control method
CN1956501A (en) * 2005-10-13 2007-05-02 卡西欧计算机株式会社 Lens position adjusting apparatus, lens position adjusting method and recording medium
CN103095983A (en) * 2011-10-31 2013-05-08 株式会社日立制作所 Image signal processing device
CN104853087A (en) * 2015-03-16 2015-08-19 浙江宇视科技有限公司 Identification and focusing method for point light source scene
CN106257914A (en) * 2015-06-19 2016-12-28 奥林巴斯株式会社 Focus detection device and focus detecting method
CN107643578A (en) * 2016-07-21 2018-01-30 中兴通讯股份有限公司 A kind of Atomatic focusing method, device and mobile terminal
CN108198195A (en) * 2017-12-28 2018-06-22 努比亚技术有限公司 A kind of method of focusing, terminal and computer readable storage medium
CN110336951A (en) * 2019-08-26 2019-10-15 厦门美图之家科技有限公司 Contrast formula focusing method, device and electronic equipment

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112333903A (en) * 2020-10-28 2021-02-05 浙江大华技术股份有限公司 Focusing method and device under light scene
CN115278066A (en) * 2022-07-18 2022-11-01 Oppo广东移动通信有限公司 Point light source detection method, focusing method and device, storage medium and electronic equipment

Similar Documents

Publication Publication Date Title
US9521391B2 (en) Settings of a digital camera for depth map refinement
CN108322646B (en) Image processing method, image processing device, storage medium and electronic equipment
US10070053B2 (en) Method and camera for determining an image adjustment parameter
US9501834B2 (en) Image capture for later refocusing or focus-manipulation
US20220166930A1 (en) Method and device for focusing on target subject, and electronic device
CN117408890B (en) Video image transmission quality enhancement method and system
EP3371741B1 (en) Focus detection
CN112149476B (en) Target detection method, device, equipment and storage medium
CN111462155B (en) Motion detection method, device, computer equipment and storage medium
CN113163123A (en) Automatic focusing method and device, electronic equipment and storage medium
CN111212238A (en) Contrast focusing method, system, equipment and storage medium under point light source scene
CN111553302B (en) Key frame selection method, device, equipment and computer readable storage medium
WO2016109705A1 (en) Exposure computation via depth-based computational photography
CN111311562B (en) Ambiguity detection method and device for virtual focus image
Torres et al. Optimal camera exposure for video surveillance systems by predictive control of shutter speed, aperture, and gain
CN113923347A (en) Automatic focusing method and device, shooting terminal and computer readable storage medium
CN114677394A (en) Matting method, matting device, image pickup apparatus, conference system, electronic apparatus, and medium
CN112070682B (en) Method and device for compensating image brightness
CN112950523A (en) Definition evaluation value calculation method and device, camera and storage medium
CN109598195B (en) Method and device for processing clear face image based on monitoring video
CN112752088B (en) Depth image generation method and device, reference image generation method and electronic equipment
CN111161211A (en) Image detection method and device
CN112529816A (en) Data processing method, data processing device, storage medium and computer equipment
Zhang et al. Estimation of atmospheric light based on gaussian distribution
CN111630558A (en) Image processing and matching method and device and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20200529