[go: up one dir, main page]

CN104639838B - A kind of image capture method and camera device - Google Patents

A kind of image capture method and camera device Download PDF

Info

Publication number
CN104639838B
CN104639838B CN201510097261.4A CN201510097261A CN104639838B CN 104639838 B CN104639838 B CN 104639838B CN 201510097261 A CN201510097261 A CN 201510097261A CN 104639838 B CN104639838 B CN 104639838B
Authority
CN
China
Prior art keywords
golden section
section point
target
main body
camera
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.)
Expired - Fee Related
Application number
CN201510097261.4A
Other languages
Chinese (zh)
Other versions
CN104639838A (en
Inventor
吴磊
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201510097261.4A priority Critical patent/CN104639838B/en
Publication of CN104639838A publication Critical patent/CN104639838A/en
Application granted granted Critical
Publication of CN104639838B publication Critical patent/CN104639838B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Studio Devices (AREA)

Abstract

本发明公开了一种摄像方法和摄像装置,其中,一种摄像方法包括:启动摄像头;将摄像头的取景区域划分为上区域和下区域两个部分,其中,所述上区域部分包含两个黄金分割点,所述下区域部分包含两个黄金分割点;确定对焦主体所在的取景区域;确定目标黄金分割点,其中,所述目标黄金分割点为所述对焦主体所在的取景区域中,与所述对焦主体距离最近的黄金分割点;若所述对焦主体与所述目标黄金分割点的距离不小于预设阈值,则指示从所述对焦主体到所述目标黄金分割点的移动方向。本发明提供的技术方案能够帮助用户在摄像时进行构图。

The invention discloses an imaging method and an imaging device, wherein, the imaging method includes: starting the camera; dividing the viewing area of the camera into two parts, an upper area and a lower area, wherein the upper area includes two gold Split point, the lower area part includes two golden section points; determine the viewfinder area where the focus subject is located; determine the target golden section point, wherein the target golden section point is in the viewfinder area where the focus subject is located, and The golden section point closest to the focused subject; if the distance between the focused subject and the target golden section point is not less than a preset threshold, indicate the moving direction from the focused subject to the target golden section point. The technical solution provided by the invention can help users compose pictures when taking pictures.

Description

一种摄像方法和摄像装置A camera method and camera device

技术领域technical field

本发明涉及摄像领域,具体涉及一种摄像方法和摄像装置。The invention relates to the field of imaging, in particular to an imaging method and an imaging device.

背景技术Background technique

随着科学技术的发展,移动终端(例如手机、平板电脑等)的功能也越来越丰富和强大,目前,大部分移动终端都配置有较高性能的摄像头,以便用户使用移动终端摄像。With the development of science and technology, the functions of mobile terminals (such as mobile phones, tablet computers, etc.) are becoming more and more abundant and powerful. At present, most mobile terminals are equipped with high-performance cameras so that users can use the mobile terminal to take pictures.

虽然移动终端自带的拍照功能在操作上非常方便,例如,直接启动移动终端上的拍照应用便可启动移动终端的摄像头进行取景摄像,然而,对于大多数用户(特别是对于未涉及拍照构图技巧的用户)而言,如何进行构图以获得较好的摄像效果是一个难题,目前并没有相关技术方案能够帮助用户在摄像时进行构图。Although the self-photographing function of the mobile terminal is very convenient in operation, for example, directly starting the camera application on the mobile terminal can start the camera of the mobile terminal to take a view and take a picture. For users), how to compose pictures to obtain better camera effects is a difficult problem, and there is currently no relevant technical solution that can help users compose pictures when taking pictures.

发明内容Contents of the invention

本发明提供一种摄像方法和摄像装置,用于帮助用户在摄像时进行构图。The invention provides a photographing method and a photographing device, which are used to help users compose pictures when taking photographs.

本发明第一方面提供一种摄像方法,包括:A first aspect of the present invention provides an imaging method, comprising:

启动摄像头;start the camera;

将摄像头的取景区域划分为上区域和下区域两个部分,其中,上述上区域部分包含两个黄金分割点,上述下区域部分包含两个黄金分割点;The viewfinder area of the camera is divided into two parts, an upper area and a lower area, wherein the above-mentioned upper area part contains two golden section points, and the above-mentioned lower area part contains two golden section points;

确定对焦主体所在的取景区域;Determine the framing area where the focused subject is located;

确定目标黄金分割点,其中,上述目标黄金分割点为上述对焦主体所在的取景区域中,与上述对焦主体距离最近的黄金分割点;Determining the target golden section point, wherein the target golden section point is the golden section point closest to the above-mentioned focused subject in the viewfinder area where the above-mentioned focused subject is located;

若上述对焦主体与上述目标黄金分割点的距离不小于预设阈值,则指示从上述对焦主体到上述目标黄金分割点的移动方向。If the distance between the focused subject and the target golden section point is not less than a preset threshold, a moving direction from the focused subject to the target golden section point is indicated.

本发明第二方面提供一种摄像装置,包括:A second aspect of the present invention provides an imaging device, comprising:

启动单元,用于启动摄像头;A starting unit for starting the camera;

划分单元,用于将摄像头的取景区域划分为上区域和下区域两个部分,其中,上述上区域部分包含两个黄金分割点,上述下区域部分包含两个黄金分割点;A division unit, configured to divide the viewfinder area of the camera into two parts, an upper area and a lower area, wherein the upper area includes two golden section points, and the lower area includes two golden section points;

