CN105744116A - Detection method, control method, detection device, control device and electronic device - Google Patents

Detection method, control method, detection device, control device and electronic device Download PDF

Info

Publication number
CN105744116A
CN105744116A CN201610105209.3A CN201610105209A CN105744116A CN 105744116 A CN105744116 A CN 105744116A CN 201610105209 A CN201610105209 A CN 201610105209A CN 105744116 A CN105744116 A CN 105744116A
Authority
CN
China
Prior art keywords
sample image
brightness
brightness region
module
scene
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201610105209.3A
Other languages
Chinese (zh)
Inventor
吴磊
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201610105209.3A priority Critical patent/CN105744116A/en
Publication of CN105744116A publication Critical patent/CN105744116A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/14Picture signal circuitry for video frequency region
    • H04N5/147Scene change detection

Abstract

The invention discloses a detection method, which can be used for detecting whether a scene in a preview image output by an imaging device relatively moves. The detection method comprises the following steps: at first, extracting at least two frames of the preview images to serve as sample images; then, identifying high brightness areas in the two successive frames of sample images; and finally, judging whether the scene relatively moves according to the change of the high brightness areas of the two successive frames of sample images. By identifying the high brightness areas and comparing the change of the high brightness areas of the two successive frames of sample images, whether the scene relatively moves can be judged. Therefore, the identification and judgment accuracy is relatively high, and relatively good user experience can be provided. The invention further discloses a detection device, a control method, a control device and an electronic device.

Description

