CN106791357A - A kind of image pickup method and mobile terminal - Google Patents
A kind of image pickup method and mobile terminal Download PDFInfo
- Publication number
- CN106791357A CN106791357A CN201611025821.6A CN201611025821A CN106791357A CN 106791357 A CN106791357 A CN 106791357A CN 201611025821 A CN201611025821 A CN 201611025821A CN 106791357 A CN106791357 A CN 106791357A
- Authority
- CN
- China
- Prior art keywords
- camera
- user
- acquisition parameters
- numerical value
- mobile terminal
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 49
- 241000208340 Araliaceae Species 0.000 claims 3
- 235000005035 Panax pseudoginseng ssp. pseudoginseng Nutrition 0.000 claims 3
- 235000003140 Panax quinquefolius Nutrition 0.000 claims 3
- 235000008434 ginseng Nutrition 0.000 claims 3
- 230000015654 memory Effects 0.000 description 31
- 230000006870 function Effects 0.000 description 20
- 238000010586 diagram Methods 0.000 description 9
- 230000008569 process Effects 0.000 description 8
- 238000012545 processing Methods 0.000 description 7
- 230000009471 action Effects 0.000 description 5
- 238000004891 communication Methods 0.000 description 5
- 230000001360 synchronised effect Effects 0.000 description 5
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 238000001514 detection method Methods 0.000 description 3
- KLDZYURQCUYZBL-UHFFFAOYSA-N 2-[3-[(2-hydroxyphenyl)methylideneamino]propyliminomethyl]phenol Chemical compound OC1=CC=CC=C1C=NCCCN=CC1=CC=CC=C1O KLDZYURQCUYZBL-UHFFFAOYSA-N 0.000 description 1
- 241000699666 Mus <mouse, genus> Species 0.000 description 1
- 241000699670 Mus sp. Species 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 201000001098 delayed sleep phase syndrome Diseases 0.000 description 1
- 208000033921 delayed sleep phase type circadian rhythm sleep disease Diseases 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 239000011521 glass Substances 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 238000010897 surface acoustic wave method Methods 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/60—Control of cameras or camera modules
- H04N23/63—Control of cameras or camera modules by using electronic viewfinders
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/60—Control of cameras or camera modules
- H04N23/62—Control of parameters via user interfaces
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Human Computer Interaction (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
Description
技术领域technical field
本发明涉及移动终端的技术领域,特别是涉及一种拍摄方法和一种移动终端。The present invention relates to the technical field of mobile terminals, in particular to a photographing method and a mobile terminal.
背景技术Background technique
随着的科学技术的不断发展,电子产品的种类越来越多,具有拍摄功能的移动终端越来越普及,用户可以随时随地用它来进行拍照,所得的图像以多媒体的短信等形式发送给亲朋好友,即拍即发,方便快捷。With the continuous development of science and technology, there are more and more types of electronic products, and mobile terminals with shooting functions are becoming more and more popular. Users can use them to take pictures anytime and anywhere, and the resulting images are sent to Friends and family, instant shooting, convenient and fast.
智能手机等移动终端已经不再是简单的通信工具,而是集休闲、娱乐和通信等功能的工艺品。与此同时,用户对拍摄效果的要求也越来越高。当然,在拍摄图像的过程中,用户通常需要调整多个参数,例如,光圈参数、焦距参数、快门参数、曝光参数等,而现有的移动终端调整参数的过程中,需要进入一个界面选择设置参数的种类,在此基础上,再进行另一个界面调节参数的大小,过程复杂,步骤繁琐,用户的体验不高。Mobile terminals such as smart phones are no longer simple communication tools, but handicrafts that integrate leisure, entertainment and communication functions. At the same time, users have higher and higher requirements for shooting effects. Of course, in the process of taking images, users usually need to adjust multiple parameters, such as aperture parameters, focal length parameters, shutter parameters, exposure parameters, etc., but in the process of adjusting parameters in existing mobile terminals, it is necessary to enter an interface to select settings The type of parameters, on this basis, another interface to adjust the size of the parameters, the process is complicated, the steps are cumbersome, and the user experience is not high.
发明内容Contents of the invention
鉴于上述问题,本发明实施例提供一种拍摄方法和移动终端,以解决现有技术中拍摄参数选择及调节的步骤繁琐的问题In view of the above problems, an embodiment of the present invention provides a shooting method and a mobile terminal to solve the cumbersome steps of shooting parameter selection and adjustment in the prior art
为了解决上述问题,本发明实施例公开了一种拍摄方法,应用于包括摄像头的移动终端,所述拍摄方法包括:In order to solve the above problems, an embodiment of the present invention discloses a shooting method, which is applied to a mobile terminal including a camera, and the shooting method includes:
开启摄像头;turn on the camera;
显示所述摄像头的取景框以及虚拟图标;displaying the viewfinder frame and the virtual icon of the camera;
接收用户对所述虚拟图标的触控事件;receiving a user's touch event on the virtual icon;
根据用户对所述虚拟图标的所述触控事件,调节所述摄像头的拍摄参数的类别和/或数值;adjusting the category and/or value of shooting parameters of the camera according to the touch event of the user on the virtual icon;
根据所述拍摄参数的类别和/或所述拍摄参数的数值拍摄图像。An image is captured according to the category of the shooting parameter and/or the value of the shooting parameter.
本发明实施例公开了一种移动终端,所述移动终端包括摄像头,所述终端包括:The embodiment of the present invention discloses a mobile terminal, the mobile terminal includes a camera, and the terminal includes:
摄像头开启模块,用于开启摄像头;The camera opening module is used to open the camera;
显示模块,用于显示所述摄像头的取景框以及虚拟图标;A display module, configured to display a viewfinder frame and a virtual icon of the camera;
接收模块,用于接收用户对所述虚拟图标的触控事件;a receiving module, configured to receive a user's touch event on the virtual icon;
调节模块,用于根据用户对所述虚拟图标的所述触控事件,调节所述摄像头的拍摄参数的类别和/或数值;An adjustment module, configured to adjust the category and/or value of the shooting parameters of the camera according to the touch event of the user on the virtual icon;
图像拍摄模块,用于根据所述拍摄参数的类别和/或所述拍摄参数的数值拍摄图像。An image capture module, configured to capture images according to the category of the capture parameter and/or the value of the capture parameter.
本发明实施例包括以下优点:Embodiments of the present invention include the following advantages:
本发明实施例中,当摄像头开启后,在所述移动终端的屏幕上显示取景框;其中所述取景框包括所述虚拟按键,依据用户针对所述虚拟按键的特征事件,切换所述摄像头的拍摄参数的类别,以及,调节所述摄像头的拍摄参数的数值,其中,所述虚拟按键用于切换所述摄像头的拍摄参数的类别和/或调节拍摄参数的数值,依据所述拍摄参数的类别及所述拍摄参数的数值拍摄图像。本发明实施例中通过一个虚拟按键来切换拍摄参数的类别及调节拍摄参数的大小,提供了一种新的拍摄参数的切换方式及调节方式,提高了用户针对拍摄参数的便利性及可切换性,提高了用户的体验。In the embodiment of the present invention, when the camera is turned on, a viewfinder frame is displayed on the screen of the mobile terminal; wherein the viewfinder frame includes the virtual button, and the camera is switched according to the characteristic event of the user for the virtual button. The category of shooting parameters, and adjusting the value of the shooting parameter of the camera, wherein the virtual button is used to switch the category of the shooting parameter of the camera and/or adjust the value of the shooting parameter, according to the category of the shooting parameter and the numerical values of the shooting parameters to capture images. In the embodiment of the present invention, a virtual button is used to switch the category of shooting parameters and adjust the size of shooting parameters, providing a new switching method and adjustment method of shooting parameters, which improves the convenience and switchability of shooting parameters for users , improving the user experience.
附图说明Description of drawings
为了更清楚地说明本发明实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings that need to be used in the description of the embodiments will be briefly introduced below. Obviously, the drawings in the following description are only some embodiments of the present invention. For those of ordinary skill in the art, on the premise of not paying creative work, other drawings can also be obtained based on these drawings
图1是本发明实施例的一种拍摄方法实施例一的步骤流程图;FIG. 1 is a flow chart of the steps of Embodiment 1 of a photographing method according to an embodiment of the present invention;
图2是本发明实施例的一种拍摄方法实施例二的步骤流程图;FIG. 2 is a flow chart of steps in Embodiment 2 of a photographing method according to an embodiment of the present invention;
图3是本发明实施例的一种移动终端的示意图;FIG. 3 is a schematic diagram of a mobile terminal according to an embodiment of the present invention;
图4是本发明实施例中装置实施例三的一种移动终端的结构框图;Fig. 4 is a structural block diagram of a mobile terminal in the third embodiment of the device in the embodiment of the present invention;
图5是本发明实施例中装置实施例四的一种移动终端的结构框图;Fig. 5 is a structural block diagram of a mobile terminal in the fourth embodiment of the device in the embodiment of the present invention;
图6是本发明实施例中装置实施例五的一种移动终端的结构示意图。Fig. 6 is a schematic structural diagram of a mobile terminal in the fifth embodiment of the device in the embodiment of the present invention.
具体实施方式detailed description
为了使本发明实施例所解决的技术问题、技术方案及有益效果更加清楚明白,以下结合附图及实施例,对本发明实施例进一步详细说明。应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。In order to make the technical problems, technical solutions and beneficial effects solved by the embodiments of the present invention clearer, the embodiments of the present invention will be further described in detail below in conjunction with the accompanying drawings and the embodiments. It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.
方法实施例一Method embodiment one
参照图1,示出了本发明实施例的一种拍摄方法实施例一的步骤流程图,所述移动终端包括摄像头,应用于包括摄像头的移动终端,具体可以包括如下步骤:Referring to FIG. 1 , it shows a flow chart of the steps of Embodiment 1 of a shooting method according to an embodiment of the present invention. The mobile terminal includes a camera, and is applied to a mobile terminal including a camera. Specifically, the following steps may be included:
步骤101,开启摄像头;Step 101, turn on the camera;
在具体实现中,本发明实施例可以应用在移动终端中,例如,手机、平板电脑、个人数字助理、穿戴设备(如眼镜、手表等)等等。In a specific implementation, the embodiments of the present invention can be applied in mobile terminals, for example, mobile phones, tablet computers, personal digital assistants, wearable devices (such as glasses, watches, etc.) and the like.
在本发明实施例中,移动终端的操作系统可以包括Android(安卓)、IOS、WindowsPhone、Windows等等。In the embodiment of the present invention, the operating system of the mobile terminal may include Android (Android), IOS, WindowsPhone, Windows and so on.
用户点击移动终端上的拍照应用程序相应的图标,开启移动终端上的摄像头。The user clicks the corresponding icon of the camera application program on the mobile terminal to turn on the camera on the mobile terminal.
步骤102,显示所述摄像头的取景框以及虚拟图标;Step 102, displaying the viewfinder frame and the virtual icon of the camera;
本发明实施例中,当用户点击移动终端的拍照的应用程序后,移动终端启动所述摄像头,在移动终端的屏幕上显示取景框上,需要说明的是,所述取景框可以占屏幕的一定比例的,例如,显示取景框于50%的屏幕上,或者25%,本发明实施例对此不作限制,所述虚拟图标为用于调整拍摄参数的类别和/或数值的内空圆形图标。In the embodiment of the present invention, when the user clicks on the application program of taking pictures of the mobile terminal, the mobile terminal starts the camera, and displays the viewfinder frame on the screen of the mobile terminal. It should be noted that the viewfinder frame can occupy a certain portion of the screen. Proportional, for example, displaying the viewfinder frame on 50% of the screen, or 25%, the embodiment of the present invention does not limit this, the virtual icon is an inner hollow circular icon used to adjust the category and/or value of the shooting parameter .
需要说明的是,移动终端开启摄像头的方式可以是直接使用库函数中的API(Application Programming Interface,应用程序编程接口)函数calledCamera.open()打开,还可以通过应用软件间接开启摄像头。It should be noted that the mobile terminal can open the camera directly by using the API (Application Programming Interface, application programming interface) function calledCamera.open() in the library function, or open the camera indirectly through the application software.
步骤103,接收用户对所述虚拟图标的触控事件;Step 103, receiving a user's touch event on the virtual icon;
具体而言,移动终端通过监听器,检测用户针对虚拟图标的触控事件,其中,所述触控事件可以包括点击事件、或滑动事件,还可以包括针对实体按键的按压事件,本发明实施例对此不作限制。Specifically, the mobile terminal detects the user's touch event on the virtual icon through the listener, wherein the touch event may include a click event or a slide event, and may also include a press event for a physical button. There is no limit to this.
步骤104,根据用户对所述虚拟图标的所述触控事件,调节所述摄像头的拍摄参数的类别和/或数值;Step 104, adjusting the category and/or value of the shooting parameters of the camera according to the touch event of the user on the virtual icon;
应用于本发明实施例中,所述触控事件包括点击事件,移动终端接收用户针对所述虚拟图标的点击事件,用户针对所述点击事件切换所述摄像头的拍摄参数的类别,拍摄参数可以包括曝光参数和/或光圈参数和/或焦距参数和/或增益参数,还可以包括快门时间参数,本发明实施例对此不作限制。Applied in the embodiment of the present invention, the touch event includes a click event, the mobile terminal receives the user's click event on the virtual icon, and the user switches the shooting parameter category of the camera according to the click event, and the shooting parameter may include The exposure parameter and/or aperture parameter and/or focal length parameter and/or gain parameter may also include a shutter time parameter, which is not limited in this embodiment of the present invention.
进一步地,所述触控事件可以包括滑动事件,移动终端接收用户针对所述虚拟图标的滑动事件,用户针对所述滑动事件调节所述摄像头的拍摄参数的数值。Further, the touch event may include a slide event, the mobile terminal receives a user's slide event on the virtual icon, and the user adjusts the shooting parameter value of the camera according to the slide event.
应用于本发明实施例中,用户可以先点击所述虚拟图标,此时虚拟图标会显示出所述拍摄参数的类别于虚拟图标中的显示界面上,此时,所述虚拟图标的形状可以为内空圆形,显示的方式可以是多样的,例如,当前用户要设置的拍摄参数为光圈参数时,会显示“光圈”二字于虚拟图标中的显示界面上,还可以显示特征图标于于虚拟图标中的显示界面上,本发明实施例对此不作限制;进一步地,用户可以通过滑动手势调节对应的拍摄参数的数值大小。Applied to the embodiment of the present invention, the user can first click the virtual icon, and then the virtual icon will display the category of the shooting parameters on the display interface in the virtual icon. At this time, the shape of the virtual icon can be The inner hollow circle can be displayed in various ways. For example, when the current shooting parameter to be set by the user is the aperture parameter, the word "aperture" will be displayed on the display interface in the virtual icon, and the characteristic icon can also be displayed on the On the display interface in the virtual icon, this embodiment of the present invention does not limit it; further, the user can adjust the numerical value of the corresponding shooting parameter through a sliding gesture.
步骤105,根据所述拍摄参数的类别和/或所述拍摄参数的数值拍摄图像。Step 105, taking an image according to the category of the shooting parameter and/or the value of the shooting parameter.
应用于本发明实施例,移动终端接收用户的针对屏幕按键的点击事件,针对所述点击事件,采用所述摄像头拍摄图像。具体地,移动终端会通过调用使用库函数中的API(Application Programming Interface,应用程序编程接口)函数camera.take picture()拍摄图像,并提供预览功能。Applied to the embodiment of the present invention, the mobile terminal receives a user's click event on a screen button, and uses the camera to capture an image for the click event. Specifically, the mobile terminal will take an image by calling an API (Application Programming Interface, application programming interface) function camera.take picture() in the library function, and provide a preview function.
本发明实施例中,开启摄像头,显示所述摄像头的取景框以及虚拟图标,接收用户对所述虚拟图标的触控事件,根据用户对所述虚拟图标的所述触控事件,调节所述摄像头的拍摄参数的类别和/或数值,根据所述拍摄参数的类别和/或所述拍摄参数的数值拍摄图像。本发明实施例中通过一个虚拟图标来切换拍摄参数的类别及调节拍摄参数的大小,提供了一种新的拍摄参数的切换方式及调节方式,提高了用户针对拍摄参数的便利性及可切换性,提高了用户的体验。In the embodiment of the present invention, the camera is turned on, the viewfinder frame of the camera and the virtual icon are displayed, the touch event of the user on the virtual icon is received, and the camera is adjusted according to the touch event of the user on the virtual icon. The category and/or value of the shooting parameter, and the image is captured according to the category of the shooting parameter and/or the value of the shooting parameter. In the embodiment of the present invention, a virtual icon is used to switch the category of shooting parameters and adjust the size of shooting parameters, providing a new switching method and adjustment method of shooting parameters, which improves the convenience and switchability of shooting parameters for users , improving the user experience.
方法实施例二Method embodiment two
参照图2,示出了本发明实施例的一种拍摄方法实施例二的步骤流程图,所述移动终端包括摄像头,具体可以包括如下步骤:Referring to FIG. 2 , it shows a flow chart of steps in Embodiment 2 of a shooting method according to an embodiment of the present invention. The mobile terminal includes a camera, and may specifically include the following steps:
步骤201,开启摄像头;Step 201, turn on the camera;
本发明实施例中,移动终端可以包括多个摄像头的智能设备,采用所述移动终端进行拍照,首先接收用户的摄像头开启请求,其中,用户触发摄像头开启请求的方式可以通过接触屏幕的点击事件,也可以是通过按压实体按键的按压事件,本发明实施例对此不作任何的限制。In the embodiment of the present invention, the mobile terminal may include a smart device with multiple cameras, and the mobile terminal is used to take pictures, and firstly, the user's camera opening request is received, wherein the way for the user to trigger the camera opening request can be through a touch event on the screen, It may also be a press event of pressing a physical key, which is not limited in this embodiment of the present invention.
步骤202,显示所述摄像头的取景框以及虚拟图标;Step 202, displaying the viewfinder frame and the virtual icon of the camera;
本发明实施例中,当用户点击移动终端的拍照的应用程序后,移动终端启动所述摄像头,在移动终端的屏幕上显示取景框上,需要说明的是,所述取景框可以占屏幕的一定比例的。In the embodiment of the present invention, when the user clicks on the application program of taking pictures of the mobile terminal, the mobile terminal starts the camera, and displays the viewfinder frame on the screen of the mobile terminal. It should be noted that the viewfinder frame can occupy a certain portion of the screen. proportional.
需要说明的是,移动终端开启摄像头的方式可以是直接使用库函数中的API函数calledCamera.open()打开,还可以通过应用软件间接开启摄像头。It should be noted that the mobile terminal can open the camera directly by using the API function calledCamera.open() in the library function, or open the camera indirectly through the application software.
本发明实施例中,触控事件包括点击事件,移动终端接收用户针对所述虚拟图标的点击事件,用户针对所述点击事件切换所述摄像头的拍摄参数的类别,拍摄参数可以包括曝光参数和/或光圈参数和/或焦距参数和/或增益参数。In the embodiment of the present invention, the touch event includes a click event, the mobile terminal receives the user's click event on the virtual icon, and the user switches the category of the shooting parameters of the camera according to the click event, and the shooting parameters may include exposure parameters and/or Or an aperture parameter and/or a focal length parameter and/or a gain parameter.
步骤203,根据用户对所述虚拟图标的所述点击事件,调节所述摄像头的拍摄参数的类别;Step 203, adjusting the category of shooting parameters of the camera according to the click event of the user on the virtual icon;
用户可以通过点击所述虚拟图标的切换拍摄参数的类别,例如,用户可以先点击所述虚拟图标,此时虚拟图标会显示出所述拍摄参数的类别于虚拟图标中的显示界面上,此时,所述虚拟图标的形状可以为内空圆形,参照图3,示出本发明实施例的一种移动终端10的示意图,当用户打开移动终端10的拍摄应用程序后,以移动终端的屏幕20作为取景框,在移动终端的屏幕20内显示虚拟图标30,接收用户针对虚拟图标的所述点击事件,调节拍摄参数的类别。所述虚拟图标30为内空圆形图标。进一步地,触控事件可以包括环绕所述虚拟图标的滑动事件,移动终端接收用户针对所述虚拟图标的滑动事件,用户针对所述滑动事件调节所述摄像头的拍摄参数的数值。举例而言,当用户再次点击所述虚拟图标,用户可以通过滑动事件调节对应的拍摄参数的数值大小。The user can switch the category of shooting parameters by clicking on the virtual icon. For example, the user can click on the virtual icon first, and the virtual icon will display the category of the shooting parameter on the display interface in the virtual icon. , the shape of the virtual icon can be an inner hollow circle. Referring to FIG. 3 , a schematic diagram of a mobile terminal 10 according to an embodiment of the present invention is shown. 20 is used as a viewfinder to display a virtual icon 30 on the screen 20 of the mobile terminal, receive the user's click event on the virtual icon, and adjust the category of shooting parameters. The virtual icon 30 is a hollow circular icon. Further, the touch event may include a sliding event around the virtual icon, the mobile terminal receives a user's sliding event on the virtual icon, and the user adjusts the shooting parameter value of the camera according to the sliding event. For example, when the user clicks on the virtual icon again, the user can adjust the numerical value of the corresponding shooting parameter through a sliding event.
步骤204,根据用户对所述虚拟图标的所述滑动事件,调节所述摄像头的拍摄参数的数值;Step 204, according to the sliding event of the user on the virtual icon, adjust the value of the shooting parameter of the camera;
具体而言,移动终端接收用户针对虚拟图标的滑动事件,获得到具体的调节的数值,采用所述调节的数值设置摄像头,当调节完虚拟图标此时显示的拍摄参数,可以再次点击所述虚拟图标切换为下一个拍摄参数的,再进行调节。Specifically, the mobile terminal receives the user's sliding event on the virtual icon, obtains the specific adjusted value, and uses the adjusted value to set the camera. After adjusting the shooting parameters displayed on the virtual icon, you can click the virtual icon again. The icon is switched to the next shooting parameter, and then adjusted.
步骤205,根据所述拍摄参数的类别和/或所述拍摄参数的数值拍摄图像。Step 205, taking an image according to the category of the shooting parameter and/or the value of the shooting parameter.
本发明实施例的一种优选实施例中,所述依据所述拍摄参数的类别及所述拍摄参数的数值拍摄图像的步骤包括:采用所述所述拍摄参数的类别及所述拍摄参数的数值设置所述摄像头;接收用户的针对屏幕按键的点击事件;针对所述点击事件,采用所述摄像头拍摄图像。In a preferred embodiment of the embodiment of the present invention, the step of taking an image according to the category of the shooting parameter and the value of the shooting parameter includes: using the category of the shooting parameter and the value of the shooting parameter Setting the camera; receiving a user's click event on the screen button; and taking an image with the camera for the click event.
本发明实施例的另一种优选实施例中,所述虚拟图标为用于调整拍摄参数的类别和/或数值的内空圆形图标。In another preferred embodiment of the embodiment of the present invention, the virtual icon is an inner hollow circular icon for adjusting the category and/or value of the shooting parameter.
本发明实施例的另一种优选实施例中,所述拍摄参数包括曝光参数和/或光圈参数和/或焦距参数和/或增益参数。In another preferred embodiment of the embodiment of the present invention, the shooting parameters include exposure parameters and/or aperture parameters and/or focal length parameters and/or gain parameters.
本发明实施例中,移动终端接收用户的摄像头开启请求,针对所述摄像头开启请求,开启所述摄像头,移动终端接收用户针对所述虚拟图标的点击事件,针对所述点击事件切换所述摄像头的拍摄参数的类别,移动终端接收用户针对所述虚拟图标的滑动事件,针对所述滑动事件调节所述摄像头的拍摄参数的数值,进一步地,采用所述所述拍摄参数的类别及所述拍摄参数的数值设置所述摄像头,采用所述摄像头拍摄图像。本发明实施例中,提高了用户切换拍摄参数的便利性,大大地提高了用户的体验。In the embodiment of the present invention, the mobile terminal receives the user's camera opening request, and turns on the camera according to the camera opening request, and the mobile terminal receives the user's click event on the virtual icon, and switches the camera's action on the click event. The category of the shooting parameter, the mobile terminal receives the user’s sliding event for the virtual icon, adjusts the value of the shooting parameter of the camera for the sliding event, and further adopts the category of the shooting parameter and the shooting parameter Set the camera with a value of , and use the camera to capture images. In the embodiment of the present invention, the convenience for the user to switch shooting parameters is improved, and the user experience is greatly improved.
需要说明的是,对于方法实施例,为了简单描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本发明实施例并不受所描述的动作顺序的限制,因为依据本发明实施例,某些步骤可以采用其他顺序或者同时进行。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施例,所涉及的动作并不一定是本发明实施例所必须的。It should be noted that, for the method embodiment, for the sake of simple description, it is expressed as a series of action combinations, but those skilled in the art should know that the embodiment of the present invention is not limited by the described action sequence, because According to the embodiment 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 involved are not necessarily required by the embodiments of the present invention.
装置实施例三Device Embodiment Three
图4是本发明一个实施例的移动终端的结构框图。图4所示的移动终端300包括摄像头开启模块301、显示模块302、接收模块303、调节模块304和图像拍摄模块305。Fig. 4 is a structural block diagram of a mobile terminal according to an embodiment of the present invention. The mobile terminal 300 shown in FIG. 4 includes a camera opening module 301 , a display module 302 , a receiving module 303 , an adjustment module 304 and an image capturing module 305 .
摄像头开启模块301,用于开启摄像头;The camera opening module 301 is used to open the camera;
显示模块302,用于显示所述摄像头的取景框以及虚拟图标;A display module 302, configured to display a viewfinder frame and a virtual icon of the camera;
接收模块303,用于接收用户对所述虚拟图标的触控事件;A receiving module 303, configured to receive a user's touch event on the virtual icon;
调节模块304,用于根据用户对所述虚拟图标的所述触控事件,调节所述摄像头的拍摄参数的类别和/或数值;An adjustment module 304, configured to adjust the category and/or value of the shooting parameters of the camera according to the user's touch event on the virtual icon;
图像拍摄模块305,用于根据所述拍摄参数的类别和/或所述拍摄参数的数值拍摄图像。An image capture module 305, configured to capture images according to the category of the capture parameter and/or the value of the capture parameter.
优选地,所述触控事件包括点击事件,所述调节模块304包括:Preferably, the touch event includes a click event, and the adjustment module 304 includes:
点击事件接收子模块,用于接收用户针对所述虚拟图标的点击事件;A click event receiving submodule, configured to receive a user click event on the virtual icon;
类别调节子模块,用于根据用户对所述虚拟图标的所述点击事件,调节所述摄像头的拍摄参数的类别。The category adjustment sub-module is configured to adjust the category of the shooting parameters of the camera according to the click event of the user on the virtual icon.
优选地,所述触控事件包括环绕所述虚拟图标的滑动事件,所述调节模块304还包括:Preferably, the touch event includes a sliding event surrounding the virtual icon, and the adjustment module 304 further includes:
滑动事件接收子模块,用于接收用户针对所述虚拟图标的滑动事件;A slide event receiving submodule, configured to receive a user's slide event for the virtual icon;
数值调节子模块,用于根据用户对所述虚拟图标的所述滑动事件,调节所述摄像头的拍摄参数的数值。The value adjustment sub-module is configured to adjust the value of the shooting parameter of the camera according to the sliding event of the user on the virtual icon.
优选地,所述虚拟图标为用于调整拍摄参数的类别和/或数值的内空圆形图标。Preferably, the virtual icon is an inner hollow circular icon for adjusting the category and/or value of the shooting parameter.
优选地,所述拍摄参数包括曝光参数和/或光圈参数和/或焦距参数和/或增益参数。Preferably, the shooting parameters include exposure parameters and/or aperture parameters and/or focal length parameters and/or gain parameters.
装置实施例四Device Embodiment Four
图5是本发明另一个实施例的移动终端的结构框图。图5所示的移动终端400包括:至少一个处理器401、存储器402、至少一个网络接口404、其他用户接口403和拍照组件406。移动终端400中的各个组件通过总线系统405耦合在一起。可理解,总线系统405用于实现这些组件之间的连接通信。总线系统405除包括数据总线之外,还包括电源总线、控制总线和状态信号总线。但是为了清楚说明起见,在图5中将各种总线都标为总线系统405,拍照组件4100包括摄像头。Fig. 5 is a structural block diagram of a mobile terminal according to another embodiment of the present invention. The mobile terminal 400 shown in FIG. 5 includes: at least one processor 401 , a memory 402 , at least one network interface 404 , other user interfaces 403 and a camera component 406 . Various components in the mobile terminal 400 are coupled together through the bus system 405 . It can be understood that the bus system 405 is used to realize connection and communication between these components. In addition to the data bus, the bus system 405 also includes a power bus, a control bus and a status signal bus. However, for the sake of clarity, in FIG. 5 , various buses are marked as bus system 405 , and the photographing component 4100 includes a camera.
其中,用户接口403可以包括显示器、键盘或者点击设备(例如,鼠标,轨迹球(trackball)、触感板或者触摸屏等。Wherein, the user interface 403 may include a display, a keyboard or a pointing device (for example, a mouse, a trackball (trackball), a touch panel or a touch screen, and the like.
可以理解,本发明实施例中的存储器402可以是易失性存储器或非易失性存储器,或可包括易失性和非易失性存储器两者。其中,非易失性存储器可以是只读存储器(Read-OnlyMemory,ROM)、可编程只读存储器(ProgrammableROM,PROM)、可擦除可编程只读存储器(ErasablePROM,EPROM)、电可擦除可编程只读存储器(ElectricallyEPROM,EEPROM)或闪存。易失性存储器可以是随机存取存储器(RandomAccessMemory,RAM),其用作外部高速缓存。通过示例性但不是限制性说明,许多形式的RAM可用,例如静态随机存取存储器(StaticRAM,SRAM)、动态随机存取存储器(DynamicRAM,DRAM)、同步动态随机存取存储器(SynchronousDRAM,SDRAM)、双倍数据速率同步动态随机存取存储器(DoubleDataRateSDRAM,DDRSDRAM)、增强型同步动态随机存取存储器(Enhanced SDRAM,ESDRAM)、同步连接动态随机存取存储器(SynchlinkDRAM,SLDRAM)和直接内存总线随机存取存储器(DirectRambusRAM,DRRAM)。本发明实施例描述的系统和方法的存储器402旨在包括但不限于这些和任意其它适合类型的存储器。It can be understood that the memory 402 in the embodiment of the present invention may be a volatile memory or a non-volatile memory, or may include both volatile and non-volatile memories. Among them, the non-volatile memory can be read-only memory (Read-OnlyMemory, ROM), programmable read-only memory (ProgrammableROM, PROM), erasable programmable read-only memory (ErasablePROM, EPROM), electrically erasable Programming read-only memory (Electrically EPROM, EEPROM) or flash memory. The volatile memory may be random access memory (Random Access Memory, RAM), which acts as an external cache. By way of illustration and not limitation, many forms of RAM are available such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (Synchronous DRAM, SDRAM), Double data rate synchronous dynamic random access memory (DoubleDataRateSDRAM, DDRSDRAM), enhanced synchronous dynamic random access memory (Enhanced SDRAM, ESDRAM), synchronous connection dynamic random access memory (SynchlinkDRAM, SLDRAM) and direct memory bus random access Memory (Direct Rambus RAM, DRRAM). The memory 402 of the systems and methods described in embodiments of the present invention is intended to include, but is not limited to, these and any other suitable types of memory.
在一些实施方式中,存储器402存储了如下的元素,可执行模块或者数据结构,或者他们的子集,或者他们的扩展集:操作系统4021和应用程序4022。In some implementations, the memory 402 stores the following elements, executable modules or data structures, or their subsets, or their extended sets: an operating system 4021 and an application program 4022 .
其中,操作系统4021,包含各种系统程序,例如框架层、核心库层、驱动层等,用于实现各种基础业务以及处理基于硬件的任务。应用程序4022,包含各种应用程序,例如媒体播放器(MediaPlayer)、浏览器(Browser)等,用于实现各种应用业务。实现本发明实施例方法的程序可以包含在应用程序4022中。Among them, the operating system 4021 includes various system programs, such as framework layer, core library layer, driver layer, etc., for realizing various basic services and processing hardware-based tasks. The application program 4022 includes various application programs, such as a media player (MediaPlayer), a browser (Browser), etc., and is used to implement various application services. The program for realizing the method of the embodiment of the present invention may be included in the application program 4022 .
在本发明实施例中,通过调用存储器402存储的程序或指令,具体的,可以是应用程序4022中存储的程序或指令,处理器401用于开启摄像头;显示所述摄像头的取景框以及虚拟图标;接收用户对所述虚拟图标的触控事件;根据用户对所述虚拟图标的所述触控事件,调节所述摄像头的拍摄参数的类别和/或数值;根据所述拍摄参数的类别和/或所述拍摄参数的数值拍摄图像。In the embodiment of the present invention, by calling the program or instruction stored in the memory 402, specifically, the program or instruction stored in the application program 4022, the processor 401 is used to start the camera; display the viewfinder frame and the virtual icon of the camera ; Receive a user's touch event on the virtual icon; adjust the category and/or value of the shooting parameter of the camera according to the user's touch event on the virtual icon; according to the category and/or value of the shooting parameter or the numerical value of the shooting parameter to shoot an image.
上述本发明实施例揭示的方法可以应用于处理器401中,或者由处理器401实现。处理器401可能是一种集成电路芯片,具有信号的处理能力。在实现过程中,上述方法的各步骤可以通过处理器401中的硬件的集成逻辑电路或者软件形式的指令完成。上述的处理器401可以是通用处理器、数字信号处理器(DigitalSignalProcessor,DSP)、专用集成电路(ApplicationSpecific IntegratedCircuit,ASIC)、现成可编程门阵列(FieldProgrammableGateArray,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件。可以实现或者执行本发明实施例中的公开的各方法、步骤及逻辑框图。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。结合本发明实施例所公开的方法的步骤可以直接体现为硬件译码处理器执行完成,或者用译码处理器中的硬件及软件模块组合执行完成。软件模块可以位于随机存储器,闪存、只读存储器,可编程只读存储器或者电可擦写可编程存储器、寄存器等本领域成熟的存储介质中。该存储介质位于存储器402,处理器401读取存储器402中的信息,结合其硬件完成上述方法的步骤。The methods disclosed in the foregoing embodiments of the present invention may be applied to the processor 401 or implemented by the processor 401 . The processor 401 may be an integrated circuit chip and has signal processing capabilities. In the implementation process, each step of the above method may be completed by an integrated logic circuit of hardware in the processor 401 or instructions in the form of software. The above-mentioned processor 401 may be a general-purpose processor, a digital signal processor (Digital Signal Processor, DSP), an application-specific integrated circuit (Application Specific Integrated Circuit, ASIC), an off-the-shelf programmable gate array (Field Programmable Gate Array, FPGA) or other programmable logic devices, discrete gates Or transistor logic devices, discrete hardware components. Various methods, steps and logic block diagrams disclosed in the embodiments of the present invention may be implemented or executed. A general-purpose processor may be a microprocessor, or the processor may be any conventional processor, or the like. The steps of the methods disclosed in the embodiments of the present invention may be directly implemented by a hardware decoding processor, or implemented by a combination of hardware and software modules in the decoding processor. The software module can be located in a mature storage medium in the field such as random access memory, flash memory, read-only memory, programmable read-only memory or electrically erasable programmable memory, register. The storage medium is located in the memory 402, and the processor 401 reads the information in the memory 402, and completes the steps of the above method in combination with its hardware.
可以理解的是,本发明实施例描述的这些实施例可以用硬件、软件、固件、中间件、微码或其组合来实现。对于硬件实现,处理单元可以实现在一个或多个专用集成电路(ApplicationSpecificIntegratedCircuits,ASIC)、数字信号处理器(DigitalSignalProcessing,DSP)、数字信号处理设备(DSPDevice,DSPD)、可编程逻辑设备(ProgrammableLogicDevice,PLD)、现场可编程门阵列(Field-ProgrammableGateArray,FPGA)、通用处理器、控制器、微控制器、微处理器、用于执行本申请所述功能的其它电子单元或其组合中。It can be understood that the embodiments described in the embodiments of the present invention may be implemented by hardware, software, firmware, middleware, microcode or a combination thereof. For hardware implementation, the processing unit can be implemented in one or more application-specific integrated circuits (Application Specific Integrated Circuits, ASIC), digital signal processor (Digital Signal Processing, DSP), digital signal processing device (DSPDevice, DSPD), programmable logic device (ProgrammableLogicDevice, PLD ), Field-Programmable Gate Array (Field-Programmable GateArray, FPGA), general-purpose processor, controller, microcontroller, microprocessor, other electronic units for performing the functions described in this application, or a combination thereof.
对于软件实现,可通过执行本发明实施例所述功能的模块(例如过程、函数等)来实现本发明实施例所述的技术。软件代码可存储在存储器中并通过处理器执行。存储器可以在处理器中或在处理器外部实现。For software implementation, the techniques described in the embodiments of the present invention may be implemented through modules (such as procedures, functions, etc.) that execute the functions described in the embodiments of the present invention. Software codes can be stored in memory and executed by a processor. Memory can be implemented within the processor or external to the processor.
可选地,所述触控事件包括点击事件;Optionally, the touch event includes a click event;
可选地,处理器401还用于:根据用户对所述虚拟图标的所述点击事件,调节所述摄像头的拍摄参数的类别。Optionally, the processor 401 is further configured to: adjust a category of shooting parameters of the camera according to the click event of the user on the virtual icon.
可选地,所述触控事件包括环绕所述虚拟图标的滑动事件;Optionally, the touch event includes a sliding event surrounding the virtual icon;
可选地,处理器401还用于:根据用户对所述虚拟图标的所述滑动事件,调节所述摄像头的拍摄参数的数值。Optionally, the processor 401 is further configured to: adjust a value of a shooting parameter of the camera according to the sliding event of the user on the virtual icon.
可选地,所述虚拟图标为用于调整拍摄参数的类别和/或数值的内空圆形图标。Optionally, the virtual icon is an inner hollow circular icon for adjusting the category and/or value of the shooting parameter.
可选地,所述拍摄参数包括曝光参数和/或光圈参数和/或焦距参数和/或增益参数。Optionally, the shooting parameters include exposure parameters and/or aperture parameters and/or focal length parameters and/or gain parameters.
移动终端400能够实现前述实施例中移动终端实现的各个过程,为避免重复,这里不再赘述。The mobile terminal 400 can implement various processes implemented by the mobile terminal in the foregoing embodiments, and details are not described here to avoid repetition.
本发明实施例中,开启摄像头,显示所述摄像头的取景框以及虚拟图标,接收用户对所述虚拟图标的触控事件,根据用户对所述虚拟图标的所述触控事件,调节所述摄像头的拍摄参数的类别和/或数值,根据所述拍摄参数的类别和/或所述拍摄参数的数值拍摄图像。本发明实施例中通过一个虚拟图标来切换拍摄参数的类别及调节拍摄参数的大小,提供了一种新的拍摄参数的切换方式及调节方式,提高了用户针对拍摄参数的便利性及可切换性,提高了用户的体验。In the embodiment of the present invention, the camera is turned on, the viewfinder frame of the camera and the virtual icon are displayed, the touch event of the user on the virtual icon is received, and the camera is adjusted according to the touch event of the user on the virtual icon. The category and/or value of the shooting parameter, and the image is captured according to the category of the shooting parameter and/or the value of the shooting parameter. In the embodiment of the present invention, a virtual icon is used to switch the category of shooting parameters and adjust the size of shooting parameters, providing a new switching method and adjustment method of shooting parameters, which improves the convenience and switchability of shooting parameters for users , improving the user experience.
装置实施例五Device Embodiment Five
图6是本发明另一个实施例的移动终端的结构示意图。具体地,图6中的移动终端500可以为手机、平板电脑、个人数字助理(PersonalDigital Assistant,PDA)、或车载电脑等。Fig. 6 is a schematic structural diagram of a mobile terminal according to another embodiment of the present invention. Specifically, the mobile terminal 500 in FIG. 6 may be a mobile phone, a tablet computer, a personal digital assistant (Personal Digital Assistant, PDA), or a vehicle-mounted computer.
图6中的移动终端500包括射频(RadioFrequency,RF)电路510、存储器520、输入单元530、显示单元540、处理器560、音频电路570、WiFi(WirelessFidelity)模块580、电源590和拍照组件5110。The mobile terminal 500 in FIG. 6 includes a radio frequency (Radio Frequency, RF) circuit 510, a memory 520, an input unit 530, a display unit 540, a processor 560, an audio circuit 570, a WiFi (Wireless Fidelity) module 580, a power supply 590 and a camera assembly 5110.
其中,输入单元530可用于接收用户输入的数字或字符信息,以及产生与移动终端500的用户设置以及功能控制有关的信号输入。具体地,本发明实施例中,该输入单元530可以包括触控面板531。触控面板531,也称为触摸屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板531上的操作),并根据预先设定的程式驱动相应的连接装置。可选的,触控面板531可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给该处理器560,并能接收处理器560发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板531。除了触控面板531,输入单元530还可以包括其他输入设备532,其他输入设备532可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆等中的一种或多种。Wherein, the input unit 530 can be used for receiving number or character information input by the user, and generating signal input related to the user setting and function control of the mobile terminal 500 . Specifically, in the embodiment of the present invention, the input unit 530 may include a touch panel 531 . The touch panel 531, also referred to as a touch screen, can collect user's touch operations on or near it (such as the user's operation on the touch panel 531 using any suitable object or accessory such as a finger and a stylus), and The specified program drives the corresponding connected device. Optionally, the touch panel 531 may include two parts, a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch orientation, and detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact coordinates, and sends it to the to the processor 560, and can receive and execute commands sent by the processor 560. In addition, the touch panel 531 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic wave. In addition to the touch panel 531, the input unit 530 may also include other input devices 532, which may include but not limited to physical keyboards, function keys (such as volume control buttons, switch buttons, etc.), trackballs, mice, joysticks, etc. one or more of.
其中,显示单元540可用于显示由用户输入的信息或提供给用户的信息以及移动终端500的各种菜单界面。显示单元540可包括显示面板541,可选的,可以采用LCD或有机发光二极管(OrganicLight-EmittingDiode,OLED)等形式来配置显示面板541。Wherein, the display unit 540 can be used to display information input by the user or information provided to the user and various menu interfaces of the mobile terminal 500 . The display unit 540 may include a display panel 541. Optionally, the display panel 541 may be configured in the form of an LCD or an organic light-emitting diode (Organic Light-Emitting Diode, OLED).
应注意,触控面板531可以覆盖显示面板541,形成触摸显示屏,当该触摸显示屏检测到在其上或附近的触摸操作后,传送给处理器560以确定触摸事件的类型,随后处理器560根据触摸事件的类型在触摸显示屏上提供相应的视觉输出。It should be noted that the touch panel 531 can cover the display panel 541 to form a touch display screen. When the touch display screen detects a touch operation on or near it, it is sent to the processor 560 to determine the type of the touch event, and then the processor The 560 provides corresponding visual output on the touch display screen according to the type of the touch event.
触摸显示屏包括应用程序界面显示区及常用控件显示区。该应用程序界面显示区及该常用控件显示区的排列方式并不限定,可以为上下排列、左右排列等可以区分两个显示区的排列方式。该应用程序界面显示区可以用于显示应用程序的界面。每一个界面可以包含至少一个应用程序的图标和/或widget桌面控件等界面元素。该应用程序界面显示区也可以为不包含任何内容的空界面。该常用控件显示区用于显示使用率较高的控件,例如,设置按钮、界面编号、滚动条、电话本图标等应用程序图标等。The touch display screen includes an application program interface display area and a common control display area. The arrangement of the display area of the application program interface and the display area of the commonly used controls is not limited, and may be an arrangement in which the two display areas can be distinguished, such as vertical arrangement, left-right arrangement, and the like. The application program interface display area can be used to display the interface of the application program. Each interface may include at least one interface element such as an icon of an application program and/or a widget desktop control. The application program interface display area can also be an empty interface without any content. The commonly used control display area is used to display controls with a high usage rate, for example, application icons such as setting buttons, interface numbers, scroll bars, and phonebook icons.
拍照组件5100包括摄像头。The photographing component 5100 includes a camera.
其中处理器560是移动终端500的控制中心,利用各种接口和线路连接整个手机的各个部分,通过运行或执行存储在第一存储器521内的软件程序和/或模块,以及调用存储在第二存储器522内的数据,执行移动终端500的各种功能和处理数据,从而对移动终端500进行整体监控。可选的,处理器560可包括一个或多个处理单元。Wherein the processor 560 is the control center of the mobile terminal 500, utilizes various interfaces and lines to connect the various parts of the whole mobile phone, runs or executes the software programs and/or modules stored in the first memory 521, and calls the software programs and/or modules stored in the second memory 521. The data in the memory 522 executes various functions of the mobile terminal 500 and processes data, so as to monitor the mobile terminal 500 as a whole. Optionally, the processor 560 may include one or more processing units.
在本发明实施例中,通过调用存储该第一存储器521内的软件程序和/或模块和/或该第二存储器522内的数据,处理器560用于开启摄像头;显示所述摄像头的取景框以及虚拟图标;接收用户对所述虚拟图标的触控事件;根据用户对所述虚拟图标的所述触控事件,调节所述摄像头的拍摄参数的类别和/或数值;根据所述拍摄参数的类别和/或所述拍摄参数的数值拍摄图像。In the embodiment of the present invention, by calling the software programs and/or modules stored in the first memory 521 and/or the data in the second memory 522, the processor 560 is used to start the camera; display the viewfinder frame of the camera and a virtual icon; receiving a user’s touch event on the virtual icon; adjusting the category and/or value of the shooting parameter of the camera according to the user’s touch event on the virtual icon; according to the shooting parameter’s The category and/or the numerical value of said capture parameter captures the image.
可选地,所述触控事件包括点击事件;Optionally, the touch event includes a click event;
可选地,处理器560还用于:根据用户对所述虚拟图标的所述点击事件,调节所述摄像头的拍摄参数的类别。Optionally, the processor 560 is further configured to: adjust a category of shooting parameters of the camera according to the click event of the user on the virtual icon.
可选地,所述触控事件包括环绕所述虚拟图标的滑动事件;Optionally, the touch event includes a sliding event surrounding the virtual icon;
可选地,处理器560还用于:根据用户对所述虚拟图标的所述滑动事件,调节所述摄像头的拍摄参数的数值。Optionally, the processor 560 is further configured to: adjust a value of a shooting parameter of the camera according to the sliding event of the user on the virtual icon.
可选地,所述虚拟图标为用于调整拍摄参数的类别和/或数值的内空圆形图标。Optionally, the virtual icon is an inner hollow circular icon for adjusting the category and/or value of the shooting parameter.
可选地,所述拍摄参数包括曝光参数和/或光圈参数和/或焦距参数和/或增益参数。Optionally, the shooting parameters include exposure parameters and/or aperture parameters and/or focal length parameters and/or gain parameters.
本发明实施例中,移动终端接收用户的摄像头开启请求,针对所述摄像头开启请求,开启所述摄像头,移动终端接收用户针对所述虚拟图标的点击事件,针对所述点击事件切换所述摄像头的拍摄参数的类别,移动终端接收用户针对所述虚拟图标的滑动事件,针对所述滑动事件调节所述摄像头的拍摄参数的数值,进一步地,采用所述所述拍摄参数的类别及所述拍摄参数的数值设置所述摄像头,采用所述摄像头拍摄图像。本发明实施例中,提高了用户切换拍摄参数的便利性,大大地提高了用户的体验。In the embodiment of the present invention, the mobile terminal receives the user's camera opening request, and turns on the camera according to the camera opening request, and the mobile terminal receives the user's click event on the virtual icon, and switches the camera's action on the click event. The category of the shooting parameter, the mobile terminal receives the user’s sliding event for the virtual icon, adjusts the value of the shooting parameter of the camera for the sliding event, and further adopts the category of the shooting parameter and the shooting parameter Set the camera with a value of , and use the camera to capture images. In the embodiment of the present invention, the convenience for the user to switch shooting parameters is improved, and the user experience is greatly improved.
本领域普通技术人员可以意识到,结合本发明实施例中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本发明的范围。Those of ordinary skill in the art can appreciate that the units and algorithm steps of the examples described in conjunction with the embodiments disclosed in the embodiments of the present invention can be implemented by electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are executed by hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art may use different methods to implement the described functions for each specific application, but such implementation should not be regarded as exceeding the scope of the present invention.
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统、装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that for the convenience and brevity of the description, the specific working process of the above-described system, device and unit can refer to the corresponding process in the foregoing method embodiment, which will not be repeated here.
在本申请所提供的实施例中,应该理解到,所揭露的装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the 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 displayed 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.
所述功能如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本发明各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、ROM、RAM、磁碟或者光盘等各种可以存储程序代码的介质。If the functions described above are realized in the form of software function units and sold or used as independent products, they 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 the 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 are used 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 methods described in various embodiments of the present invention. The aforementioned storage medium includes: various media capable of storing program codes such as U disk, mobile hard disk, ROM, RAM, magnetic disk or optical disk.
以上所述,仅为本发明的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应以权利要求的保护范围为准。The above is only a specific embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Anyone skilled in the art can easily think of changes or substitutions within the technical scope disclosed in the present invention. Should be covered within the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611025821.6A CN106791357A (en) | 2016-11-15 | 2016-11-15 | A kind of image pickup method and mobile terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611025821.6A CN106791357A (en) | 2016-11-15 | 2016-11-15 | A kind of image pickup method and mobile terminal |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106791357A true CN106791357A (en) | 2017-05-31 |
Family
ID=58970069
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201611025821.6A Pending CN106791357A (en) | 2016-11-15 | 2016-11-15 | A kind of image pickup method and mobile terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106791357A (en) |
Cited By (17)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108989560B (en) * | 2018-07-16 | 2020-07-28 | 维沃移动通信有限公司 | Screen switching control method in shooting mode, terminal device and storage medium |
CN111901476A (en) * | 2019-05-06 | 2020-11-06 | 苹果公司 | User interface for capturing and managing visual media |
WO2020238377A1 (en) * | 2019-05-30 | 2020-12-03 | 维沃移动通信有限公司 | Photographing processing method and apparatus, mobile terminal, and storage medium |
US11418699B1 (en) | 2021-04-30 | 2022-08-16 | Apple Inc. | User interfaces for altering visual media |
US11468625B2 (en) | 2018-09-11 | 2022-10-11 | Apple Inc. | User interfaces for simulated depth effects |
US11490017B2 (en) | 2015-04-23 | 2022-11-01 | Apple Inc. | Digital viewfinder user interface for multiple cameras |
US11617022B2 (en) | 2020-06-01 | 2023-03-28 | Apple Inc. | User interfaces for managing media |
US11641517B2 (en) | 2016-06-12 | 2023-05-02 | Apple Inc. | User interface for camera effects |
US11669985B2 (en) | 2018-09-28 | 2023-06-06 | Apple Inc. | Displaying and editing images with depth information |
US11687224B2 (en) | 2017-06-04 | 2023-06-27 | Apple Inc. | User interface camera effects |
US11706521B2 (en) | 2019-05-06 | 2023-07-18 | Apple Inc. | User interfaces for capturing and managing visual media |
US11722764B2 (en) | 2018-05-07 | 2023-08-08 | Apple Inc. | Creative camera |
US11770601B2 (en) | 2019-05-06 | 2023-09-26 | Apple Inc. | User interfaces for capturing and managing visual media |
US11778339B2 (en) | 2021-04-30 | 2023-10-03 | Apple Inc. | User interfaces for altering visual media |
US11895391B2 (en) | 2018-09-28 | 2024-02-06 | Apple Inc. | Capturing and displaying images with multiple focal planes |
US11977731B2 (en) | 2018-02-09 | 2024-05-07 | Apple Inc. | Media capture lock affordance for graphical user interface |
US12112024B2 (en) | 2021-06-01 | 2024-10-08 | Apple Inc. | User interfaces for managing media styles |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103533240A (en) * | 2013-10-12 | 2014-01-22 | 深圳市中兴移动通信有限公司 | Method and device for calibrating parameters in real time during photographing and photo post-processing |
US20140092015A1 (en) * | 2012-09-29 | 2014-04-03 | Zhaohui Xing | Method and apparatus for manipulating a graphical user interface using camera |
CN103970291A (en) * | 2013-01-31 | 2014-08-06 | 索尼公司 | Mobile terminal |
CN104156149A (en) * | 2014-07-18 | 2014-11-19 | 小米科技有限责任公司 | Method and device for adjusting photographing parameters |
CN105791649A (en) * | 2011-11-22 | 2016-07-20 | 奥林巴斯株式会社 | Photographing Device And Photographing Device Control Method |
-
2016
- 2016-11-15 CN CN201611025821.6A patent/CN106791357A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105791649A (en) * | 2011-11-22 | 2016-07-20 | 奥林巴斯株式会社 | Photographing Device And Photographing Device Control Method |
US20140092015A1 (en) * | 2012-09-29 | 2014-04-03 | Zhaohui Xing | Method and apparatus for manipulating a graphical user interface using camera |
CN103970291A (en) * | 2013-01-31 | 2014-08-06 | 索尼公司 | Mobile terminal |
CN103533240A (en) * | 2013-10-12 | 2014-01-22 | 深圳市中兴移动通信有限公司 | Method and device for calibrating parameters in real time during photographing and photo post-processing |
CN104156149A (en) * | 2014-07-18 | 2014-11-19 | 小米科技有限责任公司 | Method and device for adjusting photographing parameters |
Cited By (27)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US12149831B2 (en) | 2015-04-23 | 2024-11-19 | Apple Inc. | Digital viewfinder user interface for multiple cameras |
US11490017B2 (en) | 2015-04-23 | 2022-11-01 | Apple Inc. | Digital viewfinder user interface for multiple cameras |
US11711614B2 (en) | 2015-04-23 | 2023-07-25 | Apple Inc. | Digital viewfinder user interface for multiple cameras |
US11641517B2 (en) | 2016-06-12 | 2023-05-02 | Apple Inc. | User interface for camera effects |
US12132981B2 (en) | 2016-06-12 | 2024-10-29 | Apple Inc. | User interface for camera effects |
US11962889B2 (en) | 2016-06-12 | 2024-04-16 | Apple Inc. | User interface for camera effects |
US12314553B2 (en) | 2017-06-04 | 2025-05-27 | Apple Inc. | User interface camera effects |
US11687224B2 (en) | 2017-06-04 | 2023-06-27 | Apple Inc. | User interface camera effects |
US11977731B2 (en) | 2018-02-09 | 2024-05-07 | Apple Inc. | Media capture lock affordance for graphical user interface |
US11722764B2 (en) | 2018-05-07 | 2023-08-08 | Apple Inc. | Creative camera |
US12170834B2 (en) | 2018-05-07 | 2024-12-17 | Apple Inc. | Creative camera |
CN108989560B (en) * | 2018-07-16 | 2020-07-28 | 维沃移动通信有限公司 | Screen switching control method in shooting mode, terminal device and storage medium |
US11468625B2 (en) | 2018-09-11 | 2022-10-11 | Apple Inc. | User interfaces for simulated depth effects |
US11895391B2 (en) | 2018-09-28 | 2024-02-06 | Apple Inc. | Capturing and displaying images with multiple focal planes |
US11669985B2 (en) | 2018-09-28 | 2023-06-06 | Apple Inc. | Displaying and editing images with depth information |
US11770601B2 (en) | 2019-05-06 | 2023-09-26 | Apple Inc. | User interfaces for capturing and managing visual media |
CN111901476A (en) * | 2019-05-06 | 2020-11-06 | 苹果公司 | User interface for capturing and managing visual media |
US11706521B2 (en) | 2019-05-06 | 2023-07-18 | Apple Inc. | User interfaces for capturing and managing visual media |
US12192617B2 (en) | 2019-05-06 | 2025-01-07 | Apple Inc. | User interfaces for capturing and managing visual media |
WO2020238377A1 (en) * | 2019-05-30 | 2020-12-03 | 维沃移动通信有限公司 | Photographing processing method and apparatus, mobile terminal, and storage medium |
US12081862B2 (en) | 2020-06-01 | 2024-09-03 | Apple Inc. | User interfaces for managing media |
US11617022B2 (en) | 2020-06-01 | 2023-03-28 | Apple Inc. | User interfaces for managing media |
US11418699B1 (en) | 2021-04-30 | 2022-08-16 | Apple Inc. | User interfaces for altering visual media |
US12101567B2 (en) | 2021-04-30 | 2024-09-24 | Apple Inc. | User interfaces for altering visual media |
US11539876B2 (en) | 2021-04-30 | 2022-12-27 | Apple Inc. | User interfaces for altering visual media |
US11778339B2 (en) | 2021-04-30 | 2023-10-03 | Apple Inc. | User interfaces for altering visual media |
US12112024B2 (en) | 2021-06-01 | 2024-10-08 | Apple Inc. | User interfaces for managing media styles |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106791357A (en) | A kind of image pickup method and mobile terminal | |
CN105959553B (en) | A kind of switching method and terminal of camera | |
CN106658141B (en) | A video processing method and mobile terminal | |
CN106534685A (en) | Panoramic image generation method and mobile terminal | |
CN107172346B (en) | Virtualization method and mobile terminal | |
CN107257439A (en) | A kind of image pickup method and mobile terminal | |
CN107147837A (en) | A shooting parameter setting method and mobile terminal | |
CN106101544A (en) | A kind of image processing method and mobile terminal | |
CN106506962A (en) | Image processing method and mobile terminal | |
CN106231187A (en) | A kind of method shooting image and mobile terminal | |
CN107181913A (en) | A kind of photographic method and mobile terminal | |
CN106657793A (en) | Image processing method and mobile terminal | |
CN106126108A (en) | A kind of breviary map generalization method and mobile terminal | |
CN106952235A (en) | Image processing method and mobile terminal | |
CN107509030A (en) | A focusing method and mobile terminal | |
CN106454086A (en) | Image processing method and mobile terminal | |
CN106506801A (en) | A method for adjusting camera zoom factor and mobile terminal | |
CN106791437A (en) | A kind of panoramic picture image pickup method and mobile terminal | |
CN106937054A (en) | Take pictures weakening method and the mobile terminal of a kind of mobile terminal | |
CN107222681B (en) | A kind of processing method and mobile terminal of image data | |
CN106940597A (en) | A kind of camera starts control method and mobile terminal | |
CN107302655A (en) | It is a kind of to shoot the adjusting method and mobile terminal found a view | |
CN106911897A (en) | A kind of determination method and mobile terminal for shooting focus | |
CN107592458A (en) | A kind of image pickup method and mobile terminal | |
CN106713742A (en) | Shooting method and mobile terminal |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20170531 |
|
RJ01 | Rejection of invention patent application after publication |