CN103108128B - A kind of method of auto-focusing, system and mobile terminal - Google Patents

A kind of method of auto-focusing, system and mobile terminal Download PDF

Info

Publication number
CN103108128B
CN103108128B CN201310052241.6A CN201310052241A CN103108128B CN 103108128 B CN103108128 B CN 103108128B CN 201310052241 A CN201310052241 A CN 201310052241A CN 103108128 B CN103108128 B CN 103108128B
Authority
CN
China
Prior art keywords
focusing
picture
camera collection
difference degree
multiframe
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201310052241.6A
Other languages
Chinese (zh)
Other versions
CN103108128A (en
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 CN201310052241.6A priority Critical patent/CN103108128B/en
Publication of CN103108128A publication Critical patent/CN103108128A/en
Application granted granted Critical
Publication of CN103108128B publication Critical patent/CN103108128B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Image Analysis (AREA)
  • Studio Devices (AREA)
  • Closed-Circuit Television Systems (AREA)

Abstract

The present invention is applicable to the communications field, it is provided that a kind of method of auto-focusing, system and mobile terminal.Described method includes: during the object shot is carried out continuous focusing, the multiframe picture of storage camera collection;Receive the instruction of touch screen focusing;Obtain a frame picture of now camera collection;Judge whether frame picture difference degree compared with described multiframe picture of now camera collection reaches predetermined threshold value;If difference degree is not reaching to predetermined threshold value, then directly uses described multiframe picture to carry out outline focusing, then finely focused by focusing motor.The present invention reduces the time of focusing, decrease the shake of picture, improve Consumer's Experience.

Description

A kind of method of auto-focusing, system and mobile terminal
Technical field
The invention belongs to the communications field, particularly relate to a kind of method of auto-focusing, system and mobile terminal.
Background technology
The function that the mobile terminal great majority of prior art are all focused with continuous focusing and touch screen.Continuous focusing refers to, if detecting that in a period of time, scenery does not move, focus with regard to automatic centring region.Touch screen focusing refers to that, when the action having touch on picture being detected when, focus in the region being tapped picture.
Owing to not being the most urgent when that general people taking pictures, therefore when touch screen is focused when, continuous focusing is had been completed, but existing touch screen focusing technology does not use the information acquired by continuous focusing, the process of focusing can be re-executed, therefore the time focused is long, picture has shake, poor user experience.
Summary of the invention
The purpose of the embodiment of the present invention is to provide a kind of method of auto-focusing, system and mobile terminal, it is intended to the time solving the focusing that prior art exists is long, and picture has shake, the problem of poor user experience.
The embodiment of the present invention is achieved in that a kind of method of auto-focusing, described method include:
During the object shot is carried out continuous focusing, the multiframe picture of storage camera collection;
Receive the instruction of touch screen focusing;
Obtain a frame picture of now camera collection;
Judge whether frame picture difference degree compared with described multiframe picture of now camera collection reaches predetermined threshold value;
If difference degree is not reaching to predetermined threshold value, then directly uses described multiframe picture to carry out outline focusing, then finely focused by focusing motor.
The embodiment of the present invention also provides for the system of a kind of auto-focusing, and described system includes:
Memory module, for during the object shot is carried out continuous focusing, stores the multiframe picture of camera collection;
First command reception module, for receiving the instruction of touch screen focusing;
First acquisition module, for obtaining a frame picture of now camera collection;
Judge module, for judging whether frame picture difference degree compared with described multiframe picture of now camera collection reaches predetermined threshold value;
First Focusing module, when if it is determined that module judges a frame picture of now camera collection, difference degree is not reaching to predetermined threshold value compared with described multiframe picture, directly use described multiframe picture to carry out outline focusing, then finely focused by focusing motor.
The embodiment of the present invention also provides for the mobile terminal of a kind of system including above-mentioned auto-focusing.
In embodiments of the present invention, owing to, during the object shot is carried out continuous focusing, the multiframe picture of storage camera collection, when touch screen is focused, directly the described multiframe picture of use carries out outline focusing.Therefore decrease the time of focusing, decrease the shake of picture, improve Consumer's Experience.
Accompanying drawing explanation
Fig. 1 is the flow chart of the method for the auto-focusing that the embodiment of the present invention one provides.
Fig. 2 is the functional block diagram of the system of the auto-focusing that the embodiment of the present invention two provides.
Detailed description of the invention
In order to make the purpose of the present invention, technical scheme and beneficial effect clearer, below in conjunction with drawings and Examples, the present invention is further elaborated.Should be appreciated that specific embodiment described herein, only in order to explain the present invention, is not intended to limit the present invention.
In order to technical solutions according to the invention are described, illustrate below by specific embodiment.
Embodiment one:
Referring to Fig. 1, the method for the auto-focusing that the embodiment of the present invention one provides comprises the following steps:
Step S101, to shooting object carry out continuous focusing during, storage camera collection multiframe picture;
In the embodiment of the present invention one, step S101 specifically includes following steps:
Receive the instruction of continuous focusing;
The object of shooting is carried out continuous focusing;
Obtain the multiframe picture of camera collection;
Store described multiframe picture;
In the embodiment of the present invention one, before taking pictures, mobile terminal is at preview state, i.e. can see the picture found a view on mobile terminal screen, now mobile terminal ceaselessly accepts the data that the photographic head of a frame frame sends and shows, the multiframe picture of camera collection is saved in mobile terminal internal memory simultaneously, such as frame per second is 15 frames, has used within 2 seconds, complete continuous focusing, then mobile terminal just preserves the picture of this 30 frame.
Step S102, the instruction of reception touch screen focusing;
Step S103, obtain a frame picture of now camera collection;
Step S104, judge whether frame picture difference degree compared with described multiframe picture of now camera collection reaches predetermined threshold value;
In the embodiment of the present invention one, step S104 particularly as follows:
When difference degree between described multiframe picture is not reaching to predetermined threshold value, it is judged that now whether a frame picture of camera collection difference degree compared with frame picture any one in described multiframe picture reaches predetermined threshold value.
In the embodiment of the present invention one, the difference degree of different pictures refers to the difference degree of the distribution of the characteristic information of different pictures or the difference degree of the eigenvalue of specific region, the distribution of characteristic information includes the distribution of contrast or the distribution of brightness, and the eigenvalue of specific region includes the definition etc. of central area.
If step S105 difference degree is not reaching to predetermined threshold value, then directly uses described multiframe picture to carry out outline focusing, then finely focused by focusing motor;
When the process of focusing actually finds focusing motor to be positioned at which position, picture is the most clear, the position of focusing motor when finding picture the most clear.In the embodiment of the present invention one, use described multiframe picture to carry out outline focusing and specifically include following steps:
From the multiframe picture of the camera collection of storage, obtaining picture in touch screen focusing area of interest is a frame picture the most clearly;
Obtain the described picture position in the focusing motor corresponding to a touch screen focusing area of interest frame picture the most clearly.
If step S106 difference degree reaches predetermined threshold value, then carry out outline focusing and fine focusing by focusing motor.
In the embodiment of the present invention one, carry out focusing by focusing motor and include outline focusing and two parts of finely focusing.Carry out probability focusing by focusing motor and refer to that focusing motor passes through movement, records the value of the definition of each picture simultaneously, until definition have dropped, illustrate to put the most clearly to have passed through.Perform fine focusing the most again, i.e. focusing motor is gone back with less step-length again, finds point the most clearly accurately.
In the embodiment of the present invention one, owing to, during the object shot is carried out continuous focusing, the multiframe picture of storage camera collection, when touch screen is focused, directly the described multiframe picture of use carries out outline focusing.Therefore decrease the time of focusing, decrease the shake of picture, improve Consumer's Experience.
Embodiment two:
Referring to Fig. 2, the system of the auto-focusing that the embodiment of the present invention two provides includes: memory module the 11, first command reception module the 12, first acquisition module 13, judge module the 14, first Focusing module 15 and the second Focusing module 16.
Memory module 11, for during the object shot is carried out continuous focusing, stores the multiframe picture of camera collection;
In the embodiment of the present invention two, memory module 11 specifically includes:
Second command reception module, for receiving the instruction of continuous focusing;
Continuous focusing module, for carrying out continuous focusing to the object of shooting;
Second acquisition module, for obtaining the multiframe picture of camera collection;
First memory module, is used for storing described multiframe picture;
In the embodiment of the present invention two, before taking pictures, mobile terminal is at preview state, i.e. can see the picture found a view on mobile terminal screen, now mobile terminal ceaselessly accepts the data that the photographic head of a frame frame sends and shows, the multiframe picture of camera collection is saved in mobile terminal internal memory simultaneously, such as frame per second is 15 frames, has used within 2 seconds, complete continuous focusing, then mobile terminal just preserves the picture of this 30 frame.
First command reception module 12, for receiving the instruction of touch screen focusing;
First acquisition module 13, for obtaining a frame picture of now camera collection;
Judge module 14, for judging whether frame picture difference degree compared with described multiframe picture of now camera collection reaches predetermined threshold value;
In the embodiment of the present invention two, it is judged that module 14 specifically for:
When difference degree between described multiframe picture is not reaching to predetermined threshold value, it is judged that now whether a frame picture of camera collection difference degree compared with frame picture any one in described multiframe picture reaches predetermined threshold value.
In the embodiment of the present invention two, the difference degree of different pictures refers to the difference degree of the distribution of the characteristic information of different pictures or the difference degree of the eigenvalue of specific region, the distribution of characteristic information includes the distribution of contrast or the distribution of brightness, and the eigenvalue of specific region includes the definition etc. of central area.
First Focusing module 15, when if it is determined that module 14 judges a frame picture of now camera collection, difference degree is not reaching to predetermined threshold value compared with described multiframe picture, directly use described multiframe picture to carry out outline focusing, then finely focused by focusing motor.
When the process of focusing actually finds focusing motor to be positioned at which position, picture is the most clear, the position of focusing motor when finding picture the most clear.In the embodiment of the present invention two, described use described multiframe picture carries out outline focusing particularly as follows: from the multiframe picture of the camera collection of storage, obtaining picture in touch screen focusing area of interest is a frame picture the most clearly;Obtain the described picture position in the focusing motor corresponding to a touch screen focusing area of interest frame picture the most clearly.
Second Focusing module 16, when difference degree reaches predetermined threshold value compared with described multiframe picture if it is determined that module 14 judges a frame picture of now camera collection, carries out outline focusing by focusing motor and finely focuses.
In the embodiment of the present invention two, owing to, during the object shot is carried out continuous focusing, the multiframe picture of storage camera collection, when touch screen is focused, directly the described multiframe picture of use carries out outline focusing.Therefore decrease the time of focusing, decrease the shake of picture, improve Consumer's Experience.
The embodiment of the present invention also provides for the mobile terminal of a kind of system including auto-focusing that the embodiment of the present invention two provides.
One of ordinary skill in the art will appreciate that all or part of step realizing in above-described embodiment method can be by program and completes to instruct relevant hardware, described program can be stored in a computer read/write memory medium, described storage medium, such as ROM/RAM, disk, CD etc..
The foregoing is only presently preferred embodiments of the present invention, not in order to limit the present invention, all any amendment, equivalent and improvement etc. made within the spirit and principles in the present invention, should be included within the scope of the present invention.

Claims (8)

1. the method for an auto-focusing, it is characterised in that described method includes:
During the object shot is carried out continuous focusing, the multiframe picture of storage camera collection;
Receive the instruction of touch screen focusing;
Obtain a frame picture of now camera collection;
Judge whether frame picture difference degree compared with described multiframe picture of now camera collection reaches predetermined threshold value;
If difference degree is not reaching to predetermined threshold value, then directly uses described multiframe picture to carry out outline focusing, then finely focused by focusing motor;
One frame picture of described judgement now camera collection difference degree compared with described multiframe picture whether reach predetermined threshold value particularly as follows:
When difference degree between described multiframe picture is not reaching to predetermined threshold value, it is judged that now whether a frame picture of camera collection difference degree compared with frame picture any one in described multiframe picture reaches predetermined threshold value.
2. the method for claim 1, it is characterised in that described during the object shot is carried out continuous focusing, the multiframe picture of storage camera collection specifically includes:
Receive the instruction of continuous focusing;
The object of shooting is carried out continuous focusing;
Obtain the multiframe picture of camera collection;
Store described multiframe picture.
3. the method for claim 1, it is characterised in that the difference degree of different pictures refers to the difference degree of the distribution of the characteristic information of different pictures or the difference degree of the eigenvalue of specific region.
4. the method for claim 1, it is characterised in that described use described multiframe picture carries out outline focusing and specifically includes:
From the multiframe picture of the camera collection of storage, obtaining picture in touch screen focusing area of interest is a frame picture the most clearly;
Obtain the described picture position in the focusing motor corresponding to a touch screen focusing area of interest frame picture the most clearly.
5. the system of an auto-focusing, it is characterised in that described system includes:
Memory module, for during the object shot is carried out continuous focusing, stores the multiframe picture of camera collection;
First command reception module, for receiving the instruction of touch screen focusing;
First acquisition module, for obtaining a frame picture of now camera collection;
Judge module, for judging whether frame picture difference degree compared with described multiframe picture of now camera collection reaches predetermined threshold value;
First Focusing module, when if it is determined that module judges a frame picture of now camera collection, difference degree is not reaching to predetermined threshold value compared with described multiframe picture, directly use described multiframe picture to carry out outline focusing, then finely focused by focusing motor;
When described judge module is not reaching to predetermined threshold value specifically for the difference degree between described multiframe picture, it is judged that now whether a frame picture of camera collection difference degree compared with frame picture any one in described multiframe picture reaches predetermined threshold value.
6. system as claimed in claim 5, it is characterised in that described memory module specifically includes:
Second command reception module, for receiving the instruction of continuous focusing;
Continuous focusing module, for carrying out continuous focusing to the object of shooting;
Second acquisition module, for obtaining the multiframe picture of camera collection;
First memory module, is used for storing described multiframe picture.
7. system as claimed in claim 5, it is characterised in that described use described multiframe picture carries out outline focusing and specifically includes: from the multiframe picture of the camera collection of storage, obtaining picture in touch screen focusing area of interest is a frame picture the most clearly;Obtain the described picture position in the focusing motor corresponding to a touch screen focusing area of interest frame picture the most clearly.
8. the mobile terminal of the system of the auto-focusing included described in any one of claim 5 to 7.
CN201310052241.6A 2013-02-18 2013-02-18 A kind of method of auto-focusing, system and mobile terminal Active CN103108128B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310052241.6A CN103108128B (en) 2013-02-18 2013-02-18 A kind of method of auto-focusing, system and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310052241.6A CN103108128B (en) 2013-02-18 2013-02-18 A kind of method of auto-focusing, system and mobile terminal

Publications (2)

Publication Number Publication Date
CN103108128A CN103108128A (en) 2013-05-15
CN103108128B true CN103108128B (en) 2016-08-03

Family

ID=48315668

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310052241.6A Active CN103108128B (en) 2013-02-18 2013-02-18 A kind of method of auto-focusing, system and mobile terminal

Country Status (1)

Country Link
CN (1) CN103108128B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104079837B (en) * 2014-07-17 2018-03-30 广东欧珀移动通信有限公司 A kind of focusing method and device based on imaging sensor
CN104104876B (en) * 2014-07-25 2017-09-15 广东欧珀移动通信有限公司 A kind of method of rapid focus, device and mobile device
CN105681669B (en) * 2016-02-29 2019-02-05 Oppo广东移动通信有限公司 Control method, control device and electronic device
CN107197152B (en) * 2017-06-16 2020-01-14 Oppo广东移动通信有限公司 Focusing method, focusing device, computer readable storage medium and mobile terminal
WO2021207945A1 (en) * 2020-04-14 2021-10-21 深圳市大疆创新科技有限公司 Focusing control method, apparatus, and device, movable platform, and storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101339347A (en) * 2007-07-06 2009-01-07 鸿富锦精密工业(深圳)有限公司 Automatic focusing method and system
CN102025910A (en) * 2009-09-22 2011-04-20 华晶科技股份有限公司 Continuous focusing method for digital camera

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101339347A (en) * 2007-07-06 2009-01-07 鸿富锦精密工业(深圳)有限公司 Automatic focusing method and system
CN102025910A (en) * 2009-09-22 2011-04-20 华晶科技股份有限公司 Continuous focusing method for digital camera

Also Published As

Publication number Publication date
CN103108128A (en) 2013-05-15

Similar Documents

Publication Publication Date Title
TWI677252B (en) Vehicle damage image acquisition method, device, server and terminal device
JP6309111B2 (en) Method and apparatus for detecting imaging conditions
CN103108128B (en) A kind of method of auto-focusing, system and mobile terminal
US20200050867A1 (en) Method and apparatus for obtaining vehicle loss assessment image, server and terminal device
CN108391051B (en) Focusing abnormity processing method and mobile terminal
CN103780841A (en) Shooting method and shooting device
US20140049611A1 (en) Mobile terminal and controlling method thereof
EP2731326A2 (en) Method and apparatus for shooting and storing multi-focused image in electronic device
EP2753066A2 (en) Apparatus having camera and method for image photographing
US9478036B2 (en) Method, apparatus and computer program product for disparity estimation of plenoptic images
CN104125395A (en) Method and device for realizing automatic shooting
RU2608545C1 (en) Method and device for backup video
CN104363379A (en) Shooting method by use of cameras with different focal lengths and terminal
CN104333748A (en) Method, device and terminal for obtaining image main object
US20120098946A1 (en) Image processing apparatus and methods of associating audio data with image data therein
CN105827961A (en) Mobile terminal and focusing method
CN105049695A (en) Video recording method and device
CN109791558B (en) Automatic selection of micro-images
CN105827928A (en) Focusing area selection method and focusing area selection device
CN103220464A (en) Photo-taking method and photo-taking system
CN105045846A (en) Image storage method and terminal
TWI676113B (en) Preview method and device in iris recognition process
US9716822B2 (en) Direction aware autofocus
US20150029381A1 (en) Electronic device and method of photographing image using the same
CN105120153B (en) A kind of image capturing method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CP03 Change of name, title or address
CP03 Change of name, title or address

Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Patentee after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP., Ltd.

Address before: Changan town in Guangdong province Dongguan 523841 usha Beach Road No. 18

Patentee before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP., Ltd.