CN104780314A - Terminal - Google Patents

Terminal Download PDF

Info

Publication number
CN104780314A
CN104780314A CN201510142358.2A CN201510142358A CN104780314A CN 104780314 A CN104780314 A CN 104780314A CN 201510142358 A CN201510142358 A CN 201510142358A CN 104780314 A CN104780314 A CN 104780314A
Authority
CN
China
Prior art keywords
focal length
camera
instruction
focussing
focal
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
CN201510142358.2A
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.)
Shenzhen Ai You Buddhist Nun Science And Technology Ltd
Original Assignee
Shenzhen Ai You Buddhist Nun Science And Technology 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 Shenzhen Ai You Buddhist Nun Science And Technology Ltd filed Critical Shenzhen Ai You Buddhist Nun Science And Technology Ltd
Priority to CN201510142358.2A priority Critical patent/CN104780314A/en
Publication of CN104780314A publication Critical patent/CN104780314A/en
Pending legal-status Critical Current

Links

Landscapes

  • Studio Devices (AREA)

Abstract

An embodiment of the invention discloses a terminal. The terminal comprises a first acquisition unit, a second acquisition unit and a storage unit, wherein the first acquisition unit is used for starting a camera and acquiring a first preview image and a first focal length of the first preview image in a first focus mode when detecting a starting command which is input by a user and used for starting the camera; the second acquisition unit is used for adjusting the focal length of the camera to a second focal length according to a focal length adjusting command and acquiring a second preview image at the second focal length when detecting the focal length adjusting command input by the user, and the adjustment range of the second focal length relative to the first focal length is smaller than a preset range; the storage unit is used for storing the second preview image when detecting a shooting command input by the user. With the adoption of the terminal, the image quality can be improved.

Description

