WO2019080294A1 - 移动终端及其拍摄方法 - Google Patents

移动终端及其拍摄方法

Info

Publication number
WO2019080294A1
WO2019080294A1 PCT/CN2017/116080 CN2017116080W WO2019080294A1 WO 2019080294 A1 WO2019080294 A1 WO 2019080294A1 CN 2017116080 W CN2017116080 W CN 2017116080W WO 2019080294 A1 WO2019080294 A1 WO 2019080294A1
Authority
WO
WIPO (PCT)
Prior art keywords
camera
mobile terminal
focus
main camera
focus state
Prior art date
Application number
PCT/CN2017/116080
Other languages
English (en)
French (fr)
Inventor
邱绪东
Original Assignee
青岛海信移动通信技术股份有限公司
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 青岛海信移动通信技术股份有限公司 filed Critical 青岛海信移动通信技术股份有限公司
Publication of WO2019080294A1 publication Critical patent/WO2019080294A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules

Definitions

  • the present invention relates to a mobile terminal and a method of photographing the same.
  • the camera set in the mobile terminal can be a zoom camera, the zoom camera has an adjustable focal length, and the shooting flexibility is high.
  • the zoom camera After the zoom camera is turned on, it takes a certain amount of time to focus. If the user shoots before the zoom camera is out of focus, the picture will be blurred and the shooting will be poor.
  • a method for photographing a mobile terminal comprising: in response to receiving a camera activation command for a mobile terminal, activating a main camera and a sub camera provided on a same side of the mobile terminal, wherein The main camera is a zoom camera; determining a focus state of the main camera in response to receiving a photographing instruction; and controlling the sub camera to be preset according to a state in which the focus state indicates that the main camera has not reached focus Fixed focus shooting.
  • a mobile terminal can include a memory and a processor that store computer instructions.
  • the processor may be configured to: initiate a primary camera and a secondary camera disposed on a same side of the mobile terminal in response to receiving a camera activation command for the mobile terminal by executing the computer instruction in the memory
  • the main camera is a zoom camera; determining a focus state of the main camera in response to receiving a photographing instruction; and controlling the sub-camera according to a pre-condition in a case where the focus state indicates that the main camera has not reached focus Set the fixed focus to shoot.
  • the embodiment of the present invention provides a mobile terminal and a shooting method thereof.
  • the mobile terminal receives a shooting instruction, if it detects that the main camera has not been in focus, the sub camera can be controlled to shoot according to a preset fixed focal length. . Therefore, if the mobile terminal receives the shooting instruction before the main camera is out of focus, the sub camera can be photographed according to the preset fixed focal length to obtain a clear image, thereby effectively improving the shooting effect of the mobile terminal and improving The flexibility of the mobile terminal when shooting.
  • FIG. 1 is a schematic diagram of a mobile terminal according to an embodiment of the present invention.
  • FIG 2, 2A, and 2B are flowcharts of a method for photographing a mobile terminal according to an embodiment of the present invention.
  • FIG. 3 is a flowchart of a method for photographing a mobile terminal according to another embodiment of the present invention.
  • FIG. 4 is a schematic diagram of a screen captured when a main camera is not in focus, according to an embodiment of the invention.
  • FIG. 5 is a schematic diagram of a screen captured by a sub-camera according to a fixed focal length according to an embodiment of the present invention.
  • FIG. 6 is a schematic structural diagram of a mobile terminal according to an embodiment of the present invention.
  • FIG. 7 is a schematic structural diagram of a mobile terminal according to another embodiment of the present invention.
  • FIG. 8 is a schematic structural diagram of a mobile terminal according to another embodiment of the present invention.
  • FIG. 9 is a schematic structural diagram of a mobile terminal according to still another embodiment of the present invention.
  • the mobile terminal may have two faces facing each other, and the two faces on the front and the back may be provided with a camera, and two cameras may be disposed on at least one of the two faces.
  • the main camera and the sub camera can be a zoom camera
  • the sub camera can be a zoom camera or a fixed camera Focus camera.
  • the rear camera 110 disposed on the back of the mobile terminal 100 may include a main camera 110A and a sub-camera 110B.
  • the main camera 110A is a zoom camera
  • the sub camera 110B is a fixed focus camera.
  • FIG. 2 is a flowchart of a method for photographing a mobile terminal according to an embodiment of the present invention.
  • the method may be applied to the mobile terminal shown in FIG. 1 , and the method may be performed by a processor built in the mobile terminal, or may be performed by A remote control device external to the mobile terminal, such as a selfie stick, is executed.
  • the method may specifically include the following steps 201-203, and the specific execution content of each step will be described in detail below by taking the method performed by the mobile terminal as an example.
  • step 201 in response to receiving the camera start command, the mobile terminal activates the main camera and the sub-camera.
  • the mobile terminal may receive the camera startup instruction.
  • the camera startup command may include an identifier of the camera to be activated, and the mobile terminal may activate the corresponding camera according to the identifier.
  • the mobile terminal may activate the main camera and the sub camera disposed on the front side of the mobile terminal according to the identifier of the front camera; and when the camera startup command includes When the rear camera is identified, the mobile terminal can activate the main camera and the sub-camera placed on the back side of the mobile terminal opposite to the front side according to the identifier of the rear camera.
  • step 202 in response to receiving the shooting instruction, the mobile terminal determines whether the main camera has focused.
  • the user can trigger the shooting instruction by a preset operation (for example, an operation of clicking a shooting button).
  • a preset operation for example, an operation of clicking a shooting button.
  • the mobile terminal can determine whether the main camera has focused.
  • the mobile terminal may calculate whether the time difference between the receiving moment of the photographing instruction and the receiving moment of the camera initiating instruction is less than a preset threshold.
  • the preset threshold may be less than or equal to the length of time required for the main camera to achieve focusing, and the length of time required for the main camera to achieve focusing may be determined according to the average length of time required for focusing by the same type of zoom camera. In practical applications, the length of time required for different zoom cameras to achieve focus can be different.
  • the mobile terminal determines that the time difference is less than the preset threshold, the mobile terminal may determine that the main camera may not be in focus. For example, it is assumed that the duration required for the main camera 110A of the mobile terminal 100 shown in FIG. 1 to achieve focusing is 2 seconds, and the preset threshold is equal to 2 seconds.
  • the mobile terminal can calculate that the time difference between the receiving time of the shooting command and the receiving time of the camera starting command is 1 second. In this case, since the time difference of 1 second is less than the preset threshold of 2 seconds, the mobile terminal can determine that the main camera 110A may not be in focus.
  • the mobile terminal in response to receiving the shooting instruction, can query the main The focus status value of the camera.
  • the software algorithm for detecting whether the main camera has been in focus may be pre-stored in the mobile terminal. For example, the software algorithm may output a first return value when detecting that the main camera has been in focus; and when detecting that the main camera is not in focus, may output a second return value, the first return value being different from the second return value. In this way, the mobile terminal can determine whether the main camera has been in focus according to the size of the obtained return value.
  • step 203 when it is determined that the main camera has not been in focus, the mobile terminal controls the sub camera to shoot according to a preset fixed focal length.
  • the mobile terminal when the time difference between the reception timing of the photographing instruction and the reception timing of the camera activation command is less than the preset threshold, the mobile terminal can control the sub-camera to photograph according to a preset fixed focal length.
  • the mobile terminal when the main camera is not in focus, the mobile terminal can control the sub-camera to shoot at a fixed focal length set in advance.
  • the sub camera may be a fixed focus camera or a zoom camera.
  • the preset fixed focal length may be configured when the sub camera is shipped from the factory.
  • the preset fixed focal length may be an initial focal length when the sub-camera is pre-configured by the mobile terminal.
  • the embodiment of the present invention provides a method for photographing a mobile terminal.
  • the mobile terminal receives a shooting instruction
  • the sub camera can be controlled to shoot according to a preset fixed focal length. Therefore, if the mobile terminal receives the shooting instruction before the main camera is out of focus, the sub camera can also obtain a clear image by shooting according to a preset fixed focal length, thereby effectively improving the shooting effect of the mobile terminal and improving the shooting of the mobile terminal. Time flexibility.
  • FIG. 3 is a flowchart of a method for photographing a mobile terminal according to another embodiment of the present invention.
  • the method may be applied to the mobile terminal shown in FIG. 1 , and the method may be executed by a processor built in the mobile terminal. It can be performed by a remote control device, such as a selfie stick, external to the mobile terminal.
  • the method may include the following steps 301-306, and the specific execution content of each step will be described in detail below by taking the method performed by the mobile terminal as an example.
  • step 301 in response to receiving the camera activation command, the mobile terminal activates the primary camera and the secondary camera.
  • a camera application may be installed in the mobile terminal.
  • the camera application can be a system application or a third party application.
  • the camera startup command may include an identifier of the camera to be activated, and the mobile terminal may start the corresponding camera according to the camera startup command.
  • the camera to be activated may be a preset camera in the mobile terminal, or may be a camera that is started by the mobile terminal last time, or may also be a camera selected by the user.
  • the mobile terminal can start the main camera and the sub camera according to the camera start command.
  • the camera to be activated indicated by the camera startup command is a preset camera in the mobile terminal
  • the preset camera in the mobile terminal is a rear camera.
  • the mobile terminal can start the rear camera in the mobile terminal according to the received camera startup command.
  • the mobile terminal 100 shown in FIG. 1 can simultaneously activate the main camera 110A and the sub-camera 110B included in the rear camera.
  • the mobile terminal receives a shooting instruction.
  • the shooting instruction when the mobile terminal detects a preset operation performed by the user, the shooting instruction may be triggered to be generated.
  • the preset operation may be an operation of the shooting button on the click shooting interface, or may also be an operation of pressing the specified physical button, which is not limited by the embodiment of the present invention.
  • step 303 it is determined whether the time difference between the receiving time of the shooting instruction and the receiving time of the camera activation command is less than a preset threshold.
  • the time difference between the receiving moment of the shooting instruction and the receiving moment of the camera startup command may be calculated, and the time difference and the preset threshold may be determined.
  • the preset threshold may be less than or equal to the length of time required for the main camera to achieve focusing.
  • the mobile terminal may determine that the main camera has been in focus, and thus may perform step 304.
  • the mobile terminal may determine that the main camera may not be in focus, and thus step 305 may be performed.
  • the duration required for the main camera 110A of the mobile terminal 100 shown in FIG. 1 to achieve focusing is 2 seconds, and the preset threshold is equal to 2 seconds. If the user clicks on the icon of the camera application at 12:20:23, And when the shooting button is clicked at 12:20:26, the mobile terminal can determine that the time when the camera start command is received is 12:20:23, and it can be determined that the time when the shooting instruction is received is 12:20:26. Further, the mobile terminal can calculate that the time difference between the receiving time of the shooting instruction and the receiving time of the camera startup command is 3 seconds. In this case, since the time difference of 3 seconds is greater than the preset threshold by 2 seconds, the mobile terminal can determine that the main camera 110A has been in focus, and thus step 304 can be performed.
  • the mobile terminal can calculate that the time difference between the receiving time of the shooting command and the receiving time of the camera activation command is 1 second. In this case, since the time difference of 1 second is less than the preset threshold of 2 seconds, the mobile terminal can determine that the main camera 110A may not be in focus. Therefore, in order to more accurately determine the focus condition of the main camera 110A, the mobile terminal 100 may perform step 305. If you use the main camera at this time When the head 110A performs shooting, the captured picture can be as shown in FIG. As can be seen from FIG. 4, the picture taken by the unfocused main camera 110A is blurred, and the shooting effect is poor.
  • step 304 the mobile terminal takes a picture with a main camera.
  • the mobile terminal when the mobile terminal detects that the time difference between the receiving moment of the shooting instruction and the receiving moment of the camera startup instruction is not less than a preset threshold, it may be determined that the main camera has been in focus. At this time, the mobile terminal can perform shooting by using the main camera, that is, acquiring and storing the image collected by the main camera.
  • the mobile terminal calculates that the time difference between the receiving moment of the shooting instruction and the receiving moment of the camera startup command is 3 seconds, the mobile terminal can detect that the time difference is 3 seconds greater than the preset threshold. 2 seconds, to determine that the main camera 110A has been in focus, the mobile terminal can directly use the main camera 110A for shooting.
  • the mobile terminal detects whether the main camera has focused.
  • the main camera in order to more accurately determine the focus condition of the main camera, when the mobile terminal detects that the time difference between the receiving moment of the shooting instruction and the receiving moment of the camera startup instruction is less than a preset threshold, the main camera may continue to be detected. Whether it has been in focus. When the mobile terminal detects that the main camera has not been in focus, step 306 may be performed. When the mobile terminal detects that the main camera has been in focus, in order to ensure a good shooting effect, the mobile terminal may perform the above step 304, that is, using the already focused main camera to perform shooting.
  • the software algorithm for detecting whether the main camera is in focus may be pre-stored in the mobile terminal. For example, the software algorithm may output a first return value when detecting that the main camera has been in focus; and when detecting that the main camera is not in focus, may output a second return value, the first return value being different from the second return value. In this way, the mobile terminal can determine whether the main camera is in focus according to the size of the obtained return value.
  • a focus frame of a preset color may be disposed on the shooting interface of the main camera.
  • the color of the focus frame can be changed, for example, the color of the focus frame can be adjusted from white to green.
  • the mobile terminal may continue to detect whether the main camera 110A has been in focus in order to more accurately determine the focus of the main camera 110A.
  • the main camera 110A can be used for photographing.
  • step 306 may continue.
  • the mobile terminal controls the sub-camera to shoot at a fixed focal length set in advance.
  • the mobile terminal when the mobile terminal detects the receiving moment of the shooting instruction and the receiving of the camera startup command When the time difference between the engravings is less than the preset threshold, and when the main camera is not in focus, the mobile terminal can control the sub-camera to shoot according to its preset fixed focal length in order to capture a clearer picture.
  • the sub camera may be a fixed focus camera or a zoom camera.
  • the preset fixed focal length is configured when the sub-camera is shipped from the factory.
  • the sub camera is a zoom camera, the initial focus of the sub camera may be set in advance in the mobile terminal, and the initial focal length is used as the fixed focal length.
  • the distance between the focus of the sub camera and the sub camera is generally greater than or equal to 80 cm (cm).
  • the mobile terminal can control the sub-camera 110B to perform shooting according to a preset fixed focal length.
  • the screen that the mobile terminal controls the sub-camera 110B to capture according to a fixed focal length may be as shown in FIG. 5.
  • the picture taken by the sub-camera 110B at a fixed focal length is clearer than the picture taken by the unfocused main camera 110A.
  • the sub camera is a zoom camera
  • the mobile terminal detects that the duration of starting the main camera and the sub camera is greater than the preset threshold, or when the mobile terminal detects that the main camera has focused
  • the fixed focal length of the sub camera is set so that the sub camera restores the zoom function.
  • step 305 can be deleted as appropriate.
  • the mobile terminal detects in step 303 that the time difference between the receiving time of the shooting instruction and the receiving time of the camera activation command is less than a preset threshold
  • the sub camera can be directly controlled to perform shooting; correspondingly, the mobile terminal detects the shooting.
  • the time difference between the receiving time of the command and the receiving time of the camera start command is greater than the preset threshold
  • the setting of the fixed focal length of the sub camera can be released.
  • step 303 can be deleted as appropriate.
  • the mobile terminal when the mobile terminal receives the shooting instruction, if it detects that the main camera is not in focus, the sub camera can be directly controlled to shoot; correspondingly, after the main camera and the sub camera are activated, the mobile terminal can detect that the main camera has been detected.
  • the setting of the fixed focal length of the sub camera is released when focusing.
  • the embodiment of the present invention provides a method for photographing a mobile terminal.
  • the mobile terminal receives a shooting instruction, if it is detected that the main camera has not been in focus, the sub camera can be controlled to shoot according to a preset fixed focal length. Therefore, if the mobile terminal receives the shooting instruction before the main camera is out of focus, the sub camera can also be made in advance by The fixed focal length is set to obtain a clear image, which effectively improves the shooting effect of the mobile terminal and improves the flexibility of the mobile terminal when shooting.
  • FIG. 6 is a schematic structural diagram of a mobile terminal according to an embodiment of the present invention. As shown in FIG. 6, the mobile terminal may further include a startup module 401, a determination module 402, and a first control module 403.
  • the startup module 401 is configured to start the main camera and the secondary camera in response to the mobile terminal receiving the camera startup instruction.
  • the main camera can be a zoom camera.
  • the determining module 402 is operative to determine whether the main camera has focused in response to receiving the shooting instruction. For example, the determining module 402 can determine whether the main camera has been in focus by determining whether the time difference between the receiving moment of the shooting instruction and the receiving moment of the camera activation command is less than a preset threshold. The preset threshold may be less than or equal to the length of time required for the main camera to achieve focusing. Alternatively, the determination module 402 can also determine whether the main camera has focused by querying the focus state value of the main camera.
  • the first control module 403 can be configured to control the sub camera to shoot according to a preset fixed focal length when the determining module 402 determines that the main camera is not in focus. For example, when the time difference between the reception timing of the photographing instruction and the reception timing of the camera activation command is less than the preset threshold, or when the main camera is out of focus, the first control module 403 may control the sub camera to photograph according to a preset fixed focal length.
  • an embodiment of the present invention provides a mobile terminal, which can control the sub-camera to shoot according to a preset fixed focal length if it is determined that the main camera has not been in focus when receiving the shooting instruction. Therefore, even if the mobile terminal receives the shooting instruction before the main camera has not been in focus, the sub camera can capture the image with clear picture according to the preset fixed focal length, thereby effectively improving the shooting effect of the mobile terminal and improving the movement. Flexibility in terminal shooting.
  • FIG. 7 is a schematic structural diagram of a mobile terminal according to another embodiment of the present invention.
  • the mobile terminal may further include a second control module 501 on the basis of the functional modules shown in FIG. 6.
  • the second control module 501 can be connected to the determination module 402 and used to capture the main camera when the determination module 402 determines that the main camera has been in focus.
  • FIG. 8 is a schematic structural diagram of a mobile terminal according to another embodiment of the present invention.
  • the mobile terminal may further include a release module 601 on the basis of the functional modules shown in FIG. 6.
  • the release module 601 can be coupled to the determination module 402 and configured to release the fixed focus setting of the secondary camera when the determination module 402 determines that the primary camera has focused.
  • the mobile terminal may further include a third control module 602.
  • the third control module 602 can be connected to the release module 601 and used to receive after the release module 601 releases the fixed focus setting of the secondary camera. When shooting instructions, use the main camera and sub camera to shoot.
  • the embodiment of the present invention provides a computer readable storage medium having instructions stored therein.
  • a processor 920 such as the mobile terminal 900 shown in FIG. 9, the mobile terminal self-timer
  • the calculation processing device can be caused to execute the photographing method of the mobile terminal as shown in FIG. 2, FIG. 2A, FIG. 2B or FIG.
  • the mobile terminal 900 can include one or more of the following components: a processing component 902, a memory 904, a power component 906, a multimedia component 908, an audio component 910, an input/output (I/O) interface 912, and a sensor component 914. And communication component 916.
  • Processing component 902 typically controls the overall operations of mobile terminal 900, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations.
  • Processing component 902 can include one or more processors 920 to execute instructions to enable a method of photographing the mobile terminal as shown in FIG. 2, FIG. 2A, FIG. 2B, or FIG.
  • processing component 902 can include one or more modules to facilitate interaction between component 902 and other components.
  • processing component 902 can include a multimedia module to facilitate interaction between multimedia component 908 and processing component 902.
  • the memory 904 is configured to store various types of data to support operation of the mobile terminal 900. Examples of such data include, but are not limited to, instructions for any application or method operating on the mobile terminal 900, contact data, phone book data, messages, pictures, videos, and the like.
  • the memory 904 can be implemented by any type of volatile or non-volatile storage device, or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read only memory (EEPROM), erasable Programmable read only memory (EPROM), programmable read only memory (PROM), read only memory (ROM), magnetic memory, flash memory, magnetic or optical disk, and the like.
  • SRAM static random access memory
  • EEPROM electrically erasable programmable read only memory
  • EPROM erasable Programmable read only memory
  • PROM programmable read only memory
  • ROM read only memory
  • magnetic memory flash memory
  • flash memory magnetic or optical disk, and the like.
  • Power component 906 provides power to various components of mobile terminal 900.
  • Power component 906 can include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for mobile terminal 900.
  • the multimedia component 908 includes a screen that provides an output interface between the mobile terminal 900 and the user.
  • the screen can include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen can be implemented as a touch screen to receive input signals from the user.
  • the touch panel can include one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensor can sense not only the boundary of the touch or sliding action, but also the duration and pressure associated with the touch or slide operation.
  • the multimedia component 908 can include a front camera and/or a rear camera, and the front camera and the rear camera can each include a primary camera and a secondary camera.
  • the audio component 910 is configured to output and/or input an audio signal.
  • audio component 910 can include a microphone (MIC) for receiving external audio signals.
  • the received audio signal may be stored in memory 904 or transmitted via communication component 916.
  • audio component 910 can also include a speaker for outputting an audio signal.
  • I/O interface 912 provides an interface between processing component 902 and peripheral interface modules.
  • the above peripheral interface module may be a keyboard, a click wheel, a button, or the like. These buttons may include, but are not limited to, a home button, a volume button, a start button, and a lock button.
  • Sensor component 914 includes one or more sensors for providing various aspects of state assessment for mobile terminal 900.
  • a proximity sensor can be included that is configured to detect the presence of nearby objects without any physical contact.
  • Sensor assembly 914 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications.
  • the sensor component 914 can also include an acceleration sensor, a gyro sensor, a magnetic sensor, a pressure sensor, or a temperature sensor, and the like.
  • Communication component 916 is configured to facilitate communication by mobile terminal 900 and other user equipment in a wired or wireless manner.
  • the mobile terminal 900 can access a wireless network based on a communication standard such as WiFi, 2G or 3G, or a combination thereof.
  • communication component 916 receives broadcast signals or broadcast associated information from an external broadcast management system via a broadcast channel.
  • the communication component 916 may also include a near field communication (NFC) module to facilitate short range communication.
  • NFC near field communication
  • the mobile terminal 900 may be implemented by one or more application specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), A programmed gate array (FPGA), controller, microcontroller, microprocessor, or other electronic component implementation is used to perform the method illustrated in Figures 2, 2A, 2B, or 3 above.
  • ASICs application specific integrated circuits
  • DSPs digital signal processors
  • DSPDs digital signal processing devices
  • PLDs programmable logic devices
  • FPGA programmable logic devices
  • controller microcontroller, microprocessor, or other electronic component implementation is used to perform the method illustrated in Figures 2, 2A, 2B, or 3 above.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Studio Devices (AREA)
  • Telephone Function (AREA)

