WO2013071737A1 - Terminal with photographic function and camera zooming method thereof - Google Patents

Terminal with photographic function and camera zooming method thereof Download PDF

Info

Publication number
WO2013071737A1
WO2013071737A1 PCT/CN2012/075051 CN2012075051W WO2013071737A1 WO 2013071737 A1 WO2013071737 A1 WO 2013071737A1 CN 2012075051 W CN2012075051 W CN 2012075051W WO 2013071737 A1 WO2013071737 A1 WO 2013071737A1
Authority
WO
WIPO (PCT)
Prior art keywords
terminal
zoom
processing module
module
image
Prior art date
Application number
PCT/CN2012/075051
Other languages
French (fr)
Chinese (zh)
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 WO2013071737A1 publication Critical patent/WO2013071737A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72454User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
    • 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
    • H04N23/69Control of means for changing angle of the field of view, e.g. optical zoom objectives or electronic zooming
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M2250/00Details of telephonic subscriber devices
    • H04M2250/52Details of telephonic subscriber devices including functional features of a camera

Definitions

  • the present invention relates to the field of communications technologies, and more particularly to a camera having a camera function and a camera zoom method thereof. Background technique
  • more and more terminals are equipped with three-axis accelerometers, which will help improve the digital zoom operation of the camera, making this process faster and more convenient, allowing users to have a smoother shooting experience.
  • the three-axis acceleration sensor is an electronic device capable of measuring the speed and displacement during the movement of an object, and is capable of detecting actions and states such as landing, tilting, moving, placing, shaking, and rocking of the device.
  • the application of the acceleration sensor in the terminal mainly involves: control of the game and the player, change of the ring pattern, protection of the disk, anti-theft of the device, and the like. Summary of the invention
  • an object of the present invention is to provide a camera with a camera function and a camera zoom method thereof, which enable the user to forward the user to the terminal when using the terminal for photographing and photographing.
  • the backward motion is automatically converted into a digital zoom adjustment of the camera, that is, the moving zoom mode, which simplifies the current common process of setting the zoom magnification before shooting.
  • the present invention provides a camera having a camera function, and the terminal includes a motion sensing module and an application processing module;
  • the motion sensing module is configured to: when the user uses the camera of the terminal to shoot and activate the moving zoom mode, and forward or backward to move the terminal, capture forward or backward movement information of the terminal, and transmit the mobile information to Application processing module;
  • the application processing module is configured to receive movement information from the motion sensing module, and convert the motion information into a zoom signal, so that the image input by the terminal camera is digitally zoomed or optically zoomed.
  • the terminal further includes: an image acquisition module, an image processing module, and an image storage module;
  • the image acquisition module is configured to convert the ingested image information into a digital image signal, and after the signal processing, transmit the digital image signal to the image processing module;
  • the image processing module is configured to receive a control signal from the application processing module, perform digital zoom processing on the digital image signal from the image acquisition module, and output the processed digital image signal to the image storage module;
  • the image storage module is configured to store the digital image signal transmitted by the image processing module for image display of the terminal screen or for transmitting the digital image signal to be stored to the memory of the terminal, and receiving the image processing module from the application control signal;
  • the application processing module is further configured to send a control signal to the image processing module and/or the image storage module.
  • the application processing module is configured to use the movement information as a basis for enlarging or reducing the digital image signal from the image acquisition module, and send a control instruction for amplifying or reducing the digital image signal.
  • the image processing module is configured to receive a control instruction sent by the application processing module to perform amplification or reduction processing on the digital image signal.
  • the application processing module is configured to control the motion sensing module to enter the measurement mode by controlling the power timing of the motion sensing module; determine whether the motion sensing module has entered the measurement mode, and if the self and the motion are detected If there is an error in the communication of the sensor module, stop moving the zoom mode;
  • the motion sensing module powers up after the power supply timing determines that the motion sensing module has entered the measurement mode and the communication data is normal, and the other terminal enters the moving zoom mode.
  • the application processing module is configured to communicate with the motion sensing module through a serial peripheral interface, and read the current X axis, the Y axis, and the Z measured by the motion sensing module. Offset of the axis;
  • the application processing module is further configured to compare and calculate the read multiple sets of offset signals after continuously reading the offset signals of the multiple sets of motion sensing modules, thereby obtaining the forward or backward direction of the terminal. Displacement change amount;
  • the application processing module is further configured to: according to the calculated displacement change of the forward or backward direction of the terminal, combined with the priority of the optical zoom and the digital zoom in the initial setting of the moving zoom mode, and the forward or backward direction
  • the ratio of the displacement change to the digital zoom range of the terminal is obtained by using the optical zoom or the digital zoom of the current terminal camera, and the zoom magnification is obtained.
  • the invention also provides a camera zoom method, the method comprising:
  • the terminal When the user uses the camera of the terminal to shoot and activate the moving zoom mode, the terminal is moved forward or backward; the terminal captures its forward or backward movement information, and converts the movement information into a zoom signal, thereby making the terminal Digital zoom or optical zoom occurs in the image input by the camera.
  • the application processing module in the terminal controls the motion sensing module to enter the measurement mode by controlling the power timing of the motion sensing module; Whether the break motion sensing module has entered the measurement mode, and if the application processing module detects that there is an error in communication between the motion sensing module and the motion sensing module, stopping the moving zoom mode;
  • the application processing module determines that the motion sensing module has entered the measurement mode and the communication data is normal, then enters the moving zoom mode.
  • the application processing module in the terminal communicates with the terminal motion sensing module through the serial peripheral interface, and reads the current X-axis, Y-axis, and Z-axis deviation of the terminal measured by the motion sensing module. Transfer amount
  • the application processing module continuously reads the offset signals of the multiple sets of motion sensing modules, the plurality of sets of offset signals that are read are compared and calculated, thereby obtaining the displacement variation of the forward or backward direction of the terminal.
  • the application processing module according to the calculated displacement change of the forward or backward direction of the terminal, combined with the priority of the optical zoom and the digital zoom, and the change of the forward or backward displacement in the initial setting of the moving zoom mode by the user
  • the proportional relationship between the amount and the digital zoom range of the terminal, and the framing mode of the current terminal camera is obtained by optical zoom or digital zoom, and the zoom magnification is obtained.
  • the application processing module uses the mobile information captured by the terminal as a basis for amplifying or reducing the digital image signal from the image capturing module, and sends a control instruction for amplifying or reducing the digital image signal to The image processing module performs zoom processing on the image by the image processing module.
  • FIG. 1 is a flowchart of a method for photographing a moving zoom mode of a terminal according to an embodiment of the present invention
  • FIG. 2 is a schematic diagram of the composition of a terminal having an imaging function according to an embodiment of the present invention.
  • the invention provides a method for zooming a terminal and a camera thereof, so that when the user performs photographing and photographing using the terminal, the forward and backward motions of the user can be automatically converted into digital zoom adjustment changes of the camera, that is, the moving zoom mode. , which simplifies the process of shooting the zoom magnification and then shooting.
  • the terminal with camera function provided by the invention comprises the following functional modules:
  • the motion sensing module can recognize the forward and backward motions of the user when using the terminal for shooting, and can convert the changes of these actions into digital signals for transmission to the application processing module;
  • the image acquisition module can convert the ingested image information After being digital signal signals, and after appropriate signal processing, transmitting the digital image signals to the image processing module;
  • the image processing module receives a control signal from the application processing module, performs digital zoom processing on the digital image signal from the image acquisition module, and outputs the processed digital image signal to the image storage module;
  • the image storage module stores the digital image signal transmitted by the image processing module for image display of the terminal screen or for transmitting the digital image signal to be stored to the memory of the terminal, and receiving a control signal from the application processing module;
  • a mode start/stop module for starting or stopping the moving zoom mode, transmitting a control signal to the application processing module
  • the application processing module can receive the digital signals from the motion sensing module and the mode start/stop module, and can extract the forward and backward motion information of the user from the motion sensing module in the moving zoom mode, and the action information is As a processing basis for enlarging or reducing the image digital signal from the image acquisition module, a control command for amplifying or reducing the image digital signal is sent to the image processing module.
  • the moving zoom method of the terminal of the present invention when taking a picture or taking a picture includes the following steps: Step 1: The user initially sets the moving zoom mode when the terminal is shooting. Step 2: The user starts the moving zoom mode when shooting with the camera of the terminal; Step 3: The user moves forward or backward to the terminal, and the terminal will have The captured moving information is converted into a zoom signal, so that the camera input image of the terminal is digitally zoomed or optically zoomed, and the zoomed image is displayed on the screen of the terminal;
  • Step 4 The user stores the image presented on the terminal screen by clicking the "Shooting" button at a satisfactory zoom factor.
  • the user can stop moving the zoom mode at any time.
  • the zoom factor at this time will stay at the zoom factor before the stop or the default zoom multiplier according to the user's initial setting of the moving zoom mode.
  • the forward or backward movement of the terminal also causes a change in the optical zoom factor, but the order of the optical zoom and the digital zoom, and the forward or backward movement and the zoom factor The relationship will be determined by the user's initial settings for the moving zoom mode.
  • FIG. 1 is a flowchart of a method for photographing a moving zoom mode of a terminal according to an embodiment of the present invention, including the following steps:
  • the user takes out the terminal and prepares to take pictures of the scenery outside the window.
  • the terminal is equipped with an 8 megapixel rear camera, digital zoom and optical zoom and a three-axis acceleration sensor.
  • the user finds the icon of the camera/camera function from the operating system interface of the terminal, and after clicking, the terminal enters the interface of the camera/camera function.
  • the image captured by the camera can be seen in real time from the terminal screen.
  • the application processing module that plays the role of the control core controls the motion sensing module to enter the measurement mode, and through the Serial Peripheral Interface (SPI) and the action.
  • SPI Serial Peripheral Interface
  • step S104 determining whether the activation of the motion sensing module is successful, if successful, proceeds to step S105, if it fails, then proceeds to step S112;
  • the application processing module in the terminal determines whether the motion sensing module has entered the measurement mode, if successful, proceeds to step S105, and if it fails, proceeds to step S112;
  • the application processing module determines that the motion sensing module has entered the measurement mode and the communication data is normal, the application processing module will issue a prompt, and the terminal screen will display: The shooting has entered the moving zoom mode. And prompt on the terminal screen: The terminal has entered the moving zoom mode.
  • the application processing module receives and processes the signal sent by the motion sensing module.
  • the application processing module communicates with the motion sensing module through the SPI, and reads the offset of the current X-axis, Y-axis, and Z-axis measured by the motion sensing module.
  • the application processing module calculates a displacement difference of the forward or backward movement of the terminal
  • the application processing module continuously reads the offset signals of several groups of motion sensing modules, the offset signals of the groups are compared and calculated to obtain the displacement variation of the terminal in the forward or backward direction.
  • the application processing module sends a digital zoom instruction to the image processing module according to the displacement difference; the application processing module uses the movement information captured by the terminal as a basis for enlarging or reducing the digital image signal from the image acquisition module, and the digital A control command for enlarging or reducing the image signal is sent to the image processing module.
  • the image processing module performs zoom processing on the image signal output by the image capturing module;
  • the application processing module according to the calculated displacement of the forward or backward displacement of the terminal, and the initial setting of the user's movement zoom mode, the priority of the optical zoom and the digital zoom, the forward or backward displacement change amount and the terminal digital
  • the proportional relationship of the zoom range is obtained by using the optical zoom or digital zoom when the current camera is framing, and the zoom factor is obtained.
  • the current camera zoom magnification of the terminal camera is IX
  • the application processing module determines that the terminal has moved forward, and calculates that the displacement of the forward movement is 0.52 cm.
  • the initial setting of the digital zoom mode Currently only digital zoom is used, and the forward movement distance of 0.5cm represents a doubling of the digital zoom factor. Therefore, the application processing module will adjust the digital zoom factor of the terminal camera from IX to 2X.
  • the image processing module outputs an image signal to the image storage module.
  • the image processing module receives the digital image signal collected by the image acquisition module in real time through the data bus, and uses the image algorithm of the digital zoom factor IX to perform data processing, and transmits the processed digital image signal to the image storage.
  • the module is used for on-screen display or memory storage of digital image signals.
  • the image storage module performs on-screen display or storage processing on the image signal according to an instruction of the application processing module
  • the landscape image displayed on the terminal screen can be enlarged, that is, the digital zoom factor is changed from IX to 2X.
  • the effect of changing the digital zoom factor of the terminal camera by the forward or backward displacement of the terminal is realized.
  • step S112 alerting the user and proceeding to step S113;
  • the application processing module If the application processing module detects an error in communication with the motion sensing module, the application processing module issues an error prompt and displays the error prompt on the terminal screen to indicate that the moving zoom mode cannot be entered, that is, the moving zoom mode is stopped.
  • S113 Stop moving the zoom mode and prompt the user.
  • the terminal screen prompts the moving zoom mode to stop, and the digital zoom factor of the camera will be based on the user's previous initial setting of the moving zoom mode. And fixed it.
  • FIG. 1 it is a schematic diagram of a terminal having a camera function according to an embodiment of the present invention, which includes the following functional modules:
  • the motion sensing module is configured to: when the user uses the camera of the terminal to shoot and activate the moving zoom mode, and forwards or backwards the mobile terminal, captures forward or backward movement information of the terminal, and transmits the mobile information to the application processing.
  • a module capable of sensing the forward or backward displacement and motion of the terminal, and outputting the positions of the X-axis, the Y-axis, and the Z-axis of the terminal;
  • the image acquisition module has a video input device with a photosensitive imaging device, which can convert the ingested image information into a digital image signal, and transmit the collected digital image signal to the image processing module through the data transmission interface, and some image acquisition modules also With optical zoom device;
  • the image processing module can enlarge or reduce the input digital image information according to an instruction of the application processing module to form a digital zoom effect, and can transmit the processed digital number through the data transmission interface, such as the image storage module.
  • Image signal
  • An image storage module capable of storing and transferring digital image signals, and enabling a screen display process of the terminal to call the stored digital image signals according to an instruction of the application processing module, or transmitting the digital image signals to an internal or external memory of the terminal section;
  • the mode start/stop module is capable of sensing the moving zoom mode when the end user turns the shooting on or off, and outputs a mode status prompt;
  • An application processing module configured to receive movement information from the motion sensing module, convert the motion information into a zoom signal, thereby causing digital zoom or optical zoom of the image input by the terminal camera; and being a control center of the moving zoom mode, capable of receiving and Process the data of the motion sensing module, as well as the signal of the mode start/stop module, and implement unified control of other functional modules.
  • the relationship between the above functional modules is as shown in FIG. 1.
  • the application processing module controls the operation and actions of the motion sensing module, the image processing module, and the image storage module, and receives and processes the motion sensing module and the mode startup/stop module.
  • the image processing module receives and processes the digital image signal from the image acquisition module, and the image processing module can simultaneously transmit the processed digital image signal to the image storage module.
  • the image acquisition module can also be provided with an optical zoom device and the zoom factor of the optical zoom device can be controlled by the application processing module.
  • the application processing module also controls the optical zoom factor for an image acquisition module with an optical zoom.
  • the digital zoom multiple can be switched quickly and smoothly, thereby changing the digital zoom factor that is commonly used in the current terminal to manually set a fixed digital zoom multiple. The process of improving the user experience when using the terminal for shooting.