Detection method, control method, detecting device, control device and electronic installation
Technical field
The present invention relates to imaging field, be specifically related to a kind of detection method, control method, detecting device, control device and electronic installation
Background technology
When taking pictures, if the object in scene is at mobile or camera shake, then it is easily caused image blur.Therefore, whether the scene that can detect the preview image of camera moves parameter of taking pictures is adjusted.But, if under low luminous environment, preview image entirety is dark, it is not easy to the change of detection preview image.
Summary of the invention
It is contemplated that one of technical problem solved at least to a certain extent in correlation technique is this, the present invention proposes a kind of detection method.
Whether the scene that the detection method of embodiment of the present invention can be used for detecting in the preview image of imaging device output there is relative movement, comprising:
Sampling procedure, extracts preview image described at least two frames using as sample image;
Identification step, the high-brightness region in sample image described in two frames before and after identifying;And
Judging step, the change of the described high-brightness region of sample image according to the frame of front and back two judges whether described scene relative movement occurs.
Can determine whether whether scene relative movement occurs by identifying the change of high-brightness region the high-brightness region that compares front and back two frame sample image.So, identify and the accuracy of judgement is higher, experience to user preferably.Some problem of prior art can be solved.
In some embodiments, pixel the highest for brightness value in described sample image and region recognition about are described high-brightness region by described identification step.
In some embodiments, described pixel the highest for brightness value in described sample image and brightness value about are identified as described high-brightness region more than the described pixel of predetermined brightness value by described identification step.
In some embodiments, described judgement step includes:
First calculates sub-step, the displacement of high-brightness region described in the position calculation of the described high-brightness region of sample image according to the frame of front and back two;And
First judges sub-step, according to more than preset distance, whether displacement judges whether described scene relative movement occurs.
In some embodiments, described sampling procedure extracts preview image described at least two frames using as described sample image with predetermined time interval;
Described judgement step includes:
Second calculates sub-step, calculates the translational speed of described high-brightness region according to described displacement and described predetermined time interval;And
Second judges sub-step, according to more than predetermined speed, whether displacement judges whether described scene relative movement occurs.
In some embodiments, described detection method carries out described identification step and described judgement step under low light detection pattern, and described detection method also includes:
Obtain the pixel brightness contribution information of described sample image;And
Start or do not start described low light detection pattern according to described pixel brightness contribution information.
The present invention also provides for a kind of control method, is used for controlling imaging device exposure, and in some embodiments, control method can include the described detection method in above-mentioned embodiment;
Described control method is further comprising the steps of:
According to whether described scene occurs relative movement to regulate time of exposure.
In some embodiments, described sampling procedure extracts preview image described at least two frames using as described sample image with predetermined time interval;Described control method includes:
The displacement of high-brightness region described in the position calculation of the described high-brightness region of sample image according to the frame of front and back two;
The translational speed of described high-brightness region is calculated according to described displacement and described predetermined time interval;And
Described time of exposure is calculated according to described translational speed.
The present invention also provides for a kind of detecting device, and for detecting whether the scene in the preview image that imaging device exports relative movement occurs, in some embodiments, described detecting device includes:
Sampling module, for extracting preview image described at least two frames using as sample image;
Identification module, for identifying the high-brightness region in sample image described in the frame of front and back two;And
For the change of the described high-brightness region of sample image according to the frame of front and back two, judge module, judges whether described scene relative movement occurs.
In some embodiments, described identification module includes identifying submodule, and it is described high-brightness region that described identification submodule is used for pixel the highest for brightness value in described sample image and region recognition about.
In some embodiments, described identification submodule is for being identified as described high-brightness region by described pixel the highest for brightness value in described sample image and brightness value about more than the described pixel of predetermined brightness value.
In some embodiments, described judge module includes:
First calculating sub module, the displacement of high-brightness region described in the position calculation of the described high-brightness region of sample image according to the frame of front and back two;And
First judges submodule, for according to more than preset distance, whether displacement judges whether described scene relative movement occurs.
In some embodiments, described sampling module is for extracting preview image described at least two frames using as described sample image with predetermined time interval;
Described judge module includes the second calculating sub module and second and judges submodule;
Described second calculating sub module for calculating the translational speed of described high-brightness region according to described displacement and described predetermined time interval;And
Described second judges submodule is for according to more than predetermined speed, whether displacement judges whether described scene relative movement occurs.
In some embodiments, described detecting device carries out described identification module and described judge module under low light detection pattern, and described detecting device also includes:
Acquisition module, for obtaining the pixel brightness contribution information of described sample image;And
Control to start module, for starting or do not start described low light detection pattern according to described pixel brightness contribution information.
The present invention also provides for a kind of control device, is used for controlling imaging device exposure, in some embodiments, including the described detecting device in above-mentioned embodiment;
Described control device also includes adjustment module, and described adjustment module is for according to whether described scene occurs relative movement to regulate time of exposure.
In some embodiments, described sampling module is for extracting preview image described at least two frames using as described sample image with predetermined time interval;Described control device also includes:
First computing module, the displacement of high-brightness region described in the position calculation of the described high-brightness region of sample image according to the frame of front and back two;
Second computing module, for calculating the translational speed of described high-brightness region according to described displacement and described predetermined time interval;And
3rd computing module, for calculating described time of exposure according to described translational speed.
The present invention also provides for a kind of electronic installation, and it includes the control device described in imaging device and above-mentioned embodiment.
In some embodiments, described electronic installation includes mobile phone, panel computer or digital camera.
The additional aspect of the present invention and advantage will part provide in the following description, and part will become apparent from the description below, or is recognized by the practice of the present invention.
Accompanying drawing explanation
Above-mentioned and/or the additional aspect of the present invention and advantage are from conjunction with will be apparent from easy to understand the accompanying drawings below description to embodiment, wherein:
Fig. 1 is the schematic flow sheet of the detection method according to embodiment of the present invention.
Fig. 2 is the detecting device according to embodiment of the present invention, the high-level schematic functional block diagram controlling device and electronic installation.
Fig. 3 is the schematic diagram according to embodiment of the present invention preview image and sample image.
Fig. 4 is the schematic diagram of the front and back two frame sample image according to embodiment of the present invention.
Fig. 5 is the schematic flow sheet of the detection method according to embodiment of the present invention.
Fig. 6 is the high-level schematic functional block diagram of the detecting device according to embodiment of the present invention.
Fig. 7 is the schematic diagram of the front and back two frame sample image according to embodiment of the present invention.
Fig. 8 is the schematic flow sheet of the detection method according to embodiment of the present invention.
Fig. 9 is the schematic flow sheet of the detection method according to embodiment of the present invention.
Figure 10 is the high-level schematic functional block diagram of the detecting device according to embodiment of the present invention.
Figure 11 is the schematic flow sheet of the detection method according to embodiment of the present invention.
Figure 12 is the high-level schematic functional block diagram of the detecting device according to embodiment of the present invention.
Figure 13 is the schematic flow sheet of the detection method according to embodiment of the present invention.
Figure 14 is the high-level schematic functional block diagram of the detecting device according to embodiment of the present invention.
Figure 15 is the schematic flow sheet of the control method according to embodiment of the present invention.
Figure 16 is the high-level schematic functional block diagram controlling device according to embodiment of the present invention.
Figure 17 is the schematic flow sheet of the control method according to embodiment of the present invention.
Figure 18 is the high-level schematic functional block diagram controlling device according to embodiment of the present invention.
Detailed description of the invention
Below in conjunction with accompanying drawing, embodiments of the present invention are described further.In accompanying drawing, same or similar label represents same or similar element from start to finish or has the element of same or like function.
It addition, the embodiments of the present invention below in conjunction with accompanying drawing description are illustrative of, only it are used for explaining embodiments of the present invention, and are not considered as limiting the invention.
Referring to Fig. 1-4, the detection method of embodiment of the present invention, whether the scene that can be used for detecting in the preview image 210 of imaging device 200 output there is relative movement, and detection method can comprise the following steps that
S1, extracts at least two frame preview images 210 using as sample image 230;
S2, the high-brightness region 231 in two frame sample images 230 before and after identifying;And
According to the change of the high-brightness region 231 of front and back two frame sample image 230, S3, judges whether scene relative movement occurs.
Referring to Fig. 2, the detection method of embodiment of the present invention can be realized by the detecting device 110 of embodiment of the present invention.Detecting device 110 can include sampling module 111, identification module 113 and judge module 115.Wherein, step S2 can be realized by sampling module 111, and step S2 can be realized by identification module 113, and step S3 can be realized by judge module 115.Detection method can be applicable to embodiment of the present invention control method.Correspondingly, detecting device 110 can be applicable to embodiment of the present invention and controls device 100 and electronic installation 1000.
It is to say, sampling module 111 can be used for extracting at least two frame preview images 210 using as sample image 230;Identification module 113 can be used for identifying the high-brightness region 231 in the two frame sample images 230 of front and back;Judge module 115 can be used for the change of the high-brightness region 231 according to front and back two frame sample image 230 and judges whether scene relative movement occurs.
Wherein, the change of above-mentioned high-brightness region 231 can be the change in location of high-brightness region 231, it is also possible to be the change of the parameter of shape, size, colour temperature or brightness value etc..Such as, in some embodiments, in a later frame sample image 230 unidentified go out the high-brightness region 231 similar to the high-brightness region 231 in former frame sample image 230, then can determine that the form of high-brightness region 231 there occurs large change, or the scene domain out of sample image 230, therefore judge that scene there occurs relative movement.If have identified the high-brightness region 231 similar to the high-brightness region 231 in former frame sample image 230 in a later frame sample image 230, in the two frame sample images 230 of another step detection front and back, the distance of high-brightness region 231 is to judge whether scene there occurs relative movement.
Imaging device 200 in such as camera, can generate preview image 210 before taking pictures, and can give user's preview on the one hand, and whether the preview image 210 that can pass through to compare different frame on the other hand relative movement occurs with the scene detecting preview image 210.So-called generation relative movement, it is moved including object, the animal that such as moves, child etc., also include imaging device 200 self to be moved, cause that imaging device 200 self is shaken as held having light fingers of imaging device 200, these images being all easily caused shooting occur that dynamic slide mark obscures, and the photo " flower " that namely it has often been said falls.There is relative movement, be a relative concept, exceed certain amplitude when mobile, it is possible to influencing whether imaging effect, can determine that as there occurs relative movement;If mobile very small, the impact of imaging effect being difficult to by naked eyes identification, can determine that as not there is relative movement.
By detecting whether the scene of preview image 210 relative movement occurs, and take corresponding regulating measures, for instance adjust time of exposure according to the size of mobile range, can relatively alleviate or avoid this situation.
Refer to Fig. 4, but, under low luminous environment, such as night, the overall contrast of preview image 210 is relatively low, it is not easy to by identifying that object (such as face) judges whether scene relative movement occurs.Embodiment of the present invention solves this problem in a way.Owing to the brightness of the high-brightness region 231 in sample image 230 is apparently higher than other regions, therefore it is easier to identify.Can determine whether whether scene relative movement occurs by identifying the change of high-brightness region 231 high-brightness region 231 that compares front and back two frame sample image 230.So, identify and the accuracy of judgement is higher, experience to user preferably.
Referring to Fig. 5-7, in some embodiments, step S2 comprises the steps that
S201, is high-brightness region 231 by pixel 233 the highest for brightness value in sample image 230 and region recognition about.
Step S201 can be realized by the identification submodule 1131 of the identification module 113 of the detecting device 110 of some embodiment, namely identifies that submodule 1131 is used for pixel 233 the highest for brightness value in sample image 230 and region recognition about being high-brightness region 231.
Pixel 233 the highest for brightness value and peripheral region thereof are comparatively highlighted, is relatively easy to identification, so, contribute to providing the accuracy rate identifying and judging.
Referring to Fig. 8, in some embodiments, step S201 comprises the steps that
S2011, is identified as high-brightness region 231 by pixel 233 the highest for brightness value in sample image 230 and brightness value about more than the pixel of predetermined brightness value.
Seeing also Fig. 6-7, step S2011 can by identifying that submodule 1131 realizes.Namely identify that submodule 1131 is for identifying that pixel 233 that in sample image 230, brightness value is the highest and brightness value about are identified as high-brightness region 231 more than the pixel of predetermined brightness value
Being not generally possible to be a point due to the light source in sample image 230, but include a panel region of multiple pixel, the brightness value of this area pixel point is general higher.Therefore, a predetermined brightness value can be set, identify with the high-brightness region 231 by pixel 233 place the highest for brightness value.
Identify that high-brightness region 231 contributes to promoting the accuracy rate identified with the further accuracy promoting and judging.Such as, detection and the judgement of multiple condition can be carried out according to the size of high-brightness region 231 or shape, to ensure that the high-brightness region 231 recognized in front and back two frame sample image 230 is for same light source as far as possible.
Referring to Fig. 9-10, and consult Fig. 4 in the lump, in some embodiments, step S3 comprises the steps that
S301, the displacement according to the position calculation high-brightness region 231 of the high-brightness region 231 of front and back two frame sample image 230;And
S303, according to more than preset distance, whether displacement judges whether scene relative movement occurs.
Wherein, step S301 can be realized by the first calculating sub module 1151 of the judge module 115 of the detecting device 110 of some embodiment, by the first of judge module 115, step S303 can judge that submodule realizes.Namely the first calculating sub module 1151 is for the displacement of the position calculation high-brightness region 231 of the high-brightness region 231 according to front and back two frame sample image 230;First judges submodule is for according to more than preset distance, whether displacement judges whether scene relative movement occurs.If more than preset distance, it is judged that move for scene, if less than or equal to preset distance, it is judged that do not move for scene.
Being appreciated that contrast two frame sample images 230, if the position of high-brightness region 231 changes, the distance between its position can be considered the displacement of scene.Threshold value, i.e. a preset distance can be set, judge whether scene relative movement occurs.Follow-up can according to whether occur relative movement be adjusted to picture.
Referring to Figure 11-12, in some embodiments, sampling procedure extracts at least two frame preview images 210 using as sample image 230 with predetermined time interval;
Step S3 comprises the steps that
Step S305, calculates the translational speed of high-brightness region 231 according to displacement and predetermined time interval;And
Step S307, according to more than predetermined speed, whether displacement judges whether scene relative movement occurs.
Wherein, step S305 can be realized by the second calculating sub module 1153 of the judge module 115 of the detecting device 110 of some embodiment, by the second of judge module 115, S307 judges that submodule 1157 realizes.Namely the second calculating sub module 1153 for calculating the translational speed of high-brightness region 231 according to displacement and predetermined time interval;Second judges submodule 1157 is for according to more than predetermined speed, whether displacement judges whether scene relative movement occurs.Such as, if displacement is more than predetermined speed, namely judge that scene there occurs relative movement, if less than or equal to predetermined speed, then judge that relative movement does not occur scene.
Whether scene is moved, in other words the severe degree of scene changes, except relevant with the displacement of object in sample image 230, also relevant with the interval of sample drawn image 230.It is appreciated that, such as, if the interval of front and back two frame sample image 230 is very long, even if the displacement of object is bigger in two frame sample images 230, it could also be possible that the slowly moving accumulation of object forms big displacement, now should not be judged as that scene there occurs relative movement.
Therefore, in present embodiment, displacement according to high-brightness region 231 and the predetermined time interval of two frame sample images 230 try to achieve the translational speed of high-brightness region 231, translational speed more can reflect the severe degree of scene changes, speed degree in other words, so, can judge whether scene relative movement occurs more accurately.
Referring to Figure 13-14, in some embodiments, detection method carries out step S2 and step S3 under low light detection pattern, and detection method also includes:
S4, obtains the pixel brightness contribution information of sample image 230;And
S5, starts or does not start low light detection pattern according to pixel brightness contribution information.
Wherein, step S4 can be realized by the acquisition module 117 of the detecting device 110 of some embodiment, and step S5 can be started module 119 by the control of detecting device 110 and realize.Namely acquisition module 117 is for obtaining the pixel brightness contribution information of sample image 230;Control to start module 119 for starting or do not start low light detection pattern according to pixel brightness contribution information.
The detection method of embodiment of the present invention and detecting device 110 need to identify the high-brightness region 231 in sample image 230, preferably are applied to the specific environments such as low luminous environment.Therefore, the pixel brightness contribution information of sample image 230 can first be analyzed in the way of judging whether luminous environment is suitable for taking the detection method of embodiment of the present invention and the identification high-brightness region 231 of detecting device 110 and detects its change in location instantly.Namely start according to pixel brightness contribution information or do not start low light detection pattern, under low light detection pattern, adopting the detection method of embodiment of the present invention.May be used without other detection methods in other circumstances, as identified face and detecting the change in location etc. of face.
So, the method in embodiment of the present invention and device can be made to be applied to the luminous environment being suitable for, thus promoting the accuracy identifying and judging.
Refer to Figure 15 and Figure 16, the control method of embodiment of the present invention, can be used for controlling imaging device 200 and expose, it may include the detection method in above-mentioned embodiment;
Control method may also include that
S6, according to whether scene occurs relative movement to regulate time of exposure.
Wherein, control method can be realized by the control device 100 of embodiment of the present invention, and step S6 can be realized by the adjustment module 130 controlling device 100.Namely adjustment module 130 is for according to whether scene occurs relative movement to regulate time of exposure.
If judging, scene there occurs relative movement, illustrates that scene is in more violent motion, can shorten time of exposure, to reduce or to avoid so dynamic slide mark occurs in the image generated as far as possible, so that image is apparent.If judging there is not relative movement in scene, and scene relatively placidity is described, can directly shoot, even can proper extension time of exposure with shooting.
That is, the step S3 in the detection method of embodiment of the present invention can be first passed through and judge that need to be made without exposure regulates, if desired, then can enter the step S6 of the control method of present embodiment, it is controlled with the amplitude further time of exposure regulated, and completes exposure adjustment.If being made without exposure to regulate, then need not enter step S6.
So, definition and the image quality of the image shot can be promoted.
Referring to Figure 16-17, in some embodiments, step S1 extracts at least two frame preview images 210 using as sample image 230 with predetermined time interval;Control method comprises the steps that
S7, the displacement according to the position calculation high-brightness region 231 of the high-brightness region 231 of front and back two frame sample image 230;
S8, calculates the translational speed of high-brightness region 231 according to displacement and predetermined time interval;And
S9, calculates time of exposure according to translational speed.
Wherein, step S7 can be realized by first computing module 150 controlling device 100 of some embodiment, and step S8 can be realized by the second computing module 170 controlling device 100, and step S9 can be realized by the 3rd computing module 190 controlling device 100.
It is to say, time of exposure can regulate according to the size of the severe degree of scene changes, and the translational speed of high-brightness region 231 can embody the severe degree of scene changes.If translational speed is very fast, time of exposure can be adjusted shorter minimizing image blurring, if translational speed is relatively slow, then not need to adjust so short by time of exposure.In a word, the speed of translational speed and the length of time of exposure can be the corresponding relation of certain negative correlation.
The step S3 in the detection method of embodiment of the present invention can be first passed through and judge that need to be made without exposure regulates, if desired, then can enter the step S7 of control method, S8 and S9 of present embodiment, be controlled with the amplitude further time of exposure regulated, and complete exposure adjustment.If being made without exposure to regulate, then need not enter step S7, S8 and S9.
So, time of exposure can be regulated for different scene situation of movement, to promote image quality, improve and control device 100 and electronic installation 1000 to the fitness of different situations or environment and intelligence degree, improve Consumer's Experience.
Refer to Fig. 2, the electronic installation 1000 of embodiment of the present invention, it may include the control device 100 of the above-mentioned embodiment of imaging device 200.
In some embodiments, electronic installation 1000 can be mobile phone, panel computer or digital camera.
The other parts that the control device 100 of embodiment of the present invention, electronic installation 1000 are not deployed, can join the detecting device 110 of embodiment of above or the corresponding part of detection method, no longer be developed in details at this.
In describing the invention, it will be appreciated that, term " " center ", " longitudinal direction ", " transverse direction ", " length ", " width ", " thickness ", " on ", D score, " front ", " afterwards ", " left side ", " right side ", " vertically ", " level ", " top ", " end " " interior ", " outward ", " clockwise ", " counterclockwise ", " axially ", " radially ", orientation or the position relationship of the instruction such as " circumference " are based on orientation shown in the drawings or position relationship, it is for only for ease of the description present invention and simplifies description, rather than the device of instruction or hint indication or element must have specific orientation, with specific azimuth configuration and operation, therefore it is not considered as limiting the invention.
Additionally, term " first ", " second " are only for descriptive purposes, and it is not intended that indicate or imply relative importance or the implicit quantity indicating indicated technical characteristic.Thus, define " first ", the feature of " second " can express or implicitly include one or more these features.In describing the invention, " multiple " are meant that two or more, unless otherwise expressly limited specifically.
In the present invention, unless otherwise clearly defined and limited, the term such as term " installation ", " being connected ", " connection ", " fixing " should be interpreted broadly, for instance, it is possible to it is fixing connection, it is also possible to be removably connect, or integral;Can be mechanically connected, it is also possible to be electrical connection;Can be joined directly together, it is also possible to be indirectly connected to by intermediary, it is possible to be connection or the interaction relationship of two elements of two element internals.For the ordinary skill in the art, it is possible to understand above-mentioned term concrete meaning in the present invention as the case may be.
In the present invention, unless otherwise clearly defined and limited, fisrt feature second feature " on " or D score can be that the first and second features directly contact, or the first and second features are by intermediary mediate contact.And, fisrt feature second feature " on ", " top " and " above " but fisrt feature directly over second feature or oblique upper, or be merely representative of fisrt feature level height higher than second feature.Fisrt feature second feature " under ", " lower section " and " below " can be fisrt feature immediately below second feature or obliquely downward, or be merely representative of fisrt feature level height less than second feature.
In the description of this specification, specific features, structure, material or feature that the description of reference term " embodiment ", " some embodiments ", " example ", " concrete example " or " some examples " etc. means in conjunction with this embodiment or example describe are contained at least one embodiment or the example of the present invention.In this manual, the schematic representation of above-mentioned term is necessarily directed to identical embodiment or example.And, the specific features of description, structure, material or feature can combine in one or more embodiments in office or example in an appropriate manner.Additionally, when not conflicting, the feature of the different embodiments described in this specification or example and different embodiment or example can be carried out combining and combining by those skilled in the art.
Although above it has been shown and described that embodiments of the invention, it is understandable that, above-described embodiment is illustrative of, it is impossible to be interpreted as limitation of the present invention, and above-described embodiment can be changed, revises, replace and modification by those of ordinary skill in the art within the scope of the invention.

