CN105791683B - Control method, control device and electronic device - Google Patents
Control method, control device and electronic device Download PDFInfo
- Publication number
- CN105791683B CN105791683B CN201610115564.9A CN201610115564A CN105791683B CN 105791683 B CN105791683 B CN 105791683B CN 201610115564 A CN201610115564 A CN 201610115564A CN 105791683 B CN105791683 B CN 105791683B
- Authority
- CN
- China
- Prior art keywords
- module
- pixel value
- average pixel
- predetermined value
- region
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/60—Control of cameras or camera modules
- H04N23/67—Focus control based on electronic image sensor signals
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Studio Devices (AREA)
Abstract
The invention discloses a kind of control methods, and for controlling imaging device focusing, imaging device includes imaging sensor, and imaging sensor includes detecting phase pixel comprising following steps: calculating the average pixel value of the image of imaging sensor output;Judge whether the average pixel value of image is less than or equal to first predetermined value;It is multiple regions that image is divided when the average pixel value of image is less than or equal to first predetermined value;The average pixel value of zoning;Judge whether the average pixel value in region is greater than or equal to second predetermined value;Average pixel value in region determines that region is effective focusing area when being greater than or equal to second predetermined value;And control imaging device carries out phase focusing according to the left and right phase waveform of the phase focusing pixel output in effective focusing area.The invention also discloses a kind of control device and electronic devices.Control method, control device and the electronic device of embodiment of the present invention can be improved the focusing efficiency for the low light scene with point light source.
Description
Technical field
The present invention relates to imaging techniques, the in particular to control method of a kind of imaging device, control device and electronic device.
Background technique
For the low light scene with point light source, focus according to phase focusing technology, then detecting phase pixel is defeated
Left and right phase waveform out is all relatively flat other than having burr at corresponding point light source, it is difficult to focus for phase.
Summary of the invention
The present invention is directed at least solve one of the technical problems existing in the prior art.For this purpose, the present invention provides one kind
Control method, control device and electronic device.
The control method of embodiment of the present invention, for controlling imaging device focusing, the imaging device includes that image passes
Sensor, described image sensor include detecting phase pixel, the control method the following steps are included:
First calculates step, calculates the average pixel value of the image of described image sensor output;
First judgment step, judges whether the average pixel value of described image is less than or equal to first predetermined value;
Partiting step divides described image when the average pixel value of described image is less than or equal to the first predetermined value
For multiple regions;
Second calculates step, calculates the average pixel value in the region;
Second judgment step, judges whether the average pixel value in the region is greater than or equal to second predetermined value;
Determine step, the average pixel value in the region determines the region when being greater than or equal to the second predetermined value
For effective focusing area;And
Rate-determining steps control the imaging device and are exported according to the detecting phase pixel in effective focusing area
Left and right phase waveform carry out phase focusing.
In some embodiments, the control method further include:
User's input is received with the determination first predetermined value.
In some embodiments, the control method further include:
The imaging device is controlled to carry out using low light scene with point light source of the phase focal modes to successively blast
Focus and calculate the average pixel value of corresponding described image;And
It is pre- as described first equal to the average pixel value of the corresponding described image of third predetermined value to set focusing success rates
Definite value.
In some embodiments, the region is to wait subregions.
In some embodiments, the region includes multiple row pixel.
In some embodiments, the second predetermined value is the average pixel value of described image.
In some embodiments, the control method further include:
User's input is received to enter the low optical mode of point light source.
The invention also discloses a kind of control devices to aim at the control method.
The control device of embodiment of the present invention, for controlling imaging device focusing, the imaging device includes that image passes
Sensor, described image sensor include detecting phase pixel, and the control device includes:
First computing module, first computing module are used to calculate the average picture of the image of described image sensor output
Element value;
First judgment module, the first judgment module is for judging whether the average pixel value of described image is less than or waits
In first predetermined value;
Division module, the division module are used to be less than or equal to described first in the average pixel value of described image predetermined
It is multiple regions that described image is divided when value;
Second computing module, second computing module are used to calculate the average pixel value in the region;
Second judgment module, second judgment module is for judging whether the average pixel value in the region is greater than or waits
In second predetermined value;
Determining module, the determining module are used to be greater than or equal to described second in the average pixel value in the region predetermined
Determine that the region is effective focusing area when value;And
First control module, first control module is for controlling the imaging device according to effective focusing area
The left and right phase waveform of interior detecting phase pixel output carries out phase focusing.
In some embodiments, the control device further include:
First receiving module receiving module, first receiving module are pre- with determination described first for receiving user's input
Definite value.
In some embodiments, the control device further include:
Second control module, second control module for control the imaging device using phase focal modes to according to
The low light scene with point light source of secondary blast is focused and calculates the average pixel value of corresponding described image;And
Setting module, the setting module are equal to the corresponding described image of third predetermined value for setting focusing success rates
Average pixel value be the first predetermined value.
In some embodiments, the region is to wait subregions.
In some embodiments, the region includes multiple row pixel.
In some embodiments, the second predetermined value is the average pixel value of described image.
In some embodiments, the control device includes:
Second receiving module, second receiving module is for receiving user's input to enter the low optical mode of point light source.
The invention also discloses a kind of electronic device, the electronic device includes the imaging device and control dress
It sets.
In some embodiments, the electronic device includes mobile phone or tablet computer.
In some embodiments, the imaging device includes Front camera and/or rearmounted camera.
Control method, control device and the electronic device of embodiment of the present invention are by calculating average pixel value screening
Effective focusing area out can be improved the focusing efficiency for the low light scene with point light source.
The additional aspect and advantage of embodiments of the present invention will be set forth in part in the description, partially will be from following
Description in become obvious, or the practice of embodiment through the invention is recognized.
Detailed description of the invention
The above-mentioned and/or additional aspect and advantage of embodiments of the present invention are from combination following accompanying drawings to embodiment
It will be apparent and be readily appreciated that in description, in which:
Fig. 1 is the control method flow diagram of embodiment of the present invention.
Fig. 2 is the functional block diagram of the control device of embodiment of the present invention.
Fig. 3 is the phase focusing schematic illustration of certain embodiments of the present invention.
Fig. 4 is the phase waveform schematic diagram with point light source low light scene of certain embodiments of the present invention.
Fig. 5 is the phase waveform schematic diagram of effective focusing area of certain embodiments of the present invention.
Fig. 6 is the control method flow diagram of certain embodiments of the present invention.
Fig. 7 is the functional block diagram of the control device of certain embodiments of the present invention.
Fig. 8 is the control method flow diagram of certain embodiments of the present invention.
Fig. 9 is the functional block diagram of the control device of certain embodiments of the present invention.
Figure 10 is the control method flow diagram of certain embodiments of the present invention.
Figure 11 is the functional block diagram of the control device of certain embodiments of the present invention.
Specific embodiment
It is exemplary below with reference to the embodiment of attached drawing description, embodiment for explaining only the invention,
And it should not be understood as the limitation to embodiments of the present invention.
Referring to Fig. 1, the control method of embodiment of the present invention, for controlling imaging device focusing.Imaging device includes
Imaging sensor, imaging sensor include detecting phase pixel.Control method the following steps are included:
S10: the average pixel value of the image of imaging sensor output is calculated;
S20: judge whether the average pixel value of image is less than or equal to first predetermined value;
S30: it is multiple regions that image is divided when the average pixel value of image is less than or equal to first predetermined value;
S40: the average pixel value in each region is calculated;
S50: judge whether the average pixel value in region is greater than or equal to second predetermined value;
S60: the average pixel value in region determines that the region is effective focusing area when being greater than or equal to second predetermined value;
And
S70: control imaging device according in effective focusing area detecting phase pixel output left and right phase waveform into
The focusing of row phase.
Referring to Fig. 2, the control device 100 of embodiment of the present invention, for controlling imaging device focusing.Imaging device packet
Imaging sensor is included, imaging sensor includes detecting phase pixel.Control device 100 is sentenced including the first computing module 101, first
Disconnected module 102, division module 103, the second computing module 104, the second judgment module 105, determining module 106 and the first control mould
Block 107.The control method of embodiment of the present invention can be realized by the control device 100 of embodiment of the present invention.
Wherein, step S10 is available realizes that step S20 can be by first judgment module by the first computing module 101
102 realize, step S30 can be realized that step S40 can be realized by the second computing module 104, step S50 by division module 103
It can be realized by the second judgment module 105, step S60 can be realized by determining module 106, and step S70 can be by the first control
Module 107 is realized.
In other words, the first computing module 101 is used to calculate the average pixel value of the image of imaging sensor output.First
Judgment module 102 is for judging whether the average pixel value of image is less than or equal to first predetermined value.Division module 103 is used for
The average pixel value of image divides image when being less than or equal to first predetermined value be multiple regions.Second computing module 104 is used for
The average pixel value of zoning.Second judgment module 105 is for judging whether the average pixel value in region is greater than or equal to the
Two predetermined values.The average pixel value that determining module 106 is used in region determines that region is to have when being greater than or equal to second predetermined value
Imitate focusing area.First control module 107 is defeated according to the detecting phase pixel in effective focusing area for controlling imaging device
Left and right phase waveform out carries out phase focusing.
Referring to Fig. 3, as an example, in phase focusing technology, on the imaging sensor 200 of imaging device (not shown)
Some detecting phase pixels are reserved with, these detecting phase pixels are usually with the formal distribution of lattice array in imaging sensor
On 200.Imaging device generates the data waveform of left pixel and the number of right pixel by these detecting phase pixels respectively
According to waveform.Specifically, each column detecting phase pixel of imaging sensor 200, which respectively corresponds, generates a left pixel number evidence
With a right pixel number evidence.It should be noted that in some embodiments, left and right pixel number evidence is derived from corresponding phase
The average value for the pixel value that all sub- detecting phase points detect in position detecting pixel point range.For example, being wrapped in imaging sensor 200
Include detecting phase pixel point range 210.The pixel value of the corresponding left and right pixel number evidence generated of detecting phase point range 210 is respectively
195,125.Likewise, other each column detecting phase pixel point ranges are also corresponding to generate a left pixel number evidence and a right pixel
Point data.These left pixel number evidences and right pixel number are according to the data waveform and the right side for forming left pixel after being fitted respectively
The data waveform of pixel.Imaging device can calculate imaging device according to the phasometer of the data waveform of left and right pixel
In lens set moving direction and distance with realize focusing.When the data waveform of left pixel and the data waveform of right pixel
When waveform is overlapped, captured picture is the most clear, that is, focuses successfully.
Referring to Fig. 4, as an example, in the low light scene with point light source, the left and right phase of detecting phase pixel output
Digit wave form is all relatively flat other than having burr at corresponding point light source, is difficult to accurately calculate the phase of left and right phase waveform at this time
Potential difference, thus be difficult to realize focus.
The control method of embodiment of the present invention passes through the first computing module 101 first and calculates the output of imaging sensor 200
Image average pixel value, average pixel value herein includes average brightness value.Such as the average brightness value of image at this time
For La.Judge whether La is less than or equal to first predetermined value by first judgment module 102 again.It should be noted that herein
First predetermined value can be obtained by way of user's input or by system detection.When La is less than or equal to first predetermined value
When, the current low light scene with point light source is generally difficult to realize focusing.
If the average pixel value of image is less than or equal to first predetermined value, divided an image by division module 103
Multiple regions.Such as divide an image into N number of region.The mean pixel in each region is calculated by the second computing module 104 again
Value, is denoted as respectively as La1, La2 ... LaN.
Judge whether the average pixel value in region is greater than or equal to second and makes a reservation for followed by the second judgment module 105
Value.It should be noted that this second predetermined value is that system is set according to the average brightness value La of image.In other words,
Second predetermined value is set in a certain range of La.
Then, the average pixel value in region is greater than or equal to by the corresponding region of second predetermined value by determining module 106
It is determined as effective focusing area.For example, the corresponding region La1 is determined as effectively if La1 is greater than or equal to second predetermined value
Focusing area.
Finally, controlling imaging device according to the detecting phase pixel in effective focusing area by the first control module 107
The left and right phase waveform of output carries out phase focusing.
Referring to Fig. 5, as an example, point light source affiliated area is screened out simultaneously after the processing of control device 100
It is determined as effective focusing area.It can be seen from the figure that the left and right phase waveform that the effective focusing area generates is easily achieved pair
It is burnt.In other words, by screening effective focusing area, flat is filtered out in former phase waveform, the burr signal at point light source
It is equivalent to and is exaggerated processing.It is easy to calculate the phase difference of left and right phase waveform at this time, thus is easy to implement focusing.
In this way, the control method and control device 100 of embodiment of the present invention are screened by calculating average pixel value
Effective focusing area out can be improved the focusing efficiency for the low light scene with point light source.
Referring to Fig. 6, in some embodiments, control method further includes step S01:
User's input is received to determine first predetermined value.
Referring to Fig. 7, in some embodiments, control device 100 further includes 108 receiving module of the first receiving module.
Step S01 in the control method of embodiment of the present invention can be realized by the first receiving module 108.In other words, it first receives
Module 108 is for receiving user's input to determine first predetermined value.
Specifically, the first receiving module 108 is connect to receive the input of user with the user interface of imaging device.User is defeated
Enter the mode including touch screen or key, increases or reduces corresponding numerical value.
In this way, user can set first predetermined value according to the use habit of oneself, and then improve user experience.
Referring to Fig. 8, in some embodiments, control method is further comprising the steps of:
S02: control imaging device is carried out using the low light scene with point light source of the phase focal modes to successively blast
Focus and calculate the average pixel value of corresponding image;And
S03: focusing success rates are set and are equal to the average pixel value of the corresponding image of third predetermined value as first predetermined value.
Referring to Fig. 9, in some embodiments, control device 100 further includes the second control module 109 and setting module
110.Step S02 in the control method of embodiment of the present invention can realize by the second control module 109, and step S03 can be with
It is realized by setting module 110.
In other words, the second control module 109 is for controlling imaging device using phase focal modes to successively blast
Low light scene with point light source is focused and calculates the average pixel value of corresponding image.Setting module 110 is for setting
The average pixel value that success rates of focusing are equal to the corresponding image of third predetermined value is first predetermined value.
It is appreciated that as the low light scene with point light source is sequentially increased the average pixel value of image, corresponding focusing
Success rates are also higher and higher.When success rates of focusing are greater than or equal to third predetermined value, it is effectively right not need screen
The movement in burnt region is also able to achieve focusing.It should be noted that third predetermined value herein is set by system.
In this way, can determine first predetermined value by way of test.
In some embodiments, the region in control method is to wait subregions.
In some embodiments, the region in control device 100 is to wait subregions.
In this way, region division can be fast implemented due to by the algorithm simplicity that region division is equal portions region.
In some embodiments, the region in control method includes multiple row pixel.
In some embodiments, the region in control device 100 includes multiple row pixel.
The effective focusing area that so, it is possible to fast implement region division, and filtered out being capable of output phase waveform.
In some embodiments, the second predetermined value in control method is the average pixel value of image.
In some embodiments, the second predetermined value in control device 100 is the average pixel value of image.
In this way, the average pixel value of computing module output can be directly as second predetermined value, to reach simplified algorithm
Effect.
Referring to Fig. 10, in some embodiments, control method further includes step S00:
User's input is received to enter the low optical mode of point light source.
Figure 11 is please referred to, in some embodiments, control device 100 further includes the second receiving module 111.The present invention is real
Applying the step S00 in the control method of mode can be realized by the second receiving module 111.In other words, the second receiving module 111 is used
It inputs in receiving user to enter the low optical mode of point light source.
Specifically, the second receiving module 111 is connect to receive the input of user with the user interface of imaging device.User is defeated
Enter the mode including touch screen or key-press input.
In this way, user can enter the low optical mode of point light source at any time according to their own needs.
The electronic device of embodiment of the present invention includes above-mentioned imaging device and control device 100.Specifically, at
As device includes Front camera and/or rearmounted camera.Electronic device includes mobile phone or tablet computer.
The control device and electronic device of embodiment of the present invention other parts undeployed, can refer to embodiment of above
Control method corresponding part, be no longer developed in details herein.
In the description of embodiments of the present invention, it is to be understood that term " center ", " longitudinal direction ", " transverse direction ", " length
Degree ", " width ", " thickness ", "upper", "lower", "front", "rear", "left", "right", "vertical", "horizontal", "top", "bottom", "inner",
The orientation or positional relationship of the instructions such as "outside", " clockwise ", " counterclockwise " is to be based on the orientation or positional relationship shown in the drawings, only
It is embodiments of the present invention and simplified description for ease of description, rather than the device or element of indication or suggestion meaning are necessary
It with specific orientation, is constructed and operated in a specific orientation, therefore should not be understood as the limitation to embodiments of the present invention.
In addition, term " first ", " second " are used for descriptive purposes only and cannot be understood as indicating or suggesting relative importance or imply
Indicate the quantity of indicated technical characteristic." first " is defined as a result, the feature of " second " can be expressed or impliedly wrap
Include one or more feature.In the description of embodiments of the present invention, the meaning of " plurality " is two or two
More than, unless otherwise specifically defined.
In the description of embodiments of the present invention, it should be noted that unless otherwise clearly defined and limited, term
" installation ", " connected ", " connection " shall be understood in a broad sense, for example, it may be fixedly connected, may be a detachable connection or one
Connect to body;It can be mechanical connection, be also possible to be electrically connected or can mutually communicate;It can be directly connected, can also lead to
It crosses intermediary to be indirectly connected, can be the connection inside two elements or the interaction relationship of two elements.For ability
For the those of ordinary skill in domain, can understand as the case may be above-mentioned term in embodiments of the present invention specifically contain
Justice.
In embodiments of the present invention unless specifically defined or limited otherwise, fisrt feature second feature it
"upper" or "lower" may include that the first and second features directly contact, may include the first and second features be not directly to connect yet
It touches but by the other characterisation contact between them.Moreover, fisrt feature second feature " on ", " top " and " on
Face " includes fisrt feature right above second feature and oblique upper, or to be merely representative of first feature horizontal height special higher than second
Sign.Fisrt feature under the second feature " below ", " below " and " below " include fisrt feature right above second feature and tiltedly on
Side, or first feature horizontal height is merely representative of less than second feature.
Following disclosure provides many different embodiments or example is used to realize embodiments of the present invention not
Same structure.In order to simplify the disclosure of embodiments of the present invention, hereinafter the component of specific examples and setting are described.When
So, they are merely examples, and is not intended to limit the present invention.In addition, embodiments of the present invention can be in different examples
Repeat reference numerals and/or reference letter in son, this repetition are for purposes of simplicity and clarity, itself not indicate to be begged for
By the relationship between various embodiments and/or setting.In addition, the various specific techniques that embodiments of the present invention provide
With the example of material, but those of ordinary skill in the art may be aware that the application of other techniques and/or other materials make
With.
In the description of this specification, reference term " embodiment ", " some embodiments ", " schematically implementation
The description of mode ", " example ", specific examples or " some examples " etc. means the tool described in conjunction with the embodiment or example
Body characteristics, structure, material or feature are contained at least one embodiment or example of the invention.In the present specification,
Schematic expression of the above terms are not necessarily referring to identical embodiment or example.Moreover, the specific features of description, knot
Structure, material or feature can be combined in any suitable manner in any one or more embodiments or example.
Any process described otherwise above or method description are construed as in flow chart or herein, and expression includes
It is one or more for realizing specific logical function or process the step of executable instruction code module, segment or portion
Point, and the range of the preferred embodiment of the present invention includes other realization, wherein can not press shown or discussed suitable
Sequence, including according to related function by it is basic simultaneously in the way of or in the opposite order, to execute function, this should be of the invention
Embodiment person of ordinary skill in the field understood.
Expression or logic and/or step described otherwise above herein in flow charts, for example, being considered use
In the order list for the executable instruction for realizing logic function, may be embodied in any computer-readable medium, for
Instruction execution system, device or equipment (such as computer based system, including the system of processing module or other can be from instruction
Execute system, device or equipment instruction fetch and the system that executes instruction) use, or combine these instruction execution systems, device or
Equipment and use.For the purpose of this specification, " computer-readable medium " can be it is any may include, store, communicating, propagating or
Transfer program uses for instruction execution system, device or equipment or in conjunction with these instruction execution systems, device or equipment
Device.The more specific example (non-exhaustive list) of computer-readable medium include the following: there are one or more wirings
Electrical connection section (electronic device), portable computer diskette box (magnetic device), random access memory (RAM), read-only memory
(ROM), erasable edit read-only storage (EPROM or flash memory), fiber device and portable optic disk is read-only deposits
Reservoir (CDROM).In addition, computer-readable medium can even is that the paper that can print described program on it or other are suitable
Medium, because can then be edited, be interpreted or when necessary with it for example by carrying out optical scanner to paper or other media
His suitable method is handled electronically to obtain described program, is then stored in computer storage.
It should be appreciated that each section of embodiments of the present invention can be with hardware, software, firmware or their combination come real
It is existing.In the above-described embodiment, multiple steps or method can be with storages in memory and by suitable instruction execution system
The software or firmware of execution is realized.For example, if realized with hardware, in another embodiment, ability can be used
Any one of following technology or their combination well known to domain is realized: being had for realizing logic function to data-signal
The discrete logic of logic gates, the specific integrated circuit with suitable combinational logic gate circuit, programmable gate array
(PGA), field programmable gate array (FPGA) etc..
Those skilled in the art are understood that realize all or part of step that above-described embodiment method carries
It suddenly is that relevant hardware can be instructed to complete by program, the program can store in a kind of computer-readable storage medium
In matter, which when being executed, includes the steps that one or a combination set of embodiment of the method.
In addition, each functional unit in various embodiments of the present invention can integrate in a processing module, it can also
To be that each unit physically exists alone, can also be integrated in two or more units in a module.It is above-mentioned integrated
Module both can take the form of hardware realization, can also be realized in the form of software function module.The integrated module
If in the form of software function module realize and when sold or used as an independent product, also can store one calculating
In machine read/write memory medium.
Storage medium mentioned above can be read-only memory, disk or CD etc..
Although the embodiments of the present invention has been shown and described above, it is to be understood that above-described embodiment is example
Property, it is not considered as limiting the invention, those skilled in the art within the scope of the invention can be to above-mentioned
Embodiment is changed, modifies, replacement and variant.
Claims (17)
1. a kind of control method, for controlling imaging device focusing, which is characterized in that the imaging device includes image sensing
Device, described image sensor include detecting phase pixel, the control method the following steps are included:
First calculates step, calculates the average pixel value of the image of described image sensor output;
First judgment step, judges whether the average pixel value of described image is less than or equal to first predetermined value;
Partiting step, it is more for dividing described image when the average pixel value of described image is less than or equal to the first predetermined value
A region;
Second calculates step, calculates the average pixel value in the region;
Second judgment step, judges whether the average pixel value in the region is greater than or equal to second predetermined value;
Determine step, the average pixel value in the region determines that the region is to have when being greater than or equal to the second predetermined value
Imitate focusing area;And
Rate-determining steps control the imaging device according to a left side for the detecting phase pixel output in effective focusing area
Right phase waveform carries out phase focusing.
2. control method as described in claim 1, which is characterized in that the control method further include:
User's input is received with the determination first predetermined value.
3. control method as described in claim 1, which is characterized in that the control method further include:
The imaging device is controlled to focus to the low light scene with point light source of successively blast using phase focal modes
And calculate the average pixel value of corresponding described image;And
It sets focusing success rates and is equal to the average pixel value of the corresponding described image of third predetermined value as the first predetermined value.
4. control method as described in claim 1, which is characterized in that the region is to wait subregions.
5. control method as described in claim 1, which is characterized in that the region includes multiple row pixel.
6. control method as described in claim 1, which is characterized in that the second predetermined value is the mean pixel of described image
Value.
7. control method as described in claim 1, which is characterized in that the control method further include:
User's input is received to enter the low optical mode of point light source.
8. a kind of control device, for controlling imaging device focusing, which is characterized in that the imaging device includes image sensing
Device, described image sensor include detecting phase pixel, and the control device includes:
First computing module, first computing module are used to calculate the mean pixel of the image of described image sensor output
Value;
First judgment module, the first judgment module is for judging whether the average pixel value of described image is less than or equal to the
One predetermined value;
Division module, the division module are used for when the average pixel value of described image is less than or equal to the first predetermined value
Division described image is multiple regions;
Second computing module, second computing module are used to calculate the average pixel value in the region;
Second judgment module, second judgment module is for judging whether the average pixel value in the region is greater than or equal to the
Two predetermined values;
Determining module, when the average pixel value that the determining module is used in the region is greater than or equal to the second predetermined value
Determine that the region is effective focusing area;And
First control module, first control module is for controlling the imaging device according in effective focusing area
The left and right phase waveform of the detecting phase pixel output carries out phase focusing.
9. control device as claimed in claim 8, which is characterized in that the control device further include:
First receiving module receiving module, first receiving module are predetermined with determination described first for receiving user's input
Value.
10. control device as claimed in claim 8, which is characterized in that the control device further include:
Second control module, second control module is for controlling the imaging device using phase focal modes to successively increasing
The bright low light scene with point light source is focused and calculates the average pixel value of corresponding described image;And
Setting module, the setting module are used to set focusing success rates and are equal to the flat of the corresponding described image of third predetermined value
Equal pixel value is the first predetermined value.
11. control device as claimed in claim 8, which is characterized in that the region is to wait subregions.
12. control device as claimed in claim 8, which is characterized in that the region includes multiple row pixel.
13. control device as claimed in claim 8, which is characterized in that the second predetermined value is the average picture of described image
Element value.
14. control device as claimed in claim 8, which is characterized in that the control device includes:
Second receiving module, second receiving module is for receiving user's input to enter the low optical mode of point light source.
15. a kind of electronic device, which is characterized in that the control including imaging device and as described in claim 8-14 any one
Device.
16. electronic device as claimed in claim 15, which is characterized in that the electronic device includes mobile phone or tablet computer.
17. electronic device as claimed in claim 15, which is characterized in that the imaging device include Front camera and/or after
Set camera.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610115564.9A CN105791683B (en) | 2016-02-29 | 2016-02-29 | Control method, control device and electronic device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610115564.9A CN105791683B (en) | 2016-02-29 | 2016-02-29 | Control method, control device and electronic device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105791683A CN105791683A (en) | 2016-07-20 |
CN105791683B true CN105791683B (en) | 2019-02-12 |
Family
ID=56387496
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610115564.9A Active CN105791683B (en) | 2016-02-29 | 2016-02-29 | Control method, control device and electronic device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105791683B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106507069B (en) * | 2016-11-29 | 2018-06-05 | 广东欧珀移动通信有限公司 | Control method, control device and electronic device |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH05211625A (en) * | 1991-11-06 | 1993-08-20 | Canon Inc | Image pickup device |
CN1731267A (en) * | 2004-08-06 | 2006-02-08 | 三星Techwin株式会社 | Automatic focusing method and digital photographing apparatus using the same |
CN102169276A (en) * | 2010-02-25 | 2011-08-31 | 奥林巴斯映像株式会社 | Imaging device and automatic focus adjustment method |
CN103095983A (en) * | 2011-10-31 | 2013-05-08 | 株式会社日立制作所 | Image signal processing device |
CN103200361A (en) * | 2012-01-06 | 2013-07-10 | 株式会社日立制作所 | Video signal processing apparatus |
CN103430073A (en) * | 2011-03-31 | 2013-12-04 | 富士胶片株式会社 | Imaging device, method for controlling imaging device, and program |
CN104853087A (en) * | 2015-03-16 | 2015-08-19 | 浙江宇视科技有限公司 | Identification and focusing method for point light source scene |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8922707B2 (en) * | 2011-01-26 | 2014-12-30 | Aptina Imaging Corporation | Systems and methods for luminance-based scene-change detection for continuous autofocus |
JP5709911B2 (en) * | 2013-02-04 | 2015-04-30 | キヤノン株式会社 | Image processing method, image processing apparatus, image processing program, and imaging apparatus |
-
2016
- 2016-02-29 CN CN201610115564.9A patent/CN105791683B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH05211625A (en) * | 1991-11-06 | 1993-08-20 | Canon Inc | Image pickup device |
CN1731267A (en) * | 2004-08-06 | 2006-02-08 | 三星Techwin株式会社 | Automatic focusing method and digital photographing apparatus using the same |
CN102169276A (en) * | 2010-02-25 | 2011-08-31 | 奥林巴斯映像株式会社 | Imaging device and automatic focus adjustment method |
CN103430073A (en) * | 2011-03-31 | 2013-12-04 | 富士胶片株式会社 | Imaging device, method for controlling imaging device, and program |
CN103095983A (en) * | 2011-10-31 | 2013-05-08 | 株式会社日立制作所 | Image signal processing device |
CN103200361A (en) * | 2012-01-06 | 2013-07-10 | 株式会社日立制作所 | Video signal processing apparatus |
CN104853087A (en) * | 2015-03-16 | 2015-08-19 | 浙江宇视科技有限公司 | Identification and focusing method for point light source scene |
Also Published As
Publication number | Publication date |
---|---|
CN105791683A (en) | 2016-07-20 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110430368B (en) | Apparatus and method for processing image | |
US10337861B2 (en) | Image generating device for generating depth map with phase detection pixel | |
CN105007422B (en) | A kind of phase focusing method and user terminal | |
CN102870135B (en) | For the method and apparatus of shape extracting, dimension measuring device and distance-measuring device | |
US20130329124A1 (en) | Image processing apparatus and image processing method | |
US11902662B2 (en) | Image stabilization method and apparatus, terminal and storage medium | |
CN105739706B (en) | Control method, control device and electronic device | |
CN105554403A (en) | Control method, control device and electronic device | |
CN111598065B (en) | Depth image acquisition method, living body identification method, apparatus, circuit, and medium | |
KR102488663B1 (en) | Depth Processors and 3D Imaging Devices | |
CN105763798A (en) | Control method, control apparatus and electronic apparatus | |
CN112600994B (en) | Object detection device, method, storage medium, and electronic apparatus | |
CN105279511A (en) | Color time varying characteristic-based traffic light relocating method and device | |
US20220245839A1 (en) | Image registration, fusion and shielding detection methods and apparatuses, and electronic device | |
CN105681668B (en) | Control method, control device and electronic device | |
CN105791683B (en) | Control method, control device and electronic device | |
CN108198189A (en) | Acquisition methods, device, storage medium and the electronic equipment of picture clarity | |
CN105763805B (en) | Control method, control device and electronic device | |
CN105763800B (en) | Control method, control device and electronic device | |
CN105791680A (en) | Control method, control device and electronic device | |
CN112584015A (en) | Object detection method, device, storage medium and electronic equipment | |
CN110189380B (en) | Calibration data optimization method, structured light module and storage medium | |
US11166005B2 (en) | Three-dimensional information acquisition system using pitching practice, and method for calculating camera parameters | |
CN113657245B (en) | Method, device, medium and program product for human face living body detection | |
CN105763801B (en) | Control method, control device and electronic device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
CB02 | Change of applicant information |
Address after: 523860 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong Applicant after: OPPO Guangdong Mobile Communications Co., Ltd. Address before: 523859 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong Applicant before: Guangdong OPPO Mobile Communications Co., Ltd. |
|
CB02 | Change of applicant information | ||
GR01 | Patent grant | ||
GR01 | Patent grant |