Abstract

Provided are a terminal with a photographic function and camera zooming method thereof, the method comprising: When a user utilizes the camera lens of a terminal for photographing and activates a zoom mode, the camera lens is caused to move in or out; the terminal captures the forward or backward movement information, and converts the movement information into a zooming signal, so that an image inputted by the terminal camera is digitally or optically zoomed. In the switchable zooming mode, the terminal of the present invention can quickly and smoothly switch to digital zooming in the process of still or moving photography. The photographing process generally adopted by existing terminals is to manually set fixed digital zooming before photographing. However, the terminal of the present invention changes the process and improves user experience in the photographing process using the terminal.

Description

一种具有摄像功能终端及其摄像头变焦方法 技术领域  Terminal with camera function and camera zoom method thereof
本发明涉及通信技术领域, 更具体地, 涉及一种具有摄像功能终端及 其摄像头变焦方法。 背景技术  The present invention relates to the field of communications technologies, and more particularly to a camera having a camera function and a camera zoom method thereof. Background technique
当前市面上的终端产品, 如智能手机、 平板电脑等, 均可利用其自带 的摄像头进行拍照和摄像, 且多数采用数码变焦的办法缩放要拍摄的画面。 但是, 在对终端摄像头进行数码变焦操作时, 需要首先进入拍摄设置菜单 来设定放大倍数, 如 IX、 1.5X、 2X、 3X等, 然后再查看屏幕画面进行拍照、 摄像, 如此的数码变焦操作过程, 影响了用户拍摄过程的流畅度, 也影响 了用户在使用终端进行拍摄时的用户体验。  Currently, end products on the market, such as smart phones and tablet computers, can take pictures and videos with their own cameras, and most of them use digital zoom to zoom the picture to be taken. However, when performing digital zoom operation on the terminal camera, you need to first enter the shooting settings menu to set the magnification, such as IX, 1.5X, 2X, 3X, etc., and then view the screen to take photos, video, such digital zoom operation. The process affects the smoothness of the user's shooting process and also affects the user experience when the user uses the terminal for shooting.
目前, 越来越多的终端都配备有三轴加速度传感器, 这将有助于改善 摄像头的数码变焦操作过程, 使这一过程更加快速、 便利, 可使用户获得 更加流畅的拍摄体验。  At present, more and more terminals are equipped with three-axis accelerometers, which will help improve the digital zoom operation of the camera, making this process faster and more convenient, allowing users to have a smoother shooting experience.
所述三轴加速度传感器, 是一种可以对物体运动过程中的速度和位移 进行测量的电子设备, 能够检测出所在设备的降落、 倾斜、 移动、 放置、 震动和摇摆等动作及状态。 目前, 对于加速度传感器在终端中的应用, 主 要涉及: 游戏及播放器的控制、 铃声模式的变更、 磁盘的保护、 设备的防 盗等。 发明内容  The three-axis acceleration sensor is an electronic device capable of measuring the speed and displacement during the movement of an object, and is capable of detecting actions and states such as landing, tilting, moving, placing, shaking, and rocking of the device. At present, the application of the acceleration sensor in the terminal mainly involves: control of the game and the player, change of the ring pattern, protection of the disk, anti-theft of the device, and the like. Summary of the invention
有鉴于此, 本发明目的是提供一种具有摄像功能终端及其摄像头变焦 方法, 使用户在使用终端进行拍照和摄像时, 能够将用户对终端的前向及 后向动作自动转化为摄像头的数码变焦调整变化, 即移动变焦模式, 从而 简化现在常见的先设定拍摄放大倍数再进行拍摄的过程。 In view of the above, an object of the present invention is to provide a camera with a camera function and a camera zoom method thereof, which enable the user to forward the user to the terminal when using the terminal for photographing and photographing. The backward motion is automatically converted into a digital zoom adjustment of the camera, that is, the moving zoom mode, which simplifies the current common process of setting the zoom magnification before shooting.
为实现上述目的, 本发明提出一种具有摄像功能终端, 所述终端包括 动作感应模块和应用处理模块;  To achieve the above object, the present invention provides a camera having a camera function, and the terminal includes a motion sensing module and an application processing module;
所述动作感应模块, 用于用户利用终端的摄像头进行拍摄并启动移动 变焦模式, 且前向或后向移动终端时, 捕捉终端的前向或后向移动信息, 并把所述移动信息传输给应用处理模块;  The motion sensing module is configured to: when the user uses the camera of the terminal to shoot and activate the moving zoom mode, and forward or backward to move the terminal, capture forward or backward movement information of the terminal, and transmit the mobile information to Application processing module;
所述应用处理模块, 用于接收来自动作感应模块的移动信息, 将所述 移动信息转换成变焦信号, 从而使终端摄像头输入的图像发生数码变焦或 光学变焦。  The application processing module is configured to receive movement information from the motion sensing module, and convert the motion information into a zoom signal, so that the image input by the terminal camera is digitally zoomed or optically zoomed.
进一步地, 所述终端还包括: 图像采集模块、 图像处理模块和图像存 储模块;  Further, the terminal further includes: an image acquisition module, an image processing module, and an image storage module;
所述图像采集模块, 用于将摄入的图像信息转变为数字图像信号, 并 经过信号处理后, 将所述数字图像信号传输给图像处理模块;  The image acquisition module is configured to convert the ingested image information into a digital image signal, and after the signal processing, transmit the digital image signal to the image processing module;
所述图像处理模块, 用于接收来自应用处理模块的控制信号, 对来自 图像采集模块的数字图像信号进行数码变焦处理, 并输出处理后的数字图 像信号到图像存储模块;  The image processing module is configured to receive a control signal from the application processing module, perform digital zoom processing on the digital image signal from the image acquisition module, and output the processed digital image signal to the image storage module;
所述图像存储模块, 用于对图像处理模块传输的数字图像信号进行存 储, 以用于终端屏幕的图像显示或用于向终端的存储器传输待存储的数字 图像信号, 及接收来自应用处理模块的控制信号;  The image storage module is configured to store the digital image signal transmitted by the image processing module for image display of the terminal screen or for transmitting the digital image signal to be stored to the memory of the terminal, and receiving the image processing module from the application control signal;
相应的, 所述应用处理模块, 还用于向图像处理模块和 /或图像存储模 块发送控制信号。  Correspondingly, the application processing module is further configured to send a control signal to the image processing module and/or the image storage module.
进一步地, 所述应用处理模块, 用于将所述移动信息, 作为对来自图 像采集模块的数字图像信号进行放大或缩小处理的依据, 并将对数字图像 信号进行放大或缩小处理的控制指令发送至图像处理模块; 相应的, 所述图像处理模块, 用于接收应用处理模块所发的对数字图 像信号进行放大或缩小处理的控制指令。 Further, the application processing module is configured to use the movement information as a basis for enlarging or reducing the digital image signal from the image acquisition module, and send a control instruction for amplifying or reducing the digital image signal. To the image processing module; Correspondingly, the image processing module is configured to receive a control instruction sent by the application processing module to perform amplification or reduction processing on the digital image signal.
进一步地, 启动移动变焦模式后, 所述应用处理模块, 用于通过控制 动作感应模块的电源时序, 使动作感应模块进入测量模式; 判断动作感应 模块是否已进入测量模式, 如果检测到自身与动作感应模块的通讯出现错 误, 则停止移动变焦模式;  Further, after the moving zoom mode is activated, the application processing module is configured to control the motion sensing module to enter the measurement mode by controlling the power timing of the motion sensing module; determine whether the motion sensing module has entered the measurement mode, and if the self and the motion are detected If there is an error in the communication of the sensor module, stop moving the zoom mode;
还用于动作感应模块以电源时序上电后, 确定动作感应模块已进入测 量模式且通讯数据正常时, 另终端进入移动变焦模式。  It is also used when the motion sensing module powers up after the power supply timing determines that the motion sensing module has entered the measurement mode and the communication data is normal, and the other terminal enters the moving zoom mode.
进一步地, 进入移动变焦模式后, 所述应用处理模块, 用于通过串行 外设接口与所述动作感应模块进行通讯, 并读取动作感应模块测量所得的 终端当前 X轴、 Y轴和 Z轴的偏移量;  Further, after entering the moving zoom mode, the application processing module is configured to communicate with the motion sensing module through a serial peripheral interface, and read the current X axis, the Y axis, and the Z measured by the motion sensing module. Offset of the axis;
所述应用处理模块, 还用于连续读取多组动作感应模块的偏移量信号 后, 对所读取的多组偏移量信号进行比较与计算, 从而得出终端前向或者 后向的位移变化量;  The application processing module is further configured to compare and calculate the read multiple sets of offset signals after continuously reading the offset signals of the multiple sets of motion sensing modules, thereby obtaining the forward or backward direction of the terminal. Displacement change amount;
所述应用处理模块, 还用于根据计算所得的终端前向或后向的位移变 化量, 并结合用户对移动变焦模式的初始设置中光学变焦与数码变焦的优 先次序、 及前向或后向的位移变化量与终端数码变焦范围的比例关系, 得 到当前终端摄像头的取景方式采用光学变焦或数码变焦, 并得到变焦倍数。  The application processing module is further configured to: according to the calculated displacement change of the forward or backward direction of the terminal, combined with the priority of the optical zoom and the digital zoom in the initial setting of the moving zoom mode, and the forward or backward direction The ratio of the displacement change to the digital zoom range of the terminal is obtained by using the optical zoom or the digital zoom of the current terminal camera, and the zoom magnification is obtained.
本发明还提供了一种摄像头变焦方法, 该方法包括:  The invention also provides a camera zoom method, the method comprising:
当用户利用终端的摄像头进行拍摄并启动移动变焦模式时, 将终端进 行前向或后向移动; 终端捕捉自身的前向或后向移动信息, 并将该移动信 息转换成变焦信号, 从而使终端摄像头输入的图像发生数码变焦或光学变 焦。  When the user uses the camera of the terminal to shoot and activate the moving zoom mode, the terminal is moved forward or backward; the terminal captures its forward or backward movement information, and converts the movement information into a zoom signal, thereby making the terminal Digital zoom or optical zoom occurs in the image input by the camera.
进一步地, 启动移动变焦模式后, 终端中的应用处理模块通过控制动 作感应模块的电源时序, 使动作感应模块进入测量模式; 应用处理模块判 断动作感应模块是否已进入测量模式, 如果应用处理模块检测到自身与动 作感应模块的通讯出现错误, 则停止移动变焦模式; Further, after the moving zoom mode is activated, the application processing module in the terminal controls the motion sensing module to enter the measurement mode by controlling the power timing of the motion sensing module; Whether the break motion sensing module has entered the measurement mode, and if the application processing module detects that there is an error in communication between the motion sensing module and the motion sensing module, stopping the moving zoom mode;
如果动作感应模块以电源时序上电后, 应用处理模块判断动作感应模 块已进入测量模式且通讯数据正常, 则进入移动变焦模式。  If the motion sensing module powers up after the power supply timing, the application processing module determines that the motion sensing module has entered the measurement mode and the communication data is normal, then enters the moving zoom mode.
进一步地, 进入移动变焦模式后, 终端中的应用处理模块会通过串行 外设接口与终端动作感应模块进行通讯, 读取动作感应模块测量所得的终 端当前 X轴、 Y轴和 Z轴的偏移量;  Further, after entering the moving zoom mode, the application processing module in the terminal communicates with the terminal motion sensing module through the serial peripheral interface, and reads the current X-axis, Y-axis, and Z-axis deviation of the terminal measured by the motion sensing module. Transfer amount
应用处理模块连续读取多组动作感应模块的偏移量信号后, 对所读取 的多组偏移量信号进行比较与计算, 从而得出终端前向或者后向的位移变 化量。  After the application processing module continuously reads the offset signals of the multiple sets of motion sensing modules, the plurality of sets of offset signals that are read are compared and calculated, thereby obtaining the displacement variation of the forward or backward direction of the terminal.
进一步地, 应用处理模块根据计算所得的终端前向或后向的位移变化 量, 并结合用户对移动变焦模式的初始设置中光学变焦与数码变焦的优先 次序、 及前向或后向的位移变化量与终端数码变焦范围的比例关系, 得到 当前终端摄像头的取景方式采用光学变焦或数码变焦, 并得到变焦倍数。  Further, the application processing module according to the calculated displacement change of the forward or backward direction of the terminal, combined with the priority of the optical zoom and the digital zoom, and the change of the forward or backward displacement in the initial setting of the moving zoom mode by the user The proportional relationship between the amount and the digital zoom range of the terminal, and the framing mode of the current terminal camera is obtained by optical zoom or digital zoom, and the zoom magnification is obtained.
进一步地, 所述应用处理模块将终端捕获的自身的移动信息作为对来 自图像采集模块的数字图像信号进行放大或缩小处理的依据, 并将对数字 图像信号进行放大或缩小处理的控制指令发送至图像处理模块, 通过所述 图像处理模块对图像进行变焦处理。  Further, the application processing module uses the mobile information captured by the terminal as a basis for amplifying or reducing the digital image signal from the image capturing module, and sends a control instruction for amplifying or reducing the digital image signal to The image processing module performs zoom processing on the image by the image processing module.
综上所述, 采用本发明具有如下有益效果:  In summary, the use of the present invention has the following beneficial effects:
本发明所述的终端在拍照或摄像时的移动变焦模式, 可以快速、 流畅 的完成数码变焦倍数的切换, 从而改变当前终端普遍采用的先手动设定固 定的数码变焦倍数后再进行拍摄的过程, 提升用户在使用终端进行拍摄时 的体验。 附图说明 图 1是本发明实施例终端移动变焦模式的拍摄方法的流程图; 图 2是本发明实施例具有摄像功能的终端组成示意图。 具体实施方式 The moving zoom mode of the terminal in the photographing or photographing of the invention can quickly and smoothly complete the switching of the digital zoom multiple, thereby changing the process of manually setting the fixed digital zoom magnification which is commonly used by the current terminal, and then performing the shooting process. , enhance the user experience when using the terminal for shooting. BRIEF DESCRIPTION OF DRAWINGS FIG. 1 is a flowchart of a method for photographing a moving zoom mode of a terminal according to an embodiment of the present invention; FIG. 2 is a schematic diagram of the composition of a terminal having an imaging function according to an embodiment of the present invention. detailed description
本发明提供一种终端及其摄像头变焦的方法, 使用户在使用终端进行 拍照和摄像时, 能够将用户对终端的前向及后向动作自动转化为摄像头的 数码变焦调整变化, 即移动变焦模式, 从而简化现在常见的先设定拍摄放 大倍数再进行拍摄的过程。  The invention provides a method for zooming a terminal and a camera thereof, so that when the user performs photographing and photographing using the terminal, the forward and backward motions of the user can be automatically converted into digital zoom adjustment changes of the camera, that is, the moving zoom mode. , which simplifies the process of shooting the zoom magnification and then shooting.
本发明所提供的具有摄像功能的终端包括有以下功能模块:  The terminal with camera function provided by the invention comprises the following functional modules:
动作感应模块, 可以识别用户在使用终端进行拍摄时的前向及后向动 作, 并且可以将这些动作的变化转变为数字信号传输给应用处理模块; 图像采集模块, 可以将摄入的图像信息转变为数字图像信号, 并经过 适当的信号处理后, 将这些数字图像信号传输给图像处理模块;  The motion sensing module can recognize the forward and backward motions of the user when using the terminal for shooting, and can convert the changes of these actions into digital signals for transmission to the application processing module; the image acquisition module can convert the ingested image information After being digital signal signals, and after appropriate signal processing, transmitting the digital image signals to the image processing module;
图像处理模块, 接收来自于应用处理模块的控制信号, 对来自于图像 采集模块的数字图像信号进行数码变焦处理, 并输出处理后的数字图像信 号到图像存储模块;  The image processing module receives a control signal from the application processing module, performs digital zoom processing on the digital image signal from the image acquisition module, and outputs the processed digital image signal to the image storage module;
图像存储模块, 对图像处理模块传输的数字图像信号进行存储, 以用 于终端屏幕的图像显示或用于向终端的存储器传输待存储的数字图像信 号, 及接收来自于应用处理模块的控制信号;  The image storage module stores the digital image signal transmitted by the image processing module for image display of the terminal screen or for transmitting the digital image signal to be stored to the memory of the terminal, and receiving a control signal from the application processing module;
模式启动 /停止模块, 用于启动或停止移动变焦模式, 将控制信号传输 给应用处理模块;  a mode start/stop module for starting or stopping the moving zoom mode, transmitting a control signal to the application processing module;
应用处理模块, 可以接收来自于动作感应模块、 模式启动 /停止模块的 数字信号, 且能够在移动变焦模式下, 提取来自于动作感应模块的用户前 向及后向动作信息, 将这些动作信息, 作为对来自于图像采集模块的图像 数字信号进行放大或缩小的处理依据, 并将对图像数字信号进行放大或缩 小处理的控制指令发送至图像处理模块。  The application processing module can receive the digital signals from the motion sensing module and the mode start/stop module, and can extract the forward and backward motion information of the user from the motion sensing module in the moving zoom mode, and the action information is As a processing basis for enlarging or reducing the image digital signal from the image acquisition module, a control command for amplifying or reducing the image digital signal is sent to the image processing module.
本发明终端在拍照或摄像时的移动变焦方法包括以下步驟: 步驟 1 : 用户对终端拍摄时的移动变焦模式进行初始设置; 步驟 2: 用户在利用终端的摄像头进行拍摄时启动移动变焦模式; 步驟 3: 用户对终端进行前向或后向移动, 终端将已捕捉的自身的移动 信息转换成变焦信号, 从而使终端的摄像头输入图像发生数码变焦或光学 变焦, 并将变焦后的图像显示在终端的屏幕上; The moving zoom method of the terminal of the present invention when taking a picture or taking a picture includes the following steps: Step 1: The user initially sets the moving zoom mode when the terminal is shooting. Step 2: The user starts the moving zoom mode when shooting with the camera of the terminal; Step 3: The user moves forward or backward to the terminal, and the terminal will have The captured moving information is converted into a zoom signal, so that the camera input image of the terminal is digitally zoomed or optically zoomed, and the zoomed image is displayed on the screen of the terminal;
步驟 4: 用户在满意的变焦倍数下, 通过点击 "拍摄"按键, 对呈现在 终端屏幕上的图像进行存储。  Step 4: The user stores the image presented on the terminal screen by clicking the "Shooting" button at a satisfactory zoom factor.
在移动过程中, 用户可以随时停止移动变焦模式, 此时的变焦倍数将 根据用户对移动变焦模式的初始设置, 停留在停止前的变焦倍数或默认变 焦倍数上。  During the movement, the user can stop moving the zoom mode at any time. The zoom factor at this time will stay at the zoom factor before the stop or the default zoom multiplier according to the user's initial setting of the moving zoom mode.
在移动过程中, 当终端摄像头具有光学变焦功能时, 终端的前向或后 向移动也会引起光学变焦倍数的变化, 但光学变焦与数码变焦的次序, 以 及前向或后向移动与变焦倍数的关系, 会由用户对移动变焦模式的初始设 置决定。  During the movement, when the terminal camera has an optical zoom function, the forward or backward movement of the terminal also causes a change in the optical zoom factor, but the order of the optical zoom and the digital zoom, and the forward or backward movement and the zoom factor The relationship will be determined by the user's initial settings for the moving zoom mode.
结合附图对技术方案的实施作进一步的详细描述:  The implementation of the technical solution will be further described in detail with reference to the accompanying drawings:
图 1 为本发明实施例终端移动变焦模式的拍摄方法的流程图, 包括以 下步驟:  FIG. 1 is a flowchart of a method for photographing a moving zoom mode of a terminal according to an embodiment of the present invention, including the following steps:
S101 : 进入拍照 /摄像功能;  S101: Enter the camera/camera function;
用户拿出终端准备对窗外的风景进行拍照, 该终端配备有 800万像素 的后置摄像头, 同时具备数码变焦和光学变焦功能及三轴加速度传感器。 用户从终端的操作系统界面上找到拍照 /摄像功能的图标, 点击后, 终端进 入拍照 /摄像功能的界面。从终端屏幕上可以实时看到摄像头所捕捉的图像。  The user takes out the terminal and prepares to take pictures of the scenery outside the window. The terminal is equipped with an 8 megapixel rear camera, digital zoom and optical zoom and a three-axis acceleration sensor. The user finds the icon of the camera/camera function from the operating system interface of the terminal, and after clicking, the terminal enters the interface of the camera/camera function. The image captured by the camera can be seen in real time from the terminal screen.
S102: 启动移动变焦模式;  S102: Start the moving zoom mode;
为了能够快速的拉近或拉远终端屏幕中所显示的风景图像, 启动终端 所带有的移动变焦模式, 即点击拍照 /摄像界面上的移动变焦模式图标。 S103: 初始化动作感应模块; In order to quickly zoom in or zoom out the landscape image displayed on the terminal screen, activate the moving zoom mode of the terminal, that is, click the moving zoom mode icon on the camera/camera interface. S103: Initialize the motion sensing module.
终端启动拍摄移动变焦模式后, 起到控制核心作用的应用处理模块通 过控制动作感应模块的电源时序, 使动作感应模块进入测量模式, 并通过 串行外设接口 ( Serial Peripheral Interface, SPI )与动作感应模块进行通讯。  After the terminal starts to shoot the moving zoom mode, the application processing module that plays the role of the control core controls the motion sensing module to enter the measurement mode, and through the Serial Peripheral Interface (SPI) and the action. The sensing module communicates.
S104: 判断启动动作感应模块是否成功, 如果成功, 转入步驟 S105, 如果失败, 则转入步驟 S112;  S104: determining whether the activation of the motion sensing module is successful, if successful, proceeds to step S105, if it fails, then proceeds to step S112;
终端中的应用处理模块判断动作感应模块是否已进入测量模式, 如果 成功, 转入步驟 S105, 如果失败, 则转入步驟 S112;  The application processing module in the terminal determines whether the motion sensing module has entered the measurement mode, if successful, proceeds to step S105, and if it fails, proceeds to step S112;
S105: 提示用户进入移动变焦模式;  S105: prompting the user to enter the moving zoom mode;
如果动作感应模块以合适的电源时序上电后, 应用处理模块确定动作 感应模块已进入测量模式及通讯数据正常时, 应用处理模块则会发出提示, 终端屏幕将显示: 拍摄已进入移动变焦模式, 并在终端屏幕上提示: 终端 已经入移动变焦模式。  If the motion sensing module is powered on at the appropriate power supply timing, and the application processing module determines that the motion sensing module has entered the measurement mode and the communication data is normal, the application processing module will issue a prompt, and the terminal screen will display: The shooting has entered the moving zoom mode. And prompt on the terminal screen: The terminal has entered the moving zoom mode.
S106: 应用处理模块接收并处理动作感应模块传来的信号;  S106: The application processing module receives and processes the signal sent by the motion sensing module.
进入移动变焦模式后, 应用处理模块会通过 SPI与动作感应模块进行 通讯, 读取动作感应模块测量所得的当前 X轴、 Y轴、 Z轴的偏移量。  After entering the moving zoom mode, the application processing module communicates with the motion sensing module through the SPI, and reads the offset of the current X-axis, Y-axis, and Z-axis measured by the motion sensing module.
S107: 应用处理模块计算终端的前向或后向移动的位移差;  S107: The application processing module calculates a displacement difference of the forward or backward movement of the terminal;
应用处理模块连续读取若干组动作感应模块的偏移量信号后, 会对这 若干组偏移量信号进行比较与计算, 从而得出终端前向或者后向的位移变 化量。  After the application processing module continuously reads the offset signals of several groups of motion sensing modules, the offset signals of the groups are compared and calculated to obtain the displacement variation of the terminal in the forward or backward direction.
S108: 应用处理模块根据位移差向图像处理模块发送数码变焦指令; 应用处理模块将终端捕获的自身的移动信息作为对来自图像采集模块 的数字图像信号进行放大或缩小处理的依据, 并将对数字图像信号进行放 大或缩小处理的控制指令发送至图像处理模块。  S108: the application processing module sends a digital zoom instruction to the image processing module according to the displacement difference; the application processing module uses the movement information captured by the terminal as a basis for enlarging or reducing the digital image signal from the image acquisition module, and the digital A control command for enlarging or reducing the image signal is sent to the image processing module.
S109: 图像处理模块对图像采集模块输出的图像信号进行变焦处理; 应用处理模块根据计算出的终端前向或后向的位移变化量, 以及用户 对移动变焦模式的初始设置中, 光学变焦与数码变焦的优先次序, 前向或 后向的位移变化量与终端数码变焦范围的比例关系, 得出当前终端摄像头 取景时采用光学变焦或数码变焦的方式, 并得到变焦倍数。 例如: 终端摄 像头当前的图像变焦倍数为 IX,应用处理模块判断终端发生了前向的移动, 并通过计算得出前向移动的位移是 0.52cm。根据数码变焦模式的初始设置: 当前仅采用数码变焦, 且前向移动距离 0.5cm代表数码变焦倍数翻倍, 所 以, 应用处理模块将会调整终端摄像头的数码变焦倍数从 IX变为 2X。 S109: The image processing module performs zoom processing on the image signal output by the image capturing module; The application processing module according to the calculated displacement of the forward or backward displacement of the terminal, and the initial setting of the user's movement zoom mode, the priority of the optical zoom and the digital zoom, the forward or backward displacement change amount and the terminal digital The proportional relationship of the zoom range is obtained by using the optical zoom or digital zoom when the current camera is framing, and the zoom factor is obtained. For example: The current camera zoom magnification of the terminal camera is IX, and the application processing module determines that the terminal has moved forward, and calculates that the displacement of the forward movement is 0.52 cm. According to the initial setting of the digital zoom mode: Currently only digital zoom is used, and the forward movement distance of 0.5cm represents a doubling of the digital zoom factor. Therefore, the application processing module will adjust the digital zoom factor of the terminal camera from IX to 2X.
S110: 图像处理模块输出图像信号至图像存储模块;  S110: The image processing module outputs an image signal to the image storage module.
图像处理模块此时通过数据总线( Data Bus )实时接收来自于图像采集 模块采集到的数字图像信号,采用数码变焦倍数 IX的图像算法进行数据处 理, 并将处理后的数字图像信号传输给图像存储模块用以数字图像信号的 屏幕显示或存储器存储。 当图像处理模块接收到应用处理模块发出的对数 码变焦倍数从 IX到 2X进行调整的指令后, 立即对来自于图像采集模块的 数字图像信号采用数码变焦倍数为 2X的图像算法进行数据处理,并将处理 后的数字图像信号传输给图像存储模块。  The image processing module receives the digital image signal collected by the image acquisition module in real time through the data bus, and uses the image algorithm of the digital zoom factor IX to perform data processing, and transmits the processed digital image signal to the image storage. The module is used for on-screen display or memory storage of digital image signals. When the image processing module receives an instruction from the application processing module to adjust the digital zoom magnification from IX to 2X, the digital image signal from the image acquisition module is immediately processed by an image algorithm with a digital zoom factor of 2X, and The processed digital image signal is transmitted to the image storage module.
S 111: 图像存储模块根据应用处理模块的指令将图像信号进行屏幕显 示或存储处理;  S111: The image storage module performs on-screen display or storage processing on the image signal according to an instruction of the application processing module;
此时, 终端屏幕上可以看到显示的风景图像已经放大, 即从数码变焦 倍数为 IX变化到了 2X。 从而实现了通过终端的前向或后向位移改变终端 摄像头数码变焦倍数的效果。  At this time, the landscape image displayed on the terminal screen can be enlarged, that is, the digital zoom factor is changed from IX to 2X. Thereby, the effect of changing the digital zoom factor of the terminal camera by the forward or backward displacement of the terminal is realized.
S112: 向用户告警并转入步驟 S113;  S112: alerting the user and proceeding to step S113;
如果应用处理模块检测到与动作感应模块间的通讯出现错误, 则应用 处理模块会发出错误提示, 并将错误提示显示在终端屏幕上, 以表示无法 进入移动变焦模式, 即移动变焦模式停止。 S113 : 停止移动变焦模式并提示用户。 If the application processing module detects an error in communication with the motion sensing module, the application processing module issues an error prompt and displays the error prompt on the terminal screen to indicate that the moving zoom mode cannot be entered, that is, the moving zoom mode is stopped. S113 : Stop moving the zoom mode and prompt the user.
若用户此时希望停止移动变焦模式时, 只需点击终端屏幕上的移动变 焦模式图标, 此时终端屏幕提示移动变焦模式停止, 并且摄像头的数码变 焦倍数将根据用户之前对移动变焦模式的初始设置而固定下来。  If the user wants to stop moving the zoom mode at this time, just click the moving zoom mode icon on the terminal screen, the terminal screen prompts the moving zoom mode to stop, and the digital zoom factor of the camera will be based on the user's previous initial setting of the moving zoom mode. And fixed it.
请参考图 1所示, 是本发明实施例具有摄像功能的终端组成示意图, 其包括有以下功能模块:  Referring to FIG. 1 , it is a schematic diagram of a terminal having a camera function according to an embodiment of the present invention, which includes the following functional modules:
动作感应模块, 用于用户利用终端的摄像头进行拍摄并启动移动变焦 模式, 且前向或后向移动终端时, 捕捉终端的前向或后向移动信息, 并把 所述移动信息传输给应用处理模块; 其能够感知终端的前向或后向位移和 动作, 并输出终端 X轴、 Y轴、 Z轴的位置等;  The motion sensing module is configured to: when the user uses the camera of the terminal to shoot and activate the moving zoom mode, and forwards or backwards the mobile terminal, captures forward or backward movement information of the terminal, and transmits the mobile information to the application processing. a module; capable of sensing the forward or backward displacement and motion of the terminal, and outputting the positions of the X-axis, the Y-axis, and the Z-axis of the terminal;
图像采集模块, 具有感光成像器件的视频输入设备, 能够将摄入的图 像信息转化为数字图像信号, 并通过数据传输接口向外传输采集到的数字 图像信号给图像处理模块, 有些图像采集模块也带有光学变焦装置;  The image acquisition module has a video input device with a photosensitive imaging device, which can convert the ingested image information into a digital image signal, and transmit the collected digital image signal to the image processing module through the data transmission interface, and some image acquisition modules also With optical zoom device;
图像处理模块, 能够根据应用处理模块的指令, 对输入的数字图像信 息进行放大或缩小的处理, 以形成数码变焦的效果, 并能够通过数据传输 接口向外, 如图像存储模块传输处理完成的数字图像信号;  The image processing module can enlarge or reduce the input digital image information according to an instruction of the application processing module to form a digital zoom effect, and can transmit the processed digital number through the data transmission interface, such as the image storage module. Image signal
图像存储模块, 能够存储及向外传输数字图像信号, 并根据应用处理 模块的指令, 使终端的屏幕显示过程能够调用存储的数字图像信号, 或将 这些数字图像信号传输至终端的内部或外部存储器部分;  An image storage module capable of storing and transferring digital image signals, and enabling a screen display process of the terminal to call the stored digital image signals according to an instruction of the application processing module, or transmitting the digital image signals to an internal or external memory of the terminal section;
模式启动 /停止模块, 能够感知终端用户开启或关闭拍摄时的移动变焦 模式, 并输出模式状态提示;  The mode start/stop module is capable of sensing the moving zoom mode when the end user turns the shooting on or off, and outputs a mode status prompt;
应用处理模块, 用于接收来自动作感应模块的移动信息, 将所述移动 信息转换成变焦信号, 从而使终端摄像头输入的图像发生数码变焦或光学 变焦; 是移动变焦模式的控制中心, 能够接收并处理动作感应模块的数据, 以及模式启动 /停止模块的信号, 并对其他功能模块实行统一的控制。 上述功能模块之间的关系, 如图 1所示, 应用处理模块控制动作感应 模块、 图像处理模块、 图像存储模块模块的运行及动作, 并接收、 处理来 自于动作感应模块、 模式启动 /停止模块的数据, 图像处理模块接收来自图 像采集模块的数字图像信号并处理, 图像处理模块同时可以将处理后的数 字图像信号传输给图像存储模块。 An application processing module, configured to receive movement information from the motion sensing module, convert the motion information into a zoom signal, thereby causing digital zoom or optical zoom of the image input by the terminal camera; and being a control center of the moving zoom mode, capable of receiving and Process the data of the motion sensing module, as well as the signal of the mode start/stop module, and implement unified control of other functional modules. The relationship between the above functional modules is as shown in FIG. 1. The application processing module controls the operation and actions of the motion sensing module, the image processing module, and the image storage module, and receives and processes the motion sensing module and the mode startup/stop module. The image processing module receives and processes the digital image signal from the image acquisition module, and the image processing module can simultaneously transmit the processed digital image signal to the image storage module.
图像采集模块还可以带有光学变焦装置, 并可由应用处理模块控制光 学变焦装置的变焦倍数。  The image acquisition module can also be provided with an optical zoom device and the zoom factor of the optical zoom device can be controlled by the application processing module.
应用处理模块还可以对带有光学变焦装置的图像采集模块进行光学变 焦倍数的控制。  The application processing module also controls the optical zoom factor for an image acquisition module with an optical zoom.
用户使用本发明所述的终端在拍照或摄像时的移动变焦模式, 可以快 速、 流畅的完成数码变焦倍数的切换, 从而改变当前终端普遍采用的先手 动设定固定的数码变焦倍数后再进行拍摄的过程, 提升用户在使用终端进 行拍摄时的用户体验。  When the user uses the moving zoom mode of the terminal according to the present invention to take a picture or a camera, the digital zoom multiple can be switched quickly and smoothly, thereby changing the digital zoom factor that is commonly used in the current terminal to manually set a fixed digital zoom multiple. The process of improving the user experience when using the terminal for shooting.
当然, 本发明还可有多种实施方式, 在不背离本发明精神及其实质的 情况, 熟悉本领域的技术人员当然可根据本发明做出各种相应的更改或变 化, 但凡在本发明的精神和原则之内所作的任何修改、 等同替换、 改进, 均应包含在本发明的保护范围之内。  Of course, the present invention may be embodied in various other modifications and changes without departing from the spirit and scope of the invention. Any modifications, equivalent substitutions, and improvements made within the spirit and principles are intended to be included within the scope of the present invention.