Abstract

本公开提供了一种移动终端及其拍摄方法。该移动终端同一面设置两个摄像头,包括主摄像头和副摄像头。根据该方法的一个示例,响应于接收到该移动终端的摄像头启动指令,启动该主摄像头和该副摄像头,该主摄像头为变焦摄像头;响应于接收到拍摄指令,确定所述主摄像头的对焦状态;当所述对焦状态表示所述主摄像头尚未达到对焦时,控制该副摄像头按照预先设置的固定焦距拍摄。

Description

移动终端及其拍摄方法 技术领域
本发明涉及移动终端及其拍摄方法。
背景技术
随着移动终端的快速发展,手机、平板电脑等移动终端都设置有可以用于拍摄照片或视频的摄像头。例如,移动终端中设置的摄像头可为变焦摄像头,该变焦摄像头的焦距可调,拍摄灵活性较高。但是,变焦摄像头在启动之后,需要经过一定时间才能对焦。若用户在变焦摄像头未对焦之前即进行拍摄,会导致拍摄的图片较为模糊,拍摄效果较差。
发明内容
根据本发明的一个方面,提供了一种移动终端的拍摄方法,包括:响应于接收到针对移动终端的摄像头启动指令,启动设置于所述移动终端的同一面上的主摄像头和副摄像头,其中所述主摄像头为变焦摄像头;响应于接收到拍摄指令,确定所述主摄像头的对焦状态;在所述对焦状态表示所述主摄像头未达到对焦的情形下,控制所述副摄像头按照预先设置的固定焦距拍摄。
根据本发明的另一方面,提供了一种移动终端。该移动终端可包括存储有计算机指令的存储器和处理器。其中,通过执行所述存储器中的所述计算机指令,所述处理器可实现:响应于接收到针对移动终端的摄像头启动指令,启动设置于所述移动终端的同一面上的主摄像头和副摄像头,其中所述主摄像头为变焦摄像头;响应于接收到拍摄指令,确定所述主摄像头的对焦状态;在所述对焦状态表示所述主摄像头未达到对焦的情形下,控制所述副摄像头按照预先设置的固定焦距拍摄。
综上所述,本发明实施例提供了一种移动终端及其拍摄方法,当该移动终端接收到拍摄指令时,若检测到主摄像头尚未对焦,则可以控制副摄像头按照预先设置的固定焦距拍摄。因此,若移动终端在主摄像头未对焦之前接收到了拍摄指令,也可以通过使副摄像头按照预先设置的固定焦距进行拍摄来得到画面清晰的图像,有效改善了移动终端的拍摄效果,提高 了移动终端拍摄时的灵活性。
应当理解的是,以上的一般描述和后文的细节描述仅是示例性的,并不能限制本发明。
附图说明
为了更清楚地说明本发明的实施例,下面将对实施例描述中所需要使用的附图作简单地介绍。显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1是本发明一实施例提供的一种移动终端的示意图。
图2、图2A、图2B分别是本发明一实施例提供的一种移动终端的拍摄方法的流程图。
图3是本发明另一实施例提供的一种移动终端的拍摄方法的流程图。
图4是本发明一实施例提供的主摄像头未对焦时拍摄到的画面的示意图。
图5是本发明一实施例提供的副摄像头按照固定焦距拍摄到的画面的示意图。
图6是本发明一实施例提供的一种移动终端的结构示意图。
图7是本发明另一实施例提供的一种移动终端的结构示意图。
图8是本发明又一实施例提供的一种移动终端的结构示意图。
图9是本发明再一实施例提供的一种移动终端的结构示意图。
此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本发明的实施例,并与说明书一起用于解释本发明的原理。
具体实施方式
为使本发明的目的、技术方案和优点更加清楚,下面将结合附图对本发明实施方式作进一步地详细描述。
在本发明实施例中,移动终端可以具有正反相对的两个面,该正反相对的两个面上均可以设置有摄像头,并且该两个面中的至少一面上可以设置有两个摄像头,例如主摄像头和副摄像头。其中,该主摄像头可以为变焦摄像头,该副摄像头可以为变焦摄像头,也可以为定 焦摄像头。示例的,如图1所示,该移动终端100背面设置的后置摄像头110可以包括主摄像头110A和副摄像头110B。其中,主摄像头110A为变焦摄像头,副摄像头110B为定焦摄像头。
图2是本发明一实施例提供的一种移动终端的拍摄方法的流程图,该方法可以应用于图1所示的移动终端中,并且该方法可由该移动终端内置的处理器执行,也可由外挂于该移动终端的遥控装置、例如自拍杆执行。如图2所示,该方法具体可以包括如下步骤201-203,并且以下将以移动终端执行所述方法为例来详细介绍各个步骤的具体执行内容。
在步骤201、响应于接收到摄像头启动指令,移动终端启动主摄像头和副摄像头。
在本发明实施例中,当用户启动移动终端中安装的相机应用时,移动终端可以接收到摄像头启动指令。该摄像头启动指令中可以包括待启动的摄像头的标识,移动终端可以根据该标识启动相应的摄像头。例如,当该摄像头启动指令包括前置摄像头的标识时,移动终端可以根据该前置摄像头的标识启动置于所述移动终端的前侧上的主摄像头和副摄像头;而当该摄像头启动指令包括后置摄像头的标识时,移动终端可以根据该后置摄像头的标识启动置于所述移动终端的与前侧相对的背侧上的主摄像头和副摄像头。
在步骤202、响应于接收到拍摄指令,移动终端判断主摄像头是否已经对焦。
在本发明实施例中,用户可以通过预设操作(例如点击拍摄按钮的操作)触发该拍摄指令。响应于接收到该拍摄指令,移动终端可判断主摄像头是否已经对焦。
例如,如图2A中的步骤202A所示,响应于接收到该拍摄指令,移动终端可以计算该拍摄指令的接收时刻与该摄像头启动指令的接收时刻之间的时间差是否小于预设阈值。
其中,该预设阈值可以小于或等于主摄像头实现对焦所需的时长,并且该主摄像头实现对焦所需的时长可以是根据同类型的变焦摄像头的平均实现对焦所需时长所确定的。在实际应用中,不同的变焦摄像头实现对焦所需的时长可以不同。当移动终端判定该时间差小于该预设阈值时,移动终端可以确定主摄像头可能还未对焦。示例的,假设图1所示移动终端100的主摄像头110A实现对焦所需的时长为2秒,且该预设阈值等于2秒,若用户在12点20分23秒点击了相机应用的图标,并在12点20分24秒点击了拍摄按钮,则移动终端可以计算得到该拍摄指令的接收时刻与该摄像头启动指令的接收时刻之间的时间差为1秒。在这种情况下,由于该时间差1秒小于该预设阈值2秒,移动终端可以确定主摄像头110A可能还未对焦。
又例如,如图2B中的步骤202B所示,响应于接收到该拍摄指令,移动终端可以查询主 摄像头的对焦状态值。
其中,移动终端中可以预先存储有用于检测主摄像头是否已经对焦的软件算法。例如,该软件算法在检测到主摄像头已经对焦时,可以输出第一返回值;当检测到主摄像头尚未对焦时,可以输出第二返回值,该第一返回值与该第二返回值不同。这样,移动终端可以根据获取到的返回值的大小来判断该主摄像头是否已经对焦。
在步骤203、当确定主摄像头尚未对焦时,移动终端控制副摄像头按照预先设置的固定焦距拍摄。
例如,如图2A中的步骤203A所示,当拍摄指令的接收时刻与摄像头启动指令的接收时刻之间的时间差小于预设阈值,移动终端可控制副摄像头按照预先设置的固定焦距拍摄。或者,如图2B中的步骤203B所示,当主摄像头尚未对焦时,移动终端可控制副摄像头按照预先设置的固定焦距拍摄。
其中,该副摄像头可以为定焦摄像头,也可以为变焦摄像头。当该副摄像头为定焦摄像头时,该预先设置的固定焦距可为该副摄像头出厂时即配置好的。当该副摄像头为变焦摄像头时,该预先设置的固定焦距可为移动终端预先配置的该副摄像头启动时的初始焦距。
综上所述,本发明实施例提供了一种移动终端的拍摄方法,当该移动终端接收到拍摄指令时,若检测到主摄像头尚未对焦,则可以控制副摄像头按照预先设置的固定焦距拍摄。因此,若移动终端在主摄像头未对焦之前接收到了拍摄指令,也可以通过使副摄像头按照预先设置的固定焦距拍摄来得到画面清晰的图像,有效改善了移动终端的拍摄效果,提高了移动终端拍摄时的灵活性。
图3是本发明另一实施例提供的一种移动终端的拍摄方法的流程图,该方法可以应用于图1所示的移动终端中,并且该方法可由该移动终端内置的处理器执行,也可由外挂于该移动终端的遥控装置、例如自拍杆执行。如图3所示,该方法可以包括如下步骤301-306,并且以下将以移动终端执行所述方法为例来详细介绍各个步骤的具体执行内容。
在步骤301、响应于接收到摄像头启动指令,移动终端启动主摄像头和副摄像头。
在本发明实施例中,移动终端中可以安装有相机应用。例如,该相机应用可以为***应用或者第三方应用。当用户通过单击操作点击任一相机应用的图标时,移动终端可以接收到摄像头启动指令。该摄像头启动指令中可以包括待启动的摄像头的标识,移动终端可以根据该摄像头启动指令启动对应的摄像头。其中,该待启动的摄像头可以为移动终端中预设的摄像头,也可以为移动终端上一次启动的摄像头,或者还可以为用户选定的摄像头。当该摄像 头启动指令指示的待启动的摄像头为位于移动终端一面的主摄像头和副摄像头时,移动终端可以根据该摄像头启动指令启动该主摄像头和该副摄像头。
示例的,假设摄像头启动指令指示的待启动摄像头为移动终端中预设的摄像头,且该移动终端中预设的摄像头为后置摄像头。这种情况下,当用户点击相机应用的图标时,移动终端即可根据接收到的摄像头启动指令启动移动终端中的后置摄像头。例如,图1所示的移动终端100可同时启动后置摄像头包括的主摄像头110A和副摄像头110B。
在步骤302、移动终端接收拍摄指令。
在本发明实施例中,当移动终端检测到用户执行的预设操作时,可以触发生成该拍摄指令。其中,该预设操作可以为点击拍摄界面上的拍摄按钮的操作,或者也可以为按压指定物理按键的操作,本发明实施例对此不做限定。
在步骤303、判断该拍摄指令的接收时刻与摄像头启动指令的接收时刻之间的时间差是否小于预设阈值。
当移动终端接收到该拍摄指令时,可以计算该拍摄指令的接收时刻与该摄像头启动指令的接收时刻之间的时间差,并判断该时间差与预设阈值的大小。
其中,该预设阈值可小于或等于主摄像头实现对焦所需的时长。当移动终端判定该时间差不小于预设阈值时,移动终端可以确定主摄像头已经对焦,因此可以执行步骤304。然而,当移动终端判定该时间差小于该预设阈值时,移动终端可以确定主摄像头可能还未对焦,因此可以执行步骤305。
示例的,假设图1所示移动终端100的主摄像头110A实现对焦所需的时长为2秒,且该预设阈值等于2秒,若用户在12点20分23秒点击了相机应用的图标,并在12点20分26秒点击了拍摄按钮,则移动终端可以确定接收到摄像头启动指令的时刻为12点20分23秒,并可以确定接收到拍摄指令的时刻为12点20分26秒。进一步的,移动终端可以计算得到该拍摄指令的接收时刻与该摄像头启动指令的接收时刻之间的时间差为3秒。在这种情况下,由于该时间差3秒大于该预设阈值2秒,移动终端可以确定主摄像头110A已经对焦,因此可以执行步骤304。
若用户在12点20分24秒点击了拍摄按钮,则移动终端可以计算得到该拍摄指令的接收时刻与该摄像头启动指令的接收时刻之间的时间差为1秒。在这种情况下,由于该时间差1秒小于该预设阈值2秒,移动终端可以确定主摄像头110A可能还未对焦。因此,为了更加准确的确定主摄像头110A的对焦情况,移动终端100可以执行步骤305。若此时采用主摄像 头110A进行拍摄,则拍摄到的画面可以如图4所示。从图4可以看出,采用未对焦的主摄像头110A拍摄到的画面较为模糊,拍摄效果较差。
在步骤304、移动终端采用主摄像头拍摄。
在本发明实施例中,当移动终端检测到拍摄指令的接收时刻与摄像头启动指令的接收时刻之间的时间差不小于预设阈值时,即可以确定主摄像头已经对焦。此时,移动终端可以采用主摄像头进行拍摄,也即是获取并存储该主摄像头采集到的图像。
示例的,假设预设阈值为2秒,移动终端计算出拍摄指令的接收时刻和摄像头启动指令的接收时刻之间的时间差为3秒,则移动终端可以检测出该时间差3秒大于该预设阈值2秒,即可以确定主摄像头110A已经对焦,则移动终端可以直接采用主摄像头110A进行拍摄。
在步骤305、移动终端检测主摄像头是否已经对焦。
在本发明实施例中,为了更加准确的确定主摄像头的对焦情况,当移动终端检测到拍摄指令的接收时刻与摄像头启动指令的接收时刻之间的时间差小于预设阈值时,可以继续检测主摄像头是否已经对焦。当移动终端检测到主摄像头还未对焦时,可以执行步骤306。而当移动终端检测到主摄像头已经对焦时,为了保证良好的拍摄效果,移动终端可以执行上述步骤304,也即是采用该已经对焦的主摄像头进行拍摄。
其中,移动终端中可以预先存储有用于检测主摄像头是否对焦的软件算法。例如,该软件算法在检测到主摄像头已经对焦时,可以输出第一返回值;当检测到主摄像头尚未对焦时,可以输出第二返回值,该第一返回值与该第二返回值不同。这样,移动终端可以根据获取到的返回值的大小确定该主摄像头是否对焦。
进一步的,为了便于用户判断主摄像头是否已经对焦,该主摄像头的拍摄界面上可以设置有预设颜色的对焦框。这样,当移动终端检测到该主摄像头已经对焦后,可以改变该对焦框的颜色,例如可以将对焦框的颜色由白色调整为绿色。
示例的,假设移动终端检测到的时间差1秒小于预设阈值2秒,为了更加准确的确定该主摄像头110A的对焦情况,移动终端可以继续检测该主摄像头110A是否已经对焦。当移动终端检测到主摄像头110A已经对焦时,可以采用该主摄像头110A进行拍摄。当移动终端检测到主摄像头110A还未对焦时,为了能够拍摄到清晰的画面,可以继续执行步骤306。
在步骤306、移动终端控制副摄像头按照预先设置的固定焦距拍摄。
在本发明实施例中,当移动终端检测到拍摄指令的接收时刻与摄像头启动指令的接收时 刻之间的时间差小于预设阈值,且检测到主摄像头还未对焦时,为了拍摄到较为清晰的画面,移动终端可以控制副摄像头按照其预设的固定焦距进行拍摄。
其中,该副摄像头可以为定焦摄像头,也可以为变焦摄像头。当该副摄像头为定焦摄像头时,该预先设置的固定焦距为该副摄像头出厂时即配置好的。而当副摄像头为变焦摄像头时,移动终端中可以预先为该副摄像头设置启动时的初始焦距,并将该初始焦距作为该固定焦距。其中,副摄像头按照该固定焦距进行拍摄时,该副摄像头的焦点与该副摄像头的距离一般大于或等于80厘米(cm)。
示例的,假设移动终端检测到的时间差1秒小于该预设阈值2秒,且移动终端检测到主摄像头110A还未对焦。此时,为了拍摄到较为清晰的画面,移动终端可以控制该副摄像头110B按照预先设置的固定焦距进行拍摄。移动终端控制副摄像头110B按照固定焦距拍摄到的画面可以如图5所示。对比图4和图5可以看出,采用该副摄像头110B按固定焦距拍摄到的画面,比采用未对焦的主摄像头110A拍摄到的画面较为清晰。
需要说明的是,若该副摄像头为变焦摄像头,当移动终端检测到启动该主摄像头和副摄像头的时长大于该预设阈值时,或者当移动终端检测到主摄像头已经对焦时,可以解除对该副摄像头的固定焦距的设置,以使得该副摄像头恢复变焦功能。之后,当移动终端接收到拍摄指令时,可以采用该主摄像头和该副摄像头的双重变焦功能进行拍摄,进一步改善了拍摄效果。
本发明实施例提供的移动终端的拍摄方法的步骤的先后顺序可以进行适当调整,步骤也可以根据情况进行相应增减。例如,步骤305可以根据情况删除。这样,当移动终端在步骤303中检测到拍摄指令的接收时刻与摄像头启动指令的接收时刻之间的时间差小于预设阈值时,可以直接控制副摄像头进行拍摄;相应的,移动终端在检测到拍摄指令的接收时刻与摄像头启动指令的接收时刻之间的时间差大于该预设阈值时,即可解除对副摄像头的固定焦距的设置。又例如,步骤303可以根据情况删除。这样,当移动终端在接收到拍摄指令时,若检测到主摄像头未对焦,可以直接控制副摄像头进行拍摄;相应的,移动终端在启动主摄像头和副摄像头之后,可以在检测到该主摄像头已经对焦时解除对副摄像头的固定焦距的设置。任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到变化的方法,都应涵盖在发明的保护范围之内,因此不再赘述。
综上所述,本发明实施例提供了一种移动终端的拍摄方法,当该移动终端接收到拍摄指令时,若检测到主摄像头尚未对焦,则可以控制副摄像头按照预先设置的固定焦距拍摄。因此,若移动终端在主摄像头未对焦之前接收到了拍摄指令,也可以通过使副摄像头按照预先 设置的固定焦距拍摄来得到画面较为清晰的图像,有效改善了移动终端的拍摄效果,提高了移动终端拍摄时的灵活性。
本发明实施例提供了一种移动终端,该移动终端同一面上可设置有两个摄像头,包括主摄像头和副摄像头。图6是本发明一实施例提供的一种移动终端的结构示意图,如图6所示,该移动终端还可以包括启动模块401、判断模块402和第一控制模块403。
其中,启动模块401可用于响应于移动终端接收到摄像头启动指令,启动主摄像头和副摄像头。例如,该主摄像头可为变焦摄像头。
判断模块402可用于响应于接收到拍摄指令,判断主摄像头是否已经对焦。例如,判断模块402可通过判断当拍摄指令的接收时刻与摄像头启动指令的接收时刻之间的时间差是否小于预设阈值,来确定主摄像头是否已经对焦。其中,该预设阈值可以小于或等于主摄像头实现对焦所需的时长。或者,判断模块402还可通过查询主摄像头的对焦状态值,来确定主摄像头是否已经对焦。
第一控制模块403可用于在判断模块402确定主摄像头尚未对焦时,控制副摄像头按照预先设置的固定焦距拍摄。例如,当拍摄指令的接收时刻与摄像头启动指令的接收时刻之间的时间差小于预设阈值时,或者当主摄像头未对焦时,第一控制模块403可控制副摄像头按照预先设置的固定焦距拍摄。
综上所述,本发明一实施例提供了一种移动终端,该移动终端在接收到拍摄指令时,若判定主摄像头尚未对焦,可以控制副摄像头按照预先设置的固定焦距拍摄。因此,即使移动终端在主摄像头还未对焦之前接收到了拍摄指令,也可以通过使副摄像头按照该预先设置的固定焦距拍摄到画面较为清晰的图像,从而可有效改善移动终端的拍摄效果,提高移动终端拍摄时的灵活性。
图7是本发明另一实施例提供的一种移动终端的结构示意图。如图7所示,该移动终端在图6所示的功能模块的基础上,还可包括第二控制模块501。第二控制模块501可与判断模块402连接,并用于当判断模块402确定主摄像头已经对焦时,采用主摄像头拍摄。
图8是本发明又一实施例提供的一种移动终端的结构示意图。如图8所示,该移动终端在图6所示的功能模块的基础上,还可以包括解除模块601。解除模块601可与判断模块402连接,并用于当判断模块402确定主摄像头已经对焦时,解除对副摄像头的固定焦距设置。
进一步的,如图8所示,该移动终端还可以包括第三控制模块602。第三控制模块602可与解除模块601连接,并用于在解除模块601解除对副摄像头的固定焦距设置之后,当接收 到拍摄指令时,采用主摄像头和副摄像头拍摄。
本发明实施例提供了一种计算机可读存储介质,该计算机可读存储介质中存储有指令,当该计算机可读存储介质在例如图9所示移动终端900内置的处理器920、移动终端自拍杆内的控制器等的计算处理装置上运行时,可以使得该计算处理装置能够执行如图2、图2A、图2B或图3所示的移动终端的拍摄方法。
本发明实施例提供了一种移动终端。参照图9,移动终端900可以包括以下一个或多个组件:处理组件902,存储器904,电源组件906,多媒体组件908,音频组件910,输入/输出(I/O)的接口912,传感器组件914,以及通信组件916。处理组件902通常控制移动终端900的整体操作,诸如与显示、电话呼叫、数据通信、相机操作和记录操作相关联的操作。处理组件902可以包括一个或多个处理器920来执行指令,以可以实现如图2、图2A、图2B或图3所示的移动终端的拍摄方法。
此外,处理组件902可以包括一个或多个模块,便于处理组件902和其他组件之间的交互。例如,处理组件902可以包括多媒体模块,以方便多媒体组件908和处理组件902之间的交互。
存储器904被配置为存储各种类型的数据以支持移动终端900的操作。这些数据的示例包括但不限于用于在移动终端900上操作的任何应用程序或方法的指令、联系人数据、电话簿数据、消息、图片、视频等。存储器904可以由任何类型的易失性或非易失性存储设备或者它们的组合实现,如静态随机存取存储器(SRAM)、电可擦除可编程只读存储器(EEPROM)、可擦除可编程只读存储器(EPROM)、可编程只读存储器(PROM)、只读存储器(ROM)、磁存储器、快闪存储器、磁盘或光盘等。
电源组件906为移动终端900的各种组件提供电力。电源组件906可以包括电源管理***,一个或多个电源,及其他与为移动终端900生成、管理和分配电力相关联的组件。
多媒体组件908包括在移动终端900和用户之间提供一个输出接口的屏幕。在一些实施例中,屏幕可以包括液晶显示器(LCD)和触摸面板(TP)。如果屏幕包括触摸面板,屏幕可以被实现为触摸屏,以接收来自用户的输入信号。触摸面板可包括一个或多个触摸传感器以感测触摸、滑动和触摸面板上的手势。所述触摸传感器可以不仅感测触摸或滑动动作的边界,而且还可检测与所述触摸或滑动操作相关的持续时间和压力。在一些实施例中,多媒体组件908可包括前置摄像头和/或后置摄像头,而前置摄像头和后置摄像头又可各自包括主摄像头和副摄像头。
音频组件910被配置为输出和/或输入音频信号。例如,音频组件910可包括一个麦克风(MIC),用于接收外部音频信号。所接收的音频信号可以被存储在存储器904或经由通信组件916发送。在一些实施例中,音频组件910还可包括一个扬声器,用于输出音频信号。
I/O接口912为处理组件902和***接口模块之间提供接口。上述***接口模块可以是键盘、点击轮、按钮等。这些按钮可包括但不限于主页按钮、音量按钮、启动按钮和锁定按钮。
传感器组件914包括一个或多个传感器,用于为移动终端900提供各个方面的状态评估。例如,可以包括接近传感器,被配置用来在没有任何的物理接触时检测附近物体的存在。传感器组件914还可以包括光传感器,如CMOS或CCD图像传感器,用于在成像应用中使用。在一些实施例中,该传感器组件914还可以包括加速度传感器、陀螺仪传感器、磁传感器、压力传感器或温度传感器等。
通信组件916被配置为便于移动终端900和其他用户设备进行有线或无线方式的通信。移动终端900可以接入基于通信标准的无线网络,如WiFi、2G或3G、或它们的组合。在一个示例性实施例中,通信组件916经由广播信道接收来自外部广播管理***的广播信号或广播相关信息。在一个示例性实施例中,所述通信组件916还可包括近场通信(NFC)模块,以促进短程通信。
在示例性实施例中,移动终端900可以被一个或多个应用专用集成电路(ASIC)、数字信号处理器(DSP)、数字信号处理设备(DSPD)、可编程逻辑器件(PLD)、现场可编程门阵列(FPGA)、控制器、微控制器、微处理器或其他电子元件实现,用于执行上述如图2、图2A、图2B或图3所示的方法。
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的移动终端和各模块的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。
以上所述仅为本发明的较佳实施例,并不用以限制本发明,凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。

