WO2017101456A1 - 一种拍摄图像的点对焦方法、系统及移动终端 - Google Patents

一种拍摄图像的点对焦方法、系统及移动终端 Download PDF

Info

Publication number
WO2017101456A1
WO2017101456A1 PCT/CN2016/092338 CN2016092338W WO2017101456A1 WO 2017101456 A1 WO2017101456 A1 WO 2017101456A1 CN 2016092338 W CN2016092338 W CN 2016092338W WO 2017101456 A1 WO2017101456 A1 WO 2017101456A1
Authority
WO
WIPO (PCT)
Prior art keywords
focus
image
center point
mobile terminal
preview image
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Ceased
Application number
PCT/CN2016/092338
Other languages
English (en)
French (fr)
Inventor
杨维琴
俞斌
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huizhou TCL Mobile Communication Co Ltd
Original Assignee
Huizhou TCL Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huizhou TCL Mobile Communication Co Ltd filed Critical Huizhou TCL Mobile Communication Co Ltd
Publication of WO2017101456A1 publication Critical patent/WO2017101456A1/zh
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

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
    • H04N23/67Focus control based on electronic image sensor signals
    • 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/62Control of parameters via user interfaces

Definitions

  • the captured image directly performs center point focusing
  • the camera captures the field of view and enlarges the captured image center point to the focus focus, thereby performing center point focusing.
  • the mobile terminal displays and saves the captured image according to the original preview image field size before the camera is zoomed in.
  • A1 obtaining the focus of the photographic focal point when the user coordinates (x p, y p); and acquires the center coordinates of the mobile terminal is currently preview image (x m, y m);
  • A2 determining the focus of the focus coordinates (x p, y p) of the current preview image center point coordinates of the mobile terminal (x m, y m) are the same.
  • the display area of the image is defined as the first interval
  • the display area of the image is defined as the third interval
  • the display area of the image is defined as a fourth interval
  • the image after zooming in the camera's field of view is focused on the center point by the focus focus (x p , y p ).
  • the present invention also provides a point focusing system for capturing an image, which includes:
  • a focus focus acquisition and determination module configured to acquire a focus of the focus when the user shoots, and determine whether the focus focus is a center point of the current preview image of the mobile terminal
  • a direct center point focusing module configured to perform a center point focusing directly when determining that the focus focus is a center point of a current preview image of the mobile terminal
  • the point focusing system for capturing an image wherein the system further includes:
  • the captured image display and save module is configured for the mobile terminal to display and save the captured image according to the original preview image field size before the enlarged camera captures the field of view.
  • the point focus system for capturing an image wherein the focus focus acquisition and determination module specifically includes:
  • a coordinate acquiring unit configured to acquire a focus coordinate (x p , y p ) of a focus when the user shoots; and obtain a center point coordinate (x m , y m ) of the current preview image of the mobile terminal;
  • x p is the abscissa of the focus focus coordinate, y p is the ordinate of the focus focus coordinate;
  • x m is the current preview image of the mobile terminal The center point of the horizontal point, y m is the center point ordinate of the current preview image of the mobile terminal;
  • x f is the horizontal length of the current preview image of the mobile terminal, and y f is the longitudinal length of the current preview image of the mobile terminal;
  • the display area of the image is defined as the first interval
  • the display area of the image is defined as the second interval
  • the display area of the image is defined as the third interval
  • the display area of the image is defined as a fourth interval
  • a first enlarged imaging field unit for expanding a field of view of the image captured by the camera to a lateral length of 2 (x f -x p ) and a longitudinal length when the focus focus coordinate (x p , y p ) belongs to the first interval 2y p , and the center point of the enlarged image is the focus focus ( x p , y p );
  • a second enlarged imaging field unit for expanding the field of view of the image captured by the camera to a lateral length of 2 x p and a longitudinal length of 2 y p when the focus focus coordinate (x p , y p ) belongs to the second interval; And expanding the center point of the captured image to the focus focus ( x p , y p );
  • a third enlarged imaging field unit for expanding the field of view of the image captured by the camera to a lateral length of 2 x p and a longitudinal length of 2 (y f when the focus focus coordinate (x p , y p ) belongs to the third interval -y p ) , and the center point of the enlarged image is the focus focus ( x p , y p );
  • a fourth enlarged imaging field unit for expanding the field of view of the image captured by the camera to a lateral length of 2 (x f -x p ) and a longitudinal length when the focus focus coordinate (x p , y p ) belongs to the fourth interval Is 2 ( y f -y p ) and makes the center point of the enlarged image the focus focus ( x p , y p );
  • the center point focus control unit is configured to perform center point focusing on the image after zooming in the field of view of the camera by the focus focus (x p , y p ).
  • the point focus system for capturing an image wherein the focus focus acquisition and determination module is configured to acquire a focus focus when the user shoots, and specifically includes: detecting a touch of the user on a camera-capture image display area of the mobile terminal, and acquiring The touched sensing point on the preview image is the focus focus.
  • the present invention also provides a mobile terminal including a point focusing system for capturing an image, the point focusing system of the captured image comprising:
  • a direct center point focusing module configured to directly perform center point focusing when determining that the focus focus is a center point of a current preview image of the mobile terminal
  • Enlarging the shooting and center point focus control module for determining that the focus focus is not the center point of the current preview image of the mobile terminal, expanding the camera shooting field of view and expanding the center point of the captured image to the focus focus, and then performing Center point focus.
  • the captured image display and save module is configured for the mobile terminal to display and save the captured image according to the original preview image field size before the enlarged camera captures the field of view.
  • the mobile terminal wherein the focus focus acquisition and determination module in the point focus system of the captured image specifically includes:
  • Comparative determination means configured to determine the focus of the focus coordinates (x p, y p) of the current preview image center point coordinates of the mobile terminal (x m, y m) are the same.
  • the mobile terminal wherein the extended shooting and center point focus control module in the point focusing system of the captured image specifically includes:
  • the display area of the image is defined as the first interval
  • the display area of the image is defined as the second interval
  • the display area of the image is defined as the third interval
  • the display area of the image is defined as a fourth interval
  • a first enlarged imaging field unit for expanding a field of view of the image captured by the camera to a lateral length of 2 (x f -x p ) and a longitudinal length when the focus focus coordinate (x p , y p ) belongs to the first interval 2y p , and the center point of the enlarged image is the focus focus ( x p , y p );
  • a second enlarged imaging field unit for expanding the field of view of the image captured by the camera to a lateral length of 2 x p and a longitudinal length of 2 y p when the focus focus coordinate (x p , y p ) belongs to the second interval; And expanding the center point of the captured image to the focus focus ( x p , y p );
  • a third enlarged imaging field unit for expanding the field of view of the image captured by the camera to a lateral length of 2 x p and a longitudinal length of 2 (y f when the focus focus coordinate (x p , y p ) belongs to the third interval -y p ) , and the center point of the enlarged image is the focus focus ( x p , y p );
  • a fourth enlarged imaging field unit for expanding the field of view of the image captured by the camera to a lateral length of 2 (x f -x p ) and a longitudinal length when the focus focus coordinate (x p , y p ) belongs to the fourth interval Is 2 ( y f -y p ) and makes the center point of the enlarged image the focus focus ( x p , y p );
  • the center point focus control unit is configured to perform center point focusing on the image after zooming in the field of view of the camera by the focus focus (x p , y p ).
  • the mobile terminal wherein the focus focus acquisition and determination module in the point focus system of the captured image is used to acquire a focus focus when the user shoots, and specifically includes: detecting a camera shooting image display area of the user at the mobile terminal Touch on the touch and get the preview image on the touched sensing point as the focus focus.
  • the point focusing method for capturing an image acquires the focus coordinate of the focus at the time of shooting; determines whether the focus focus coordinate is the image center point, and if not, enlarges the image field of view at the time of shooting so that the center point of the image is
  • the focus focus coordinates are focused on the center point, and the image is saved or displayed according to the original image field size.
  • the mobile terminal of the invention can support the shooting of an image at any point without the need of a high-cost camera, so that the focus of the mobile terminal camera is not limited to the center of the image, thereby having better imaging and performance capabilities.
  • the low-cost hardware is utilized, and the low-end mobile terminal camera is realized by a simple software algorithm to realize the arbitrary focus function of the captured image.
  • the hardware cost is high and the software algorithm complexity affects the processing efficiency, which greatly facilitates the user's use.
  • FIG. 2 is a schematic diagram showing the division of the original field image interval in the preferred embodiment of the point focusing method for capturing an image of the present invention
  • FIG. 3 is a schematic diagram of expanding a field of view of a camera when a focus focus coordinate is located in a first interval in a preferred embodiment of a point focusing method for capturing an image according to the present invention
  • FIG. 4 is a schematic diagram of expanding a field of view of a camera when a focus focus coordinate is located in a second interval in a preferred embodiment of a point focusing method for capturing an image according to the present invention
  • FIG. 5 is a schematic diagram of enlarging a field of view of a camera when a focus focus coordinate is located in a third section in a preferred embodiment of a point focusing method for capturing an image according to the present invention
  • FIG. 6 is a schematic diagram of expanding a field of view of a camera when a focus focus coordinate is located in a fourth interval in a preferred embodiment of a point focusing method for capturing an image according to the present invention
  • Figure 8 is a block diagram of a mobile terminal of the present invention.
  • FIG. 1 is a flow chart of a preferred embodiment of a point focusing method for capturing an image of the present invention.
  • the method shown includes the following steps:
  • the captured image directly performs center point focusing.
  • FIG. 2 is a method of capturing an image of the point focus of the present invention showing an image dividing section preferred embodiment Central visual field; focus the focal point coordinates (x p , y p ) meets:
  • the display area of the image is defined as the first interval
  • the display area of the image is defined as the second interval
  • the display area of the image is defined as the third interval
  • the display area of the image is defined as a fourth interval
  • FIG. 3 is a schematic diagram of the point focusing method for capturing an image of the present invention, in which the focus focus coordinate is located in the first interval, the camera is enlarged.
  • a schematic view of the field of view it can be seen that the original image field of view is located in the lower right corner of the expanded field of view.
  • FIG. 4 is a schematic diagram of expanding the camera field of view when the focus focus coordinate is in the second interval in the preferred embodiment of the point focusing method for capturing an image according to the present invention; It can be seen that the original image field of view is located in the lower left corner of the enlarged field of view.
  • FIG. 6 is a method of capturing an image of the point focus preferred embodiment of the present invention the focus is located in the focal point coordinates embodiment
  • the method further includes:
  • Step S140 The mobile terminal displays and saves the captured image according to the original preview image field size before the camera is zoomed in.
  • the focus coordinates (x p, y p) belonging to the first section of the original field of view image the image in the lower right corner of the original field of view taken in enlarged lateral length of x f, y f longitudinal length of an image; If the focus The coordinates ( x p , y p ) belong to the second interval of the original field of view image, and the image with the horizontal length of x f and the longitudinal length of y f is taken at the lower left corner of the image after the original field of view is expanded; if the focus coordinates ( x p , y p ) belongs to the third interval of the original field image, and intercepts an image with a horizontal length of x f and a longitudinal length of y f in the upper left corner of the image after the original field of view is expanded; if the focus coordinates ( x p , y p ) belong to the original In the fourth section of the field of view image, an image having a horizontal length of
  • Focus focus acquisition and judgment module 210 used to acquire the focus of the focus when the user shoots, and determine whether the focus focus is the center point of the current preview image of the mobile terminal; as described above.
  • Direct center point focus module 220 For determining that the focus focus is the center point of the current preview image of the mobile terminal, the captured image is directly focused on the center point; as described above.
  • system further includes:
  • the captured image display and save module 240 is configured to display and save the captured image according to the original preview image field size before the camera captures the field of view by the enlarged camera; as described above.
  • the focus focus acquisition and determination module 210 specifically includes:
  • x p is the abscissa of the focus focus coordinate, y p is the ordinate of the focus focus coordinate;
  • x m is the current preview image of the mobile terminal The center point abscissa, y m is the center point ordinate of the current preview image of the mobile terminal;
  • x f is the horizontal length of the current preview image of the mobile terminal, and y f is the longitudinal length of the current preview image of the moving picture terminal; as described above.
  • the extended shooting and center point focus control module 230 specifically includes:
  • the section dividing unit is configured to: when determining that the focus focus is not the center point of the current preview image of the mobile terminal, use the lower left corner of the image as the origin (o, o) according to the center point coordinate of the preview image (x m , y m ) dividing the display area of the current preview image of the mobile terminal into four sections: and the focus focus coordinates ( x p , y p ) satisfy:
  • the display area of the image is defined as the first interval
  • the image display area defining a second interval
  • the display area of the image is defined as the third interval
  • the display area of the image is defined as the fourth section; as described above.
  • a first enlarged imaging field unit for expanding a field of view of the image captured by the camera to a lateral length of 2 (x f -x p ) and a longitudinal length when the focus focus coordinate (x p , y p ) belongs to the first interval It is 2y p and the center point of the enlarged image is taken as the focus focus (x p , y p ); as described above.
  • a second enlarged imaging field unit for expanding the field of view of the image captured by the camera to a lateral length of 2 x p and a longitudinal length of 2 y p when the focus focus coordinate (x p , y p ) belongs to the second interval; and the center point of enlarged image is captured focus of the focus (x p, y p); detailed above.
  • a third enlarged imaging field unit for expanding the field of view of the image captured by the camera to a lateral length of 2 x p and a longitudinal length of 2 (y f when the focus focus coordinate (x p , y p ) belongs to the third interval -y p ) , and the center point of the enlarged image is taken as the focus focus (x p , y p ); as described above.
  • a fourth enlarged imaging field unit for expanding the field of view of the image captured by the camera to a lateral length of 2 (x f -x p ) and a longitudinal length when the focus focus coordinate (x p , y p ) belongs to the fourth interval It is 2 ( y f -y p ) and the center point of the enlarged image is taken as the focus focus (x p , y p ); as described above.
  • the center point focus control unit and the image for enlarging the camera to take a field of view are center-focused by the focus focus (x p , y p ); as described above.
  • the present invention also provides a mobile terminal comprising the above-described point focusing system for capturing an image.
  • the point focusing method for capturing an image acquires the focus coordinate of the focus at the time of shooting; determines whether the focus focus coordinate is the image center point, and if not, enlarges the image field of view at the time of shooting so that the center point of the image is
  • the focus focus coordinates are focused on the center point, and the image is saved or displayed according to the original image field size.
  • the mobile terminal of the invention can support the point focusing of the captured image without the need of a high-cost camera, so that the focus of the camera of the mobile terminal is not limited to the center of the image when shooting, thereby having better imaging and performance capabilities.
  • the low-cost hardware is used, and the point-focusing function of capturing images is realized by a simple software algorithm to achieve a low-end mobile terminal camera.
  • the high-end mobile terminal camera has the point focusing function of the image, but the hardware cost is high and the software algorithm complexity affects the processing efficiency, which greatly facilitates the user's use.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • Studio Devices (AREA)