第一确定单元,用于确定对焦主体所在的取景区域;a first determining unit, configured to determine a viewfinder area where a focused subject is located;

第二确定单元,用于确定目标黄金分割点,其中,上述目标黄金分割点为上述对焦主体所在的取景区域中,与上述对焦主体距离最近的黄金分割点;The second determining unit is configured to determine a target golden section point, wherein the target golden section point is a golden section point closest to the focused subject in the viewing area where the focused subject is located;

指示单元,用于当上述对焦主体与上述目标黄金分割点的距离不小于预设阈值时,指示从上述对焦主体到上述目标黄金分割点的移动方向。An indicating unit, configured to indicate a moving direction from the focusing subject to the target golden section point when the distance between the focusing subject and the target golden section point is not less than a preset threshold.

由上可见,本发明中将摄像头的取景区域分为上下两个区域,并且在上下两个区域中分别设置两个黄金分割点,在摄像过程中,根据对焦主体确定目标黄金分割点,并指示用户从对焦主体到该目标黄金分割点的移动方向。通过本发明方案,用户在摄像过程中能够能够获得构图帮助,即,使得用户能够根据指示移动摄像头,使对焦主体向目标黄金分割点的方向移动来完成构图,从而提高用户拍摄出效果较好的照片的概率。As can be seen from the above, in the present invention, the viewing area of the camera is divided into upper and lower regions, and two golden section points are respectively set in the upper and lower two regions. During the shooting process, the target golden section point is determined according to the focus subject, and the The user's moving direction from the focused subject to the target golden section point. Through the solution of the present invention, the user can obtain composition assistance during the shooting process, that is, the user can move the camera according to the instructions, and make the focusing subject move to the direction of the target golden section point to complete the composition, thereby improving the user's shooting effect. Probability of photo.

附图说明Description of drawings

为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the following will briefly introduce the drawings that need to be used in the description of the embodiments or the prior art. Obviously, the accompanying drawings in the following description are only These are some embodiments of the present invention. For those skilled in the art, other drawings can also be obtained according to these drawings without any creative effort.

图1-a为本发明提供的一种摄像方法一个实施例流程示意图;Figure 1-a is a schematic flow chart of an embodiment of an imaging method provided by the present invention;

图1-b为本发明提供的黄金分割点示意图;Fig. 1-b is a schematic diagram of the golden section point provided by the present invention;

图1-c为本发明提供的取景区域划分的场景示意图;Figure 1-c is a schematic diagram of a scene divided into viewing areas provided by the present invention;

图1-d为本发明提供的一种指示从对焦主体到目标黄金分割点的移动方向的场景示意图;Figure 1-d is a schematic diagram of a scene indicating the moving direction from the focused subject to the target golden section point provided by the present invention;

图2为本发明提供的一种摄像方法另一个实施例流程示意图;Fig. 2 is a schematic flow chart of another embodiment of an imaging method provided by the present invention;

图3为本发明提供的一种摄像装置一个实施例结构示意图。Fig. 3 is a schematic structural diagram of an embodiment of an imaging device provided by the present invention.

具体实施方式detailed description

为使得本发明的发明目的、特征、优点能够更加的明显和易懂,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而非全部实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。In order to make the purpose, features and advantages of the present invention more obvious and understandable, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described The embodiments are only some of the embodiments of the present invention, but not all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

本发明实施例提供一种摄像方法,包括:启动摄像头;将摄像头的取景区域划分为上区域和下区域两个部分,其中,上述上区域部分包含两个黄金分割点,上述下区域部分包含两个黄金分割点;确定对焦主体所在的取景区域;确定目标黄金分割点,其中,上述目标黄金分割点为上述对焦主体所在的取景区域中,与上述对焦主体距离最近的黄金分割点;若上述对焦主体与上述目标黄金分割点的距离不小于预设阈值,则指示从上述对焦主体到上述目标黄金分割点的移动方向。本发明实施例还提供相应的摄像装置。以下分别进行详细说明。An embodiment of the present invention provides a camera method, including: starting the camera; dividing the viewing area of the camera into two parts, an upper area and a lower area, wherein the upper area includes two golden section points, and the lower area includes two determine the framing area where the focus subject is located; determine the target golden section point, wherein the above-mentioned target golden section point is the golden section point closest to the above-mentioned focus subject in the viewfinder area where the above-mentioned focus subject is located; if the above-mentioned focusing If the distance between the subject and the above-mentioned target golden section point is not less than a preset threshold, then the direction of movement from the above-mentioned focusing subject to the above-mentioned target golden section point is indicated. The embodiment of the present invention also provides a corresponding camera device. Each will be described in detail below.

下面对本发明实施例提供的一种摄像方法进行描述,请参阅图1-a,本发明实施例中的摄像方法包括:A camera method provided by an embodiment of the present invention is described below. Please refer to FIG. 1-a. The camera method in this embodiment of the present invention includes:

101、启动摄像头;101. Start the camera;

本发明实施例应用于具有摄像功能的移动终端或相机。对于具有摄像功能的移动终端,用户可以通过启动移动终端中的拍照应用来启动移动终端的摄像头(例如移动终端的前置摄像头或后置摄像头)。对于相机,用户可以通过打开相机的开关来启动摄像头,需要说明的是,对于相机,本发明实施例中还需要将相机的取景模式切换为液晶屏实时取景模式。The embodiment of the present invention is applied to a mobile terminal or a camera with a camera function. For a mobile terminal with a camera function, the user can activate a camera of the mobile terminal (such as a front camera or a rear camera of the mobile terminal) by starting a camera application in the mobile terminal. For the camera, the user can start the camera by turning on the switch of the camera. It should be noted that, for the camera, it is also necessary to switch the viewfinder mode of the camera to the real-time viewfinder mode of the liquid crystal screen in the embodiment of the present invention.

