CN107181914A - Stabilization stroke adjustment method and apparatus, mobile device and computer-readable storage medium - Google Patents
Stabilization stroke adjustment method and apparatus, mobile device and computer-readable storage medium Download PDFInfo
- Publication number
- CN107181914A CN107181914A CN201710401501.4A CN201710401501A CN107181914A CN 107181914 A CN107181914 A CN 107181914A CN 201710401501 A CN201710401501 A CN 201710401501A CN 107181914 A CN107181914 A CN 107181914A
- Authority
- CN
- China
- Prior art keywords
- camera lens
- stabilization
- stroke
- jitter
- regulating command
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/60—Control of cameras or camera modules
- H04N23/68—Control of cameras or camera modules for stable pick-up of the scene, e.g. compensating for camera body vibrations
- H04N23/681—Motion detection
-
- 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/68—Control of cameras or camera modules for stable pick-up of the scene, e.g. compensating for camera body vibrations
- H04N23/682—Vibration or motion blur correction
- H04N23/685—Vibration or motion blur correction performed by mechanical compensation
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Studio Devices (AREA)
- Adjustment Of Camera Lenses (AREA)
Abstract
The present invention relates to a kind of stabilization stroke adjustment method and apparatus, mobile device and computer-readable recording medium.Methods described includes:Detect the jitter direction of mobile device;Regulating command is generated according to the jitter direction;Camera lens is controlled along identical with the jitter direction or move with opposite direction according to the regulating command, to increase removable stroke of the camera lens when taking pictures.Above-mentioned stabilization stroke adjustment method and apparatus, mobile device and computer-readable recording medium, detect the jitter direction of mobile device, generate regulating command, camera lens is controlled to be moved along the direction identical or opposite with jitter direction according to regulating command, to increase removable stroke of the camera lens when taking pictures, stabilization effect is improved.
Description
Technical field
The present invention relates to equipment control field, more particularly to a kind of stabilization stroke adjustment method and apparatus, mobile device
And computer-readable recording medium.
Background technology
Photography has turned into the part during people live, and user can use the equipment with camera function to clap whenever and wherever possible
Take the photograph the picture for wanting shooting.In order to prevent in shooting process, the problem of causing the image blur shot because of shake, traditional stabilization
Mode is to add anti-shake apparatus in a device, and small movement is carried out come to shake by the motor control camera lens of anti-shake apparatus
Compensate so that light path keeps stable.However, the stabilization effect of traditional stabilization mode is poor.
The content of the invention
The embodiment of the present invention provides a kind of stabilization stroke adjustment method and apparatus, mobile device and computer-readable storage medium
Matter, can improve stabilization effect.
A kind of stabilization stroke adjustment method, including:
Detect the jitter direction of mobile device;
Regulating command is generated according to the jitter direction;
Camera lens is controlled along identical with the jitter direction or move with opposite direction according to the regulating command, to increase
Big removable stroke of the camera lens when taking pictures stabilization.
A kind of stabilization stroke adjusting device, including:
Angle detecting module, the jitter direction for detecting mobile device;
Directive generation module, for generating regulating command according to the jitter direction;
Mobile module, for according to the regulating command control camera lens along it is identical with the jitter direction or with it is opposite
Direction is moved, to increase removable stroke of the camera lens when taking pictures stabilization.
A kind of mobile device, including memory, processor and storage are on a memory and the meter that can run on a processor
Calculation machine program, realizes described stabilization stroke adjustment method during the computing device described program.
A kind of computer-readable recording medium, is stored thereon with computer program, and the program is realized when being executed by processor
Described stabilization stroke adjustment method.
Stabilization stroke adjustment method and apparatus, mobile device and the computer-readable recording medium of the present invention, detects shifting
The jitter direction of dynamic equipment, generates regulating command, and camera lens is controlled along identical with jitter direction or opposite according to regulating command
Direction is moved, and to increase removable stroke of the camera lens when taking pictures stabilization, improves stabilization effect.
Brief description of the drawings
Fig. 1 is the flow chart of stabilization stroke adjustment method in one embodiment;
Fig. 2 is the flow chart of stabilization stroke adjustment method in another embodiment;
Fig. 3 is the flow chart of stabilization stroke adjustment method in another embodiment;
Fig. 4 is camera lens movement schematic diagram in one embodiment;
Fig. 5 is the structured flowchart of stabilization stroke adjusting device in one embodiment;
Fig. 6 is the block diagram of the part-structure of the mobile phone related to computer equipment provided in an embodiment of the present invention.
Embodiment
In order to make the purpose , technical scheme and advantage of the present invention be clearer, it is right below in conjunction with drawings and Examples
The present invention is further elaborated.It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, and
It is not used in the restriction present invention.
Fig. 1 is the flow chart of stabilization stroke adjustment method in one embodiment.As shown in figure 1, a kind of stabilization stroke adjustment
Method, including step 102 is to step 106.Wherein:
Step 102, the jitter direction of mobile device is detected.
Mobile device can be the equipment with shoot function.The mobile device can set for mobile phone, tablet personal computer, Wearable
Standby, personal digital assistant etc..Mobile device is placed on support or can produce certain shake when user shoots on hand.It can lead to
The gyroscope crossed in mobile device detects the jitter direction of mobile device.Specifically, it can detect that mobile device exists by gyroscope
Acceleration on XYZ axles, the jitter direction is determined according to the increased direction of the acceleration.Can be by the increased direction of acceleration
It is used as jitter direction.
For example, it is 0 that gyroscope, which detects initial acceleration of the mobile device on XYZ axles, and when shaking, detection
It is 0 to acceleration of the mobile device on XY axles, the acceleration on Z axis is 3, then regard Z-direction as jitter direction.
In one embodiment, can by mobile device to multiple images of picture photographing to be captured, calculate it is continuous multiple
Offset between image, jitter direction is calculated according to offset.
Step 104, regulating command is generated according to the jitter direction.
Specifically, the regulating command of generation can control camera lens along the finger moved with jitter direction identical direction for acquiescence
Order, or the instruction that control camera lens is moved.
Step 106, according to the regulating command control camera lens along it is identical with the jitter direction or with opposite direction
It is mobile, to increase removable stroke of the camera lens when taking pictures stabilization.
Camera lens is the Optical devices being made up of lens in the image collecting device of mobile device, on an imaging sensor
Imaging.Camera lens transportable distance in approximately the same plane when the removable stroke of camera lens stabilization refers to take pictures.Camera lens stabilization
Removable stroke be stabilization stroke, refer to camera lens transportable distance above and below, on left and right plane.
Control camera lens along it is identical with jitter direction can be the direction convergent with jitter direction, i.e., do not limited with jitter direction
In completely the same.Opposite with jitter direction can be the convergent direction with jitter direction opposite direction, i.e., opposite with jitter direction
Direction is not limited to completely the same.
During taking pictures by control anti-shake apparatus motor so that camera lens move can to shake compensate, make
Obtain light path and keep stable, the removable stroke of camera lens is bigger, and the space that jitter compensation is carried out when taking pictures is bigger, and stabilization effect is got over
It is good.
Above-mentioned stabilization stroke adjustment method, detects the jitter direction of mobile device, generates regulating command, is referred to according to regulation
Order control camera lens is moved along the direction identical or opposite with jitter direction, to increase removable stroke of the camera lens when taking pictures,
Improve stabilization effect.
In one embodiment, it is described according to the regulating command control camera lens along it is identical with the jitter direction or with
Opposite direction movement, is included with increasing removable stroke of the camera lens when taking pictures:
Camera lens is controlled to be moved along with the jitter direction identical direction according to the regulating command;
Whether increase, if so, then continuing to control the camera lens to tremble along with described if judging the removable stroke of the camera lens
Dynamic direction identical direction movement, if it is not, then controlling the camera lens to be moved along the direction opposite with the jitter direction.
Camera lens is being controlled along after being moved with jitter direction identical direction according to regulating command, the removable of camera lens is obtained
Stroke, by the removable stroke ratio of the preceding camera lens of the removable stroke of mobile rear lens and movement compared with if mobile rear lens is removable
Dynamic stroke is more than the removable stroke of mobile preceding camera lens, then shows that the removable stroke of camera lens is added, if mobile rear lens
Removable stroke is less than the removable stroke of mobile preceding camera lens, then shows that the removable stroke of camera lens is reduced, then moving direction
Mistake, stops movement, and control camera lens to be moved along the direction opposite with jitter direction.
The removable stroke of camera lens can be detected by range sensor.
By controlling camera lens first to be moved to jitter direction identical direction, reduce if detecting removable stroke, in time
Camera lens is controlled to be moved to the opposite direction of jitter direction, it is ensured that the removable stroke of increase camera lens, to ensure to improve stabilization effect.
In one embodiment, it is described according to the regulating command control camera lens along it is identical with the jitter direction or with
Opposite direction movement, is included with increasing removable stroke of the camera lens when taking pictures:Mirror is controlled according to the regulating command
Head along identical with the jitter direction or with opposite direction move pre-determined distance, with increase the camera lens when taking pictures can
Shift motion.
Specifically, pre-determined distance can be distance set in advance.It is moveable most that the pre-determined distance is less than or equal to camera lens
Big distance.What the concrete structure that the moveable ultimate range of camera lens is limited to image collecting device in mobile device was formed is available for
Spatial dimension of lens movable etc..The camera lens of mobile device would generally be moved on optical axis, that is, in a space dimension
Moved on degree.The controllable distance moved every time, is controlled more accurate.
In one embodiment, it is described according to the regulating command control camera lens along it is identical with the jitter direction or with
Opposite direction movement, is included with increasing removable stroke of the camera lens when taking pictures:Mirror is controlled according to the regulating command
Head is along identical with the jitter direction or moved according to default amplification with opposite direction, to increase the camera lens when taking pictures
Removable stroke.
Specifically, default amplification can be default increased amplitude, such as 5%, 10%.Default amplification is alternatively shake
The ratio value of amplitude.Jitter amplitude refers to the amplitude shaken, and can be obtained by acceleration amplification.Acceleration amplification can pass through
Acceleration value added and the ratio of the acceleration before increase are worth to.
It can be to be moved according to the default amplification of current removable stroke to be moved according to default amplification, or removable according to camera lens
The default amplification movement of dynamic ultimate range.Current removable stroke refers to removable stroke of the camera lens every time before movement.
Pass through the default amplification of setting, the movement of control camera lens that can be finer.
Fig. 2 is the flow chart of stabilization stroke adjustment method in another embodiment.As shown in Fig. 2 in one embodiment,
A kind of stabilization stroke adjustment method, in addition to step 202 is to step 206.Wherein:
Step 202, when taking pictures preview, the jitter direction of mobile device is detected in real time.
Preview of taking pictures catches the situation of picture before referring to take pictures.Mobile device can be detected in XYZ in real time by gyroscope
Acceleration on axle, the jitter direction is determined according to the increased direction of the acceleration.The increased direction of acceleration can be made
For jitter direction.
Step 204, regulating command is generated according to the jitter direction.
Step 206, in real time according to the regulating command control camera lens along it is identical with the jitter direction or with it is opposite
Direction is moved, to increase removable stroke of the camera lens when taking pictures.
In order to ensure in real time adjustment can move into place every time, the frequency detected in real time can be heightened, move every time away from
From turning down.The frequency detected in real time is more than predeterminated frequency.Displacement is less than distance to a declared goal.
Above-mentioned regulation stabilization stroke adjustment method, detects the jitter direction of mobile device, regulating command is generated, according to tune
Section instruction control camera lens is moved along the direction identical or opposite with jitter direction, to increase removable row of the camera lens when taking pictures
Journey, improves stabilization effect.
In one embodiment, step 206 may include:According to the regulating command control camera lens along with the shake side
To identical or with opposite direction move pre-determined distance, to increase removable stroke of the camera lens when taking pictures.This it is default away from
It is smaller from what can be set, to ensure that position can be quickly moved to every time.
Fig. 3 be another embodiment in stabilization stroke adjustment method flow chart.As shown in figure 3, a kind of stabilization stroke
Adjusting method also includes:
Step 302, the jitter direction of mobile device when receiving photographing instruction is detected.
Preview of taking pictures catches the situation of picture before referring to take pictures.Mobile device can be detected in XYZ in real time by gyroscope
Acceleration on axle, the jitter direction is determined according to the increased direction of the acceleration.The increased direction of acceleration can be made
For jitter direction.
Step 304, regulating command is generated according to the jitter direction.
Step 306, according to the regulating command control camera lens along it is identical with the jitter direction or with opposite direction
It is mobile, to increase removable stroke of the camera lens when taking pictures.
Specifically, micro machine controls camera lens to be moved along with the jitter direction identical direction according to the regulating command
It is dynamic;Whether judge the removable stroke of the camera lens increases, if so, then continue to control the camera lens along with the jitter direction
Identical direction is moved, if it is not, then controlling the camera lens to be moved along the direction opposite with the jitter direction.
In one embodiment, according to the regulating command control camera lens along it is identical with the jitter direction or with it is opposite
Direction movement pre-determined distance, to increase removable stroke of the camera lens when taking pictures.
In one embodiment, according to the regulating command control camera lens along it is identical with the jitter direction or with it is opposite
Direction moved according to default amplification, to increase removable stroke of the camera lens when taking pictures.
Step 308, camera lens movement completion is detected, the photographing instruction is performed.
After the completion of camera lens movement, photographing instruction is performed, calls the removable stroke of the motor control camera lens of anti-shake apparatus to increase
Greatly, stabilization effect is improved.
Above-mentioned stabilization stroke adjustment method, detection receives the jitter direction that photographing instruction is mobile device, generation regulation
Instruction, controls camera lens to be moved along the direction identical or opposite with jitter direction, is being taken pictures with increasing camera lens according to regulating command
When removable stroke, after the completion of camera lens movement, taken pictures, call anti-shake apparatus, the removable stroke increase of camera lens is carried
High stabilization effect.
Fig. 4 is camera lens movement schematic diagram in one embodiment.As shown in figure 4, camera lens 402 is located at activity sky in the first width figure
Between 404 centre position, the removable stroke of camera lens is L1, detects jitter direction for the direction of arrow 406;Mirror in second width figure
First 402 are moved at the moveable maximum distance position of camera lens from the centre position of activity space 404;3rd width figure represents to clap
According to when camera lens 402 removable stroke L2, wherein L2 be more than L1.
Fig. 5 is the structured flowchart of stabilization stroke adjusting device in one embodiment.As shown in figure 5, a kind of stabilization stroke is adjusted
Regulating device, including angle detecting module 502, directive generation module 504 and mobile module 506.Wherein:
Angle detecting module 502 is used for the jitter direction for detecting mobile device.
Specifically, angle detecting module 502 can detect acceleration of the mobile device on XYZ axles by gyroscope, according to
The increased direction of acceleration determines the jitter direction.The increased direction of acceleration can be regard as jitter direction.
Directive generation module 504 is used to generate regulating command according to the jitter direction.
Mobile module 506 be used for according to the regulating command control camera lens along it is identical with the jitter direction or with it is opposite
Direction movement, to increase removable stroke of the camera lens when taking pictures.
Above-mentioned stabilization stroke adjusting device, detects the jitter direction of mobile device, generates regulating command, is referred to according to regulation
Order control camera lens is moved along the direction identical or opposite with jitter direction, to increase removable stroke of the camera lens when taking pictures,
Improve stabilization effect.
In one embodiment, the mobile module 506 be additionally operable to according to the regulating command control camera lens along with institute
State the movement of jitter direction identical direction;Whether increase, if so, it is described then to continue control if judging the removable stroke of the camera lens
Camera lens is moved along with the jitter direction identical direction, if it is not, then control the camera lens along with the jitter direction phase
Anti- direction movement.
In one embodiment, the mobile module 506 be additionally operable to according to the regulating command control camera lens along with institute
Jitter direction is stated identical or move pre-determined distance with opposite direction, to increase removable stroke of the camera lens when taking pictures;
In one embodiment, the mobile module 506 be additionally operable to according to the regulating command control camera lens along with institute
Jitter direction is stated identical or moved with opposite direction according to default amplification, to increase removable row of the camera lens when taking pictures
Journey.
In one embodiment, angle detecting module 502 is additionally operable to when taking pictures preview, and trembling for mobile device is detected in real time
Dynamic direction;Directive generation module 504 is additionally operable to generate regulating command according to the jitter direction;Mobile module 506 is additionally operable to reality
When camera lens is controlled along identical with the jitter direction or move with opposite direction according to the regulating command, it is described to increase
Removable stroke of the camera lens when taking pictures.
In one embodiment, above-mentioned stabilization stroke adjusting device also includes performing module.Angle detecting module 502 is detected
The jitter direction of mobile device when receiving photographing instruction;Directive generation module 504 is additionally operable to be given birth to according to the jitter direction
Into regulating command;Mobile module 506 be additionally operable in real time according to the regulating command control camera lens along with the jitter direction phase
Moved with or with opposite direction, to increase removable stroke of the camera lens when taking pictures;Performing module is used to detect mirror
Head is mobile to be completed, and performs the photographing instruction.
The embodiment of the present invention additionally provides a kind of computer equipment.As shown in fig. 6, for convenience of description, illustrate only with
The related part of the embodiment of the present invention, particular technique details is not disclosed, refer to present invention method part.The calculating
Machine equipment can be include mobile phone, tablet personal computer, PDA (Personal Digital Assistant, personal digital assistant),
Any terminal device such as POS (Point of Sales, point-of-sale terminal), vehicle-mounted computer, Wearable, using computer equipment as
Exemplified by mobile phone:
Fig. 6 is the block diagram of the part-structure of the mobile phone related to computer equipment provided in an embodiment of the present invention.With reference to figure
6, mobile phone 600 can include following one or more assemblies:Processing assembly 602, memory 604, multimedia groupware 606, audio
Component 608, the interface 610 of input/output (I/O), sensor cluster 612, communication component 614 and power supply module 616.
Processing assembly 602 is generally used for controlling the integrated operation of mobile phone 600, such as leads to display, call, data
The operation associated with record operation of letter, camera operation.Processing assembly 602 can include one or more processors 620 to hold
Row instruction, to complete all or part of step of above-mentioned method.In addition, processing assembly 602 can include one or more moulds
Block, is easy to the interaction between processing assembly 602 and other assemblies.For example, processing assembly 602 can include multi-media module, with
Facilitate the interaction between multimedia groupware 608 and processing assembly 602.
Memory 604 stores various types of data to support the operation in mobile phone 600.These data may include to be used for
The instruction of any application program or method that are operated on mobile phone 600, contact data, address book data, picture, video etc..Deposit
Reservoir 604 can be by any kind of volatibility or non-volatile memory device or combinations thereof realization, such as static random
Access memory (SRAM), Electrically Erasable Read Only Memory (EEPROM), Erasable Programmable Read Only Memory EPROM
(EPROM), programmable read only memory (PROM), read-only storage (ROM), magnetic memory, flash memory, disk or CD
Deng.
Multimedia groupware 606 may include the screen of the output interface provided between mobile phone 600 and user.One
In individual embodiment, screen can include liquid crystal display (LCD, Liquid Crystal Display) and touch panel (TP,
Touch Panel).If screen includes touch panel, screen may be implemented as touch-screen, to receive the input from user
Signal.Touch panel includes one or more touch sensors, and the touch sensor is used for sensing touch, slip and touch panel
On gesture etc..The touch sensor can not only sensing touch or sliding action border, but also detection touches with described
Or slide related duration and pressure.In one embodiment, multimedia groupware 606 includes a front camera
And/or rear camera.When mobile phone 600 is in operator scheme, such as screening-mode or during video mode, front camera and/or
Rear camera can receive the multi-medium data of outside.Each front camera and rear camera can be one fixed
Optical lens system or with focusing and optical zoom capabilities.
Audio-frequency assembly 608 is configured as output and/or input audio signal.For example, audio-frequency assembly 608 includes a Mike
Wind (MIC) and a loudspeaker.When mobile phone 600 is in operator scheme, such as call model, logging mode and speech recognition mode
When, microphone is configured as receiving external audio signal.The audio signal received can be further stored in memory 604
Or sent via communication component 614.The loudspeaker is used for exports audio signal.
I/O interfaces 612 can be that interface, above-mentioned peripheral interface module are provided between processing assembly 602 and peripheral interface module
Can be keyboard, click wheel, button etc..These buttons may include but be not limited to:Volume button, start button and locking press button.
Sensor cluster 612 includes one or more sensors, the status number for providing various aspects for mobile phone 600
According to.For example, sensor cluster 612 can detect opening/closed mode of mobile phone 600, the relative positioning of component is for example described
Component is the display and keypad of mobile phone 600, and sensor cluster 612 can also detect a group in mobile phone 600 or mobile phone 600
The position of part changes, the orientation of mobile phone 600 or acceleration/deceleration and the temperature change of mobile phone 600.Sensor cluster 612 can include
Proximity transducer, is configured to the presence of the object near detection in not any physical contact.Sensor cluster 612 is also
Optical sensor, such as CMOS (Complementary Metal-Oxide-Semiconductor, complementary metal oxidation can be included
Thing semiconductor) or CCD (Charge Coupled Device, charge coupling device imaging sensor) imaging sensor, for
Used in imaging applications.In one embodiment, the sensor cluster 612 can also include acceleration transducer, and gyroscope is passed
Sensor, Magnetic Sensor, pressure sensor or temperature sensor etc..
Communication component 614 is for ease of the communication of wired or wireless way between mobile phone 600 and other equipment.Mobile phone 600
The wireless network based on communication standard, such as WiFi, 2G or 3G or 4G or 5G or combinations thereof can be accessed.In one embodiment
In, communication component 614 receives broadcast singal or broadcast related information from external broadcasting management system via broadcast channel.
In one embodiment, the communication component 614 also includes near-field communication (NFC) module, to promote junction service.For example, in NFC
Module can be based on radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra wide band (UWB) technology, bluetooth (BT)
Technology and other technologies are realized.
Power supply module 616 provides electric power for the various assemblies of mobile phone 600.Power supply module 616 can include power management system
System, one or more power supplys, and other components associated with generating, managing and distributing electric power for mobile phone 600.
In embodiments of the present invention, the processor 620 included by the mobile terminal performs the calculating of storage on a memory
Following steps are realized during machine program:
Detect the jitter direction of mobile device;
Regulating command is generated according to the jitter direction;
Camera lens is controlled along identical with the jitter direction or move with opposite direction according to the regulating command, to increase
Big removable stroke of the camera lens when taking pictures.
In one of the embodiments, the jitter direction of the detection mobile device performed by processor 620 includes:
Acceleration of the mobile device on XYZ axles is detected by gyroscope, determined according to the increased direction of the acceleration
The jitter direction.
In one of the embodiments, performed by processor 620 according to the regulating command control camera lens along with institute
State jitter direction identical or moved with opposite direction, included with increasing removable stroke of the camera lens when taking pictures:
Camera lens is controlled to be moved along with the jitter direction identical direction according to the regulating command;
Whether increase, if so, then continuing to control the camera lens to tremble along with described if judging the removable stroke of the camera lens
Dynamic direction identical direction movement, if it is not, then controlling the camera lens to be moved along the direction opposite with the jitter direction.
In one of the embodiments, performed by processor 620 it is described according to the regulating command control camera lens along
It is identical with the jitter direction or moved with opposite direction, included with increasing removable stroke of the camera lens when taking pictures:
Camera lens is controlled along identical with the jitter direction or with opposite direction move default according to the regulating command
Distance, to increase removable stroke of the camera lens when taking pictures.
In one of the embodiments, performed by processor 620 it is described according to the regulating command control camera lens along
It is identical with the jitter direction or moved with opposite direction, included with increasing removable stroke of the camera lens when taking pictures:
According to the regulating command control camera lens along it is identical with the jitter direction or with opposite direction according to default
Amplification is moved, to increase removable stroke of the camera lens when taking pictures.
In one of the embodiments, processor 620 is also used to carry out:
When taking pictures preview, the jitter direction of mobile device is detected in real time;
Regulating command is generated according to the jitter direction;
Camera lens is controlled along identical with the jitter direction or move with opposite direction according to the regulating command in real time,
To increase removable stroke of the camera lens when taking pictures.
In one of the embodiments, processor 620 is also used to carry out:
Detect the jitter direction of mobile device when receiving photographing instruction;
Regulating command is generated according to the jitter direction;
Camera lens is controlled along identical with the jitter direction or move with opposite direction according to the regulating command, to increase
Big removable stroke of the camera lens when taking pictures;
Camera lens movement completion is detected, the photographing instruction is performed.
A kind of computer-readable recording medium, is stored thereon with computer program, and the program is realized when being executed by processor
Following steps:
Detect the jitter direction of mobile device;
Regulating command is generated according to the jitter direction;
Camera lens is controlled along identical with the jitter direction or move with opposite direction according to the regulating command, to increase
Big removable stroke of the camera lens when taking pictures.
In one of the embodiments, the jitter direction of the detection mobile device performed by processor includes:
Acceleration of the mobile device on XYZ axles is detected by gyroscope, determined according to the increased direction of the acceleration
The jitter direction.
In one of the embodiments, camera lens is controlled to be trembled along with described according to the regulating command performed by processor
Dynamic direction is identical or is moved with opposite direction, is included with increasing removable stroke of the camera lens when taking pictures:
Camera lens is controlled to be moved along with the jitter direction identical direction according to the regulating command;
Whether increase, if so, then continuing to control the camera lens to tremble along with described if judging the removable stroke of the camera lens
Dynamic direction identical direction movement, if it is not, then controlling the camera lens to be moved along the direction opposite with the jitter direction.
In one of the embodiments, performed by processor it is described according to the regulating command control camera lens along with institute
State jitter direction identical or moved with opposite direction, included with increasing removable stroke of the camera lens when taking pictures:
Camera lens is controlled along identical with the jitter direction or with opposite direction move default according to the regulating command
Distance, to increase removable stroke of the camera lens when taking pictures.
In one of the embodiments, performed by processor it is described according to the regulating command control camera lens along with institute
State jitter direction identical or moved with opposite direction, included with increasing removable stroke of the camera lens when taking pictures:
According to the regulating command control camera lens along it is identical with the jitter direction or with opposite direction according to default
Amplification is moved, to increase removable stroke of the camera lens when taking pictures.
In one of the embodiments, processor is also used to carry out:
When taking pictures preview, the jitter direction of mobile device is detected in real time;
Regulating command is generated according to the jitter direction;
Camera lens is controlled along identical with the jitter direction or move with opposite direction according to the regulating command in real time,
To increase removable stroke of the camera lens when taking pictures.
In one of the embodiments, processor is also used to carry out:
Detect the jitter direction of mobile device when receiving photographing instruction;
Regulating command is generated according to the jitter direction;
Camera lens is controlled along identical with the jitter direction or move with opposite direction according to the regulating command, to increase
Big removable stroke of the camera lens when taking pictures;
Camera lens movement completion is detected, the photographing instruction is performed.
One of ordinary skill in the art will appreciate that realize all or part of flow in above-described embodiment method, being can be with
The hardware of correlation is instructed to complete by computer program, described program can be stored in a non-volatile computer and can be read
In storage medium, the program is upon execution, it may include such as the flow of the embodiment of above-mentioned each method.Wherein, described storage is situated between
Matter can be magnetic disc, CD, read-only memory (Read-Only Memory, ROM) etc..
Embodiment described above only expresses the several embodiments of the present invention, and it describes more specific and detailed, but simultaneously
Therefore the limitation to the scope of the claims of the present invention can not be interpreted as.It should be pointed out that for one of ordinary skill in the art
For, without departing from the inventive concept of the premise, various modifications and improvements can be made, these belong to the guarantor of the present invention
Protect scope.Therefore, the protection domain of patent of the present invention should be determined by the appended claims.
Claims (11)
1. a kind of stabilization stroke adjustment method, it is characterised in that including:
Detect the jitter direction of mobile device;
Regulating command is generated according to the jitter direction;
Camera lens is controlled to be moved along the direction identical or opposite with the jitter direction according to the regulating command, it is described to increase
Removable stroke of the camera lens when taking pictures stabilization.
2. stabilization stroke adjustment method according to claim 1, it is characterised in that the shake side of the detection mobile device
To including:
Acceleration of the mobile device on XYZ axles is detected by gyroscope, according to being determined the increased direction of the acceleration
Jitter direction.
3. stabilization stroke adjustment method according to claim 1, it is characterised in that described to be controlled according to the regulating command
Camera lens is removable when taking pictures stabilization to increase the camera lens along identical with the jitter direction or move with opposite direction
Dynamic stroke includes:
Camera lens is controlled to be moved along with the jitter direction identical direction according to the regulating command;
Whether increase, if so, then continuing to control the camera lens to tremble along with described if judging the removable stroke of the camera lens stabilization
Dynamic direction identical direction movement, if it is not, then controlling the camera lens to be moved along the direction opposite with the jitter direction.
4. stabilization stroke adjustment method according to claim 1, it is characterised in that described to be controlled according to the regulating command
Camera lens is removable when taking pictures stabilization to increase the camera lens along identical with the jitter direction or move with opposite direction
Dynamic stroke includes:
Camera lens is controlled along identical with the jitter direction or with opposite direction move pre-determined distance according to the regulating command,
To increase removable stroke of the camera lens when taking pictures stabilization.
5. stabilization stroke adjustment method according to claim 1, it is characterised in that described to be controlled according to the regulating command
Camera lens is removable when taking pictures stabilization to increase the camera lens along identical with the jitter direction or move with opposite direction
Dynamic stroke includes:
According to the regulating command control camera lens along it is identical with the jitter direction or with opposite direction according to default amplification
It is mobile, to increase removable stroke of the camera lens when taking pictures stabilization.
6. stabilization stroke adjustment method according to claim 1, it is characterised in that methods described also includes:
When taking pictures preview, the jitter direction of mobile device is detected in real time;
Regulating command is generated according to the jitter direction;
Camera lens is controlled along identical with the jitter direction or move with opposite direction according to the regulating command in real time, to increase
Big removable stroke of the camera lens when taking pictures stabilization.
7. a kind of stabilization stroke adjusting device, it is characterised in that including:
Angle detecting module, the jitter direction for detecting mobile device;
Directive generation module, for generating regulating command according to the jitter direction;
Mobile module, for according to the regulating command control camera lens along it is identical with the jitter direction or with opposite direction
It is mobile, to increase removable stroke of the camera lens when taking pictures stabilization.
8. stabilization stroke adjusting device according to claim 7, it is characterised in that the mobile module is additionally operable to according to institute
Regulating command control camera lens is stated to move along with the jitter direction identical direction;Judge the removable row of the camera lens stabilization
Whether journey increases, if so, then continuing to control the camera lens to move along with the jitter direction identical direction, if it is not, then controlling
The camera lens is made to move along the direction opposite with the jitter direction.
9. stabilization stroke adjusting device according to claim 7, it is characterised in that the mobile module is additionally operable to according to institute
State regulating command and control camera lens along identical with the jitter direction or with opposite direction move pre-determined distance, it is described to increase
Removable stroke of the camera lens when taking pictures stabilization;
Or, the mobile module be additionally operable to according to the regulating command control camera lens along it is identical with the jitter direction or with
Opposite direction is moved according to default amplification, to increase removable stroke of the camera lens when taking pictures stabilization.
10. a kind of mobile device, including memory, processor and storage are on a memory and the calculating that can run on a processor
Machine program, realizes the stabilization stroke adjustment side as any one of claim 1 to 6 during the computing device described program
Method.
11. a kind of computer-readable recording medium, is stored thereon with computer program, realized such as when the program is executed by processor
Stabilization stroke adjustment method any one of claim 1 to 6.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710401501.4A CN107181914A (en) | 2017-05-31 | 2017-05-31 | Stabilization stroke adjustment method and apparatus, mobile device and computer-readable storage medium |
PCT/CN2018/088215 WO2018219210A1 (en) | 2017-05-31 | 2018-05-24 | Image stabilization stroke adjustment method, mobile device, and computer storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710401501.4A CN107181914A (en) | 2017-05-31 | 2017-05-31 | Stabilization stroke adjustment method and apparatus, mobile device and computer-readable storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107181914A true CN107181914A (en) | 2017-09-19 |
Family
ID=59835108
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710401501.4A Pending CN107181914A (en) | 2017-05-31 | 2017-05-31 | Stabilization stroke adjustment method and apparatus, mobile device and computer-readable storage medium |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN107181914A (en) |
WO (1) | WO2018219210A1 (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108111761A (en) * | 2017-12-27 | 2018-06-01 | 努比亚技术有限公司 | A kind of stabilization processing method, terminal and computer readable storage medium |
WO2018219210A1 (en) * | 2017-05-31 | 2018-12-06 | Oppo广东移动通信有限公司 | Image stabilization stroke adjustment method, mobile device, and computer storage medium |
CN110621927A (en) * | 2018-03-27 | 2019-12-27 | 深圳市大疆创新科技有限公司 | Stability augmentation degree adjusting method and device and storage medium |
CN114244986A (en) * | 2021-12-15 | 2022-03-25 | 惠州Tcl移动通信有限公司 | Shooting anti-shake device and mobile terminal thereof |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101426043A (en) * | 2007-10-31 | 2009-05-06 | 富士胶片株式会社 | Portable device and imaging device |
CN101762940A (en) * | 2008-12-11 | 2010-06-30 | 索尼株式会社 | Blur correcting device, blur correcting method, and image pickup apparatus |
CN102098438A (en) * | 2009-12-15 | 2011-06-15 | 索尼公司 | Image capturing apparatus and image capturing method |
CN102998878A (en) * | 2011-09-15 | 2013-03-27 | 佳能株式会社 | Interchangeable lens and camera system having the same |
JP2016080918A (en) * | 2014-10-17 | 2016-05-16 | キヤノン株式会社 | Image shake correction device and control method therefor |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107181914A (en) * | 2017-05-31 | 2017-09-19 | 广东欧珀移动通信有限公司 | Stabilization stroke adjustment method and apparatus, mobile device and computer-readable storage medium |
-
2017
- 2017-05-31 CN CN201710401501.4A patent/CN107181914A/en active Pending
-
2018
- 2018-05-24 WO PCT/CN2018/088215 patent/WO2018219210A1/en active Application Filing
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101426043A (en) * | 2007-10-31 | 2009-05-06 | 富士胶片株式会社 | Portable device and imaging device |
CN101762940A (en) * | 2008-12-11 | 2010-06-30 | 索尼株式会社 | Blur correcting device, blur correcting method, and image pickup apparatus |
CN102098438A (en) * | 2009-12-15 | 2011-06-15 | 索尼公司 | Image capturing apparatus and image capturing method |
CN102998878A (en) * | 2011-09-15 | 2013-03-27 | 佳能株式会社 | Interchangeable lens and camera system having the same |
JP2016080918A (en) * | 2014-10-17 | 2016-05-16 | キヤノン株式会社 | Image shake correction device and control method therefor |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2018219210A1 (en) * | 2017-05-31 | 2018-12-06 | Oppo广东移动通信有限公司 | Image stabilization stroke adjustment method, mobile device, and computer storage medium |
CN108111761A (en) * | 2017-12-27 | 2018-06-01 | 努比亚技术有限公司 | A kind of stabilization processing method, terminal and computer readable storage medium |
CN108111761B (en) * | 2017-12-27 | 2020-07-07 | 努比亚技术有限公司 | Anti-shake processing method, terminal and computer readable storage medium |
CN110621927A (en) * | 2018-03-27 | 2019-12-27 | 深圳市大疆创新科技有限公司 | Stability augmentation degree adjusting method and device and storage medium |
US11477380B2 (en) | 2018-03-27 | 2022-10-18 | SZ DJI Technology Co., Ltd. | Stabilization degree adjustment method and device, and storage medium |
CN114244986A (en) * | 2021-12-15 | 2022-03-25 | 惠州Tcl移动通信有限公司 | Shooting anti-shake device and mobile terminal thereof |
Also Published As
Publication number | Publication date |
---|---|
WO2018219210A1 (en) | 2018-12-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105991930B (en) | Zoom processing method, device and the mobile terminal of dual camera | |
EP3010226B1 (en) | Method and apparatus for obtaining photograph | |
KR101712301B1 (en) | Method and device for shooting a picture | |
CN104683691B (en) | Image pickup method, device and equipment | |
CN104219448B (en) | Image pickup method and device | |
US9959484B2 (en) | Method and apparatus for generating image filter | |
CN106131416B (en) | Zoom processing method, device and the mobile terminal of dual camera | |
CN107181914A (en) | Stabilization stroke adjustment method and apparatus, mobile device and computer-readable storage medium | |
CN110769147B (en) | Shooting method and electronic equipment | |
KR102661185B1 (en) | Electronic device and method for obtaining images | |
US11425305B2 (en) | Control method and apparatus, electronic device, and storage medium | |
CN108259759A (en) | focusing method, device and storage medium | |
CN104869314A (en) | Photographing method and device | |
KR102446264B1 (en) | mobile terminal | |
WO2018219197A1 (en) | Optical image stabilization control method, mobile terminal, and computer readable storage medium | |
CN109922253A (en) | Camera lens anti-fluttering method and device, mobile device | |
CN104994304A (en) | Optical anti-vibration method and device, and terminal equipment | |
CN105323491A (en) | Image shooting method and device | |
CN206962934U (en) | Picture shooting assembly for terminal device | |
US11252341B2 (en) | Method and device for shooting image, and storage medium | |
CN105391942B (en) | Automatic photographing method and device | |
CN113873147A (en) | Video recording method and device and electronic equipment | |
CN114339357A (en) | Image acquisition method, image acquisition device and storage medium | |
CN113760077A (en) | Mobile terminal, temperature control method and device of mobile terminal and storage medium | |
CN112203015B (en) | Camera control method, device and medium system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20170919 |