Claims (18)

1. a detection method, for detecting whether the scene in the preview image that imaging device exports relative movement occurs, it is characterised in that described detection method includes:
Sampling procedure, extracts preview image described at least two frames using as sample image;
Identification step, the high-brightness region in sample image described in two frames before and after identifying;And
Judging step, the change of the described high-brightness region of sample image according to the frame of front and back two judges whether described scene relative movement occurs.
2. detection method as claimed in claim 1, it is characterised in that pixel the highest for brightness value in described sample image and region recognition about are described high-brightness region by described identification step.
3. detection method as claimed in claim 2, it is characterised in that described pixel the highest for brightness value in described sample image and brightness value about are identified as described high-brightness region more than the described pixel of predetermined brightness value by described identification step.
4. detection method as claimed in claim 1, it is characterised in that described judgement step includes:
First calculates sub-step, the displacement of high-brightness region described in the position calculation of the described high-brightness region of sample image according to the frame of front and back two;And
First judges sub-step, according to more than preset distance, whether displacement judges whether described scene relative movement occurs.
5. detection method as claimed in claim 4, it is characterised in that described sampling procedure extracts preview image described at least two frames using as described sample image with predetermined time interval;
Described judgement step includes:
Second calculates sub-step, calculates the translational speed of described high-brightness region according to described displacement and described predetermined time interval;And
Second judges sub-step, according to more than predetermined speed, whether displacement judges whether described scene relative movement occurs.
6. detection method as claimed in claim 1, it is characterised in that described detection method carries out described identification step and described judgement step under low light detection pattern, and described detection method also includes:
Obtain the pixel brightness contribution information of described sample image;And
Start or do not start described low light detection pattern according to described pixel brightness contribution information.
7. a control method, is used for controlling imaging device exposure, it is characterised in that include the described detection method of claim 1-6 any one;
Described control method also includes:
According to whether described scene occurs relative movement to regulate time of exposure.
8. control method as claimed in claim 7, it is characterised in that described sampling procedure extracts preview image described at least two frames using as described sample image with predetermined time interval;Described control method includes:
The displacement of high-brightness region described in the position calculation of the described high-brightness region of sample image according to the frame of front and back two;
The translational speed of described high-brightness region is calculated according to described displacement and described predetermined time interval;And
Described time of exposure is calculated according to described translational speed.
9. a detecting device, for detecting whether the scene in the preview image that imaging device exports relative movement occurs, it is characterised in that described detecting device includes:
Sampling module, for extracting preview image described at least two frames using as sample image;
Identification module, for identifying the high-brightness region in sample image described in the frame of front and back two;And
For the change of the described high-brightness region of sample image according to the frame of front and back two, judge module, judges whether described scene relative movement occurs.
10. detecting device as claimed in claim 9, it is characterised in that described identification module includes identifying submodule, and it is described high-brightness region that described identification submodule is used for pixel the highest for brightness value in described sample image and region recognition about.
11. detecting device as claimed in claim 10, it is characterised in that described identification submodule is for being identified as described high-brightness region by described pixel the highest for brightness value in described sample image and brightness value about more than the described pixel of predetermined brightness value.
12. detecting device as claimed in claim 9, it is characterised in that described judge module includes:
First calculating sub module, the displacement of high-brightness region described in the position calculation of the described high-brightness region of sample image according to the frame of front and back two;And
First judges submodule, for according to more than preset distance, whether displacement judges whether described scene relative movement occurs.
13. detecting device as claimed in claim 12, it is characterised in that described sampling module is for extracting preview image described at least two frames using as described sample image with predetermined time interval;
Described judge module includes the second calculating sub module and second and judges submodule;
Described second calculating sub module for calculating the translational speed of described high-brightness region according to described displacement and described predetermined time interval;And
Described second judges submodule is for according to more than predetermined speed, whether displacement judges whether described scene relative movement occurs.
14. detecting device as claimed in claim 9, it is characterised in that described detecting device carries out described identification module and described judge module under low light detection pattern, and described detecting device also includes:
Acquisition module, for obtaining the pixel brightness contribution information of described sample image;And
Control to start module, for starting or do not start described low light detection pattern according to described pixel brightness contribution information.
15. control a device, it is used for controlling imaging device exposure, it is characterised in that include the described detecting device of claim 9-14 any one;
Described control device also includes adjustment module, and described adjustment module is for according to whether described scene occurs relative movement to regulate time of exposure.
16. control device as claimed in claim 15, it is characterised in that described sampling module is for extracting preview image described at least two frames using as described sample image with predetermined time interval;Described control device also includes:
First computing module, the displacement of high-brightness region described in the position calculation of the described high-brightness region of sample image according to the frame of front and back two;
Second computing module, for calculating the translational speed of described high-brightness region according to described displacement and described predetermined time interval;And
3rd computing module, for calculating described time of exposure according to described translational speed.
17. an electronic installation, it is characterised in that include imaging device and the control device as described in claim 15-16 any one.
18. electronic installation as claimed in claim 17, it is characterised in that described electronic installation includes mobile phone, panel computer or digital camera.
CN201610105209.3A 2016-02-25 2016-02-25 Detection method, control method, detection device, control device and electronic device Pending CN105744116A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610105209.3A CN105744116A (en) 2016-02-25 2016-02-25 Detection method, control method, detection device, control device and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610105209.3A CN105744116A (en) 2016-02-25 2016-02-25 Detection method, control method, detection device, control device and electronic device