A kind of terminal
Technical field
The present invention relates to camera technique field, be specifically related to a kind of terminal.
Background technology
Along with the development of electronic technology, camera has become indispensable part in the terminal such as smart mobile phone, panel computer.At present, user uses during terminal camera photographic images can adopt automatic focusing, and namely focusing regulates the definition of image (or being regulated the distance of the relative camera lens of imageing sensor by moving lens motor) by moving lens motor.In camera, the transportable ultimate range of lens motor is definite value, and each transportable minimum range of lens motor (i.e. a stepping) is also definite value.In auto-focus process, in order to ensure focusing speed, the displacement of each adjustable lens motor is the multiple of transportable minimum range, and the definition causing the image of focusing not is maximum definition, reduces picture quality.
Summary of the invention
The embodiment of the present invention discloses a kind of terminal, for improving picture quality.
The embodiment of the present invention discloses a kind of terminal, comprising:
First acquiring unit, for when the enabled instruction of startup camera that user inputs being detected, starting described camera, and under the first focal modes, obtaining the first focal length of the first preview image and described first preview image;
Second acquisition unit, for when the Focussing instruction that user inputs being detected, according to Focussing to the second focal length of described Focussing instruction by described camera, and obtain the second preview image under described second focal length, wherein, described second focal length is less than preset range relative to the adjusting range of described first focal length;
Memory cell, for when the shooting instruction that user inputs being detected, stores described second preview image.
In the embodiment of the present invention, when the enabled instruction of startup camera that user inputs being detected, the first acquiring unit starts camera, and under the first focal modes, obtain the first focal length of the first preview image and the first preview image; When the Focussing instruction that user inputs being detected, second acquisition unit according to Focussing instruction by the Focussing to the second of camera focal length, and obtain the second preview image under the second focal length, wherein, the second focal length is less than preset range relative to the adjusting range of the first focal length; When the shooting instruction that user inputs being detected, cell stores second preview image.Terminal the focal length of manual adjustments camera to make the definition of image maximum, thus can improve picture quality in preset range.
Accompanying drawing explanation
In order to be illustrated more clearly in the technical scheme in the embodiment of the present invention, be briefly described to the accompanying drawing used required in embodiment below, apparently, accompanying drawing in the following describes is some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is the flow chart of a kind of photographic method disclosed in the embodiment of the present invention;
Fig. 2 is the flow chart of another kind of photographic method disclosed in the embodiment of the present invention;
Fig. 3 is the structure chart of a kind of terminal disclosed in the embodiment of the present invention;
Fig. 4 is the structure chart of another kind of terminal disclosed in the embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
The embodiment of the present invention discloses a kind of photographic method and terminal, for improving picture quality.Below be described in detail respectively.
Refer to Fig. 1, Fig. 1 is the flow chart of a kind of photographic method disclosed in the embodiment of the present invention.Wherein, this photographic method is applicable to the terminal such as mobile phone, panel computer being provided with camera.As shown in Figure 1, this photographic method can comprise the following steps.
S101, when the enabled instruction of startup camera that user inputs being detected, starting camera, and under the first focal modes, obtaining the first focal length of the first preview image and the first preview image.
In the present embodiment, when user needs to be taken pictures by the camera of terminal, user is by the preset icon by clicking in terminal screen, the modes such as the programmable button of terminal start the enabled instruction of camera to terminal input, after terminal detects the enabled instruction of startup camera of input, start camera, and under the first focal modes, obtain the first focal length of the first preview image and the first preview image, wherein, first focal modes can be autofocus mode and/or manual focus pattern, manual focus pattern and user pass through to click on terminal takes pictures interface, slide, touches etc. operate the focusing carried out.
S102, when the Focussing instruction that user inputs being detected, according to Focussing instruction by the Focussing to the second of camera focal length, and obtain the second preview image under the second focal length, wherein, the second focal length is less than preset range relative to the adjusting range of the first focal length.
In the present embodiment, after terminal gets the first focal length of the first preview image and the first preview image under the first focal modes, if user needs manually to focus further, then the modes such as the programmable button by the predeterminable area in click or sliding terminal screen, terminal are inputted Focussing instruction by user, when terminal detects the Focussing instruction that user inputs, according to Focussing instruction by the Focussing to the second of camera focal length, and obtain the second preview image under the second focal length.Wherein, second focal length is less than preset range relative to the adjusting range of the first focal length, namely the second focal length is less than predeterminable range relative to the change distance of the first focal length, such as: the first focal length is 20mm, predeterminable range is 5mm, then the second focal length can only within the scope of 15mm ~ 25mm; Second focal length is less than preset ratio relative to the change of the first focal length apart from the ratio of shared first focal length, such as: the first focal length is 20mm, preset ratio is 0.2, then the second focal length can only within the scope of 16mm ~ 24mm.
S103, when the shooting instruction that user inputs being detected, store the second preview image.
In the present embodiment, when user manually regulates the second preview image obtaining needing, user by clicking predeterminable area or programmable button input shooting instruction, when terminal detects shooting instruction, will store the second preview image.
In the photographic method described by Fig. 1, when the enabled instruction of the startup camera that user inputs being detected, start camera, and under the first focal modes, obtain the first focal length of the first preview image and the first preview image; When the Focussing instruction that user inputs being detected, according to Focussing instruction by the Focussing to the second of camera focal length, and obtain the second preview image under the second focal length, wherein, the second focal length is less than preset range relative to the adjusting range of the first focal length; When the shooting instruction that user inputs being detected, store the second preview image.Terminal the focal length of manual adjustments camera to make the definition of image maximum, thus can improve picture quality in preset range.
Refer to Fig. 2, Fig. 2 is the flow chart of another kind of photographic method disclosed in the embodiment of the present invention.Wherein, this photographic method is applicable to the terminal such as mobile phone, panel computer being provided with camera.As shown in Figure 2, this photographic method can comprise the following steps.
S201, when the enabled instruction of startup camera that user inputs being detected, starting camera, and under the first focal modes, obtaining the first focal length of the first preview image and the first preview image.
In the present embodiment, when user needs to be taken pictures by the camera of terminal, user is by the preset icon by clicking in terminal screen, the modes such as the programmable button of terminal start the enabled instruction of camera to terminal input, after terminal detects the enabled instruction of startup camera of input, start camera, and under the first focal modes, obtain the first focal length of the first preview image and the first preview image, wherein, first focal modes can be autofocus mode and/or manual focus pattern, manual focus pattern and user pass through to click on terminal takes pictures interface, slide, touches etc. operate the focusing carried out.
S202, when the Focussing instruction that user inputs being detected, under the second focal modes according to Focussing instruction by the Focussing to the second of camera focal length, and obtain the second preview image under the second focal length, wherein, the second focal length is less than preset range relative to the adjusting range of the first focal length.
In the present embodiment, after terminal gets the first focal length of the first preview image and the first preview image under the first focal modes, if user needs manually to focus further, then user is by the predeterminable area by clicking or in sliding terminal screen, the modes such as the programmable button of terminal input Focussing instruction, when terminal detects the Focussing instruction that user inputs, start the second focal modes, and under the second focal modes according to Focussing instruction by the Focussing to the second of camera focal length, and obtain the second preview image under the second focal length.Wherein, second focal length is less than preset range relative to the adjusting range of the first focal length, namely the second focal length is less than predeterminable range relative to the change distance of the first focal length, such as: the first focal length is 20mm, predeterminable range is 5mm, then the second focal length can only within the scope of 15mm ~ 25mm; Second focal length is less than preset ratio relative to the change of the first focal length apart from the ratio of shared first focal length, such as: the first focal length is 20mm, preset ratio is 0.2, then the second focal length can only within the scope of 16mm ~ 24mm.Wherein, the second focal modes is manual focus pattern.
As a kind of possible execution mode, be specially according to the mode of Focussing instruction by the Focussing to the second of camera focal length under the second focal modes:
Under the second focal modes, regulate the distance of imageing sensor relative camera lens to be the second focal length to make the focal length of camera according to Focussing instruction by lens motor.
In the present embodiment, camera comprises lens motor, camera lens and imageing sensor, camera lens is for focusing light rays at imageing sensor, and imageing sensor is used for the light synthetic image according to focusing on, and lens motor slides for controlling camera lens relative image transducer with the definition adjusting image.Therefore, under the second focal modes, regulate the distance of imageing sensor relative camera lens to be the second focal length to make the focal length of camera according to Focussing instruction by lens motor.
As a kind of possible execution mode, when Focussing instruction be first preset adjustment instruction time, under the second focal modes, regulate the distance of imageing sensor relative camera lens to be that the mode of the second focal length is specially to make the focal length of camera according to Focussing instruction by lens motor:
Under the second focal modes, by adjustable lens motor, the distance of relative for imageing sensor camera lens is reduced a stepping.
In the present embodiment, in camera, the transportable ultimate range of lens motor is definite value, and each transportable minimum range of lens motor (i.e. a stepping) is also definite value.When the Focussing instruction of user's input is the first default adjustment instruction, by adjustable lens motor, the distance of relative for imageing sensor camera lens is reduced a stepping.
Illustrate, when terminal is mobile phone, if user presses key under volume, then the distance controlling camera lens relative image transducer is reduced a stepping by lens motor.
As a kind of possible execution mode, when Focussing instruction be second preset adjustment instruction time, under the second focal modes, regulate the distance of imageing sensor relative camera lens to be that the mode of the second focal length is specially to make the focal length of camera according to Focussing instruction by lens motor:
Under the second focal modes, by adjustable lens motor, the distance of relative for imageing sensor camera lens is increased a stepping.
Illustrate, when terminal is mobile phone, if user presses key in volume, then the distance controlling camera lens relative image transducer is increased a stepping by lens motor.
As a kind of possible execution mode, when Focussing instruction be the 3rd preset adjustment instruction time, under the second focal modes, regulate the distance of imageing sensor relative camera lens to be that the mode of the second focal length is specially to make the focal length of camera according to Focussing instruction by lens motor:
Under the second focal modes, by adjustable lens motor, imageing sensor is reduced N number of stepping relative to the distance of camera lens, wherein, N be greater than 1 integer.
Illustrate, when terminal is mobile phone, if press key under volume with the head of a household, then every one second lens motor, the distance controlling camera lens relative image transducer is reduced ten steppings.
As a kind of possible execution mode, when Focussing instruction be the 4th preset adjustment instruction time, under the second focal modes, regulate the distance of imageing sensor relative camera lens to be that the mode of the second focal length is specially to make the focal length of camera according to Focussing instruction by lens motor:
Under the second focal modes by adjustable lens motor by the distance of relative for imageing sensor camera lens increase M stepping, wherein, M be greater than 1 integer.
Illustrate, when terminal is mobile phone, if press key in volume with the head of a household, then every one second lens motor, the distance controlling camera lens relative image transducer is increased ten steppings.
As a kind of possible execution mode, under the second focal modes, the distance of imageing sensor relative camera lens is regulated to be that the mode of the second focal length is specially to make the focal length of camera according to Focussing instruction by lens motor:
The electric current adjustment instruction that Focussing instruction is corresponding is generated under the second focal modes;
The drive current of adjustable lens motor makes the drive current of lens motor change electric current corresponding to Current adjustment instruction.
In the present embodiment, lens motor relies on current drives, position residing for lens motor is different, drive the electric current of lens motor also not identical, therefore, generate the electric current adjustment instruction that Focussing instruction is corresponding, the drive current of adjustable lens motor makes the drive current of lens motor change electric current corresponding to Current adjustment instruction.
S203, when the shooting instruction that user inputs being detected, store the second preview image.
In the present embodiment, when user manually regulates the second preview image obtaining needing, user by clicking predeterminable area or programmable button input shooting instruction, when terminal detects shooting instruction, will store the second preview image.
In the photographic method described by Fig. 2, when the enabled instruction of the startup camera that user inputs being detected, start camera, and under the first focal modes, obtain the first focal length of the first preview image and the first preview image; When the Focussing instruction that user inputs being detected, according to Focussing instruction by the Focussing to the second of camera focal length, and obtain the second preview image under the second focal length, wherein, the second focal length is less than preset range relative to the adjusting range of the first focal length; When the shooting instruction that user inputs being detected, store the second preview image.Terminal the focal length of manual adjustments camera to make the definition of image maximum, thus can improve picture quality in preset range.
Refer to Fig. 3, Fig. 3 is the structure chart of a kind of terminal disclosed in the embodiment of the present invention.Wherein, this terminal can for being provided with the mobile phone, panel computer etc. of camera.As shown in Figure 3, this terminal 300 can comprise:
First acquiring unit 301, for when the enabled instruction of startup camera that user inputs being detected, starting camera, and under the first focal modes, obtaining the first focal length of the first preview image and the first preview image;
Second acquisition unit 302, for when the Focussing instruction that user inputs being detected, according to Focussing instruction by the Focussing to the second of camera focal length, and obtain the second preview image under the second focal length, wherein, the second focal length is less than preset range relative to the adjusting range of the first focal length;
Memory cell 303, for when the shooting instruction that user inputs being detected, stores the second preview image.
In the present embodiment, when user needs to be taken pictures by the camera of terminal, user is by the preset icon by clicking in terminal screen, the modes such as the programmable button of terminal start the enabled instruction of camera to terminal input, after the enabled instruction of startup camera of input being detected, first acquiring unit 301 will start camera, and under the first focal modes, obtain the first focal length of the first preview image and the first preview image, wherein, first focal modes can be autofocus mode and/or manual focus pattern, manual focus pattern and user pass through to click on terminal takes pictures interface, slide, touches etc. operate the focusing carried out.
In the present embodiment, after first acquiring unit 301 gets the first focal length of the first preview image and the first preview image under the first focal modes, if user needs manually to focus further, then the modes such as the programmable button by the predeterminable area in click or sliding terminal screen, terminal are inputted Focussing instruction by user, when the Focussing instruction that user inputs being detected, second acquisition unit 302 by the Focussing to the second of camera focal length, and obtains the second preview image under the second focal length according to Focussing instruction.
In the present embodiment, when user manually regulates the second preview image obtaining needing, user will by clicking predeterminable area or programmable button input shooting instruction, and when shooting instruction being detected, memory cell 303 is by storage second preview image.
As a kind of possible execution mode, the second focal length is less than preset range relative to the adjusting range of the first focal length and comprises:
Second focal length is less than predeterminable range relative to the change distance of the first focal length.
Illustrate, suppose that the first focal length is 20mm, predeterminable range is 5mm, then the second focal length can only within the scope of 15mm ~ 25mm.
As a kind of possible execution mode, the second focal length is less than preset range relative to the adjusting range of the first focal length and comprises:
Second focal length is less than preset ratio relative to the change of the first focal length apart from the ratio of shared first focal length.
Illustrate, suppose that the first focal length is 20mm, preset ratio is 0.2, then the second focal length can only within the scope of 16mm ~ 24mm.
As a kind of possible execution mode, second acquisition unit 302 is specially according to the mode of Focussing instruction by the Focussing to the second of camera focal length:
Under the second focal modes according to Focussing instruction by the Focussing to the second of camera focal length.
As a kind of possible execution mode, second acquisition unit 302 is specially according to the mode of Focussing instruction by the Focussing to the second of camera focal length under the second focal modes:
Under the second focal modes, regulate the distance of imageing sensor relative camera lens to be the second focal length to make the focal length of camera according to Focussing instruction by lens motor.
In the present embodiment, camera comprises lens motor, camera lens and imageing sensor, camera lens is for focusing light rays at imageing sensor, and imageing sensor is used for the light synthetic image according to focusing on, and lens motor slides for controlling camera lens relative image transducer with the definition adjusting image.Therefore, under the second focal modes, second acquisition unit 302 regulates the distance of imageing sensor relative camera lens to be the second focal length to make the focal length of camera according to Focussing instruction by lens motor.Wherein, the second focal modes is manual focus pattern.
As a kind of possible execution mode, when Focussing instruction be first preset adjustment instruction time, second acquisition unit 302 regulates the distance of imageing sensor relative camera lens to be that the mode of the second focal length is specially to make the focal length of camera according to Focussing instruction by lens motor under the second focal modes:
Under the second focal modes, by adjustable lens motor, the distance of relative for imageing sensor camera lens is reduced a stepping.
Illustrate, when terminal is mobile phone, if user presses key under volume, then the distance controlling camera lens relative image transducer is reduced a stepping by lens motor.
As a kind of possible execution mode, when Focussing instruction be second preset adjustment instruction time, second acquisition unit 302 regulates the distance of imageing sensor relative camera lens to be that the mode of the second focal length is specially to make the focal length of camera according to Focussing instruction by lens motor under the second focal modes:
Under the second focal modes, by adjustable lens motor, the distance of relative for imageing sensor camera lens is increased a stepping.
Illustrate, when terminal is mobile phone, if user presses key in volume, then the distance controlling camera lens relative image transducer is increased a stepping by lens motor.
As a kind of possible execution mode, when Focussing instruction be the 3rd preset adjustment instruction time, second acquisition unit 302 regulates the distance of imageing sensor relative camera lens to be that the mode of the second focal length is specially to make the focal length of camera according to Focussing instruction by lens motor under the second focal modes:
Under the second focal modes, by adjustable lens motor, imageing sensor is reduced N number of stepping relative to the distance of camera lens, wherein, N be greater than 1 integer.
Illustrate, when terminal is mobile phone, if press key under volume with the head of a household, then every one second lens motor, the distance controlling camera lens relative image transducer is reduced ten steppings.
As a kind of possible execution mode, when Focussing instruction be the 4th preset adjustment instruction time, second acquisition unit 302 regulates the distance of imageing sensor relative camera lens to be that the mode of the second focal length is specially to make the focal length of camera according to Focussing instruction by lens motor under the second focal modes:
Under the second focal modes by adjustable lens motor by the distance of relative for imageing sensor camera lens increase M stepping, wherein, M be greater than 1 integer.
Illustrate, when terminal is mobile phone, if press key in volume with the head of a household, then every one second lens motor, the distance controlling camera lens relative image transducer is increased ten steppings.
As a kind of possible execution mode, second acquisition unit 302 regulates the distance of imageing sensor relative camera lens to be that the mode of the second focal length is specially to make the focal length of camera according to Focussing instruction by lens motor under the second focal modes:
The electric current adjustment instruction that Focussing instruction is corresponding is generated under the second focal modes;
The drive current of adjustable lens motor makes the drive current of lens motor change electric current corresponding to Current adjustment instruction.
In the present embodiment, lens motor relies on current drives, position residing for lens motor is different, drive the electric current of lens motor also not identical, therefore, second acquisition unit 302 generates electric current adjustment instruction corresponding to Focussing instruction, and the drive current of adjustable lens motor makes the drive current of lens motor change electric current corresponding to Current adjustment instruction.
In the terminal described by Fig. 3, when the enabled instruction of the startup camera that user inputs being detected, start camera, and under the first focal modes, obtain the first focal length of the first preview image and the first preview image; When the Focussing instruction that user inputs being detected, according to Focussing instruction by the Focussing to the second of camera focal length, and obtain the second preview image under the second focal length, wherein, the second focal length is less than preset range relative to the adjusting range of the first focal length; When the shooting instruction that user inputs being detected, store the second preview image.Terminal the focal length of manual adjustments camera to make the definition of image maximum, thus can improve picture quality in preset range.
Refer to Fig. 4, Fig. 4 is the structure chart of another kind of terminal disclosed in the embodiment of the present invention.Wherein, this terminal can for being provided with the mobile phone, panel computer etc. of camera.This terminal 400 can comprise at least one processor 401, as CPU, and memory 402, input unit 403, output device 404, as display screen, and at least one communication bus 405.Memory 402 can be high-speed RAM memory, also can be non-labile memory (non-volatile memory), such as at least one magnetic disc store.Alternatively, memory 402 can also be that at least one is positioned at the storage device away from aforementioned processor 401.Wherein:
Communication bus 405, for realizing the connection communication between these assemblies;
Input unit 402, for receiving the shooting instruction that the enabled instruction of the startup camera of user's input, the Focussing instruction of user's input and user input;
Store batch processing code in memory 402, processor 401 performs following operation for calling the program code stored in memory 402:
When the enabled instruction of startup camera that user inputs being detected, starting camera, and under the first focal modes, obtaining the first focal length of the first preview image and the first preview image;
When the Focussing instruction that user inputs being detected, according to Focussing instruction by the Focussing to the second of camera focal length, and obtain the second preview image under the second focal length, wherein, the second focal length is less than preset range relative to the adjusting range of the first focal length;
When the shooting instruction that user inputs being detected, store the second preview image;
Output device 404, for showing the first preview image and the second preview image.
As a kind of possible execution mode, the second focal length is less than preset range relative to the adjusting range of the first focal length and comprises:
Second focal length is less than predeterminable range relative to the change distance of the first focal length.
As a kind of possible execution mode, the second focal length is less than preset range relative to the adjusting range of the first focal length and comprises:
Second focal length is less than preset ratio relative to the change of the first focal length apart from the ratio of shared first focal length.
As a kind of possible execution mode, processor 401 is specially according to the mode of Focussing instruction by the Focussing to the second of camera focal length:
Under the second focal modes according to Focussing instruction by the Focussing to the second of camera focal length.
As a kind of possible execution mode, processor 401 is specially according to the mode of Focussing instruction by the Focussing to the second of camera focal length under the second focal modes:
Under the second focal modes, regulate the distance of imageing sensor relative camera lens to be the second focal length to make the focal length of camera according to Focussing instruction by lens motor.
As a kind of possible execution mode, when Focussing instruction be first preset adjustment instruction time, processor regulates the distance of imageing sensor relative camera lens to be that the mode of the second focal length is specially to make the focal length of camera according to Focussing instruction by lens motor under the second focal modes:
Under the second focal modes, by adjustable lens motor, the distance of relative for imageing sensor camera lens is reduced a stepping.
As a kind of possible execution mode, when Focussing instruction be second preset adjustment instruction time, processor 401 regulates the distance of imageing sensor relative camera lens to be that the mode of the second focal length is specially to make the focal length of camera according to Focussing instruction by lens motor under the second focal modes:
Under the second focal modes, by adjustable lens motor, the distance of relative for imageing sensor camera lens is increased a stepping.
As a kind of possible execution mode, when Focussing instruction be the 3rd preset adjustment instruction time, processor regulates the distance of imageing sensor relative camera lens to be that the mode of the second focal length is specially to make the focal length of camera according to Focussing instruction by lens motor under the second focal modes:
Under the second focal modes, by adjustable lens motor, imageing sensor is reduced N number of stepping relative to the distance of camera lens, wherein, N be greater than 1 integer.
As a kind of possible execution mode, when Focussing instruction be the 4th preset adjustment instruction time, processor regulates the distance of imageing sensor relative camera lens to be that the mode of the second focal length is specially to make the focal length of camera according to Focussing instruction by lens motor under the second focal modes:
Under the second focal modes by adjustable lens motor by the distance of relative for imageing sensor camera lens increase M stepping, wherein, M be greater than 1 integer.
As a kind of possible execution mode, processor regulates the distance of imageing sensor relative camera lens to be that the mode of the second focal length is specially to make the focal length of camera according to Focussing instruction by lens motor under the second focal modes:
The electric current adjustment instruction that Focussing instruction is corresponding is generated under the second focal modes;
The drive current of adjustable lens motor makes the drive current of lens motor change electric current corresponding to Current adjustment instruction.
In the terminal described by Fig. 4, when the enabled instruction of the startup camera that user inputs being detected, start camera, and under the first focal modes, obtain the first focal length of the first preview image and the first preview image; When the Focussing instruction that user inputs being detected, according to Focussing instruction by the Focussing to the second of camera focal length, and obtain the second preview image under the second focal length, wherein, the second focal length is less than preset range relative to the adjusting range of the first focal length; When the shooting instruction that user inputs being detected, store the second preview image.Terminal the focal length of manual adjustments camera to make the definition of image maximum, thus can improve picture quality in preset range.
One of ordinary skill in the art will appreciate that all or part of step in the various methods of above-described embodiment is that the hardware that can carry out instruction relevant by program has come, this program can be stored in a computer-readable recording medium, storage medium can comprise: flash disk, read-only memory (Read-Only Memory, ROM), random access device (Random Access Memory, RAM), disk or CD etc.
Above photographic method disclosed in the embodiment of the present invention and terminal are described in detail, apply specific case herein to set forth principle of the present invention and execution mode, the explanation of above embodiment just understands method of the present invention and core concept thereof for helping; Meanwhile, for one of ordinary skill in the art, according to thought of the present invention, all will change in specific embodiments and applications, in sum, this description should not be construed as limitation of the present invention.