102、将摄像头的取景区域划分为上区域和下区域两个部分;102. Divide the viewing area of the camera into two parts, an upper area and a lower area;

其中,上述上区域部分包含两个黄金分割点,上述下区域部分包含两个黄金分割点。Wherein, the above-mentioned upper area includes two golden section points, and the above-mentioned lower area includes two golden section points.

本发明实施例中,黄金分割点是指把一条线段分割为两部分,使其中一部分与全长之比等于另一部分与这部分之比。其比值是一个无理数,取其前三位数字的近似值是0.618。这个分割点就叫做黄金分割点。In the embodiment of the present invention, the golden section point refers to dividing a line segment into two parts, so that the ratio of one part to the full length is equal to the ratio of the other part to this part. Its ratio is an irrational number whose approximate value to the first three digits is 0.618. This dividing point is called the golden section point.

由于摄像头的取景器是一个有边缘的矩形框架式的结构,在这个矩形的框架式结构就是结构中心及中央对焦点所处的位置。本发明实施例中,将矩形取景器的长与宽三等分后,将出现4条分割线,而这4条分割线相交得到的4个交点即为4个黄金分割点,如图1-b所示,交点a、交点b、交点c和交点d即为4个黄金分割点。Since the viewfinder of the camera is a rectangular frame structure with edges, the rectangular frame structure is where the center of the structure and the central focusing point are located. In the embodiment of the present invention, after dividing the length and width of the rectangular viewfinder into thirds, four dividing lines will appear, and the four intersection points obtained by the intersection of these four dividing lines are four golden section points, as shown in Figure 1- As shown in b, intersection point a, intersection point b, intersection point c and intersection point d are the four golden section points.

本发明实施例中,将摄像头的取景区域划分为上区域和下区域两个部分,其中,上区域部分和下区域部分分别包含两个黄金分割点,以图1-b所示的黄金分割点示意图为例进行说明,则摄像头的取景区域的上区域部分包含交点a和交点b这两个黄金分割点,摄像头的取景区域的下区域部分包含交点c和交点d这两个黄金分割点。In the embodiment of the present invention, the viewfinder area of the camera is divided into two parts, the upper area and the lower area, wherein the upper area part and the lower area part respectively contain two golden section points, and the golden section point shown in Figure 1-b Taking the schematic diagram as an example, the upper part of the viewfinder area of the camera includes the two golden section points of intersection a and b, and the lower area of the viewfinder area of the camera includes the two golden section points of intersection c and intersection point d.

由于在摄像头的取景区域中,取景区域中上方的两个黄金分割点被使用的概率比较大,因此,可选的,将摄像头的取景区域划分为上区域和下区域两个部分,并使得上区域部分的面积大于下区域部分的面积,如图1-c所示的上区域S1和下区域S2。具体地,上区域部分的面积与下区域部分的面积的比例可以根据实际需求进行设定,此处不作限定。Since in the viewfinder area of the camera, the probability of using the two upper golden section points in the viewfinder area is relatively high, therefore, optionally, the viewfinder area of the camera is divided into two parts, the upper area and the lower area, and the upper area The area of the area part is larger than the area of the lower area part, such as the upper area S1 and the lower area S2 shown in Fig. 1-c. Specifically, the ratio of the area of the upper area part to the area of the lower area part can be set according to actual needs, which is not limited here.

103、确定对焦主体所在的取景区域;103. Determine the framing area where the focused subject is located;

本发明实施例中,摄像装置确定对焦主体所在的取景区域,即摄像装置确定对焦主体是位于上述取景区域的上区域部分还是下区域部分。In the embodiment of the present invention, the camera device determines the viewfinder area where the focus subject is located, that is, the camera device determines whether the focus subject is located in the upper region or the lower region of the above viewfinder region.

104、确定目标黄金分割点;104. Determine the target golden section point;

其中,上述目标黄金分割点为上述对焦主体所在的取景区域中,与上述对焦主体距离最近的黄金分割点。Wherein, the target golden section point is the golden section point closest to the focused subject in the viewing area where the focused subject is located.

以图1-c所示的取景区域划分示意图为例进行说明,若上述对焦主体位于上区域S1,则摄像装置确定上区域S1中与上述对焦主体距离最近的黄金分割点,将上区域S1中与上述对焦主体距离最近的黄金分割点确定为目标黄金分割点。若上述对焦主体位于下区域S2,则摄像装置确定下区域S2中与上述对焦主体距离最近的黄金分割点,将下区域S2中与上述对焦主体距离最近的黄金分割点确定为目标黄金分割点。Taking the schematic view of the viewfinder area division shown in Figure 1-c as an example for illustration, if the above-mentioned focus subject is located in the upper area S1, the imaging device determines the golden section point in the upper area S1 that is the closest to the above-mentioned focus subject, and places the point in the upper area S1 The golden section point with the closest distance to the above-mentioned focused subject is determined as the target golden section point. If the focused subject is located in the lower area S2, the camera determines the golden section point closest to the focused subject in the lower area S2, and determines the golden section point closest to the focused subject in the lower area S2 as the target golden section point.