Abstract

公开了一种拍摄图像的点对焦方法、系统及移动终端,包括:获取用户拍摄时的对焦焦点,并判断所述焦点是否为移动终端当前预览图像的中心点;若判定所述焦点为中心点,则拍摄图像直接进行中心点对焦;若判定所述焦点不为中心点,则扩大摄像头拍摄视野并使扩大拍摄的图像中心点为所述对焦焦点,进而进行中心点对焦。

Description

一种拍摄图像的点对焦方法、系统及移动终端 技术领域
本发明涉及移动终端应用领域,尤其涉及一种拍摄图像的点对焦方法、系统及移动终端。
背景技术
照相机拍摄对焦也叫聚焦,通过照相机对焦机构变动物距和相距的位置,使被拍物成像清晰的过程就是对焦;在目前移动终端的相机中,移动终端所配的中低端照相机普遍采用中心对焦方式,即对焦焦点位于图像几何中心(图像对角线的交点)处,拍物图像中最清楚的点只能位于图像中心;只有在较高端照相机中,才会具备拍物图像任意点对焦的能力,即图像中最清楚的点可以选择位于拍物图像中的任意点。采用图像任意点对焦的方法,拍摄时焦点可以不局限在图像中心,从而使照相机拥有更出色的成像能力。
目前,虽然移动终端所配的照相机功能配置越来越高,但受摄像头硬件及成本等因素制约,中低端移动终端照相机尚无法实现图像任意点对焦清晰成像功能;另外,虽然高端移动终端照相机具备图像任意点对焦功能,但其硬件成本较高,并且软件算法复杂影响处理效率。
因此,现有技术还有待于改进和发展。
技术问题
本发明要解决的技术问题在于,针对现有技术的上述缺陷, 提供一种拍摄图像的点对焦的方法、系统及移动终端。提供了一种拍摄图像的点对焦的方法,旨在解决现有的中低端移动终端照相机受摄像头硬件及成本等因素制约,无法实现图像任意点对焦清晰成像功能,并且高端移动终端照相机虽具备图像任意点对焦功能,但硬件成本较高、软件算法复杂影响处理效率的问题。
技术解决方案
本发明解决技术问题所采用的技术方案如下:
一种拍摄图像的点对焦方法,其中,包括:
A 、获取用户拍摄时的对焦焦点,并判断所述对焦焦点是否为移动终端当前预览图像的中心点,所述对焦焦点为所述当前预览图像上被触摸的感应点,所述中心点为图像对角线的交点;
B 、当判定出所述对焦焦点为所述移动终端当前预览图像的中心点,则拍摄图像直接进行中心点对焦;以及
C 、当判定出所述对焦焦点不为所述移动终端当前预览图像的中心点,则扩大摄像头拍摄视野并使扩大拍摄的图像中心点为所述对焦焦点,进而进行中心点对焦。
所述的拍摄图像的点对焦方法,其中,在所述步骤 C 之后包括:
D 、移动终端按照扩大摄像头拍摄视野之前的原预览图像视野大小显示及保存拍摄图像。
所述的拍摄图像的点对焦方法,其中,所述步骤 A 中,具体包括:
A1 、获取用户拍摄时对焦的焦点坐标( xp,yp );并获取移动终端当前预览图像的中心点坐标 (xm,ym) ;
其中, xm=xf/2 , ym=yf/2 ; xp 为所述对焦焦点坐标的横坐标, yp 为所述对焦焦点坐标的纵坐标; xm 为移动终端当前预览图像的中心点横坐标, ym 为移动终端当前预览图像的中心点纵坐标; xf 为移动终端当前预览图像的横向长度, yf 为移动张终端当前预览图像的纵向长度;
A2 、判断所述对焦焦点坐标( xp,yp )与移动终端当前预览图像的中心点坐标 (xm,ym) 是否相同。
所述的拍摄图像的点对焦方法,其中,所述步骤C具体实现步骤如下:
C1 、当判定出所述对焦焦点不为移动终端当前预览图像的中心点,则 以图像左下角为原点( o,o ), 根据所述 预览图像的中心点坐标 (xm,ym) 将移动终端当前预览图像的显示区域划分为四个区间:并且所述对焦焦点坐标( xp,yp )满足:
当 xp ≤ xm 且 yp ≥ ym 时,所述图像的显示区域定义为第一区间;
当 xp > xm 且 yp > ym 时,所述图像的显示区域定义为第二区间;
当 xp > xm 且 yp < ym 时,所述图像的显示区域定义为第三区间;
当 xp < xm 且 yp < ym 时,所述图像的显示区域定义为第四区间;
C2 、当所述 对焦焦点坐标( xp,yp ) 属于第一区间时,将摄像头拍摄的图像视野扩大至横向长度为 2 ( xf-xp )、纵向长度为 2yp ,并使扩大拍摄的图像中心点为所述对焦焦点 ( xp,yp ) ;
C3 、当所述 对焦焦点坐标( xp,yp ) 属于第二区间时,将摄像头拍摄的图像视野扩大至横向长度为2 xp 、纵向长度为2 yp ,并使扩大拍摄的图像中心点为所述对焦焦点 ( xp,yp ) ;
C4 、当所述 对焦焦点坐标( xp,yp ) 属于第三区间时,将摄像头拍摄的图像视野扩大至横向长度为2 xp 、纵向长度为 2 ( yf-yp ) ,并使扩大拍摄的图像中心点为所述对焦焦点 ( xp,yp ) ;
C5 、当所述 对焦焦点坐标( xp,yp ) 属于第四区间时,将摄像头拍摄的图像视野扩大至横向长度为 2 ( xf-xp ) 、纵向长度为 2 ( yf-yp ) ,并使扩大拍摄的图像中心点为所述对焦焦点 ( xp,yp ) ;
C6 、将扩大摄像头拍摄视野后的图像按所述对焦焦点 ( xp,yp ) 进行中心点对焦。
本发明还提供一种拍摄图像的点对焦系统,其中,包括:
对焦焦点获取与判断模块、用于获取用户拍摄时对焦的焦点,并判断所述对焦焦点是否为移动终端当前预览图像的中心点;
直接中心点对焦模块、用于当判定出所述对焦焦点为移动终端当前预览图像的中心点,则拍摄图像直接进行中心点对焦;
扩大拍摄与中心点对焦控制模块、用于当判定出所述对焦焦点不为移动终端当前预览图像的中心点,则扩大摄像头拍摄视野并使扩大拍摄的图像中心点为所述对焦焦点,并控制进行中心点对焦。
所述的拍摄图像的点对焦系统,其中, 所述系统还包括:
拍摄图像显示及保存模块,用于移动终端按照扩大摄像头拍摄视野之前的原预览图像视野大小显示及保存拍摄图像。
所述的拍摄图像的点对焦系统,其中,所述对焦焦点获取与判断模块具体包括:
坐标获取单元、用于获取用户拍摄时对焦的焦点坐标( xp,yp );并获取移动终端当前预览图像的中心点坐标 (xm,ym) ;
其中, xm=xf/2 , ym=yf/2 ; xp 为所述对焦焦点坐标的横坐标, yp 为所述对焦焦点坐标的纵坐标; xm 为移动终端当前预览图像的中心点横坐标, ym 为移动终端当前预览图像的中心点纵坐标; xf 为移动终端当前预览图像的横向长度, yf 为移动张终端当前预览图像的纵向长度;
判断对比单元、用于判断所述对焦焦点坐标( xp,yp )与移动终端当前预览图像的中心点坐标 (xm,ym) 是否相同。
所述的拍摄图像的点对焦系统,其中,所述扩大拍摄与中心点对焦控制模块具体包括:
区间划分单元、用于当判定出所述对焦焦点不为移动终端当前预览图像的中心点,则 以图像左下角为原点( o,o ), 根据所述 预览图像的中心点坐标 (xm,ym) 将移动终端当前预览图像的显示区域划分为四个区间:并且所述对焦焦点坐标( xp,yp )满足:
当 xp ≤ xm 且 yp ≥ ym 时,所述图像的显示区域定义为第一区间;
当 xp > xm 且 yp > ym 时,所述图像的显示区域定义为第二区间;
当 xp > xm 且 yp < ym 时,所述图像的显示区域定义为第三区间;
当 xp < xm 且 yp < ym 时,所述图像的显示区域定义为第四区间;
第一扩大拍摄视野单元、用于当所述 对焦焦点坐标( xp,yp ) 属于第一区间时,将摄像头拍摄的图像视野扩大至横向长度为 2 ( xf-xp )、纵向长度为 2yp ,并使扩大拍摄的图像中心点为所述对焦焦点 ( xp,yp ) ;
第二扩大拍摄视野单元、用于当所述 对焦焦点坐标( xp,yp ) 属于第二区间时,将摄像头拍摄的图像视野扩大至横向长度为2 xp 、纵向长度为2 yp ,并使扩大拍摄的图像中心点为所述对焦焦点 ( xp,yp ) ;
第三扩大拍摄视野单元、用于当所述 对焦焦点坐标( xp,yp ) 属于第三区间时,将摄像头拍摄的图像视野扩大至横向长度为2 xp 、纵向长度为 2 ( yf-yp ) ,并使扩大拍摄的图像中心点为所述对焦焦点 ( xp,yp ) ;
第四扩大拍摄视野单元、用于当所述 对焦焦点坐标( xp,yp ) 属于第四区间时,将摄像头拍摄的图像视野扩大至横向长度为 2 ( xf-xp ) 、纵向长度为 2 ( yf-yp ) ,并使扩大拍摄的图像中心点为所述对焦焦点 ( xp,yp ) ;
中心点对焦控制单元、用于将扩大摄像头拍摄视野后的图像按所述对焦焦点 ( xp,yp ) 进行中心点对焦。
所述的拍摄图像的点对焦系统,其中所述对焦焦点获取与判断模块,用于获取用户拍摄时的对焦焦点,具体包括:检测用户在移动终端的照相机拍摄图像显示区域上的触摸,并获取预览图像上被触摸感应点为对焦焦点。
本发明还提供一种移动终端,其中包括拍摄图像的点对焦系统,所述拍摄图像的点对焦系统包括:
对焦焦点获取与判断模块、用于获取用户拍摄时的对焦焦点,并判断所述对焦焦点是否为移动终端当前预览图像的中心点;
直接中心点对焦模块、用于当判定出所述对焦焦点为移动终端当前预览图像的中心点,则拍摄图像直接进行中心点对焦;以及
扩大拍摄与中心点对焦控制模块、用于当判定出所述对焦焦点不为移动终端当前预览图像的中心点,则扩大摄像头拍摄视野并使扩大拍摄的图像中心点为所述对焦焦点,进而进行中心点对焦。
所述的移动终端,其中所述拍摄图像的点对焦系统 还包括:
拍摄图像显示及保存模块,用于移动终端按照扩大摄像头拍摄视野之前的原预览图像视野大小显示及保存拍摄图像。
所述的移动终端,其中所述拍摄图像的点对焦系统中的所述对焦焦点获取与判断模块具体包括:
坐标获取单元、用于获取用户拍摄时对焦的焦点坐标( xp,yp );并获取移动终端当前预览图像的中心点坐标 (xm,ym) ;
其中, xm=xf/2 , ym=yf/2 ; xp 为所述对焦焦点坐标的横坐标, yp 为所述对焦焦点坐标的纵坐标; xm 为移动终端当前预览图像的中心点横坐标, ym 为移动终端当前预览图像的中心点纵坐标; xf 为移动终端当前预览图像的横向长度, yf 为移动张终端当前预览图像的纵向长度;以及
判断对比单元、用于判断所述对焦焦点坐标( xp,yp )与移动终端当前预览图像的中心点坐标 (xm,ym) 是否相同。
所述的移动终端,其中所述拍摄图像的点对焦系统中的所述扩大拍摄与中心点对焦控制模块具体包括:
区间划分单元、用于当判定出所述对焦焦点不为移动终端当前预览图像的中心点,则 以图像左下角为原点( o,o ), 根据所述 预览图像的中心点坐标 (xm,ym) 将移动终端当前预览图像的显示区域划分为四个区间:并且所述对焦焦点坐标( xp,yp )满足:
当 xp ≤ xm 且 yp ≥ ym 时,所述图像的显示区域定义为第一区间;
当 xp > xm 且 yp > ym 时,所述图像的显示区域定义为第二区间;
当 xp > xm 且 yp < ym 时,所述图像的显示区域定义为第三区间;
当 xp < xm 且 yp < ym 时,所述图像的显示区域定义为第四区间;
第一扩大拍摄视野单元、用于当所述 对焦焦点坐标( xp,yp ) 属于第一区间时,将摄像头拍摄的图像视野扩大至横向长度为 2 ( xf-xp )、纵向长度为 2yp ,并使扩大拍摄的图像中心点为所述对焦焦点 ( xp,yp ) ;
第二扩大拍摄视野单元、用于当所述 对焦焦点坐标( xp,yp ) 属于第二区间时,将摄像头拍摄的图像视野扩大至横向长度为2 xp 、纵向长度为2 yp ,并使扩大拍摄的图像中心点为所述对焦焦点 ( xp,yp ) ;
第三扩大拍摄视野单元、用于当所述 对焦焦点坐标( xp,yp ) 属于第三区间时,将摄像头拍摄的图像视野扩大至横向长度为2 xp 、纵向长度为 2 ( yf-yp ) ,并使扩大拍摄的图像中心点为所述对焦焦点 ( xp,yp ) ;
第四扩大拍摄视野单元、用于当所述 对焦焦点坐标( xp,yp ) 属于第四区间时,将摄像头拍摄的图像视野扩大至横向长度为 2 ( xf-xp ) 、纵向长度为 2 ( yf-yp ) ,并使扩大拍摄的图像中心点为所述对焦焦点 ( xp,yp ) ;以及
中心点对焦控制单元、用于将扩大摄像头拍摄视野后的图像按所述对焦焦点 ( xp,yp ) 进行中心点对焦。
所述的移动终端,其中所述拍摄图像的点对焦系统中的所述对焦焦点获取与判断模块,用于获取用户拍摄时的对焦焦点,具体包括:检测用户在移动终端的照相机拍摄图像显示区域上的触摸,并获取预览图像上被触摸感应点为对焦焦点。
有益效果
本发明所提供的拍摄图像的点对焦方法,通过获取拍摄时的对焦的焦点坐标;判断所述对焦焦点坐标是否为图像中心点,若为否时扩大拍摄时的图像视野使图像的中心点为所述对焦焦点坐标,进行中心点对焦,并按原图像视野大小保存或显示图像。利用本发明移动终端无需配备高成本的摄像头即可以支持拍摄图像任意点对焦,使移动终端照相机拍摄时焦点不局限在图像中心,从而拥有更出色的成像及表现能力。通过本发明利用较低硬件成本,通过简单的软件算法达到中低端移动终端照相机实现拍摄图像任意点对焦功能。同时,也在一定程度上解决高端移动终端照相机虽具备图像任意点对焦功能,但硬件成本较高、软件算法复杂影响处理效率的问题,大大方便了用户使用。
附图说明
图1是本发明拍摄图像的点对焦方法较佳实施例的流程图;
图2是本发明拍摄图像的点对焦方法较佳实施例中原视野图像区间划分示意图;
图3是本发明拍摄图像的点对焦方法较佳实施例中对焦焦点坐标位于第一区间时扩大摄像头视野的示意图;
图4是本发明拍摄图像的点对焦方法较佳实施例中对焦焦点坐标位于第二区间时扩大摄像头视野的示意图;
图5是本发明拍摄图像的点对焦方法较佳实施例中对焦焦点坐标位于第三区间时扩大摄像头视野的示意图;
图6是本发明拍摄图像的点对焦方法较佳实施例中对焦焦点坐标位于第四区间时扩大摄像头视野的示意图;
图7是本发明拍摄图像的点对焦系统较佳实施例的功能原理图;
图8是本发明的移动终端的模块示意图。
本发明的最佳实施方式
为使本发明的目的、技术方案及优点更加清楚、明确,以下参照附图并举实施例对本发明进一步详细说明。 应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。
请参见图 1 , 图 1 是 本发明拍摄图像的点对焦方法较佳实施例的流程图 。图 1 所示方法,包括以下步骤:
步骤 S110 、获取用户拍摄时对焦的焦点,并判断所述对焦焦点是否为移动终端当前预览图像的中心点;
譬如,当移动终端照相机启动时,在拍摄显示区域显示预览图像。当用户想在预览图像的某一点进行较为明显的清晰成像时,需要在该点上进行对焦,在本发明实施例中,移动终端提供用户触摸方式进行对焦焦点的选择,具体包括:检测用户在移动终端的照相机拍摄图像显示区域上的触摸,获取预览图像上被触摸感应点为对焦焦点;并判断所述对焦焦点是否为移动终端当前预览图像的中心点;所述图像的中心点为图像对角线的交点;若以拍摄显示区域最左下角为坐标原点,则本步骤 S110 具体实现步骤如下:
S111 、获取用户拍摄时对焦的焦点坐标( xp,yp );并获取移动终端当前预览图像的中心点坐标 (xm,ym) ;
其中, xm=xf/2 , ym=yf/2 ; xp 为所述对焦焦点坐标的横坐标, yp 为所述对焦焦点坐标的纵坐标; xm 为移动终端当前预览图像的中心点横坐标, ym 为移动终端当前预览图像的中心点纵坐标; xf 为移动终端当前预览图像的横向长度, yf 为移动张终端当前预览图像的纵向长度;如图 2 所示。
S112 、判断所述对焦焦点坐标( xp,yp )与移动终端当前预览图像的中心点坐标 (xm,ym) 是否相同。
步骤 S120 、当判定出所述对焦焦点为移动终端当前预览图像的中心点,则拍摄图像直接进行中心点对焦;
譬如,当检测判定出用户在预览图像上触摸的感应点(即对焦焦点)恰好为移动终端当前预览图像的中心点(即图像对角线的交点),则拍摄图像直接进行中心点对焦。
步骤 S130 、当判定出所述对焦焦点不为移动终端当前预览图像的中心点,则扩大摄像头拍摄视野并使扩大拍摄的图像中心点为所述对焦焦点,并控制进行中心点对焦。
本发明实施例中,当判定出所述对焦焦点不为移动终端当前预览图像的中心点,则具体实现步骤如下:
S131 、当判定出所述对焦焦点不为移动终端当前预览图像的中心点,则 以图像左下角为原点( o,o ), 根据所述 预览图像的中心点坐标 (xm,ym) 将移动终端当前预览图像的显示区域划分为四个区间:具体请参阅图 2 ,图 2 是本发明拍摄图像的点对焦方法较佳实施例中原视野图像区间划分示意图;所述对焦焦点坐标( xp,yp )满足:
当 xp ≤ xm 且 yp ≥ ym 时,所述图像的显示区域定义为第一区间;
当 xp > xm 且 yp > ym 时,所述图像的显示区域定义为第二区间;
当 xp > xm 且 yp < ym 时,所述图像的显示区域定义为第三区间;
当 xp < xm 且 yp < ym 时,所述图像的显示区域定义为第四区间;
S132 、当所述 对焦焦点坐标( xp,yp ) 属于第一区间时,将摄像头拍摄的图像视野扩大至横向长度为 2 ( xf-xp )、纵向长度为 2yp ,并使扩大拍摄的图像中心点为所述对焦焦点 ( xp,yp ) ;具体请参阅图3,图3是本发明拍摄图像的点对焦方法较佳实施例中对焦焦点坐标位于第一区间时扩大摄像头视野的示意图;可见,原图像视野位于扩大后的视野的右下角。
S133 、当所述 对焦焦点坐标( xp,yp ) 属于第二区间时,将摄像头拍摄的图像视野扩大至横向长度为2 xp 、纵向长度为2 yp ,并使扩大拍摄的图像中心点为所述对焦焦点 ( xp,yp ) ;具体请参阅图4,图4是本发明拍摄图像的点对焦方法较佳实施例中对焦焦点坐标位于第二区间时扩大摄像头视野的示意图;可见,原图像视野位于扩大后的视野的左下角。
S134 、当所述 对焦焦点坐标( xp,yp ) 属于第三区间时,将摄像头拍摄的图像视野扩大至横向长度为2 xp 、纵向长度为 2 ( yf-yp ) ,并使扩大拍摄的图像中心点为所述对焦焦点 ( xp,yp ) ;具体请参阅图5,图5是本发明拍摄图像的点对焦方法较佳实施例中对焦焦点坐标位于第三区间时扩大摄像头视野的示意图;可见,原图像视野位于扩大后的视野的左上角。
S135 、当所述 对焦焦点坐标( xp,yp ) 属于第四区间时,将摄像头拍摄的图像视野扩大至横向长度为 2 ( xf-xp ) 、纵向长度为 2 ( yf-yp ) ,并使扩大拍摄的图像中心点为所述对焦焦点 ( xp,yp ) ;具体请参阅图6,图6是本发明拍摄图像的点对焦方法较佳实施例中对焦焦点坐标位于第四区间时扩大摄像头视野的示意图;可见,原图像视野位于扩大后的视野的右上角。
S136 、将扩大摄像头拍摄视野后的图像按所述对焦焦点 ( xp,yp ) 进行中心点对焦。
进一步地,所述方法还包括:
步骤 S140 、移动终端按照扩大摄像头拍摄视野之前的原预览图像视野大小显示及保存拍摄图像。
具体地,如果焦点坐标( xp,yp )属于原视野图像的第一区间,则在原视野扩大后的图像中的右下角截取横向长度为 xf ,纵向长度为 yf 的图像;如果焦点坐标( xp,yp )属于原视野图像的第二区间,则在原视野扩大后的图像中的左下角截取横向长度为 xf ,纵向长度为 yf 的图像;如果焦点坐标( xp,yp )属于原视野图像的第三区间,则在原视野扩大后的图像中的左上角截取横向长度为 xf ,纵向长度为 yf 的图像;如果焦点坐标( xp,yp )属于原视野图像的第四区间,则在原视野扩大后的图像中的右上角截取横向长度为 xf ,纵向长度为 yf 的图像。此步骤从对焦后的扩大视野的图像中得到原视野图像,用以显示或保存(预览则显示,拍照则保存),从而完成对原视野图像的点的对焦。
提供了一种拍摄图像的点对焦,旨在解决现有中低端移动终端相机受摄像头硬件及成本等因素制约,只能中心点对焦而无法实现图像任意点对焦清晰成像功能,并且高端移动终端照相机虽具备图像任意点对焦功能,但硬件成本较高、软件算法复杂影响处理效率的问题。
基于上述实施例,本发明还提供了一种拍摄图像的点对焦系统,如图 7 所示,所述系统包括:
对焦焦点获取与判断模块 210 、用于获取用户拍摄时对焦的焦点,并判断所述对焦焦点是否为移动终端当前预览图像的中心点;具体如上所述。
直接中心点对焦模块 220 、用于当判定出所述对焦焦点为移动终端当前预览图像的中心点,则拍摄图像直接进行中心点对焦;具体如上所述。
扩大拍摄与中心点对焦控制模块 230 、用于当判定出所述对焦焦点不为移动终端当前预览图像的中心点,则扩大摄像头拍摄视野并使扩大拍摄的图像中心点为所述对焦焦点,并控制进行中心点对焦;具体如上所述。
进一步地, 所述系统还包括:
拍摄图像显示及保存模块240,用于移动终端按照扩大摄像头拍摄视野之前的原预览图像视野大小显示及保存拍摄图像;具体如上所述。
进一步地,所述对焦焦点获取与判断模块 210 具体包括:
坐标获取单元、用于获取用户拍摄时对焦的焦点坐标( xp,yp );并获取移动终端当前预览图像的中心点坐标 (xm,ym) ;
其中, xm=xf/2 , ym=yf/2 ; xp 为所述对焦焦点坐标的横坐标, yp 为所述对焦焦点坐标的纵坐标; xm 为移动终端当前预览图像的中心点横坐标, ym 为移动终端当前预览图像的中心点纵坐标; xf 为移动终端当前预览图像的横向长度, yf 为移动张终端当前预览图像的纵向长度;具体如上所述。
判断对比单元、用于判断所述对焦焦点坐标( xp,yp )与移动终端当前预览图像的中心点坐标 (xm,ym) 是否相同;具体如上所述。
所述扩大拍摄与中心点对焦控制模块230具体包括:
区间划分单元、用于当判定出所述对焦焦点不为移动终端当前预览图像的中心点,则 以图像左下角为原点( o,o ), 根据所述 预览图像的中心点坐标 (xm,ym) 将移动终端当前预览图像的显示区域划分为四个区间:并且所述对焦焦点坐标( xp,yp )满足:
当 xp ≤ xm 且 yp ≥ ym 时,所述图像的显示区域定义为第一区间;
当 xp > xm 且 yp > ym 时,所述图像的显示区域定义为第二区间;
当 xp > xm 且 yp < ym 时,所述图像的显示区域定义为第三区间;
当 xp < xm 且 yp < ym 时,所述图像的显示区域定义为第四区间;具体如上所述。
第一扩大拍摄视野单元、用于当所述 对焦焦点坐标( xp,yp ) 属于第一区间时,将摄像头拍摄的图像视野扩大至横向长度为 2 ( xf-xp )、纵向长度为 2yp ,并使扩大拍摄的图像中心点为所述对焦焦点 ( xp,yp );具体如上所述。
第二扩大拍摄视野单元、用于当所述 对焦焦点坐标( xp,yp ) 属于第二区间时,将摄像头拍摄的图像视野扩大至横向长度为2 xp 、纵向长度为2 yp ,并使扩大拍摄的图像中心点为所述对焦焦点 ( xp,yp );具体如上所述。
第三扩大拍摄视野单元、用于当所述 对焦焦点坐标( xp,yp ) 属于第三区间时,将摄像头拍摄的图像视野扩大至横向长度为2 xp 、纵向长度为 2 ( yf-yp ) ,并使扩大拍摄的图像中心点为所述对焦焦点 ( xp,yp );具体如上所述。
第四扩大拍摄视野单元、用于当所述 对焦焦点坐标( xp,yp ) 属于第四区间时,将摄像头拍摄的图像视野扩大至横向长度为 2 ( xf-xp ) 、纵向长度为 2 ( yf-yp ) ,并使扩大拍摄的图像中心点为所述对焦焦点 ( xp,yp );具体如上所述。
中心点对焦控制单元、用于将扩大摄像头拍摄视野后的图像按所述对焦焦点 ( xp,yp ) 进行中心点对焦 ;具体如上所述。
本发明还提供一种移动终端,其中,包括上述的拍摄图像的点对焦系统。
如图 8 所示,所述移动终端可以包括射频( RF , Radio Frequency )电路 801 、包括有一个或一个以上计算机可读存储介质的存储器 802 、输入单元 803 、显示单元 804 、传感器 805 、音频电路 806 、无线保真( WiFi , Wireless Fidelity) 模块 807 、包括有一个或者一个以上处理核心的处理器 808 、以及电源 809 等部件。本领域技术人员可以理解,图 8 中示出的终端结构并不构成对终端的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。
综上所述, 本发明所提供的拍摄图像的点对焦方法,通过获取拍摄时的对焦的焦点坐标;判断所述对焦焦点坐标是否为图像中心点,若为否时扩大拍摄时的图像视野使图像的中心点为所述对焦焦点坐标,进行中心点对焦,并按原图像视野大小保存或显示图像。利用本发明移动终端无需配备高成本的摄像头即可以支持拍摄图像的点对焦,使移动终端照相机拍摄时焦点不局限在图像中心,从而拥有更出色的成像及表现能力。通过本发明利用较低硬件成本,通过简单的软件算法达到中低端移动终端照相机实现拍摄图像的点对焦功能。同时,也在一定程度上解决高端移动终端照相机虽具备图像的点对焦功能,但硬件成本较高、软件算法复杂影响处理效率的问题,大大方便了用户使用。
应当理解的是,本发明的应用不限于上述的举例,对本领域普通技术人员来说,可以根据上述说明加以改进或变换,所有这些改进和变换都应属于本发明所附权利要求的保护范围。