Claims (10)

1. a terminal, is characterized in that, comprising:
First acquiring unit, for when the enabled instruction of startup camera that user inputs being detected, starting described camera, and under the first focal modes, obtaining the first focal length of the first preview image and described first preview image;
Second acquisition unit, for when the Focussing instruction that user inputs being detected, according to Focussing to the second focal length of described Focussing instruction by described camera, and obtain the second preview image under described second focal length, wherein, described second focal length is less than preset range relative to the adjusting range of described first focal length;
Memory cell, for when the shooting instruction that user inputs being detected, stores described second preview image.
2. terminal according to claim 1, is characterized in that, described second focal length is less than preset range relative to the adjusting range of described first focal length and comprises:
Described second focal length is less than predeterminable range relative to the change distance of described first focal length.
3. terminal according to claim 1, is characterized in that, described second focal length is less than preset range relative to the adjusting range of described first focal length and comprises:
Described second focal length is less than preset ratio relative to the change of described first focal length apart from the ratio of shared described first focal length.
4. the terminal according to Claims 2 or 3, is characterized in that, described second acquisition unit is specially according to the mode of described Focussing instruction by Focussing to the second focal length of described camera:
According to Focussing to the second focal length of described Focussing instruction by described camera under the second focal modes.
5. terminal according to claim 4, is characterized in that, described second acquisition unit is specially according to the mode of described Focussing instruction by Focussing to the second focal length of described camera under the second focal modes:
Under the second focal modes, regulate imageing sensor to be the second focal length relative to the distance of camera lens to make the focal length of described camera according to described Focussing instruction by lens motor.
6. terminal according to claim 5, it is characterized in that, when described Focussing instruction be first preset adjustment instruction time, described second acquisition unit regulates imageing sensor to be that the mode of the second focal length is specially relative to the distance of camera lens to make the focal length of described camera according to described Focussing instruction by lens motor under the second focal modes:
Under the second focal modes, by adjustable lens motor, the distance of relative for imageing sensor camera lens is reduced a stepping.
7. terminal according to claim 5, it is characterized in that, when described Focussing instruction be second preset adjustment instruction time, described second acquisition unit regulates imageing sensor to be that the mode of the second focal length is specially relative to the distance of camera lens to make the focal length of described camera according to described Focussing instruction by lens motor under the second focal modes:
Under the second focal modes, by adjustable lens motor, the distance of relative for imageing sensor camera lens is increased a stepping.
8. terminal according to claim 5, it is characterized in that, when described Focussing instruction be the 3rd preset adjustment instruction time, described second acquisition unit regulates imageing sensor to be that the mode of the second focal length is specially relative to the distance of camera lens to make the focal length of described camera according to described Focussing instruction by lens motor under the second focal modes:
Under the second focal modes, by adjustable lens motor, imageing sensor is reduced N number of stepping relative to the distance of camera lens, wherein, described N be greater than 1 integer.
9. terminal according to claim 5, it is characterized in that, when described Focussing instruction be the 4th preset adjustment instruction time, described second acquisition unit regulates imageing sensor to be that the mode of the second focal length is specially relative to the distance of camera lens to make the focal length of described camera according to described Focussing instruction by lens motor under the second focal modes:
Under the second focal modes by adjustable lens motor by the distance of relative for imageing sensor camera lens increase M stepping, wherein, described M be greater than 1 integer.
10. terminal according to claim 5, it is characterized in that, described second acquisition unit regulates imageing sensor to be that the mode of the second focal length is specially relative to the distance of camera lens to make the focal length of described camera according to described Focussing instruction by lens motor under the second focal modes:
The electric current adjustment instruction that described Focussing instruction is corresponding is generated under described second focal modes;
The drive current of adjustable lens motor makes the drive current of described lens motor change electric current corresponding to described Current adjustment instruction.
CN201510142358.2A 2015-03-27 2015-03-27 Terminal Pending CN104780314A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510142358.2A CN104780314A (en) 2015-03-27 2015-03-27 Terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510142358.2A CN104780314A (en) 2015-03-27 2015-03-27 Terminal