105、若上述对焦主体与上述目标黄金分割点的距离不小于预设阈值,则指示从上述对焦主体到上述目标黄金分割点的移动方向;105. If the distance between the above-mentioned focus subject and the above-mentioned target golden section point is not less than a preset threshold, indicate the moving direction from the above-mentioned focus subject to the above-mentioned target golden section point;

可选的,当上述对焦主体与上述目标黄金分割点的距离不小于预设阈值时,摄像装置显示矢量箭头,上述矢量箭头指示从上述对焦主体到上述目标黄金分割点的方向。以图1-c所示的取景区域划分示意图为例进一步说明,如图1-d所示,点a、点b、点c和点d分别为上述4个黄金分割点,M为对焦主体,若步骤104中摄像头确定的目标黄金分割点为点a,且点a与M的距离不小于上述预设阈值,则显示矢量箭头L,通过矢量箭头L指示从对焦主体M到点a的方向。Optionally, when the distance between the focused subject and the target golden section point is not less than a preset threshold, the camera displays a vector arrow indicating a direction from the focused subject to the target golden section point. Take the viewfinder area division schematic diagram shown in Figure 1-c as an example to further explain, as shown in Figure 1-d, point a, point b, point c and point d are the above four golden section points respectively, M is the focus subject, If the target golden section point determined by the camera in step 104 is point a, and the distance between point a and M is not less than the above preset threshold, a vector arrow L is displayed to indicate the direction from the focused subject M to point a.

当然,本发明实施例中也可以通过其它方式指示从上述对焦主体到上述目标黄金分割点的移动方向,例如通过输出文字信息的方式指示从上述对焦主体到上述目标黄金分割点的移动方向,此处不作限定。Of course, in the embodiment of the present invention, the moving direction from the above-mentioned focusing subject to the above-mentioned target golden section point can also be indicated in other ways, for example, by outputting text information to indicate the moving direction from the above-mentioned focusing subject to the above-mentioned target golden section point. There is no limit.

具体的,上述预设阈值可以根据实际需求进行设定,此处不作限定。Specifically, the above preset threshold can be set according to actual needs, which is not limited here.

需要说明的是,本发明实施例中的摄像装置具体可以为手机、平板电脑、相机或者其它具有摄像功能的装置,此处不作限定。It should be noted that the camera device in the embodiment of the present invention may specifically be a mobile phone, a tablet computer, a camera or other devices with a camera function, which is not limited herein.

由上可见,本发明中将摄像头的取景区域分为上下两个区域,并且在上下两个区域中分别设置两个黄金分割点,在摄像过程中,根据对焦主体确定目标黄金分割点,并指示用户从对焦主体到该目标黄金分割点的移动方向。通过本发明方案,用户在摄像过程中能够能够获得构图帮助,即,使得用户能够根据指示移动摄像头,使对焦主体向目标黄金分割点的方向移动来完成构图,从而提高用户拍摄出效果较好的照片的概率。As can be seen from the above, in the present invention, the viewing area of the camera is divided into upper and lower regions, and two golden section points are respectively set in the upper and lower two regions. During the shooting process, the target golden section point is determined according to the focus subject, and the The user's moving direction from the focused subject to the target golden section point. Through the solution of the present invention, the user can obtain composition assistance during the shooting process, that is, the user can move the camera according to the instructions, and make the focusing subject move to the direction of the target golden section point to complete the composition, thereby improving the user's shooting effect. Probability of photo.

下面以另一实施例对本发明实施例中的摄像方法进行描述,请参阅图2,本发明实施例中的摄像方法包括:The imaging method in the embodiment of the present invention is described below with another embodiment, please refer to FIG. 2, the imaging method in the embodiment of the present invention includes:

201、启动摄像头;201. Start the camera;

本发明实施例应用于具有摄像功能的移动终端或相机。对于具有摄像功能的移动终端,用户可以通过启动移动终端中的拍照应用来启动移动终端的摄像头(例如移动终端的前置摄像头或后置摄像头)。对于相机,用户可以通过打开相机的开关来启动摄像头,需要说明的是,对于相机,本发明实施例中还需要将相机的取景模式切换为液晶屏实时取景模式。The embodiment of the present invention is applied to a mobile terminal or a camera with a camera function. For a mobile terminal with a camera function, the user can activate a camera of the mobile terminal (such as a front camera or a rear camera of the mobile terminal) by starting a camera application in the mobile terminal. For the camera, the user can start the camera by turning on the switch of the camera. It should be noted that, for the camera, it is also necessary to switch the viewfinder mode of the camera to the real-time viewfinder mode of the liquid crystal screen in the embodiment of the present invention.

202、将摄像头的取景区域划分为上区域和下区域两个部分;202. Divide the viewing area of the camera into two parts, an upper area and a lower area;

其中,上述上区域部分包含两个黄金分割点,上述下区域部分包含两个黄金分割点。Wherein, the above-mentioned upper area includes two golden section points, and the above-mentioned lower area includes two golden section points.

本发明实施例中,黄金分割点是指把一条线段分割为两部分,使其中一部分与全长之比等于另一部分与这部分之比。其比值是一个无理数,取其前三位数字的近似值是0.618。这个分割点就叫做黄金分割点。In the embodiment of the present invention, the golden section point refers to dividing a line segment into two parts, so that the ratio of one part to the full length is equal to the ratio of the other part to this part. Its ratio is an irrational number whose approximate value to the first three digits is 0.618. This dividing point is called the golden section point.