Claims (14)

  1. 一种拍摄图像的点对焦方法,其中包括:
    A 、获取用户拍摄时的对焦焦点,并判断所述对焦焦点是否为移动终端当前预览图像的中心点,所述对焦焦点为所述当前预览图像上被触摸的感应点,所述中心点为图像对角线的交点;
    B 、当判定出所述对焦焦点为所述移动终端当前预览图像的中心点,则拍摄图像直接进行中心点对焦;以及
    C 、当判定出所述对焦焦点不为所述移动终端当前预览图像的中心点,则扩大摄像头拍摄视野并使扩大拍摄的图像中心点为所述对焦焦点,进而进行中心点对焦。
  2. 根据权利要求 1 所述的拍摄图像的点对焦方法,其中在所述步骤 C 之后包括:
    D 、移动终端按照扩大摄像头拍摄视野之前的原预览图像视野大小显示及保存拍摄图像。
  3. 根据权利要求 1 所述的拍摄图像的点对焦方法,其中 所述步骤A中,具体包括:
    A1 、获取用户拍摄时对焦的焦点坐标( xp,yp );并获取移动终端当前预览图像的中心点坐标 (xm,ym) ;
    其中, xm=xf/2 , ym=yf/2 ; xp 为所述对焦焦点坐标的横坐标, yp 为所述对焦焦点坐标的纵坐标; xm 为移动终端当前预览图像的中心点横坐标, ym 为移动终端当前预览图像的中心点纵坐标; xf 为移动终端当前预览图像的横向长度, yf 为移动张终端当前预览图像的纵向长度;以及
    A2 、判断所述对焦焦点坐标( xp,yp )与移动终端当前预览图像的中心点坐标 (xm,ym) 是否相同。
  4. 根据权利要求3所述的拍摄图像的点对焦方法,其中所述步骤C具体实现步骤如下:
    C1 、当判定出所述对焦焦点不为移动终端当前预览图像的中心点,则 以图像左下角为原点( o,o ), 根据所述 预览图像的中心点坐标 (xm,ym) 将移动终端当前预览图像的显示区域划分为四个区间:并且所述对焦焦点坐标( xp,yp )满足:
    当 xp ≤ xm 且 yp ≥ ym 时,所述图像的显示区域定义为第一区间;
    当 xp > xm 且 yp > ym 时,所述图像的显示区域定义为第二区间;
    当 xp > xm 且 yp < ym 时,所述图像的显示区域定义为第三区间;
    当 xp < xm 且 yp < ym 时,所述图像的显示区域定义为第四区间;
    C2 、当所述 对焦焦点坐标( xp,yp ) 属于第一区间时,将摄像头拍摄的图像视野扩大至横向长度为 2 ( xf-xp )、纵向长度为 2yp ,并使扩大拍摄的图像中心点为所述对焦焦点 ( xp,yp ) ;
    C3 、当所述 对焦焦点坐标( xp,yp ) 属于第二区间时,将摄像头拍摄的图像视野扩大至横向长度为2 xp 、纵向长度为2 yp ,并使扩大拍摄的图像中心点为所述对焦焦点 ( xp,yp ) ;
    C4 、当所述 对焦焦点坐标( xp,yp ) 属于第三区间时,将摄像头拍摄的图像视野扩大至横向长度为2 xp 、纵向长度为 2 ( yf-yp ) ,并使扩大拍摄的图像中心点为所述对焦焦点 ( xp,yp ) ;
    C5 、当所述 对焦焦点坐标( xp,yp ) 属于第四区间时,将摄像头拍摄的图像视野扩大至横向长度为 2 ( xf-xp ) 、纵向长度为 2 ( yf-yp ) ,并使扩大拍摄的图像中心点为所述对焦焦点 ( xp,yp ) ;以及
    C6 、将扩大摄像头拍摄视野后的图像按所述对焦焦点 ( xp,yp ) 进行中心点对焦。
  5. 一种拍摄图像的点对焦系统,其中包括:
    对焦焦点获取与判断模块、用于获取用户拍摄时的对焦焦点,并判断所述对焦焦点是否为移动终端当前预览图像的中心点;
    直接中心点对焦模块、用于当判定出所述对焦焦点为移动终端当前预览图像的中心点,则拍摄图像直接进行中心点对焦;以及
    扩大拍摄与中心点对焦控制模块、用于当判定出所述对焦焦点不为移动终端当前预览图像的中心点,则扩大摄像头拍摄视野并使扩大拍摄的图像中心点为所述对焦焦点,进而进行中心点对焦。
  6. 根据权利要求 5 所述的拍摄图像的点对焦系统,其中所述系统还包括:
    拍摄图像显示及保存模块,用于移动终端按照扩大摄像头拍摄视野之前的原预览图像视野大小显示及保存拍摄图像。
  7. 根据权利要求 5 所述的拍摄图像的点对焦系统,其中所述对焦焦点获取与判断模块具体包括:
    坐标获取单元、用于获取用户拍摄时对焦的焦点坐标( xp,yp );并获取移动终端当前预览图像的中心点坐标 (xm,ym) ;
    其中, xm=xf/2 , ym=yf/2 ; xp 为所述对焦焦点坐标的横坐标, yp 为所述对焦焦点坐标的纵坐标; xm 为移动终端当前预览图像的中心点横坐标, ym 为移动终端当前预览图像的中心点纵坐标; xf 为移动终端当前预览图像的横向长度, yf 为移动张终端当前预览图像的纵向长度;以及
    判断对比单元、用于判断所述对焦焦点坐标( xp,yp )与移动终端当前预览图像的中心点坐标 (xm,ym) 是否相同。
  8. 根据权利要求 5 所述的拍摄图像的点对焦系统,其中所述扩大拍摄与中心点对焦控制模块具体包括:
    区间划分单元、用于当判定出所述对焦焦点不为移动终端当前预览图像的中心点,则 以图像左下角为原点( o,o ), 根据所述 预览图像的中心点坐标 (xm,ym) 将移动终端当前预览图像的显示区域划分为四个区间:并且所述对焦焦点坐标( xp,yp )满足:
    当 xp ≤ xm 且 yp ≥ ym 时,所述图像的显示区域定义为第一区间;
    当 xp > xm 且 yp > ym 时,所述图像的显示区域定义为第二区间;
    当 xp > xm 且 yp < ym 时,所述图像的显示区域定义为第三区间;
    当 xp < xm 且 yp < ym 时,所述图像的显示区域定义为第四区间;
    第一扩大拍摄视野单元、用于当所述 对焦焦点坐标( xp,yp ) 属于第一区间时,将摄像头拍摄的图像视野扩大至横向长度为 2 ( xf-xp )、纵向长度为 2yp ,并使扩大拍摄的图像中心点为所述对焦焦点 ( xp,yp ) ;
    第二扩大拍摄视野单元、用于当所述 对焦焦点坐标( xp,yp ) 属于第二区间时,将摄像头拍摄的图像视野扩大至横向长度为2 xp 、纵向长度为2 yp ,并使扩大拍摄的图像中心点为所述对焦焦点 ( xp,yp ) ;
    第三扩大拍摄视野单元、用于当所述 对焦焦点坐标( xp,yp ) 属于第三区间时,将摄像头拍摄的图像视野扩大至横向长度为2 xp 、纵向长度为 2 ( yf-yp ) ,并使扩大拍摄的图像中心点为所述对焦焦点 ( xp,yp ) ;
    第四扩大拍摄视野单元、用于当所述 对焦焦点坐标( xp,yp ) 属于第四区间时,将摄像头拍摄的图像视野扩大至横向长度为 2 ( xf-xp ) 、纵向长度为 2 ( yf-yp ) ,并使扩大拍摄的图像中心点为所述对焦焦点 ( xp,yp ) ;以及
    中心点对焦控制单元、用于将扩大摄像头拍摄视野后的图像按所述对焦焦点 ( xp,yp ) 进行中心点对焦。
  9. 根据权利要求 5 所述的拍摄图像的点对焦系统,其中所述对焦焦点获取与判断模块,用于获取用户拍摄时的对焦焦点,具体包括:
    检测用户在移动终端的照相机拍摄图像显示区域上的触摸;以及
    获取预览图像上被触摸感应点为对焦焦点。
  10. 一种移动终端,其中包括拍摄图像的点对焦系统,所述拍摄图像的点对焦系统包括:
    对焦焦点获取与判断模块、用于获取用户拍摄时的对焦焦点,并判断所述对焦焦点是否为移动终端当前预览图像的中心点;
    直接中心点对焦模块、用于当判定出所述对焦焦点为移动终端当前预览图像的中心点,则拍摄图像直接进行中心点对焦;以及
    扩大拍摄与中心点对焦控制模块、用于当判定出所述对焦焦点不为移动终端当前预览图像的中心点,则扩大摄像头拍摄视野并使扩大拍摄的图像中心点为所述对焦焦点,进而进行中心点对焦。
  11. 根据权利要求 10 所述的移动终端,其中所述拍摄图像的点对焦系统 还包括:
    拍摄图像显示及保存模块,用于移动终端按照扩大摄像头拍摄视野之前的原预览图像视野大小显示及保存拍摄图像。
  12. 根据权利要求 10 所述的移动终端,其中所述拍摄图像的点对焦系统中的所述对焦焦点获取与判断模块具体包括:
    坐标获取单元、用于获取用户拍摄时对焦的焦点坐标( xp,yp );并获取移动终端当前预览图像的中心点坐标 (xm,ym) ;
    其中, xm=xf/2 , ym=yf/2 ; xp 为所述对焦焦点坐标的横坐标, yp 为所述对焦焦点坐标的纵坐标; xm 为移动终端当前预览图像的中心点横坐标, ym 为移动终端当前预览图像的中心点纵坐标; xf 为移动终端当前预览图像的横向长度, yf 为移动张终端当前预览图像的纵向长度;以及
    判断对比单元、用于判断所述对焦焦点坐标( xp,yp )与移动终端当前预览图像的中心点坐标 (xm,ym) 是否相同。
  13. 根据权利要求 10 所述的移动终端,其中所述拍摄图像的点对焦系统中的所述扩大拍摄与中心点对焦控制模块具体包括:
    区间划分单元、用于当判定出所述对焦焦点不为移动终端当前预览图像的中心点,则 以图像左下角为原点( o,o ), 根据所述 预览图像的中心点坐标 (xm,ym) 将移动终端当前预览图像的显示区域划分为四个区间:并且所述对焦焦点坐标( xp,yp )满足:
    当 xp ≤ xm 且 yp ≥ ym 时,所述图像的显示区域定义为第一区间;
    当 xp > xm 且 yp > ym 时,所述图像的显示区域定义为第二区间;
    当 xp > xm 且 yp < ym 时,所述图像的显示区域定义为第三区间;
    当 xp < xm 且 yp < ym 时,所述图像的显示区域定义为第四区间;
    第一扩大拍摄视野单元、用于当所述 对焦焦点坐标( xp,yp ) 属于第一区间时,将摄像头拍摄的图像视野扩大至横向长度为 2 ( xf-xp )、纵向长度为 2yp ,并使扩大拍摄的图像中心点为所述对焦焦点 ( xp,yp ) ;
    第二扩大拍摄视野单元、用于当所述 对焦焦点坐标( xp,yp ) 属于第二区间时,将摄像头拍摄的图像视野扩大至横向长度为2 xp 、纵向长度为2 yp ,并使扩大拍摄的图像中心点为所述对焦焦点 ( xp,yp ) ;
    第三扩大拍摄视野单元、用于当所述 对焦焦点坐标( xp,yp ) 属于第三区间时,将摄像头拍摄的图像视野扩大至横向长度为2 xp 、纵向长度为 2 ( yf-yp ) ,并使扩大拍摄的图像中心点为所述对焦焦点 ( xp,yp ) ;
    第四扩大拍摄视野单元、用于当所述 对焦焦点坐标( xp,yp ) 属于第四区间时,将摄像头拍摄的图像视野扩大至横向长度为 2 ( xf-xp ) 、纵向长度为 2 ( yf-yp ) ,并使扩大拍摄的图像中心点为所述对焦焦点 ( xp,yp ) ;以及
    中心点对焦控制单元、用于将扩大摄像头拍摄视野后的图像按所述对焦焦点 ( xp,yp ) 进行中心点对焦。
  14. 根据权利要求 10 所述的移动终端,其中所述拍摄图像的点对焦系统中的所述对焦焦点获取与判断模块,用于获取用户拍摄时的对焦焦点,具体包括:
    检测用户在移动终端的照相机拍摄图像显示区域上的触摸,并获取预览图像上被触摸感应点为对焦焦点。