Publications (1)

Publication Number Publication Date
CN105744116A true CN105744116A (en) 2016-07-06

Family

ID=56249428

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610105209.3A Pending CN105744116A (en) 2016-02-25 2016-02-25 Detection method, control method, detection device, control device and electronic device

Country Status (1)

Country Link
CN (1) CN105744116A (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106778699A (en) * 2017-01-20 2017-05-31 贵州财经大学 The door of face identification system and application face identification system
CN107026978A (en) * 2017-04-14 2017-08-08 珠海市魅族科技有限公司 IMAQ control method and device
CN107071231A (en) * 2017-04-14 2017-08-18 珠海市魅族科技有限公司 Image change recognition methods and device
CN107124556A (en) * 2017-05-31 2017-09-01 广东欧珀移动通信有限公司 Focusing method, device, computer-readable recording medium and mobile terminal
CN107147823A (en) * 2017-05-31 2017-09-08 广东欧珀移动通信有限公司 Exposure method, device, computer-readable recording medium and mobile terminal
CN107273779A (en) * 2017-06-12 2017-10-20 广州川鸿电子有限公司 A kind of bar code image recognition methods, system and device
CN107274434A (en) * 2017-07-14 2017-10-20 浙江大华技术股份有限公司 Detection method and detection means that a kind of target object is moved by a small margin
CN109324350A (en) * 2017-07-31 2019-02-12 精工爱普生株式会社 Electronic component handling apparatus and electronic component inspection device
WO2019071623A1 (en) * 2017-10-14 2019-04-18 华为技术有限公司 Method for capturing images and electronic device
CN110493524A (en) * 2019-08-28 2019-11-22 深圳市道通智能航空技术有限公司 A kind of survey light method of adjustment, device, equipment and storage medium
CN111314611A (en) * 2020-02-26 2020-06-19 浙江大华技术股份有限公司 Shooting method and device for multiple moving objects

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040239779A1 (en) * 2003-05-29 2004-12-02 Koichi Washisu Image processing apparatus, image taking apparatus and program
CN1863273A (en) * 2005-05-13 2006-11-15 三洋电机株式会社 Image signal processing unit, image pickup device including the same, and image signal processing method
CN101031033A (en) * 2006-03-03 2007-09-05 奥林巴斯映像株式会社 Imaging apparatus and imaging method
CN101052098A (en) * 2006-04-06 2007-10-10 华邦电子股份有限公司 Method and camera for reducing image blurring
CN101150665A (en) * 2006-09-20 2008-03-26 富士通株式会社 Image capturing device having a hand shake correction function and hand shake correction method
CN101346987A (en) * 2005-10-25 2009-01-14 卓然公司 Camera exposure optimization techniques that take camera and scene motion into account
JP2012010133A (en) * 2010-06-25 2012-01-12 Nikon Corp Image processing apparatus and image processing program
CN104270565A (en) * 2014-08-29 2015-01-07 小米科技有限责任公司 Image shooting method and device and equipment
WO2016009699A1 (en) * 2014-07-16 2016-01-21 富士フイルム株式会社 Image processing device, image capturing apparatus, image processing method, and program

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040239779A1 (en) * 2003-05-29 2004-12-02 Koichi Washisu Image processing apparatus, image taking apparatus and program
CN1863273A (en) * 2005-05-13 2006-11-15 三洋电机株式会社 Image signal processing unit, image pickup device including the same, and image signal processing method
CN101346987A (en) * 2005-10-25 2009-01-14 卓然公司 Camera exposure optimization techniques that take camera and scene motion into account
CN101031033A (en) * 2006-03-03 2007-09-05 奥林巴斯映像株式会社 Imaging apparatus and imaging method
CN101052098A (en) * 2006-04-06 2007-10-10 华邦电子股份有限公司 Method and camera for reducing image blurring
CN101150665A (en) * 2006-09-20 2008-03-26 富士通株式会社 Image capturing device having a hand shake correction function and hand shake correction method
JP2012010133A (en) * 2010-06-25 2012-01-12 Nikon Corp Image processing apparatus and image processing program
WO2016009699A1 (en) * 2014-07-16 2016-01-21 富士フイルム株式会社 Image processing device, image capturing apparatus, image processing method, and program
CN104270565A (en) * 2014-08-29 2015-01-07 小米科技有限责任公司 Image shooting method and device and equipment

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106778699A (en) * 2017-01-20 2017-05-31 贵州财经大学 The door of face identification system and application face identification system
CN107026978A (en) * 2017-04-14 2017-08-08 珠海市魅族科技有限公司 IMAQ control method and device
CN107071231A (en) * 2017-04-14 2017-08-18 珠海市魅族科技有限公司 Image change recognition methods and device
CN107124556B (en) * 2017-05-31 2021-03-02 Oppo广东移动通信有限公司 Focusing method, focusing device, computer readable storage medium and mobile terminal
CN107124556A (en) * 2017-05-31 2017-09-01 广东欧珀移动通信有限公司 Focusing method, device, computer-readable recording medium and mobile terminal
CN107147823A (en) * 2017-05-31 2017-09-08 广东欧珀移动通信有限公司 Exposure method, device, computer-readable recording medium and mobile terminal
WO2018219267A1 (en) * 2017-05-31 2018-12-06 Oppo广东移动通信有限公司 Exposure method and device, computer-readable storage medium, and mobile terminal
CN107273779A (en) * 2017-06-12 2017-10-20 广州川鸿电子有限公司 A kind of bar code image recognition methods, system and device
CN107274434A (en) * 2017-07-14 2017-10-20 浙江大华技术股份有限公司 Detection method and detection means that a kind of target object is moved by a small margin
CN109324350B (en) * 2017-07-31 2020-10-09 精工爱普生株式会社 Electronic component conveying device and electronic component inspection device
CN109324350A (en) * 2017-07-31 2019-02-12 精工爱普生株式会社 Electronic component handling apparatus and electronic component inspection device
WO2019071623A1 (en) * 2017-10-14 2019-04-18 华为技术有限公司 Method for capturing images and electronic device
CN110493524A (en) * 2019-08-28 2019-11-22 深圳市道通智能航空技术有限公司 A kind of survey light method of adjustment, device, equipment and storage medium
CN111314611A (en) * 2020-02-26 2020-06-19 浙江大华技术股份有限公司 Shooting method and device for multiple moving objects

Similar Documents

Publication Publication Date Title
CN105744116A (en) Detection method, control method, detection device, control device and electronic device
US7983550B2 (en) Focus adjusting apparatus, camera including the same, and method for adjusting focus of optical system
CN106954007B (en) Image pickup apparatus and image pickup method
KR100890949B1 (en) Electronic device and method in an electronic device for processing image data
CN109194877B (en) Image compensation method and apparatus, computer-readable storage medium, and electronic device
EP3618422B1 (en) Method and apparatus for calculating brightness value of region of interest
JP6184189B2 (en) SUBJECT DETECTING DEVICE AND ITS CONTROL METHOD, IMAGING DEVICE, SUBJECT DETECTING DEVICE CONTROL PROGRAM, AND STORAGE MEDIUM
CN105681626A (en) Detection method, control method, detection device, control device and electronic device
CN108737718B (en) Shooting method and device and intelligent equipment
JP6671994B2 (en) Imaging device and control method therefor, program, storage medium
US7925152B2 (en) Exposure control method
US20070098383A1 (en) Motion blur reduction and compensation
WO2018018929A1 (en) Method and device for compensating vignette of image, and terminal device
JP2011244046A (en) Imaging apparatus, image processing method, and program storage medium
KR20100134085A (en) Systems and methods to increase speed of object detection in a digital image
US20120300035A1 (en) Electronic camera
US20170318224A1 (en) Image stabilization apparatus, its control method, image capturing apparatus, and storage medium
US20190028678A1 (en) Screen, projection system and focusing method
US20140029806A1 (en) Object searching apparatus, object searching method and computer-readable recording medium
JP2007133301A (en) Autofocus camera
CN105721787A (en) Method and device for adjusting local region exposure, and mobile terminal
JP2009157130A (en) Electronic camera
CN106657758A (en) Photographing method, photographing device and terminal equipment
JP2013205675A (en) Imaging apparatus
US11575841B2 (en) Information processing apparatus, imaging apparatus, method, and storage medium

Legal Events

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

Application publication date: 20160706