Claims (15)

  1. 一种移动终端的拍摄方法,包括:
    响应于接收到针对移动终端的摄像头启动指令,启动设置于所述移动终端的同一面上的主摄像头和副摄像头,其中所述主摄像头为变焦摄像头;
    响应于接收到拍摄指令,确定所述主摄像头的对焦状态;
    在所述对焦状态表示所述主摄像头未达到对焦的情形下,控制所述副摄像头按照预先设置的固定焦距拍摄。
  2. 根据权利要求1所述的拍摄方法,其中,确定所述主摄像头的对焦状态,包括:
    判断所述拍摄指令的接收时刻与所述摄像头启动指令的接收时刻之间的时间差是否小于预设阈值;
    当所述时间差小于所述预设阈值时,确定所述对焦状态表示所述主摄像头未达到对焦。
  3. 根据权利要求1所述的拍摄方法,其中,确定所述主摄像头的对焦状态,包括:
    查询用于表示所述主摄像头的对焦状态的对焦状态值。
  4. 根据权利要求1所述的拍摄方法,其中,确定所述主摄像头的对焦状态,包括:
    判断所述拍摄指令的接收时刻与所述摄像头启动指令的接收时刻之间的时间差是否小于预设阈值;
    当所述时间差小于所述预设阈值时,查询用于表示所述主摄像头的对焦状态的对焦状态值。
  5. 根据权利要求1所述的拍摄方法,还包括:
    在所述对焦状态表示所述主摄像头达到对焦的情形下,启用所述主摄像头的变焦模式。
  6. 根据权利要求1所述的拍摄方法,其中,所述副摄像头为变焦摄像头,且所述副摄像头的焦距能够预先设置为所述固定焦距。
  7. 根据权利要求6所述的拍摄方法,还包括:
    在所述对焦状态表示所述主摄像头达到对焦的情形下,解除对所述副摄像头的固定焦距设置。
  8. 一种移动终端,包括:
    存储器,其存储有计算机指令,和
    处理器,其通过执行所述存储器中的所述计算机指令来:
    响应于接收到针对移动终端的摄像头启动指令,启动设置于所述移动终端的同一面上的主摄像头和副摄像头,其中所述主摄像头为变焦摄像头;
    响应于接收到拍摄指令,确定所述主摄像头的对焦状态;
    在所述对焦状态表示所述主摄像头未达到对焦的情形下,控制所述副摄像头按照预先设置的固定焦距拍摄。
  9. 根据权利要求8所述的移动终端,其中,在确定所述主摄像头的对焦状态时,所述计算机指令促使所述处理器:
    判断所述拍摄指令的接收时刻与所述摄像头启动指令的接收时刻之间的时间差是否小于预设阈值;
    当所述时间差小于所述预设阈值时,确定所述对焦状态表示所述主摄像头未达到对焦。
  10. 根据权利要求8所述的移动终端,其中,在确定所述主摄像头的对焦状态时,所述计算机指令促使所述处理器:
    查询用于表示所述主摄像头的对焦状态的对焦状态值。
  11. 根据权利要求8所述的拍摄方法,其中,在确定所述主摄像头的对焦状态时,所述计算机指令促使所述处理器:
    判断所述拍摄指令的接收时刻与所述摄像头启动指令的接收时刻之间的时间差是否小于预设阈值;
    当所述时间差小于所述预设阈值时,查询用于表示所述主摄像头的对焦状态的对焦状态值。
  12. 根据权利要求8所述的移动终端,其中,所述计算机指令还促使所述处理器:
    在所述对焦状态表示所述主摄像头达到对焦的情形下,启用所述主摄像头的变焦模式。
  13. 根据权利要求8所述的移动终端,其中,所述副摄像头为变焦摄像头,且所述副摄像头的焦距能够预先设置为所述固定焦距。
  14. 根据权利要求13所述的移动终端,其中,所述计算机指令还促使所述处理器:
    在所述对焦状态表示所述主摄像头达到对焦的情形下,解除对所述副摄像头的固定焦距设置。
  15. 一种非易失性存储介质,存储有机器可执行指令,其特征在于,通过执行所述机器可执行指令,移动终端的处理器被促使实现权利要求1至7中任一项所述的方法。