PCT/CN2016/092338 2015-12-14 2016-07-29 一种拍摄图像的点对焦方法、系统及移动终端 Ceased WO2017101456A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510923373.0A CN105578036B (zh) 2015-12-14 2015-12-14 一种拍摄图像的点对焦方法、系统及移动终端
CN201510923373.0 2015-12-14

Publications (1)

Publication Number Publication Date
WO2017101456A1 true WO2017101456A1 (zh) 2017-06-22

Family

ID=55887644

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/092338 Ceased WO2017101456A1 (zh) 2015-12-14 2016-07-29 一种拍摄图像的点对焦方法、系统及移动终端

Country Status (2)

Country Link
CN (1) CN105578036B (zh)
WO (1) WO2017101456A1 (zh)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113489900A (zh) * 2021-06-30 2021-10-08 展讯通信(天津)有限公司 一种图像对焦的方法及装置
CN115755960A (zh) * 2022-11-11 2023-03-07 深圳市道通智能航空技术股份有限公司 云台控制方法、控制器、无人机及无人机巡检系统

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105578036B (zh) * 2015-12-14 2019-01-04 惠州Tcl移动通信有限公司 一种拍摄图像的点对焦方法、系统及移动终端
CN111818304B (zh) 2020-07-08 2023-04-07 杭州萤石软件有限公司 图像融合方法及装置

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120194637A1 (en) * 2011-01-31 2012-08-02 Samsung Electronics Co., Ltd. Photographing apparatus for photgraphing panoramic image and method thereof
CN103546679A (zh) * 2012-07-12 2014-01-29 洪奇麟 减少被摄像物体发生脱离拍摄窗口的装置及方法
CN104580899A (zh) * 2014-12-26 2015-04-29 魅族科技(中国)有限公司 物体成像的控制方法及成像装置
CN104735355A (zh) * 2015-03-13 2015-06-24 广东欧珀移动通信有限公司 一种智能终端的摄像方法及装置
CN105578036A (zh) * 2015-12-14 2016-05-11 惠州Tcl移动通信有限公司 一种拍摄图像的点对焦方法、系统及移动终端

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100830467B1 (ko) * 2006-07-13 2008-05-20 엘지전자 주식회사 터치 패널을 갖는 영상기기 및 이 영상기기에서 줌 기능을수행하는 방법
KR101446772B1 (ko) * 2008-02-04 2014-10-01 삼성전자주식회사 디지털 영상 처리 장치 및 그 제어 방법
CN101651841B (zh) * 2008-08-13 2011-12-07 华为技术有限公司 一种立体视频通讯的实现方法、系统和设备
JP5326802B2 (ja) * 2009-05-19 2013-10-30 ソニー株式会社 情報処理装置、画像拡大縮小方法及びそのプログラム
CN103763471A (zh) * 2014-01-16 2014-04-30 宇龙计算机通信科技(深圳)有限公司 数码变焦方法及装置

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120194637A1 (en) * 2011-01-31 2012-08-02 Samsung Electronics Co., Ltd. Photographing apparatus for photgraphing panoramic image and method thereof
CN103546679A (zh) * 2012-07-12 2014-01-29 洪奇麟 减少被摄像物体发生脱离拍摄窗口的装置及方法
CN104580899A (zh) * 2014-12-26 2015-04-29 魅族科技(中国)有限公司 物体成像的控制方法及成像装置
CN104735355A (zh) * 2015-03-13 2015-06-24 广东欧珀移动通信有限公司 一种智能终端的摄像方法及装置
CN105578036A (zh) * 2015-12-14 2016-05-11 惠州Tcl移动通信有限公司 一种拍摄图像的点对焦方法、系统及移动终端

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113489900A (zh) * 2021-06-30 2021-10-08 展讯通信(天津)有限公司 一种图像对焦的方法及装置
CN115755960A (zh) * 2022-11-11 2023-03-07 深圳市道通智能航空技术股份有限公司 云台控制方法、控制器、无人机及无人机巡检系统