本发明实施例中,将摄像头的取景区域划分为上区域和下区域两个部分,其中,上区域部分和下区域部分分别包含两个黄金分割点,以图1-b所示的黄金分割点示意图为例进行说明,则摄像头的取景区域的上区域部分包含交点a和交点b这两个黄金分割点,摄像头的取景区域的下区域部分包含交点c和交点d这两个黄金分割点。In the embodiment of the present invention, the viewfinder area of the camera is divided into two parts, the upper area and the lower area, wherein the upper area part and the lower area part respectively contain two golden section points, and the golden section point shown in Figure 1-b Taking the schematic diagram as an example, the upper part of the viewfinder area of the camera includes the two golden section points of intersection a and b, and the lower area of the viewfinder area of the camera includes the two golden section points of intersection c and intersection point d.

由于在摄像头的取景区域中,取景区域中上方的两个黄金分割点被使用的概率比较大,因此,可选的,将摄像头的取景区域划分为上区域和下区域两个部分,并使得上区域部分的面积大于下区域部分的面积。具体地,上区域部分的面积与下区域部分的面积的比例可以根据实际需求进行设定,此处不作限定。Since in the viewfinder area of the camera, the probability of using the two upper golden section points in the viewfinder area is relatively high, therefore, optionally, the viewfinder area of the camera is divided into two parts, the upper area and the lower area, and the upper area The area of the region portion is larger than the area of the lower region portion. Specifically, the ratio of the area of the upper area part to the area of the lower area part can be set according to actual needs, which is not limited here.

203、确定对焦主体所在的取景区域;203. Determine the framing area where the focused subject is located;

本发明实施例中,摄像装置确定对焦主体所在的取景区域,即摄像装置确定对焦主体是位于上述取景区域的上区域部分还是下区域部分。In the embodiment of the present invention, the camera device determines the viewfinder area where the focus subject is located, that is, the camera device determines whether the focus subject is located in the upper region or the lower region of the above viewfinder region.

204、确定目标黄金分割点;204. Determine the target golden section point;

其中,上述目标黄金分割点为上述对焦主体所在的取景区域中,与上述对焦主体距离最近的黄金分割点。Wherein, the target golden section point is the golden section point closest to the focused subject in the viewing area where the focused subject is located.

205、若上述对焦主体与上述目标黄金分割点的距离不小于预设阈值,则指示从上述对焦主体到上述目标黄金分割点的移动方向;205. If the distance between the focused subject and the target golden section point is not less than a preset threshold, indicate a moving direction from the focused subject to the target golden section point;

可选的,当上述对焦主体与上述目标黄金分割点的距离不小于预设阈值时,摄像装置显示矢量箭头,上述矢量箭头指示从上述对焦主体到上述目标黄金分割点的方向。Optionally, when the distance between the focused subject and the target golden section point is not less than a preset threshold, the camera displays a vector arrow indicating a direction from the focused subject to the target golden section point.

当然,本发明实施例中也可以通过其它方式指示从上述对焦主体到上述目标黄金分割点的移动方向,例如通过输出文字信息的方式指示从上述对焦主体到上述目标黄金分割点的移动方向,此处不作限定。Of course, in the embodiment of the present invention, the moving direction from the above-mentioned focusing subject to the above-mentioned target golden section point can also be indicated in other ways, for example, by outputting text information to indicate the moving direction from the above-mentioned focusing subject to the above-mentioned target golden section point. There is no limit.

206、若上述对焦主体与上述目标黄金分割点的距离小于上述预设阈值,则输出用于指示对焦主体与上述目标黄金分割点重合的指示信息;206. If the distance between the focused subject and the target golden section point is smaller than the preset threshold, output indication information for indicating that the focused subject coincides with the target golden section point;

本发明实施例中,摄像装置实时执行上述步骤203和204,以便在用户移动上述摄像头的取景框时摄像装置能够重新确定对焦主体所在的取景区域和目标黄金分割点,并确定对焦主体与目标黄金分割点的距离,当上述对焦主体与上述目标黄金分割点的距离小于上述预设阈值时,摄像装置输出用于指示对焦主体与上述目标黄金分割点重合的指示信息。In the embodiment of the present invention, the camera device executes the above-mentioned steps 203 and 204 in real time, so that when the user moves the viewfinder frame of the above-mentioned camera, the camera device can re-determine the viewfinder area where the focus subject is located and the target golden section point, and determine the golden section point between the focus subject and the target. The distance of the segmentation point, when the distance between the focus subject and the target golden section point is less than the preset threshold, the camera outputs indication information for indicating that the focus subject coincides with the target golden section point.

可选的,当上述对焦主体与上述目标黄金分割点的距离小于上述预设阈值时,摄像装置输出预设的用于指示对焦主体与上述目标黄金分割点重合的语音提醒信息。当然,本发明实施例中也可以输出用于指示对焦主体与上述目标黄金分割点重合的其它类型的指示信息,例如通过文字方式输出用于指示对焦主体与上述目标黄金分割点重合的其它类型的指示信息,此处不作限定。Optionally, when the distance between the focused subject and the target golden section point is smaller than the preset threshold, the camera outputs a preset voice reminder message indicating that the focused subject coincides with the target golden section point. Of course, in the embodiment of the present invention, other types of indication information for indicating that the focus subject coincides with the above-mentioned target golden section point can also be output, for example, outputting other types of indication information for indicating that the focus subject coincides with the above-mentioned target golden section point in text The instruction information is not limited here.