Claims

权利要求书 Claim
1、 一种具有摄像功能终端, 其特征在于, 所述终端包括动作感应模块 和应用处理模块;  A terminal having a camera function, wherein the terminal comprises a motion sensing module and an application processing module;
所述动作感应模块, 用于用户利用终端的摄像头进行拍摄并启动移动 变焦模式, 且前向或后向移动终端时, 捕捉终端的前向或后向移动信息, 并将所述移动信息传输给应用处理模块;  The motion sensing module is configured to: when the user uses the camera of the terminal to shoot and activate the moving zoom mode, and forward or backward to move the terminal, capture forward or backward movement information of the terminal, and transmit the mobile information to Application processing module;
所述应用处理模块, 用于接收来自动作感应模块的移动信息, 将所述 移动信息转换成变焦信号, 使终端摄像头输入的图像发生数码变焦或光学 变焦。  The application processing module is configured to receive movement information from the motion sensing module, convert the motion information into a zoom signal, and cause a digital zoom or an optical zoom of the image input by the terminal camera.
2、 如权利要求 1所述的终端, 其特征在于, 所述终端还包括: 图像采 集模块、 图像处理模块和图像存储模块;  2. The terminal according to claim 1, wherein the terminal further comprises: an image acquisition module, an image processing module, and an image storage module;
所述图像采集模块, 用于将摄入的图像信息转变为数字图像信号, 并 经过信号处理后, 将所述数字图像信号传输给图像处理模块;  The image acquisition module is configured to convert the ingested image information into a digital image signal, and after the signal processing, transmit the digital image signal to the image processing module;
所述图像处理模块, 用于接收来自应用处理模块的控制信号, 对来自 图像采集模块的数字图像信号进行数码变焦处理, 并输出处理后的数字图 像信号到图像存储模块;  The image processing module is configured to receive a control signal from the application processing module, perform digital zoom processing on the digital image signal from the image acquisition module, and output the processed digital image signal to the image storage module;
所述图像存储模块, 用于对图像处理模块传输的数字图像信号进行存 储, 以用于终端屏幕的图像显示或用于向终端的存储器传输待存储的数字 图像信号, 及接收来自应用处理模块的控制信号;  The image storage module is configured to store the digital image signal transmitted by the image processing module for image display of the terminal screen or for transmitting the digital image signal to be stored to the memory of the terminal, and receiving the image processing module from the application control signal;
相应的, 所述应用处理模块, 还用于向图像处理模块和 /或图像存储模 块发送控制信号。  Correspondingly, the application processing module is further configured to send a control signal to the image processing module and/or the image storage module.
3、 如权利要求 2所述的终端, 其特征在于, 所述应用处理模块, 用于 将所述移动信息, 作为对来自图像采集模块的数字图像信号进行放大或缩 小处理的依据, 并将对数字图像信号进行放大或缩小处理的控制指令发送 至图像处理模块; 相应的, 所述图像处理模块, 用于接收应用处理模块所发的对数字图 像信号进行放大或缩小处理的控制指令。 The terminal according to claim 2, wherein the application processing module is configured to use the movement information as a basis for enlarging or reducing a digital image signal from the image acquisition module, and a control instruction for performing amplification or reduction processing on the digital image signal is sent to the image processing module; Correspondingly, the image processing module is configured to receive a control instruction sent by the application processing module to perform amplification or reduction processing on the digital image signal.
4、 如权利要求 1所述的终端, 其特征在于, 启动移动变焦模式后, 所 述应用处理模块, 用于通过控制动作感应模块的电源时序, 使动作感应模 块进入测量模式; 判断动作感应模块是否已进入测量模式, 如果检测到自 身与动作感应模块的通讯出现错误, 则停止移动变焦模式;  The terminal according to claim 1, wherein, after the moving zoom mode is activated, the application processing module is configured to control the motion sensing module to enter the measurement mode by controlling the power timing of the motion sensing module; Whether it has entered the measurement mode, if it detects that there is an error in communication with the motion sensing module, it stops moving the zoom mode;
所述应用处理模块, 还用于动作感应模块以电源时序上电后, 确定动 作感应模块已进入测量模式且通讯数据正常时, 另终端进入移动变焦模式。  The application processing module is further configured to: after the power sensing module is powered on, determine that the motion sensing module has entered the measurement mode and the communication data is normal, and the terminal enters the moving zoom mode.
5、 如权利要求 1所述的终端, 其特征在于, 进入移动变焦模式后, 所 述应用处理模块, 用于通过串行外设接口与所述动作感应模块进行通讯, 并读取动作感应模块测量所得的终端当前 X轴、 Y轴和 Z轴的偏移量; 所述应用处理模块, 还用于连续读取多组动作感应模块的偏移量信号 后, 对所读取的多组偏移量信号进行比较与计算, 得出终端前向或者后向 的位移变化量;  The terminal according to claim 1, wherein after the moving zoom mode is entered, the application processing module is configured to communicate with the motion sensing module through a serial peripheral interface, and read the motion sensing module. Measuring the offset of the current X-axis, the Y-axis, and the Z-axis of the terminal; the application processing module is further configured to continuously read the offset signals of the multiple sets of motion sensing modules, and then read the multiple sets of partial offsets The shift signal is compared and calculated to obtain the displacement change of the terminal in the forward or backward direction;
所述应用处理模块, 还用于根据计算所得的终端前向或后向的位移变 化量, 并结合用户对移动变焦模式的初始设置中光学变焦与数码变焦的优 先次序、 及前向或后向的位移变化量与终端数码变焦范围的比例关系, 得 到当前终端摄像头的取景方式采用光学变焦或数码变焦, 并得到变焦倍数。  The application processing module is further configured to: according to the calculated displacement change of the forward or backward direction of the terminal, combined with the priority of the optical zoom and the digital zoom in the initial setting of the moving zoom mode, and the forward or backward direction The ratio of the displacement change to the digital zoom range of the terminal is obtained by using the optical zoom or the digital zoom of the current terminal camera, and the zoom magnification is obtained.
6、 一种摄像头变焦方法, 其特征在于, 该方法包括:  6. A camera zoom method, the method comprising:
当用户利用终端的摄像头进行拍摄并启动移动变焦模式时, 将终端进 行前向或后向移动; 终端捕捉自身的前向或后向移动信息, 并将该移动信 息转换成变焦信号, 使终端摄像头输入的图像发生数码变焦或光学变焦。  When the user uses the camera of the terminal to shoot and activate the moving zoom mode, the terminal is moved forward or backward; the terminal captures its forward or backward movement information, and converts the movement information into a zoom signal, so that the terminal camera The input image is digitally zoomed or optically zoomed.
7、 如权利要求 6所述的方法, 其特征在于, 启动移动变焦模式后, 该 方法还包括: 终端中的应用处理模块通过控制动作感应模块的电源时序, 使动作感应模块进入测量模式; 应用处理模块判断动作感应模块是否已进 入测量模式, 如果应用处理模块检测到自身与动作感应模块的通讯出现错 误, 则停止移动变焦模式; The method of claim 6, wherein after the moving zoom mode is activated, the method further comprises: the application processing module in the terminal controls the motion sensing module to enter the measurement mode by controlling the power timing of the motion sensing module; The processing module determines whether the motion sensing module has entered In the measurement mode, if the application processing module detects that there is an error in communication with the motion sensing module, the zoom mode is stopped;
如果动作感应模块以电源时序上电后, 应用处理模块判断动作感应模 块已进入测量模式且通讯数据正常, 则进入移动变焦模式。  If the motion sensing module powers up after the power supply timing, the application processing module determines that the motion sensing module has entered the measurement mode and the communication data is normal, then enters the moving zoom mode.
8、如权利要求 6或 7所述的方法, 其特征在于, 进入移动变焦模式后, 该方法还包括: 终端中的应用处理模块会通过串行外设接口与终端动作感 应模块进行通讯, 读取动作感应模块测量所得的终端当前 X轴、 Y轴和 Z 轴的偏移量;  The method according to claim 6 or 7, wherein after the moving zoom mode is entered, the method further comprises: the application processing module in the terminal communicates with the terminal motion sensing module through the serial peripheral interface, and reads Taking the motion sensor module to measure the offset of the current X-axis, Y-axis and Z-axis of the terminal;
应用处理模块连续读取多组动作感应模块的偏移量信号后, 对所读取 的多组偏移量信号进行比较与计算, 得出终端前向或者后向的位移变化量。  After the application processing module continuously reads the offset signals of the multiple sets of motion sensing modules, the plurality of sets of offset signals read and compared are compared and calculated, and the displacement variation of the forward or backward direction of the terminal is obtained.
9、 如权利要求 8所述的方法, 其特征在于, 该方法还包括: 应用处理 模块根据计算所得的终端前向或后向的位移变化量, 结合用户对移动变焦 模式的初始设置中光学变焦与数码变焦的优先次序、 及前向或后向的位移 变化量与终端数码变焦范围的比例关系, 得到当前终端摄像头的取景方式 采用光学变焦或数码变焦, 并得到变焦倍数。  9. The method according to claim 8, wherein the method further comprises: applying, by the processing module, the optical zoom of the initial setting of the moving zoom mode according to the calculated displacement of the forward or backward displacement of the terminal. The priority relationship with the digital zoom, and the proportional relationship between the forward or backward displacement change and the digital zoom range of the terminal, the optical zoom or digital zoom of the current terminal camera is obtained, and the zoom magnification is obtained.
10、 如权利要求 6或 7所述的方法, 其特征在于, 所述终端将该移动 信息转换成变焦信号使图像发生变焦, 为: 应用处理模块将终端捕获的自 身的移动信息作为对来自图像采集模块的数字图像信号进行放大或缩小处 理的依据, 并将对数字图像信号进行放大或缩小处理的控制指令发送至图 像处理模块, 通过所述图像处理模块对图像进行变焦处理。  The method according to claim 6 or 7, wherein the terminal converts the movement information into a zoom signal to cause the image to be zoomed, wherein: the application processing module uses the movement information captured by the terminal as the pair of images. The digital image signal of the acquisition module is subjected to amplification or reduction processing, and a control instruction for amplifying or reducing the digital image signal is sent to the image processing module, and the image is subjected to zoom processing by the image processing module.
PCT/CN2012/075051 2011-11-16 2012-05-03 Terminal with photographic function and camera zooming method thereof WO2013071737A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201110363147.3A CN102420940B (en) 2011-11-16 2011-11-16 Terminal with camera shooting function and camera zooming method thereof
CN201110363147.3 2011-11-16