PCT/CN2017/116080 2017-10-23 2017-12-14 移动终端及其拍摄方法 WO2019080294A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710994457.2A CN107613212A (zh) 2017-10-23 2017-10-23 移动终端及其拍摄方法
CN201710994457.2 2017-10-23

Publications (1)

Publication Number Publication Date
WO2019080294A1 true WO2019080294A1 (zh) 2019-05-02

Family

ID=61079096

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/116080 WO2019080294A1 (zh) 2017-10-23 2017-12-14 移动终端及其拍摄方法

Country Status (2)

Country Link
CN (1) CN107613212A (zh)
WO (1) WO2019080294A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112104807A (zh) * 2019-06-17 2020-12-18 北京小米移动软件有限公司 前置摄像头的控制方法、***及装置

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110072057B (zh) * 2019-05-14 2021-03-09 Oppo广东移动通信有限公司 图像处理方法及相关产品

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090122158A1 (en) * 2007-11-14 2009-05-14 Premier Image Technology(China) Ltd. Image capturing device and method
CN104506769A (zh) * 2014-12-04 2015-04-08 广东欧珀移动通信有限公司 一种拍摄方法及终端
CN105100605A (zh) * 2015-06-18 2015-11-25 惠州Tcl移动通信有限公司 移动终端及其拍照的快速对焦方法
CN106506969A (zh) * 2016-11-29 2017-03-15 广东欧珀移动通信有限公司 摄像模组、通过其进行人像追踪的方法以及电子设备
CN106791373A (zh) * 2016-11-29 2017-05-31 广东欧珀移动通信有限公司 对焦处理方法、装置及终端设备
CN107147837A (zh) * 2017-06-30 2017-09-08 维沃移动通信有限公司 一种拍摄参数的设置方法和移动终端

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090122158A1 (en) * 2007-11-14 2009-05-14 Premier Image Technology(China) Ltd. Image capturing device and method
CN104506769A (zh) * 2014-12-04 2015-04-08 广东欧珀移动通信有限公司 一种拍摄方法及终端
CN105100605A (zh) * 2015-06-18 2015-11-25 惠州Tcl移动通信有限公司 移动终端及其拍照的快速对焦方法
CN106506969A (zh) * 2016-11-29 2017-03-15 广东欧珀移动通信有限公司 摄像模组、通过其进行人像追踪的方法以及电子设备
CN106791373A (zh) * 2016-11-29 2017-05-31 广东欧珀移动通信有限公司 对焦处理方法、装置及终端设备
CN107147837A (zh) * 2017-06-30 2017-09-08 维沃移动通信有限公司 一种拍摄参数的设置方法和移动终端

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112104807A (zh) * 2019-06-17 2020-12-18 北京小米移动软件有限公司 前置摄像头的控制方法、***及装置
CN112104807B (zh) * 2019-06-17 2023-07-04 北京小米移动软件有限公司 前置摄像头的控制方法、***及装置