可选的,上述预设阈值设置为0,则只有当上述对焦主体与上述目标黄金分割点真正重合时,摄像装置才输出用于指示对焦主体与上述目标黄金分割点重合的指示信息。当然,上述预设阈值也可以根据实际需求进行设定,此处不作限定。Optionally, if the preset threshold is set to 0, the imaging device outputs indication information indicating that the focused subject coincides with the target golden section point only when the focused subject actually coincides with the target golden section point. Of course, the above preset threshold can also be set according to actual needs, which is not limited here.

需要说明的是,本发明实施例中的摄像装置具体可以为手机、平板电脑、相机或者其它具有摄像功能的装置,此处不作限定。It should be noted that the camera device in the embodiment of the present invention may specifically be a mobile phone, a tablet computer, a camera or other devices with a camera function, which is not limited here.

由上可见,本发明中将摄像头的取景区域分为上下两个区域,并且在上下两个区域中分别设置两个黄金分割点,在摄像过程中,根据对焦主体确定目标黄金分割点,并指示用户从对焦主体到该目标黄金分割点的移动方向。通过本发明方案,用户在摄像过程中能够能够获得构图帮助,即,使得用户能够根据指示移动摄像头,使对焦主体向目标黄金分割点的方向移动来完成构图,从而提高用户拍摄出效果较好的照片的概率。As can be seen from the above, in the present invention, the viewing area of the camera is divided into upper and lower regions, and two golden section points are respectively set in the upper and lower two regions. During the shooting process, the target golden section point is determined according to the focus subject, and the The user's moving direction from the focused subject to the target golden section point. Through the solution of the present invention, the user can obtain composition assistance during the shooting process, that is, the user can move the camera according to the instructions, and make the focusing subject move to the direction of the target golden section point to complete the composition, thereby improving the user's shooting effect. Probability of photo.

本发明实施例还提供一种摄像装置,请参阅图3,本发明实施例中的摄像装置300,包括:The embodiment of the present invention also provides an imaging device, please refer to FIG. 3, the imaging device 300 in the embodiment of the present invention includes:

启动单元301,用于启动摄像头;A starting unit 301, configured to start the camera;

划分单元302,用于将摄像头的取景区域划分为上区域和下区域两个部分,其中,上述上区域部分包含两个黄金分割点,上述下区域部分包含两个黄金分割点;A division unit 302, configured to divide the viewfinder area of the camera into two parts, an upper area and a lower area, wherein the upper area includes two golden section points, and the lower area includes two golden section points;

第一确定单元303,用于确定对焦主体所在的取景区域;The first determination unit 303 is configured to determine the viewing area where the focused subject is located;

第二确定单元304,用于确定目标黄金分割点,其中,上述目标黄金分割点为上述对焦主体所在的取景区域中,与上述对焦主体距离最近的黄金分割点;The second determining unit 304 is configured to determine a target golden section point, wherein the target golden section point is a golden section point closest to the focused subject in the viewing area where the focused subject is located;

指示单元305,用于当上述对焦主体与上述目标黄金分割点的距离不小于预设阈值时,指示从上述对焦主体到上述目标黄金分割点的移动方向。The instructing unit 305 is configured to instruct a moving direction from the focused subject to the target golden section point when the distance between the focused subject and the target golden section point is not less than a preset threshold.

可选的,本发明实施例中的摄像装置还包括:第一显示单元,用于在上述上区域显示上述上区域包含的两个黄金分割点;在上述下区域显示上述下区域包含的两个黄金分割点。Optionally, the imaging device in the embodiment of the present invention further includes: a first display unit, configured to display the two golden section points contained in the above-mentioned upper region in the above-mentioned upper region; Golden section point.

可选的,本发明实施例中的摄像装置还包括:第二显示单元,用于当上述对焦主体与上述目标黄金分割点的距离不小于预设阈值时,显示矢量箭头,上述矢量箭头指示从上述对焦主体到上述目标黄金分割点的方向。Optionally, the imaging device in the embodiment of the present invention further includes: a second display unit, configured to display a vector arrow when the distance between the above-mentioned focusing subject and the above-mentioned target golden section point is not less than a preset threshold, and the above-mentioned vector arrow indicates the distance from The direction from the aforementioned focusing subject to the aforementioned target golden section point.

可选的,本发明实施例中的摄像装置还包括:输出单元,用于当上述对焦主体与上述目标黄金分割点的距离小于上述预设阈值时,输出用于指示对焦主体与上述目标黄金分割点重合的指示信息。Optionally, the imaging device in the embodiment of the present invention further includes: an output unit, configured to output an output indicating the golden section point between the focused subject and the target when the distance between the focused subject and the target golden section point is less than the preset threshold Instructions for point coincidence.

可选的,上述输出单元具体用于:输出预设的用于指示对焦主体与上述目标黄金分割点重合的语音提醒信息。Optionally, the above-mentioned output unit is specifically configured to: output preset voice reminder information for indicating that the focused subject coincides with the above-mentioned target golden section point.

本发明实施例中的摄像装置具体可以为手机、平板电脑、相机或者其它具有摄像功能的装置,此处不作限定。The camera device in the embodiment of the present invention may specifically be a mobile phone, a tablet computer, a camera or other devices with a camera function, which is not limited here.