Publications (1)

Publication Number Publication Date
CN104780314A true CN104780314A (en) 2015-07-15

Family

ID=53621530

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510142358.2A Pending CN104780314A (en) 2015-03-27 2015-03-27 Terminal

Country Status (1)

Country Link
CN (1) CN104780314A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106982330A (en) * 2017-05-15 2017-07-25 珠海市魅族科技有限公司 Camera shooting control method and device, computer installation, readable storage medium storing program for executing
CN110059518A (en) * 2019-04-22 2019-07-26 广东小天才科技有限公司 A kind of barcode scanning method, device and mobile terminal

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106982330A (en) * 2017-05-15 2017-07-25 珠海市魅族科技有限公司 Camera shooting control method and device, computer installation, readable storage medium storing program for executing
CN110059518A (en) * 2019-04-22 2019-07-26 广东小天才科技有限公司 A kind of barcode scanning method, device and mobile terminal

Similar Documents

Publication Publication Date Title
CN104767937A (en) Photographing method
US10873695B2 (en) Display control apparatus, electronic apparatus, and control method therefor
EP3641301B1 (en) Method and apparatus for inhibiting aec jump, and terminal device
JP6757268B2 (en) Imaging device and its control method
US20180234621A1 (en) Image capturing apparatus and control method thereof
KR20130058150A (en) Method and apparatus for providing image photography of a user device
CN103837129A (en) Distance measuring method and device in terminals and terminal
JP2018125612A5 (en)
CN104079812A (en) Method and device of acquiring image information
CN106131415B (en) Two-dimensional code image scanning method and device and mobile terminal
US10313580B2 (en) Electronic apparatus, control method therefor, and storage medium
CN107800951B (en) Electronic device and lens switching method thereof
US9658428B2 (en) Optical instrument and control method for lens
CN105141832A (en) Focusing abnormity processing method and mobile terminal
US7085073B1 (en) Automatic focusing method for digital image processing apparatus
JPWO2019064988A1 (en) IMAGING DEVICE, IMAGING DEVICE CONTROL METHOD, AND IMAGING DEVICE CONTROL PROGRAM
CN106154688B (en) Automatic focusing method and device
CN104780314A (en) Terminal
US10313595B2 (en) Image pickup apparatus that displays aspect markers, and storage medium
CN110830726B (en) Automatic focusing method, device, equipment and storage medium
JP2015041150A (en) Display control device and control method of the same
CN105120153A (en) Image photographing method and device
JP2016057463A (en) Focus adjustment device and control method of the same
CN104469144A (en) Photographing method and electronic device
US11792518B2 (en) Method and apparatus for processing image

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: 20150715