Also Published As

Publication number Publication date
CN105578036A (zh) 2016-05-11
CN105578036B (zh) 2019-01-04

Similar Documents

Publication Publication Date Title
WO2017211054A1 (zh) 蓝牙智能手表、智能终端、及其spp远程控制拍照的方法和系统
WO2021040284A1 (en) System and method for content enhancement using quad color filter array sensors
WO2017124792A1 (zh) 动态捕捉人脸摄像的方法、系统及移动终端
WO2017119664A1 (en) Display apparatus and control methods thereof
WO2020207030A1 (zh) 视频编码方法、系统、设备及计算机可读存储介质
WO2018040444A1 (zh) 一种双摄像头拍照控制方法、拍照控制装置及终端
WO2021141287A1 (ko) 카메라 프리뷰를 제공하는 전자 장치 및 그 방법
WO2018043884A1 (ko) 카메라를 제어하기 위한 방법 및 그 전자 장치
WO2015184693A1 (zh) 一种基于眼球跟踪技术进行自动拍照的处理方法及系统
WO2017096924A1 (zh) 一种基于移动终端的页面连续截图方法、系统及移动终端
WO2017133274A1 (zh) 一种终端屏幕亮度调节方法、系统及终端
WO2018233352A1 (zh) 数据传输方法、装置、终端以及计算机可读存储介质
WO2021141445A1 (en) Method of improving image quality in zoom scenario with single camera, and electronic device including the same
WO2009131382A2 (en) Apparatus and method for correcting moving image wavering
WO2021157954A1 (ko) 복수의 카메라를 이용한 동영상 촬영 방법 및 그 장치
WO2017181686A1 (zh) 一种移动终端视频通讯中画面角度自动修正方法及系统
WO2015186964A1 (ko) 촬영 장치 및 촬영 장치의 비디오 생성방법
WO2019071548A1 (zh) 终端拍照控制方法、移动终端及可读储存介质
WO2017000724A1 (zh) 一种畸变校正方法及终端
WO2016101441A1 (zh) 一种进行文件同步的方法及系统
WO2018161601A1 (zh) 屏幕背光调节方法、装置、存储介质及电子设备
WO2017101456A1 (zh) 一种拍摄图像的点对焦方法、系统及移动终端
WO2015137666A1 (ko) 오브젝트 인식 장치 및 그 제어 방법
WO2021056766A1 (zh) 视频截屏方法、终端及计算机可读存储介质
EP3818689A1 (en) Method and electronic device for switching between first lens and second lens

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

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

Country of ref document: EP

Kind code of ref document: A1