Publications (1)

Publication Number Publication Date
WO2013071737A1 true WO2013071737A1 (en) 2013-05-23

Family

ID=45945156

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2012/075051 WO2013071737A1 (en) 2011-11-16 2012-05-03 Terminal with photographic function and camera zooming method thereof

Country Status (2)

Country Link
CN (1) CN102420940B (en)
WO (1) WO2013071737A1 (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102420940B (en) * 2011-11-16 2014-09-10 中兴通讯股份有限公司 Terminal with camera shooting function and camera zooming method thereof
CN104618643B (en) * 2015-01-20 2017-10-17 广东欧珀移动通信有限公司 A kind of image pickup method and device
CN107370936B (en) * 2016-05-12 2020-09-25 青岛海信宽带多媒体技术有限公司 Zoom method and zoom device
CN106231176B (en) * 2016-07-18 2019-11-29 北京小米移动软件有限公司 Zoom processing method and processing device
CN106657766A (en) * 2016-10-19 2017-05-10 广东欧珀移动通信有限公司 Focusing adjustment method of camera, device and intelligent terminal
WO2022151473A1 (en) * 2021-01-18 2022-07-21 深圳市大疆创新科技有限公司 Photographing control method, photographing control apparatus and gimbal assembly

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1574849A (en) * 2003-06-20 2005-02-02 乐金电子(中国)研究开发中心有限公司 Camera installation for portable terminal
CN101572804A (en) * 2009-03-30 2009-11-04 浙江大学 Multi-camera intelligent control method and device
CN102075674A (en) * 2009-11-25 2011-05-25 奥林巴斯映像株式会社 Imaging apparatus
CN102420940A (en) * 2011-11-16 2012-04-18 中兴通讯股份有限公司 Terminal with camera shooting function and camera zooming method thereof

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4424364B2 (en) * 2007-03-19 2010-03-03 ソニー株式会社 Image processing apparatus and image processing method
CN102122107B (en) * 2010-01-08 2014-03-05 深圳富泰宏精密工业有限公司 Photographing system and method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1574849A (en) * 2003-06-20 2005-02-02 乐金电子(中国)研究开发中心有限公司 Camera installation for portable terminal
CN101572804A (en) * 2009-03-30 2009-11-04 浙江大学 Multi-camera intelligent control method and device
CN102075674A (en) * 2009-11-25 2011-05-25 奥林巴斯映像株式会社 Imaging apparatus
CN102420940A (en) * 2011-11-16 2012-04-18 中兴通讯股份有限公司 Terminal with camera shooting function and camera zooming method thereof

Also Published As

Publication number Publication date
CN102420940B (en) 2014-09-10
CN102420940A (en) 2012-04-18

Similar Documents

Publication Publication Date Title
US8976270B2 (en) Imaging device and imaging device control method capable of taking pictures rapidly with an intuitive operation
KR102145542B1 (en) Image photographing apparatus, image photographing system for photographing using a plurality of image photographing apparatuses and methods for photographing image thereof
US11832022B2 (en) Framing method for multi-channel video recording, graphical user interface, and electronic device
US8514285B2 (en) Image processing apparatus, image processing method and program
US8605158B2 (en) Image pickup control apparatus, image pickup control method and computer readable medium for changing an image pickup mode
US8929725B2 (en) Image capturing apparatus and control method thereof
WO2013071737A1 (en) Terminal with photographic function and camera zooming method thereof
US20120105647A1 (en) Control device, control method, program, and control system
KR20130069123A (en) Image pickup apparatus, method for providing composition of pickup and computer-readable recording medium
JP5436019B2 (en) Control device, control method, program, and recording medium
WO2011013563A1 (en) Control device, image-capturing system, control method, and program
JP5988749B2 (en) COMMUNICATION DEVICE, ITS CONTROL METHOD, AND PROGRAM
WO2021219141A1 (en) Photographing method, graphic user interface, and electronic device
US8649675B2 (en) Interchangeable lens and camera body
US11600277B2 (en) Voice input apparatus, control method thereof, and storage medium for executing processing corresponding to voice instruction
US8861949B2 (en) Apparatus and method of adjusting automatic focus
US8525912B2 (en) Method and apparatus for photographing an image of digital camera in a mobile communication terminal
JP2012090216A (en) Imaging device and control method for imaging device
KR101677699B1 (en) Camera module and mobile phone comprising it
JP7120235B2 (en) IMAGING DEVICE, CONTROL METHOD OF IMAGING DEVICE, AND PROGRAM
JP2013034158A (en) Imaging apparatus
JP2018037807A (en) Imaging apparatus, control method, program, and storage medium
JP2010062834A (en) Photographing system, photographing device constituting the same, and operation device
JP6657929B2 (en) Portable device, system, control method, and program
JP6270508B2 (en) Imaging apparatus and image display method of imaging apparatus

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

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 12850061

Country of ref document: EP

Kind code of ref document: A1