CN105681672B - Control method, control device and electronic device - Google Patents
Control method, control device and electronic device Download PDFInfo
- Publication number
- CN105681672B CN105681672B CN201610116269.5A CN201610116269A CN105681672B CN 105681672 B CN105681672 B CN 105681672B CN 201610116269 A CN201610116269 A CN 201610116269A CN 105681672 B CN105681672 B CN 105681672B
- Authority
- CN
- China
- Prior art keywords
- sensitivity
- noise
- control
- module
- imaging device
- 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.)
- Expired - Fee Related
Links
- 238000000034 method Methods 0.000 title claims abstract description 51
- 230000035945 sensitivity Effects 0.000 claims abstract description 111
- 238000003384 imaging method Methods 0.000 claims abstract description 92
- 238000009790 rate-determining step (RDS) Methods 0.000 claims abstract description 3
- 238000010586 diagram Methods 0.000 description 11
- 230000006870 function Effects 0.000 description 8
- 238000003860 storage Methods 0.000 description 5
- 239000000463 material Substances 0.000 description 4
- 238000012512 characterization method Methods 0.000 description 1
- 230000007613 environmental effect Effects 0.000 description 1
- 239000000835 fiber Substances 0.000 description 1
- 238000009434 installation Methods 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 230000014759 maintenance of location Effects 0.000 description 1
- 210000003733 optic disk Anatomy 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000001902 propagating effect Effects 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N25/00—Circuitry of solid-state image sensors [SSIS]; Control thereof
- H04N25/60—Noise processing, e.g. detecting, correcting, reducing or removing noise
- H04N25/62—Detection or reduction of noise due to excess charges produced by the exposure, e.g. smear, blooming, ghost image, crosstalk or leakage between pixels
-
- 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
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N25/00—Circuitry of solid-state image sensors [SSIS]; Control thereof
- H04N25/60—Noise processing, e.g. detecting, correcting, reducing or removing noise
- H04N25/63—Noise processing, e.g. detecting, correcting, reducing or removing noise applied to dark current
Abstract
The invention discloses a kind of control methods, it is focused for controlling imaging device using phase focusing mode, imaging device includes imaging sensor, and control method comprises steps of determining that step, determines that imaging sensor corresponds to the noise average brightness value of current sensitivity;Identification step identifies the noise of the preview image of imaging sensor output according to noise average brightness value;Step is denoised, removes the noise in image to obtain denoising image data;And rate-determining steps, control imaging device are focused according to denoising image data.The invention also discloses a kind of control device and a kind of electronic devices.Even if the control method of embodiment of the present invention, control device and electronic device enable to imaging device to be imaged under low luminous environment using higher sensitivity, focusing also can be successfully realized.
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
Under low luminous environment, the imaging sensor of imaging device may need to be imaged using higher sensitivity (ISO), lead to figure
As the noise increase of sensor, data needed for phase focusing may be will affect, so as to cause imaging device finally can not
Realize focusing.
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 invention discloses a kind of control methods, are focused for controlling imaging device using phase focusing mode, institute
Stating imaging device includes imaging sensor, the control method the following steps are included:
It determines step, determines that described image sensor corresponds to the noise average brightness value of current sensitivity;
Identification step identifies making an uproar for the preview image of described image sensor output according to the noise average brightness value
Point;
Step is denoised, removes the noise in described image to obtain denoising image data;And
Rate-determining steps control the imaging device and are focused according to the denoising image data.
In some embodiments, the determining step includes:
Sub-step is set, sets the sensitivity of described image sensor as the current sensitivity;
Sub-step is controlled, the imaging device is controlled and is imaged under half-light environment to obtain half-light image;
First identification sub-step, handling the half-light image, brightness value is greater than luminance threshold in the half-light image to identify
Pixel be half-light noise;And
Sub-step is calculated, the noise average brightness value is calculated according to the brightness value of the half-light noise.
In some embodiments, the identification step includes:
Second identification sub-step, handling the preview image, brightness value is greater than or equal to institute in the preview image to identify
The pixel for stating noise average brightness value is the noise.
In some embodiments, the denoising step is by being set to zero for the brightness value of the noise to remove the figure
Noise as in.
In some embodiments, the control method further include:
Judgment step, judges whether the current sensitivity is greater than or equal to sensitivity threshold value;
Enter the determining step when the sensitivity is greater than or equal to sensitivity threshold value;And
When the sensitivity is less than sensitivity threshold value, controls the imaging device and directly adopt phase focusing mode pair
It is burnt.
In some embodiments, the control method further comprises the steps of:
User's input is received with the determination sensitivity threshold value.
In some embodiments, the control method further comprises the steps of:
It controls the imaging device and is sequentially increased the sensitivity;
The imaging device is controlled under each sensitivity repeatedly to be focused and recorded using phase focal modes
Focusing number of success;And
The sensitivity threshold value is determined according to each sensitivity and the corresponding focusing number of success.
The invention also discloses a kind of control devices for realizing control method as described above.
A kind of control device is focused for controlling imaging device using phase focusing mode, the imaging device packet
Imaging sensor is included, the control device includes:
First determining module, first determining module is for determining that described image sensor corresponds to making an uproar for current sensitivity
Point average brightness value;
Identification module, the identification module are used to identify described image sensor output according to the noise average brightness value
Preview image noise;
Module is denoised, the denoising module is used for;And
First control module, first control module are used for
In some embodiments, first determining module includes:
Set submodule, the submodule that set is for setting the sensitivity of described image sensor to be described currently photosensitive
Degree;
Control submodule, the control submodule are imaged under half-light environment for controlling the imaging device to obtain secretly
Light image;
First identification submodule, the first identification submodule is for handling the half-light image to identify the half-light figure
It is half-light noise that brightness value, which is greater than the pixel of luminance threshold, as in;And
Computational submodule, the computational submodule are used to calculate the noise according to the brightness value of the half-light noise average
Brightness value.
In some embodiments, the identification module includes:
Second identification submodule, the second identification submodule is for handling the preview image to identify the preview graph
It is the noise that brightness value, which is greater than or equal to the pixel of the noise average brightness value, as in.
In some embodiments, the denoising module is used for by the way that the brightness value of the noise is set to zero to remove
State the noise in image.
In some embodiments, the control device further include:
Judgment module, the judgment module is for judging whether the current sensitivity is greater than or equal to sensitivity threshold value simultaneously
Notify first determining module according to the brightness of the half-light noise when the sensitivity is greater than or equal to sensitivity threshold value
Value calculates the noise average brightness value;And
Second control module, second control module are used to control institute when the sensitivity is less than sensitivity threshold value
State imaging device directly adopt phase focusing mode focus.
In some embodiments, the control device further include:
Receiving module, the receiving module is for receiving user's input with the determination sensitivity threshold value.
In some embodiments, the control device further include: third control module, the third control module are used
The sensitivity is sequentially increased in controlling the imaging device;
Logging modle, the logging modle under each sensitivity for controlling the imaging device using phase pair
Burnt mode is repeatedly focused and records focusing number of success;And
Second determining module, second determining module be used for according to each sensitivity and it is corresponding it is described focusing at
Function number determines the sensitivity threshold value.
The invention also discloses a kind of electronic device, the electronic device includes the imaging device and control as described above
Device processed.
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, which pass through, determines that imaging sensor is corresponding current
The noise average brightness value of sensitivity identifies in turn and removes noise.Even if in this way, imaging device under low luminous environment using compared with
High sensitivity imaging, also can successfully realize focusing.
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 control method flow diagram of certain embodiments of the present invention.
Fig. 4 is the functional block diagram of the control device of certain embodiments of the present invention.
Fig. 5 is the control method flow diagram of certain embodiments of the present invention.
Fig. 6 is the functional block diagram of the control device of certain embodiments of the present invention.
Fig. 7 is the control method flow diagram of certain embodiments of the present invention.
Fig. 8 is the functional block diagram of the control device of certain embodiments of the present invention.
Fig. 9 is the control method flow diagram of certain embodiments of the present invention.
Figure 10 is the functional schematic of the control device of certain embodiments of the present invention.
Figure 11 is the control method flow diagram of certain embodiments of the present invention.
Figure 12 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 control imaging device using phase focus mode into
Row focusing, imaging device includes imaging sensor, control method the following steps are included:
S10: determine that imaging sensor corresponds to the noise average brightness value of current sensitivity;
S20: the noise of the preview image of imaging sensor output is identified according to noise average brightness value;
S30: the noise in removal image is to obtain denoising image data;And
S40: control imaging device is focused according to denoising image data.
Referring to Fig. 2, the control device 100 of embodiment of the present invention, for controlling imaging device using phase focusing side
Formula is focused, and imaging device includes imaging sensor.Control device 100 includes the first determining module 10, identification module 20, goes
Module of making an uproar 30 and the first control module 30.The control method of embodiment of the present invention can be filled by the control of embodiment of the present invention
Set 100 realizations.
Wherein, step S10 is available is realized by the first determining module 10, and step S20 can be realized by identification module 20,
Step S30 can be realized that step S40 can be realized by the first control module 40 by denoising module 30.In other words, it first determines
Module 10 is for determining that imaging sensor corresponds to the noise average brightness value of current sensitivity.Identification module 20 is used for according to noise
Average brightness value identifies the noise of the preview image of imaging sensor output.Denoising module 30 be used to remove noise in image with
Obtain denoising image data.First control module 40 is focused for controlling imaging device according to denoising image data.
In phase focusing technology, the pixel of imaging sensor is usually made of left and right pixel in pairs.Imaging device
The data waveform of left pixel and the data waveform of right pixel are generated respectively.When the data waveform and right pixel of left pixel
Data waveform waveform be overlapped when, captured picture is the most clear, that is, focuses successfully.As a result, imaging device can according to it is left,
The phasometer of the data waveform of right pixel calculates moving direction and the distance realization pair in turn of the lens set in imaging device
It is burnt.
Phase focusing technology usually can successfully realize focusing under ordinary ray.However under low luminous environment, imaging device
In imaging sensor may need to be imaged using higher sensitivity (ISO), causing the color of image to be made an uproar may larger, Jin Erying
Ring the data waveform for arriving left and right pixel.In this case, the data waveform of left and right pixel possibly can not be overlapped and most
Imaging device is caused to be likely to be at the state for moving repeatedly lens set and cannot achieve focusing eventually.
Under normal conditions, although imaging sensor output image in noise occur position be it is random, appearance it is general
Rate is also random.But the overall brightness of generated noise can be improved with the increase of sensitivity.As sensitivity (ISO)
When for a certain particular value, it is corresponding caused by the average brightness value of noise be also in a certain particular range.Therefore can lead to
It crosses and determines that imaging sensor corresponds to the noise average brightness value of current sensitivity, and then identify and remove the noise in image.Again
It focuses to the image data after denoising.
Specifically, the control device 100 of embodiment of the present invention determines image sensing by the first determining module 10 first
Device corresponds to the noise average brightness value of current sensitivity.Then, it is identified and is schemed according to noise average brightness value by identification module 20
As the noise for the preview image that sensor exports.The noise in image is removed to obtain denoising picture number by denoising module 30 again
According to.It is focused finally by the first control module 40 control imaging device according to denoising image data.
Control method, control device and the electronic device of embodiment of the present invention, which pass through, determines that imaging sensor is corresponding current
The noise average brightness value of sensitivity identifies in turn and removes noise.Even if in this way, imaging device under low luminous environment using compared with
High sensitivity imaging, also can successfully realize focusing.
Referring to Fig. 3, in some embodiments, step S10 includes following sub-step:
S11: the sensitivity of imaging sensor is set as current sensitivity;
S12: control imaging device is imaged under half-light environment to obtain half-light image;
S13: to identify, brightness value is greater than the pixel of luminance threshold as half-light noise to processing half-light image in half-light image;
And
S14: noise average brightness value is calculated according to the brightness value of half-light noise.
Referring to Fig. 4, in some embodiments, the first determining module 10 of control device 100 includes setting submodule
11, control submodule 12, first identifies submodule 14 and computational submodule 13.
Step S11 in the control method of embodiment of the present invention can realize by setting submodule 11, and step S12 can be with
It is realized by control submodule 12, step S13 can realize that step S14 can be by computational submodule by the first identification submodule 13
14 realize.In other words, submodule 11 is set for setting the sensitivity of imaging sensor as current sensitivity.Control submodule 12
It is imaged for controlling imaging device under half-light environment to obtain half-light image.First identification submodule 13 is for handling half-light figure
As to identify, brightness value is greater than the pixel of luminance threshold as half-light noise in half-light image.Computational submodule 14 is used for according to dark
The brightness value of light noise calculates noise average brightness value.
It is appreciated that under identical sensitivity, even if the light intensity of different shooting environmentals difference, acquired figure
Noise average brightness value as in is still in same particular range.On the other hand, under half-light environment, acquired is dark
Noise in light image easily identifies.It therefore can be corresponding under current sensitivity to calculate by identifying the noise of half-light image
Noise average brightness value.
Specifically, the control device 100 of embodiment of the present invention sets imaging sensor by setting submodule 11 first
Sensitivity be current sensitivity.It should be noted that sensitivity when current sensitivity is shooting preview image.Then pass through
Control submodule 12 controls imaging device and is imaged under half-light environment to obtain half-light image.It should be noted that herein dark
Luminous environment includes the case where completely closing on camera lens.
Handling half-light image followed by the first identification submodule 14, brightness value is greater than brightness in half-light image to identify
The pixel of threshold value is half-light noise.For example, the brightness value of pixel is divided into 0-255 grayscale, it is contemplated that the case where dark current,
Dark current causes the intensity gray scale of corresponding pixel in the range of 0-5, then sets 5 for luminance threshold.So brightness ash
Pixel of the rank greater than 5 is just identified as half-light noise.Finally by computational submodule 13 according to the brightness value meter of half-light noise
Calculate noise average brightness value.
In this way, can be by identifying the noise of half-light image to calculate corresponding noise average brightness under current sensitivity
Value.
Referring to Fig. 5, in some embodiments, step S20 includes sub-step S21: processing preview image is pre- to identify
The pixel that brightness value in image of looking at is greater than or equal to noise average brightness value is noise.
Referring to Fig. 6, in some embodiments, the identification module 20 of control device 100 includes the second identification submodule
21.Sub-step S21 in the control method of embodiment of the present invention can be realized by the second identification submodule 21.In other words,
Two identification submodules 21 identify that brightness value is greater than or equal to noise average brightness value in preview image for handling preview image
Pixel be noise.
In this way, can be greater than or equal to the pixel of noise average brightness value by brightness value in identification preview image is to make an uproar
Point.
In some embodiments, step S20 is by being set to zero for the brightness value of noise to remove the noise in image.
In some embodiments, denoising module 30 is used for by the way that the brightness value of noise is set to zero to go
It is appreciated that the data waveform of left and right pixel will at former noise position after the brightness value of noise is set to zero
Unanimously.At this point, phase focusing may be implemented to the image data after denoising.
In this way, may be implemented to remove the noise in image by the way that the brightness value of noise is set to zero.
Referring to Fig. 7, in some embodiments, control method is further comprising the steps of before step S10:
S01: judge whether current sensitivity is greater than or equal to sensitivity threshold value;
Enter determining step when sensitivity is greater than or equal to sensitivity threshold value;And
S02: when sensitivity is less than sensitivity threshold value, control imaging device directlys adopt phase focusing mode and focuses.
Referring to Fig. 8, in some embodiments, control device 100 further includes judgment module 50 and the second control module
60.Step S01 in the control method of embodiment of the present invention can be realized that step S02 can be by second by judgment module 50
Control module 60 is realized.In other words, judgment module 50 is for judging whether current sensitivity is greater than or equal to sensitivity threshold value
And the first determining module is notified to calculate noise according to the brightness value of half-light noise when sensitivity is greater than or equal to sensitivity threshold value
Average brightness value.Second control module 60 is used for when sensitivity is less than sensitivity threshold value, and control imaging device directlys adopt phase
Position focusing mode is focused.
It should be noted that generated noise influences not phase focusing when the sensitivity of imaging sensor is lower
Greatly, phase focusing can directly be carried out.Therefore, sensitivity threshold value can be set, only when sensitivity is more than or equal to scheduled
When sensitivity threshold value, just need to carry out denoising to the image that imaging sensor exports.
In this way, by setting sensitivity threshold value so that imaging device sensitivity be greater than or equal to sensitivity threshold value when
Just carry out denoising.
Referring to Fig. 9, in some embodiments, control method further includes step S00: receiving user's input to determine sense
Luminosity threshold value.
Referring to Fig. 10, in some embodiments, control device 100 further includes receiving module 70.
Step S00 in the control method of embodiment of the present invention can be realized by receiving module 70.In other words, mould is received
Block 70 is for receiving user's input to determine sensitivity threshold value.
Specifically, receiving module 70 is connect with the user interface of imaging device, and receives the input of user.User inputs packet
The mode for including touch screen or key increases or reduces corresponding numerical value.
In this way, user can set specific sensitivity threshold value according to the use habit of oneself, and then improve user experience.
Figure 11 is please referred to, in some embodiments, control method is further comprising the steps of:
S011: control imaging device is sequentially increased sensitivity;
S012: imaging device is controlled under each sensitivity and is repeatedly focused using phase focal modes and records focusing
Number of success;And
S013: sensitivity threshold value is determined according to each sensitivity and corresponding focusing number of success.
Figure 12 is please referred to, in some embodiments, control device 100 further includes third control module 71, logging modle
72 and second determining module 73.
Step S011 in the control method of embodiment of the present invention can realize by third control module 71, step S012
It can recorde the realization of module 72, step S013 can be realized by the second determining module 73.In other words, third control module 71 is used
Sensitivity is sequentially increased in control imaging device.Logging modle 72, which is used to control imaging device under each sensitivity, uses phase
Focal modes are repeatedly focused and record focusing number of success.Second determining module 73 is used for according to each sensitivity and correspondence
Focusing number of success determine sensitivity threshold value.
In this way, can determine sensitivity threshold value by way of test.
The electronic device of embodiment of the present invention includes imaging device and control device 100 as above.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 (15)
1. a kind of control method is focused for controlling imaging device using phase focusing mode, the imaging device includes
Imaging sensor, which is characterized in that the control method the following steps are included:
It determines step, determines that described image sensor corresponds to the noise average brightness value of current sensitivity;
Identification step identifies the noise of the preview image of described image sensor output according to the noise average brightness value;
Step is denoised, removes the noise in described image to obtain denoising image data;And
Rate-determining steps control the imaging device and are focused according to the denoising image data;
The determining step includes:
Sub-step is set, sets the sensitivity of described image sensor as the current sensitivity;
Sub-step is controlled, the imaging device is controlled and is imaged under half-light environment to obtain half-light image;
First identification sub-step handles the half-light image to identify that brightness value is greater than the picture of luminance threshold in the half-light image
Vegetarian refreshments is half-light noise;And
Sub-step is calculated, the noise average brightness value is calculated according to the brightness value of the half-light noise.
2. control method as described in claim 1, which is characterized in that the identification step includes:
Second identification sub-step, handling the preview image, brightness value is greater than or equal to described make an uproar in the preview image to identify
The pixel of point average brightness value is the noise.
3. control method as described in claim 1, which is characterized in that the denoising step is by by the brightness value of the noise
Zero is set to remove the noise in described image.
4. control method as described in claim 1, which is characterized in that the control method further include:
Judgment step, judges whether the current sensitivity is greater than or equal to sensitivity threshold value;
Enter the determining step when the sensitivity is greater than or equal to sensitivity threshold value;And
The sensitivity be less than sensitivity threshold value when, control the imaging device directly adopt phase focusing mode focus.
5. control method as claimed in claim 4, which is characterized in that further comprise the steps of:
User's input is received with the determination sensitivity threshold value.
6. control method as claimed in claim 4, which is characterized in that further comprise the steps of: the control imaging device and successively increase
The big sensitivity;
The imaging device is controlled under each sensitivity repeatedly to be focused using phase focal modes and record focusing
Number of success;And
The sensitivity threshold value is determined according to each sensitivity and the corresponding focusing number of success.
7. a kind of control device is focused for controlling imaging device using phase focusing mode, the imaging device includes
Imaging sensor, which is characterized in that the control device includes:
First determining module, first determining module be used for determine described image sensor correspond to current sensitivity noise put down
Equal brightness value;
Identification module, the identification module are used to identify the pre- of described image sensor output according to the noise average brightness value
Look at the noise of image;
Module is denoised, the denoising module is used to remove the noise in described image to obtain denoising image data;And
First control module, first control module are carried out for controlling the imaging device according to the denoising image data
Focusing;Wherein, first determining module includes:
Submodule is set, the submodule that sets is for setting the sensitivity of described image sensor as the current sensitivity;
Control submodule, the control submodule are imaged for controlling the imaging device under half-light environment to obtain half-light figure
Picture;
First identification submodule, the first identification submodule is for handling the half-light image to identify in the half-light image
The pixel that brightness value is greater than luminance threshold is half-light noise;And
Computational submodule, the computational submodule are used to calculate the noise average brightness according to the brightness value of the half-light noise
Value.
8. control device as claimed in claim 7, which is characterized in that the identification module includes:
Second identification submodule, the second identification submodule is for handling the preview image to identify in the preview image
The pixel that brightness value is greater than or equal to the noise average brightness value is the noise.
9. control device as claimed in claim 7, which is characterized in that the denoising module is used for by by the bright of the noise
Angle value is set to zero to remove the noise in described image.
10. control device as claimed in claim 7, which is characterized in that the control device further include:
Judgment module, the judgment module is for judging whether the current sensitivity is greater than or equal to sensitivity threshold value and in institute
First determining module is notified when stating sensitivity more than or equal to sensitivity threshold value, first determining module is for determining institute
State the noise average brightness value that imaging sensor corresponds to current sensitivity;And
Second control module, second control module be used for the sensitivity be less than sensitivity threshold value when, control it is described at
It focuses as device directlys adopt phase focusing mode.
11. control device as claimed in claim 10, which is characterized in that further include:
Receiving module, the receiving module is for receiving user's input with the determination sensitivity threshold value.
12. control device as claimed in claim 10, which is characterized in that further include: third control module, the third control
Module is sequentially increased the sensitivity for controlling the imaging device;
Logging modle, the logging modle under each sensitivity for controlling the imaging device using phase focusing mould
Formula is repeatedly focused and records focusing number of success;And
Second determining module, second determining module be used for according to each sensitivity and it is corresponding it is described focus it is successfully secondary
Number determines the sensitivity threshold value.
13. a kind of electronic device, which is characterized in that including the imaging device and as described in claim 7-12 any one
Control device.
14. electronic device as claimed in claim 13, which is characterized in that the electronic device includes mobile phone or tablet computer.
15. electronic device as claimed in claim 13, 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 |
---|---|---|---|
CN201610116269.5A CN105681672B (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 |
---|---|---|---|
CN201610116269.5A CN105681672B (en) | 2016-02-29 | 2016-02-29 | Control method, control device and electronic device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105681672A CN105681672A (en) | 2016-06-15 |
CN105681672B true CN105681672B (en) | 2018-12-04 |
Family
ID=56306404
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610116269.5A Expired - Fee Related CN105681672B (en) | 2016-02-29 | 2016-02-29 | Control method, control device and electronic device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105681672B (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH06165019A (en) * | 1992-11-20 | 1994-06-10 | Olympus Optical Co Ltd | Automatic focusing device |
WO2005099355A2 (en) * | 2004-04-14 | 2005-10-27 | Olympus Corporation | Imaging device and image processing program |
KR20110040465A (en) * | 2009-10-14 | 2011-04-20 | 삼성테크윈 주식회사 | Apparatus for detecting focus robust to low light noise and spot highlight |
CN102598649A (en) * | 2010-09-01 | 2012-07-18 | 松下电器产业株式会社 | Image processing device and image processing method |
CN105227805A (en) * | 2015-09-28 | 2016-01-06 | 广东欧珀移动通信有限公司 | A kind of image processing method and mobile terminal |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR101795604B1 (en) * | 2011-11-24 | 2017-11-09 | 삼성전자주식회사 | Auto focuse adjusting apparatus and controlling method thereof |
-
2016
- 2016-02-29 CN CN201610116269.5A patent/CN105681672B/en not_active Expired - Fee Related
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH06165019A (en) * | 1992-11-20 | 1994-06-10 | Olympus Optical Co Ltd | Automatic focusing device |
WO2005099355A2 (en) * | 2004-04-14 | 2005-10-27 | Olympus Corporation | Imaging device and image processing program |
KR20110040465A (en) * | 2009-10-14 | 2011-04-20 | 삼성테크윈 주식회사 | Apparatus for detecting focus robust to low light noise and spot highlight |
CN102598649A (en) * | 2010-09-01 | 2012-07-18 | 松下电器产业株式会社 | Image processing device and image processing method |
CN105227805A (en) * | 2015-09-28 | 2016-01-06 | 广东欧珀移动通信有限公司 | A kind of image processing method and mobile terminal |
Non-Patent Citations (1)
Title |
---|
数字图像自动调焦技术及其在低光照环境下的应用研究;徐新;《上海交通大学博士论文》;20121205;全文 * |
Also Published As
Publication number | Publication date |
---|---|
CN105681672A (en) | 2016-06-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109376667B (en) | Target detection method and device and electronic equipment | |
CN1909603B (en) | Image processing method and imaging apparatus | |
CN1825984B (en) | Information processing method and apparatus | |
CN103200361B (en) | Image signal processing apparatus | |
CN105554403B (en) | Control method, control device and electronic device | |
CN102891960B (en) | Method and camera for determining an image adjustment parameter | |
KR20110053348A (en) | System and method to generate depth data using edge detection | |
CN105359502B (en) | Follow-up mechanism, method for tracing and the non-volatile memory medium for storing tracing program | |
CN102959942B (en) | Image capture device for stereoscopic viewing-use and control method thereof | |
CN101646019B (en) | Image sensing apparatus and image capturing method | |
CN105100586A (en) | Detection device and detection method | |
JP2004502212A (en) | Red-eye correction by image processing | |
KR20190050516A (en) | Electronic device for processing image based on priority and method for operating thefeof | |
US11016177B2 (en) | Method for estimating object distance and electronic device | |
CN103004179A (en) | Tracking device, and tracking method | |
CN110490196A (en) | Subject detection method and apparatus, electronic equipment, computer readable storage medium | |
CN110677580B (en) | Shooting method, shooting device, storage medium and terminal | |
CN110490118A (en) | Image processing method and device | |
CN106412435A (en) | Focusing method and apparatus, and mobile terminal | |
CN105681672B (en) | Control method, control device and electronic device | |
US11159725B2 (en) | Image processing apparatus, image processing method, and recording medium | |
CN108401109A (en) | Image acquiring method, device, storage medium and electronic equipment | |
US10735660B2 (en) | Method and device for object identification | |
CN115022553B (en) | Dynamic control method and device for light supplement lamp | |
JP2000101924A (en) | Defect detection correction device in image input device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CP03 | Change of name, title or address |
Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Patentee after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. Address before: Changan town in Guangdong province Dongguan 523859 usha Beach Road No. 18 Patentee before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. |
|
CP03 | Change of name, title or address | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20181204 |
|
CF01 | Termination of patent right due to non-payment of annual fee |