应理解,本发明实施例中的摄像装置可以如上述方法实施例中提及的摄像装置,可以用于实现上述方法实施例中的全部技术方案,其各个功能模块的功能可以根据上述方法实施例中的方法具体实现,其具体实现过程可参照上述实施例中的相关描述,此处不再赘述。It should be understood that the imaging device in the embodiment of the present invention can be like the imaging device mentioned in the above-mentioned method embodiment, and can be used to realize all the technical solutions in the above-mentioned method embodiment, and the functions of each functional module can be according to the above-mentioned method embodiment The method in is specifically implemented, and the specific implementation process can refer to the relevant description in the above-mentioned embodiments, and details are not repeated here.

由上可见,本发明中将摄像头的取景区域分为上下两个区域,并且在上下两个区域中分别设置两个黄金分割点,在摄像过程中,根据对焦主体确定目标黄金分割点,并指示用户从对焦主体到该目标黄金分割点的移动方向。通过本发明方案,用户在摄像过程中能够能够获得构图帮助,即,使得用户能够根据指示移动摄像头,使对焦主体向目标黄金分割点的方向移动来完成构图,从而提高用户拍摄出效果较好的照片的概率。As can be seen from the above, in the present invention, the viewing area of the camera is divided into upper and lower regions, and two golden section points are respectively set in the upper and lower two regions. During the shooting process, the target golden section point is determined according to the focus subject, and the The user's moving direction from the focused subject to the target golden section point. Through the solution of the present invention, the user can obtain composition assistance during the shooting process, that is, the user can move the camera according to the instructions, and make the focusing subject move to the direction of the target golden section point to complete the composition, thereby improving the user's shooting effect. Probability of photo.

在本申请所提供的几个实施例中,应该理解到,所揭露的装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed devices and methods may be implemented in other ways. For example, the device embodiments described above are only illustrative. For example, the division of the units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components can be combined or May be integrated into another system, or some features may be ignored, or not implemented. In another point, the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces, and the indirect coupling or communication connection of devices or units may be in electrical, mechanical or other forms.

所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place, or may be distributed to multiple network units. Part or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.

另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, each unit may exist separately physically, or two or more units may be integrated into one unit. The above-mentioned integrated units can be implemented in the form of hardware or in the form of software functional units.

所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本发明各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read-OnlyMemory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。If the integrated unit is realized in the form of a software function unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the essence of the technical solution of the present invention or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium , including several instructions to make a computer device (which may be a personal computer, a server, or a network device, etc.) execute all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-OnlyMemory), random access memory (RAM, Random Access Memory), magnetic disk or optical disk and other media that can store program codes.

需要说明的是,对于前述的各方法实施例,为了简便描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本发明并不受所描述的动作顺序的限制,因为依据本发明,某些步骤可以采用其它顺序或者同时进行。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施例,所涉及的动作和模块并不一定都是本发明所必须的。It should be noted that, for the sake of simplicity of description, the aforementioned method embodiments are expressed as a series of action combinations, but those skilled in the art should know that the present invention is not limited by the described action sequence. Because of the present invention, certain steps may be performed in other orders or simultaneously. Secondly, those skilled in the art should also know that the embodiments described in the specification belong to preferred embodiments, and the actions and modules involved are not necessarily required by the present invention.

在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述的部分,可以参见其它实施例的相关描述。In the foregoing embodiments, the descriptions of each embodiment have their own emphases, and for parts not described in detail in a certain embodiment, reference may be made to relevant descriptions of other embodiments.

以上为对本发明所提供的一种摄像方法和摄像装置的描述,对于本领域的一般技术人员,依据本发明实施例的思想,在具体实施方式及应用范围上均会有改变之处,综上,本说明书内容不应理解为对本发明的限制。The above is a description of an imaging method and imaging device provided by the present invention. For those of ordinary skill in the art, according to the ideas of the embodiments of the present invention, there will be changes in the specific implementation and application range. In summary , the contents of this specification should not be construed as limiting the present invention.

Claims (10)