Also Published As

Publication number Publication date
CN107613212A (zh) 2018-01-19

Similar Documents

Publication Publication Date Title
WO2016023340A1 (zh) 一种切换摄像头的方法和装置
WO2017059638A1 (zh) 指纹识别方法及装置
KR101790679B1 (ko) 모바일 단말기 및 모바일 단말기 상에서 촬영을 시작하는 방법
WO2017020486A1 (zh) 调节拍摄功能的控制方法、装置和设备
WO2017036037A1 (zh) 拍摄控制方法和装置
WO2016062006A1 (zh) 拍摄控制方法及装置
WO2016112699A1 (zh) 切换显示模式的方法及装置
WO2017071068A1 (zh) 应用程序切换方法、装置及设备
WO2017071088A1 (zh) 图像获取方法及装置
WO2016008246A1 (zh) 拍摄参数调节方法及装置
WO2017036019A1 (zh) 移动终端控制的方法及移动终端
WO2017036039A1 (zh) 远程协助方法和客户端
WO2016090829A1 (zh) 图像拍摄方法及装置
WO2016208562A1 (ja) 電子機器、電子機器の動作方法及び制御プログラム
WO2016107283A1 (zh) 控制应用的方法及装置
WO2017035994A1 (zh) 外接设备的连接方法及装置
WO2015161588A1 (zh) 一种配置拍摄参数的方法及装置
WO2016023339A1 (zh) 延时拍照的方法和装置
JP6333990B2 (ja) パノラマ写真の生成方法および装置
WO2016015403A1 (zh) 一种接入wi-fi网络的方法及装置
WO2017214763A1 (zh) 上传视频的方法、装置及摄像装置
KR20150122574A (ko) 사용자 명령 실행방법, 장치, 프로그램 및 기록매체
CN111385456A (zh) 拍照预览方法、装置及存储介质
CN106506958B (zh) 一种采用移动终端进行拍摄的方法和移动终端
CN109600549A (zh) 拍照方法、装置、设备以及存储介质

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 17930109

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 03.08.2020)

122 Ep: pct application non-entry in european phase

Ref document number: 17930109

Country of ref document: EP

Kind code of ref document: A1