1. a kind of image capture method, it is characterised in that including:
Start camera;
The view area of camera is divided into upper region and two, lower region part, the area of the upper region part is more than institute The area of lower region part is stated, wherein, the upper region part includes two golden section points, and the lower region part includes two Individual golden section point;
It is determined that region part is still descended in the upper region part that focusing main body is located at above-mentioned view area;
Determine target golden section point, wherein, the target golden section point for it is described focusing main body where region part in, The closest golden section point with the focusing main body;
If the distance of the focusing main body and the target golden section point is not less than predetermined threshold value, it indicates that from the focusing master Moving direction of the body to the target golden section point.
2. according to the method described in claim 1, it is characterised in that described that the view area of camera is divided into upper region with Two, region part, includes afterwards:
Region shows two golden section points that region is included on described on described;
Two golden section points that the lower region is included are shown in the lower region.
3. method according to claim 1 or 2, it is characterised in that
The moving direction indicated from the focusing main body to the target golden section point, including:
Vector arrows are shown, the vector arrows are indicated from the focusing main body to the direction of the target golden section point.
4. method according to claim 1 or 2, it is characterised in that the determination target golden section point, is also wrapped afterwards Include:
If the distance of the focusing main body and the target golden section point is less than the predetermined threshold value, export for indicating The configured information that focusing main body is overlapped with the target golden section point.
5. method according to claim 4, it is characterised in that the output is used to indicate that focusing main body is yellow with the target The configured information that golden cut-point is overlapped, be specially:Output is default to be used to indicate focusing main body and the target golden section point The voice reminder information of coincidence.
6. a kind of camera device, it is characterised in that including:
Start unit, for starting camera;
Division unit, for the view area of camera to be divided into upper region and two, lower region part, the upper region portion Point area be more than the area of the lower region part, wherein, the upper region part includes two golden section points, it is described under Region part includes two golden section points;
Region part is still descended in first determining unit, the upper region part for being located at above-mentioned view area for determination focusing main body;
Second determining unit, for determining target golden section point, wherein, the target golden section point is the focusing main body In the region part at place, the closest golden section point with the focusing main body;
Indicating member, for when the distance of the focusing main body and the target golden section point is not less than predetermined threshold value, referring to Show the moving direction from the focusing main body to the target golden section point.
7. camera device according to claim 6, it is characterised in that the camera device also includes:
First display unit, on described region show region is included on described two golden section points;Under described Region shows two golden section points that the lower region is included.
8. the camera device according to claim 6 or 7, it is characterised in that the camera device also includes:Second display is single Member, for when the distance of the focusing main body and the target golden section point is not less than predetermined threshold value, showing vector arrows, The vector arrows are indicated from the focusing main body to the direction of the target golden section point.
9. the camera device according to claim 6 or 7, it is characterised in that the camera device also includes:Output unit, For when the distance of the focusing main body and the target golden section point is less than the predetermined threshold value, exporting for instruction pair The configured information that burnt main body is overlapped with the target golden section point.
10. camera device according to claim 9, it is characterised in that the output unit specifically for:Output is default For indicating the voice reminder information that focusing main body is overlapped with the target golden section point.
CN201510097261.4A 2015-03-04 2015-03-04 A kind of image capture method and camera device Expired - Fee Related CN104639838B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510097261.4A CN104639838B (en) 2015-03-04 2015-03-04 A kind of image capture method and camera device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510097261.4A CN104639838B (en) 2015-03-04 2015-03-04 A kind of image capture method and camera device

Publications (2)

Publication Number Publication Date
CN104639838A CN104639838A (en) 2015-05-20
CN104639838B true CN104639838B (en) 2017-09-29

Family

ID=53218100

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510097261.4A Expired - Fee Related CN104639838B (en) 2015-03-04 2015-03-04 A kind of image capture method and camera device

Country Status (1)

Country Link
CN (1) CN104639838B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000083222A (en) * 1998-09-04 2000-03-21 Olympus Optical Co Ltd Digital image edit device
US6222545B1 (en) * 1995-03-28 2001-04-24 Canon Kabushiki Kaisha Image processing apparatus and method
CN1497938A (en) * 2002-09-30 2004-05-19 ������������ʽ���� Image editing method, image editing device, program and storage medium

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7788272B2 (en) * 2006-08-04 2010-08-31 Xerox Corporation Document catalog system
CN101964870A (en) * 2009-07-23 2011-02-02 华晶科技股份有限公司 Image capture device for correcting image positions and image position correction method
CN104243787B (en) * 2013-06-06 2017-09-05 华为技术有限公司 Photographing method, photo management method and device
CN103929596B (en) * 2014-04-30 2016-09-14 努比亚技术有限公司 Guide the method and device of shooting composition

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6222545B1 (en) * 1995-03-28 2001-04-24 Canon Kabushiki Kaisha Image processing apparatus and method
JP2000083222A (en) * 1998-09-04 2000-03-21 Olympus Optical Co Ltd Digital image edit device
CN1497938A (en) * 2002-09-30 2004-05-19 ������������ʽ���� Image editing method, image editing device, program and storage medium

Also Published As

Publication number Publication date
CN104639838A (en) 2015-05-20

Similar Documents

Publication Publication Date Title
CN111669493B (en) Shooting method, device and equipment
WO2022100677A1 (en) Picture preview method and apparatus, and storage medium and electronic device
CN104333700B (en) Image blurring method and image blurring device
CN111553864B (en) Image restoration method and device, electronic equipment and storage medium
CN103152489B (en) A kind of exhibiting method of image of autodyning and device
CN104363379B (en) The method and terminal taken pictures using different focal camera
CN104461288B (en) The method and terminal taken pictures using different angle of visual field cameras
JP6534655B2 (en) Method and apparatus for displaying preview image
WO2016123893A1 (en) Photographing method, device and terminal
WO2015078336A1 (en) Method and terminal for shooting media
WO2021164162A1 (en) Image photographing method and apparatus, and device
WO2018166069A1 (en) Photographing preview method, graphical user interface, and terminal
CN112887609B (en) Shooting method and device, electronic equipment and storage medium
CN104754223A (en) Method for generating thumbnail and shooting terminal
CN105430269B (en) A kind of photographic method and device applied to mobile terminal
CN106303235A (en) Photographing processing method and device
CN108513057B (en) Image processing method and device
TWI676113B (en) Preview method and device in iris recognition process
CN105867858A (en) Control method, control device and electronic device
CN104486553B (en) A kind of distant view photograph image pickup method and terminal
WO2022151687A1 (en) Group photo image generation method and apparatus, device, storage medium, computer program, and product
CN105516609A (en) Method and device for taking pictures
CN105933613A (en) Image processing method, device and mobile terminal
CN105516594A (en) Image capturing method and device
CN104935815B (en) Method, device and the camera and mobile terminal taken pictures

Legal Events

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

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

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

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

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

CP03 Change of name, title or address
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20170929

CF01 Termination of patent right due to non-payment of annual fee