CN105959553B - A kind of switching method and terminal of camera - Google Patents
A kind of switching method and terminal of camera Download PDFInfo
- Publication number
- CN105959553B CN105959553B CN201610373990.2A CN201610373990A CN105959553B CN 105959553 B CN105959553 B CN 105959553B CN 201610373990 A CN201610373990 A CN 201610373990A CN 105959553 B CN105959553 B CN 105959553B
- Authority
- CN
- China
- Prior art keywords
- camera
- viewfinder
- switching
- terminal
- picture
- 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.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 53
- 230000008569 process Effects 0.000 claims description 14
- 230000009467 reduction Effects 0.000 claims description 4
- 230000004913 activation Effects 0.000 claims description 2
- 230000003287 optical effect Effects 0.000 abstract description 10
- 230000009977 dual effect Effects 0.000 abstract description 7
- 230000015654 memory Effects 0.000 description 30
- 230000006870 function Effects 0.000 description 12
- 238000009432 framing Methods 0.000 description 11
- 238000010586 diagram Methods 0.000 description 5
- 238000009434 installation Methods 0.000 description 5
- 230000001360 synchronised effect Effects 0.000 description 5
- 238000004891 communication Methods 0.000 description 3
- 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
- 230000007704 transition Effects 0.000 description 3
- 230000008859 change Effects 0.000 description 2
- 230000001427 coherent effect Effects 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 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
- 230000007547 defect 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
- 238000003384 imaging method Methods 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 230000000750 progressive 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/667—Camera operation mode switching, e.g. between still and video, sport and normal or high- and low-resolution modes
-
- 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)
- Studio Devices (AREA)
Abstract
本发明提供了一种摄像头的切换方法及终端,其中,摄像头的切换方法包括:实时获取终端当前启动的第一摄像头的缩放倍率;在所述缩放倍率达到倍率阈值时,从所述第一摄像头切换到第二摄像头;所述第一摄像头的取景范围与所述第二摄像头的取景范围不同,且所述第一摄像头的取景范围包含或者包含于所述第二摄像头的取景范围;所述第一摄像头与所述第二摄像头是设置于所述终端的壳体的同一侧面、且相互独立的两个摄像头。本发明提供的方案通过判断广角摄像头的取景画面与望远摄像头的取景画面重叠的临界点,快捷切换广角摄像头和望远摄像头,模拟光学变焦,交互自然,解决了现有技术中分体式双摄像头使用过程中切换不自然的问题。
The present invention provides a camera switching method and a terminal, wherein the camera switching method includes: obtaining in real time the zoom ratio of the first camera currently activated by the terminal; Switch to the second camera; the viewfinder range of the first camera is different from that of the second camera, and the viewfinder range of the first camera includes or is included in the viewfinder range of the second camera; the viewfinder range of the second camera The first camera and the second camera are two independent cameras arranged on the same side of the housing of the terminal. The solution provided by the present invention quickly switches between the wide-angle camera and the telephoto camera by judging the overlapping critical point of the viewfinder picture of the wide-angle camera and the viewfinder picture of the telephoto camera, simulating optical zoom, and interacting naturally, solving the problem of split-type dual cameras in the prior art The problem of switching unnaturally during use.
Description
技术领域technical field
本发明涉及软件技术领域,特别是指一种摄像头的切换方法及终端。The invention relates to the field of software technology, in particular to a camera switching method and a terminal.
背景技术Background technique
目前市面上的双摄像头方案大多是一体式的,一体式的摄像头可以实现提升拍照清晰度,模拟光学变焦等功能,但是一体式的摄像头,两个摄像头组装在一起,模组很大,不能做到超薄,影响手机外观。为了把手机做薄,一些手机厂家尝试做分体式的双摄像头方案,即,后置一颗广角摄像头和一颗望远摄像头(广角摄像头的取景范围大于且包含望远摄像头的取景范围),两颗摄像头独立安装,独立运行,实现近景和远景的切换,模拟光学变焦,但是这种方案也存在一定的缺陷:At present, most of the dual-camera solutions on the market are integrated. The integrated camera can realize functions such as improving the picture clarity and simulating optical zoom. However, for the integrated camera, the two cameras are assembled together, and the module is too large to be done. To ultra-thin, affecting the appearance of mobile phones. In order to make the mobile phone thinner, some mobile phone manufacturers try to make a split-type dual-camera solution, that is, a wide-angle camera and a telephoto camera (the viewfinder range of the wide-angle camera is larger than and including the viewfinder range of the telephoto camera) at the rear. Each camera is independently installed and operated independently to realize switching between close-range and long-range views, and to simulate optical zoom, but this solution also has certain defects:
两个摄像头独立运行,在近景和远景的切换上,必须要像前置摄像头切换到后置摄像头一样,不自然,用户使用感受不佳。The two cameras operate independently, and switching between close-up and long-range views must be like switching from a front-facing camera to a rear-facing camera, which is unnatural and uncomfortable for users.
发明内容Contents of the invention
本发明的目的在于提供一种摄像头的切换方法及终端,解决现有技术中分体式双摄像头使用过程中切换不自然的问题。The purpose of the present invention is to provide a camera switching method and terminal, which solves the problem of unnatural switching during the use of split dual cameras in the prior art.
为了解决上述技术问题,本发明实施例提供一种摄像头的切换方法,包括:In order to solve the above technical problems, an embodiment of the present invention provides a camera switching method, including:
实时获取终端当前启动的第一摄像头的缩放倍率;Obtain the zoom ratio of the first camera currently started by the terminal in real time;
在所述缩放倍率达到倍率阈值时,从所述第一摄像头切换到第二摄像头;When the zoom ratio reaches a ratio threshold, switch from the first camera to the second camera;
其中,所述第一摄像头的取景范围与所述第二摄像头的取景范围不同,且所述第一摄像头的取景范围包含或者包含于所述第二摄像头的取景范围;所述第一摄像头与所述第二摄像头是设置于所述终端的壳体的同一侧面、且相互独立的两个摄像头。Wherein, the viewing range of the first camera is different from that of the second camera, and the viewing range of the first camera includes or is included in the viewing range of the second camera; The second camera is two independent cameras arranged on the same side of the housing of the terminal.
本发明还提供了一种终端,包括:The present invention also provides a terminal, including:
获取模块,用于实时获取终端当前启动的第一摄像头的缩放倍率;The obtaining module is used to obtain the zoom ratio of the first camera currently started by the terminal in real time;
切换模块,用于在所述缩放倍率达到倍率阈值时,从所述第一摄像头切换到第二摄像头;A switching module, configured to switch from the first camera to the second camera when the zoom magnification reaches a magnification threshold;
其中,所述第一摄像头的取景范围与所述第二摄像头的取景范围不同,且所述第一摄像头的取景范围包含或者包含于所述第二摄像头的取景范围;所述第一摄像头与所述第二摄像头是设置于所述终端的壳体的同一侧面、且相互独立的两个摄像头。Wherein, the viewing range of the first camera is different from that of the second camera, and the viewing range of the first camera includes or is included in the viewing range of the second camera; The second camera is two independent cameras arranged on the same side of the housing of the terminal.
本发明的上述技术方案的有益效果如下:The beneficial effects of above-mentioned technical scheme of the present invention are as follows:
上述方案中,所述摄像头的切换方法通过利用广角摄像头与望远摄像头的取景范围不同,且望远摄像头的取景范围完全重叠于广角摄像头的取景范围,判断广角摄像头的取景画面与望远摄像头的取景画面重叠的临界点,快捷切换广角摄像头和望远摄像头,模拟光学变焦,交互自然。In the above scheme, the switching method of the camera is by utilizing the different viewfinder ranges of the wide-angle camera and the telephoto camera, and the viewfinder range of the telephoto camera completely overlaps with the viewfinder range of the wide-angle camera, and judging the viewfinder picture of the wide-angle camera and the viewfinder of the telephoto camera. The critical point where the framing screen overlaps, quickly switches between the wide-angle camera and the telephoto camera, simulates optical zoom, and interacts naturally.
附图说明Description of drawings
图1为本发明实施例一的摄像头的切换方法流程示意图;FIG. 1 is a schematic flow chart of a camera switching method according to Embodiment 1 of the present invention;
图2为本发明实施例中分体式双摄像头的广角摄像头与望远摄像头的取景范围示意图;2 is a schematic diagram of the viewing range of the wide-angle camera and the telephoto camera of the split-type dual camera in an embodiment of the present invention;
图3为本发明实施例二的终端结构示意图;FIG. 3 is a schematic structural diagram of a terminal according to Embodiment 2 of the present invention;
图4为本发明实施例三的终端结构示意图;FIG. 4 is a schematic structural diagram of a terminal according to Embodiment 3 of the present invention;
图5为本发明实施例四的终端结构示意图。FIG. 5 is a schematic structural diagram of a terminal according to Embodiment 4 of the present invention.
具体实施方式Detailed ways
为使本发明要解决的技术问题、技术方案和优点更加清楚,下面将结合附图及具体实施例进行详细描述。In order to make the technical problems, technical solutions and advantages to be solved by the present invention clearer, the following will describe in detail with reference to the drawings and specific embodiments.
本发明针对现有的技术中分体式双摄像头使用过程中切换不自然的问题,提供了多种解决方案,具体如下:The present invention provides a variety of solutions for the problem of unnatural switching during the use of split-type dual cameras in the prior art, specifically as follows:
实施例一Embodiment one
如图1所示,本发明实施例一提供的摄像头的切换方法包括:As shown in FIG. 1, the camera switching method provided by Embodiment 1 of the present invention includes:
步骤11:实时获取终端当前启动的第一摄像头的缩放倍率。Step 11: Obtain the zoom ratio of the first camera currently activated by the terminal in real time.
第一摄像头可为广角摄像头,也可为望远摄像头;缩放倍率是指第一摄像头当前获取的图像相对于第一摄像头刚开启时获取的图像的改变倍率。第一摄像头获取的图像的倍率可根据用户输入的指令进行更改。用户调节缩放倍率通过控件的拉伸,或者双指在取景画面上的捏合或捏离实现,也可以通过其他手势输入缩放倍率的指令。The first camera may be a wide-angle camera or a telephoto camera; the zoom ratio refers to a change ratio of an image currently acquired by the first camera relative to an image acquired when the first camera is just turned on. The magnification of the image captured by the first camera can be changed according to the instruction input by the user. The user adjusts the zoom ratio by stretching the control, or by pinching or pinching two fingers on the viewfinder screen, or by inputting zoom ratio commands through other gestures.
步骤12:在所述缩放倍率达到倍率阈值时,从所述第一摄像头切换到第二摄像头。Step 12: When the zoom ratio reaches a ratio threshold, switch from the first camera to the second camera.
在所述第一取景画面被放大预设倍数后,或者,在所述第一取景画面开始被缩小时,判断所述第一取景画面的缩放倍率是否达到倍率阈值。所述预设倍数可选为2.3倍。After the first viewfinder image is enlarged by a preset multiple, or when the first viewfinder image starts to be reduced, it is determined whether the zoom ratio of the first viewfinder image reaches a magnification threshold. The preset multiple may be 2.3 times.
对应的,第二摄像头可为望远摄像头,也可为广角摄像头。Correspondingly, the second camera may be a telephoto camera or a wide-angle camera.
其中,所述第一摄像头的取景范围与所述第二摄像头的取景范围不同,且所述第一摄像头的取景范围包含或者包含于所述第二摄像头的取景范围;所述第一摄像头与所述第二摄像头是设置于所述终端的壳体的同一侧面、且相互独立的两个摄像头。也就是,本发明实施例的方案主要针对分体式摄像头。Wherein, the viewing range of the first camera is different from that of the second camera, and the viewing range of the first camera includes or is included in the viewing range of the second camera; The second camera is two independent cameras arranged on the same side of the housing of the terminal. That is, the solution of the embodiment of the present invention is mainly aimed at the split camera.
为方便第二摄像头加载各项参数,防止缩放倍率达到倍率阈值时再启动第二摄像头,会由于加载问题,导致取景画面出现短暂的黑屏,降低用户体验;在所述从所述第一摄像头切换到第二摄像头之前,还包括:在所述缩放倍率与所述倍率阈值之间的差值小于预定值时,启动所述第二摄像头。第二摄像头在后台运行,启动后会加载相应的参数,从而当缩放倍率达到倍率阈值时,即可完成连贯的切换,避免黑屏。In order to facilitate the second camera to load various parameters and prevent the second camera from being restarted when the zoom ratio reaches the magnification threshold, a short black screen will appear on the viewfinder screen due to loading problems, which will reduce user experience; Before the second camera, the method further includes: starting the second camera when the difference between the zoom ratio and the ratio threshold is smaller than a predetermined value. The second camera runs in the background, and will load the corresponding parameters after startup, so that when the zoom ratio reaches the ratio threshold, it can complete coherent switching and avoid black screen.
也就是,在当前第一取景画面的取景范围向第二摄像头的第二取景画面的取景范围靠近,且快接近到第二取景画面的取景范围时,后台启动第二摄像头。That is, when the viewfinder range of the current first viewfinder picture is approaching the viewfinder range of the second viewfinder picture of the second camera, and is approaching the viewfinder range of the second viewfinder picture, the second camera is activated in the background.
其中,缩放倍率可通过取景画面体现,对应的,所述实时获取终端当前启动的第一摄像头的缩放倍率的步骤包括:实时获取所述第一摄像头的第一取景画面;所述在所述缩放倍率达到倍率阈值时,从所述第一摄像头切换到第二摄像头的步骤包括:在所述第一取景画面与所述终端的第二摄像头的第二取景画面重叠时,从所述第一摄像头切换到所述第二摄像头。Wherein, the zoom ratio can be reflected by the viewfinder screen, and correspondingly, the step of acquiring the zoom ratio of the first camera currently activated by the terminal in real time includes: acquiring the first viewfinder screen of the first camera in real time; When the magnification reaches the magnification threshold, the step of switching from the first camera to the second camera includes: when the first viewing image overlaps with the second viewing image of the second camera of the terminal, switching from the first camera Switch to the second camera.
此处,所述第一取景画面与所述终端的第二摄像头的第二取景画面重叠是指,第一取景画面能够与第二摄像头的第二取景画面重合。Here, the overlapping of the first viewfinder picture with the second viewfinder picture of the second camera of the terminal means that the first viewfinder picture can overlap with the second viewfinder picture of the second camera.
上述的判断所述第一取景画面的缩放倍率是否达到倍率阈值,也可以表述为,判断所述第一取景画面与所述终端的第二摄像头的第二取景画面是否重叠。The above determination of whether the zoom ratio of the first viewfinder picture reaches the magnification threshold may also be expressed as judging whether the first viewfinder picture overlaps with the second viewfinder picture of the second camera of the terminal.
具体的,在所述第一取景画面与所述终端的第二摄像头的第二取景画面重叠时,从所述第一摄像头切换到所述第二摄像头的步骤包括:在所述第一取景画面的第一预设边界临界点的像素与所述第二取景画面的第二预设边界临界点的像素重叠时,从所述第一摄像头切换到所述第二摄像头。Specifically, when the first framing picture overlaps with the second framing picture of the second camera of the terminal, the step of switching from the first camera to the second camera includes: Switching from the first camera to the second camera when the pixels of the first preset border critical point of the frame overlap with the pixels of the second preset border critical point of the second viewing frame.
也就是,采用取景画面的边界临界点的像素判断是否需要切换摄像头。That is, the pixels at the border critical points of the framing screen are used to determine whether it is necessary to switch cameras.
考虑到分体式摄像头安装上存在一定的误差,所以在所述第一取景画面的第一预设边界临界点的像素与所述第二取景画面的第二预设边界临界点的像素重叠时,从所述第一摄像头切换到所述第二摄像头的步骤包括:Considering that there is a certain error in the installation of the split camera, when the pixels of the first preset boundary critical point of the first viewfinder picture overlap with the pixels of the second preset boundary critical point of the second viewfinder picture, The step of switching from the first camera to the second camera includes:
在所述第一取景画面的左右边界临界点的像素与所述第二取景画面的左右边界临界点的像素重叠时,或者,在所述第一取景画面的上下边界临界点的像素与所述第二取景画面的上下边界临界点的像素重叠时,从所述第一摄像头切换到所述第二摄像头。When the pixels of the left and right boundary critical points of the first viewfinder picture overlap with the pixels of the left and right boundary critical points of the second viewfinder picture, or, when the pixels of the upper and lower boundary critical points of the first viewfinder picture overlap with the Switching from the first camera to the second camera when the pixels at the critical points of the upper and lower borders of the second viewfinder frame overlap.
也就是,此次的临界点判断,仅需要上下边界或左右边界满足条件即可。That is to say, for the critical point judgment this time, only the upper and lower boundaries or the left and right boundaries need to meet the conditions.
可选地,每一边界临界点的像素数量均为10。Optionally, the number of pixels of each boundary critical point is 10.
考虑到分体式摄像头中的两个摄像头,安装时有一定的位置差,故切换摄像头时,会存在一定的位置跳变的情况,故本发明实施例中,从所述第一摄像头切换到所述第二摄像头时还包括:对所述第一摄像头的第一取景画面切换至所述第二摄像头的第二取景画面的过程进行模糊动画处理;以此来提高用户的使用感受。Considering that the two cameras in the split camera have a certain position difference when they are installed, there will be a certain position jump when switching cameras, so in the embodiment of the present invention, switching from the first camera to the When the second camera is described, it also includes: performing blur animation processing on the process of switching from the first viewfinder picture of the first camera to the second viewfinder picture of the second camera; thereby improving user experience.
具体的,所述第一摄像头为广角摄像头,所述第二摄像头为望远摄像头,对应的,所述第一摄像头的取景范围大于且包含所述第二摄像头的取景范围,所述缩放倍率为放大倍率;或者,Specifically, the first camera is a wide-angle camera, and the second camera is a telephoto camera. Correspondingly, the viewing range of the first camera is larger than and includes the viewing range of the second camera, and the zoom ratio is magnification; or,
所述第一摄像头为望远摄像头,所述第二摄像头为广角摄像头,对应的,所述第一摄像头的取景范围小于且包含于所述第二摄像头的取景范围,所述缩放倍率为缩小倍率。The first camera is a telephoto camera, and the second camera is a wide-angle camera. Correspondingly, the viewing range of the first camera is smaller than and included in the viewing range of the second camera, and the zoom ratio is a reduction ratio .
下面对本发明实施例一提供的所述摄像头的切换方法进行进一步说明。The camera switching method provided in Embodiment 1 of the present invention will be further described below.
如图2所示,一般分体式摄像头中的广角摄像头的可视角度为90度,望远摄像头的可视角度为37度,即广角摄像头的取景范围要远大于望远摄像头的取景范围,而望远摄像头的取景画面完全重叠于广角摄像头的取景范围,所以,依此本发明实施例提供了使两个摄像头能够自然切换的切换方法,具体如下:As shown in Figure 2, the viewing angle of the wide-angle camera in the general split camera is 90 degrees, and the viewing angle of the telephoto camera is 37 degrees, that is, the viewing range of the wide-angle camera is much larger than that of the telephoto camera. The viewfinder picture of the telephoto camera completely overlaps the viewfinder range of the wide-angle camera, so, according to this, the embodiment of the present invention provides a switching method that enables the two cameras to switch naturally, as follows:
广角摄像头切换至望远摄像头:Switch from wide-angle camera to telephoto camera:
现有拍照界面默认取景为广角摄像头的取景范围,而望远摄像头的取景范围小于广角摄像头,并与广角摄像头的取景范围完全重叠,取景时,双指滑动(两接触点背向滑动等第一预定操作)放大画面,当取景画面放大到2.3倍时,开始寻找画面重叠的临界点,以当前取景画面为判断基准,上下左右各10个像素,比对望远摄像头的取景画面,在上下临界点,或左右临界点的像素点(因分体式摄像头安装上存在一定的误差,所以此次的临界点判断,仅需要上下或左右,满足其中的一个条件即可),跟望远摄像头的取景画面的上下临界点,或左右临界点的像素点完全重叠时,自动切换到望远摄像头,因为,两个摄像头,安装时有一定的位置差,故切换摄像头时,会存在一定的位置跳变的情况,故此处摄像头切换时,需要有模糊动画过渡。The default viewfinder of the existing camera interface is the viewfinder range of the wide-angle camera, while the viewfinder range of the telephoto camera is smaller than that of the wide-angle camera and completely overlaps with the viewfinder range of the wide-angle camera. Scheduled operation) Zoom in on the screen. When the framing screen is magnified to 2.3 times, start looking for the critical point of screen overlap. Take the current framing screen as the judgment reference, and compare the framing screen of the telephoto camera with 10 pixels at the top, bottom, left, and right. point, or the pixel points of the left and right critical points (because there are certain errors in the installation of the split camera, so the judgment of the critical point this time only needs to meet one of the conditions of up and down or left and right), and the viewfinder of the telephoto camera When the upper and lower critical points of the screen, or the pixels of the left and right critical points overlap completely, it will automatically switch to the telephoto camera. Because there is a certain position difference between the two cameras when they are installed, there will be a certain position jump when switching cameras Therefore, when the camera is switched here, there needs to be a blur animation transition.
望远摄像头切换至广角摄像头:Telephoto camera switches to wide-angle camera:
拍照界面在望远摄像头取景时,双指捏合(两接触点相向滑动等第二预定操作)缩小画面,开始寻找画面重叠的临界点,以当前取景画面为判断基准,上下左右10个像素,比对广角摄像头的取景画面,在上下临界点,或左右临界点的像素点(因分体式摄像头安装上存在一定的误差,所以此次的临界点判断,仅需要上下或左右,满足其中的一个条件即可),跟广角摄像头的取景画面的上下临界点,或左右临界点的像素点完全重叠时,自动切换到广角摄像头,因为,两个摄像头,安装时有一定的位置差,故切换摄像头时,会存在一定的位置跳变的情况,故此处摄像头切换时,需要有模糊动画过渡。In the camera interface, when viewing the view with the telephoto camera, pinch with two fingers (the second scheduled operation such as sliding two contact points towards each other) to zoom out the screen, and start looking for the critical point where the screen overlaps. Based on the current viewfinder screen, 10 pixels up, down, left, and right are used for comparison. The framing screen of the wide-angle camera is at the upper and lower critical points, or at the pixel points of the left and right critical points (because there is a certain error in the installation of the split camera, so the judgment of the critical point this time only needs to be up and down or left and right, and one of the conditions is met. Yes), when the pixels completely overlap with the upper and lower critical points of the viewfinder screen of the wide-angle camera, or the pixels of the left and right critical points, it will automatically switch to the wide-angle camera. Because there is a certain position difference between the two cameras when they are installed, when switching cameras, There will be a certain position jump, so when the camera is switched here, a blur animation transition is required.
由上可知,本发明采用分体式双摄像头,后置一颗广角摄像头和一颗望远的摄像头,两颗摄像头独立安装,可以把终端做薄;同时两颗摄像头独立运行,实现近景和远景的切换,交互上放大取景框跟原来的放大取景除了过渡动画,外观上(用户看起来)交互上没有任何区别,自然切换到另一个摄像头,模拟光学变焦,让用户不管是拍近景,还是拍远景都能有清晰的成像效果。It can be seen from the above that the present invention adopts a split-type dual camera, and a wide-angle camera and a telephoto camera are installed at the rear. The two cameras are installed independently, which can make the terminal thinner; at the same time, the two cameras operate independently to realize close-up and long-range viewing. Switching, interactively zooming in on the viewfinder frame and the original zooming in on the viewfinder, except for the transition animation, there is no difference in appearance (to the user) in terms of interaction. Naturally switch to another camera, simulating optical zoom, allowing users to take close-up shots or long-range shots Can have a clear imaging effect.
综上所述,本发明实施例一提供的所述摄像头的切换方法通过利用广角摄像头与望远摄像头的取景范围不同,且望远摄像头的取景范围完全重叠于广角摄像头的取景范围,判断广角摄像头的取景画面与望远摄像头的取景画面重叠的临界点,快捷切换广角摄像头和望远摄像头,模拟光学变焦,交互自然,解决了现有技术中分体式双摄像头使用过程中切换不自然的问题。To sum up, the camera switching method provided in Embodiment 1 of the present invention determines whether the wide-angle camera and the telephoto camera have different viewfinder ranges, and the viewfinder range of the telephoto camera completely overlaps with the viewfinder range of the wide-angle camera. The critical point where the framing screen of the camera overlaps with the framing screen of the telephoto camera quickly switches between the wide-angle camera and the telephoto camera, simulates optical zoom, and interacts naturally, which solves the problem of unnatural switching during the use of split dual cameras in the prior art.
实施例二Embodiment two
如图3所示,本发明实施例二提供的终端包括:As shown in FIG. 3, the terminal provided by Embodiment 2 of the present invention includes:
获取模块31,用于实时获取终端当前启动的第一摄像头的缩放倍率。The obtaining module 31 is configured to obtain the zoom ratio of the first camera currently activated by the terminal in real time.
第一摄像头可为广角摄像头,也可为望远摄像头;缩放倍率是指第一摄像头当前获取的图像相对于第一摄像头刚开启时获取的图像的改变倍率。第一摄像头获取的图像的倍率可根据用户输入的指令进行更改。用户调节缩放倍率通过控件的拉伸,或者双指在取景画面上的捏合或捏离实现,也可以通过其他手势输入缩放倍率的指令。The first camera may be a wide-angle camera or a telephoto camera; the zoom ratio refers to a change ratio of an image currently acquired by the first camera relative to an image acquired when the first camera is just turned on. The magnification of the image captured by the first camera can be changed according to the instruction input by the user. The user adjusts the zoom ratio by stretching the control, or by pinching or pinching two fingers on the viewfinder screen, or by inputting zoom ratio commands through other gestures.
切换模块32,用于在所述缩放倍率达到倍率阈值时,从所述第一摄像头切换到第二摄像头。A switching module 32, configured to switch from the first camera to the second camera when the zoom ratio reaches a ratio threshold.
切换模块在所述第一取景画面被放大预设倍数后,或者,在所述第一取景画面开始被缩小时,判断所述第一取景画面的缩放倍率是否达到倍率阈值。所述预设倍数可选为2.3倍。The switching module determines whether the zoom ratio of the first viewing image reaches a magnification threshold after the first viewing image is enlarged by a preset factor, or when the first viewing image starts to be zoomed out. The preset multiple may be 2.3 times.
其中,所述第一摄像头的取景范围与所述第二摄像头的取景范围不同,且所述第一摄像头的取景范围包含或者包含于所述第二摄像头的取景范围;所述第一摄像头与所述第二摄像头是设置于所述终端的壳体的同一侧面、且相互独立的两个摄像头。也就是,本发明实施例的方案主要针对分体式摄像头。Wherein, the viewing range of the first camera is different from that of the second camera, and the viewing range of the first camera includes or is included in the viewing range of the second camera; The second camera is two independent cameras arranged on the same side of the housing of the terminal. That is, the solution of the embodiment of the present invention is mainly aimed at the split camera.
为方便第二摄像头加载各项参数,防止缩放倍率达到倍率阈值时再启动第二摄像头,会由于加载问题,导致取景画面出现短暂的黑屏,降低用户体验;所述终端还包括:启动模块,用于在所述缩放倍率与所述倍率阈值之间的差值小于预定值时,启动所述第二摄像头。第二摄像头在后台运行,启动后会加载相应的参数,从而当缩放倍率达到倍率阈值时,即可完成连贯的切换,避免黑屏。In order to facilitate the second camera to load various parameters and prevent the second camera from being restarted when the zoom ratio reaches the ratio threshold, a short black screen will appear on the viewfinder screen due to loading problems, which will reduce user experience; the terminal also includes: a startup module, which can be used to The second camera is activated when the difference between the zoom ratio and the ratio threshold is smaller than a predetermined value. The second camera runs in the background, and will load the corresponding parameters after startup, so that when the zoom ratio reaches the ratio threshold, it can complete coherent switching and avoid black screen.
也就是,启动模块在当前第一取景画面的取景范围向第二摄像头的第二取景画面的取景范围靠近,且快接近到第二取景画面的取景范围时,启动第二摄像头。That is, the activation module activates the second camera when the viewfinder range of the current first viewfinder picture is approaching the viewfinder range of the second viewfinder picture of the second camera, and is approaching the viewfinder range of the second viewfinder picture.
其中,缩放倍率可通过取景画面体现,对应的,所述获取模块包括:获取子模块,用于实时获取所述第一摄像头的第一取景画面;所述切换模块包括:切换子模块,用于在所述第一取景画面与所述终端的第二摄像头的第二取景画面重叠时,从所述第一摄像头切换到所述第二摄像头。Wherein, the zoom ratio can be reflected by the viewfinder picture, and correspondingly, the acquisition module includes: an acquisition submodule for acquiring the first viewfinder picture of the first camera in real time; the switching module includes: a switch submodule for When the first viewing image overlaps with the second viewing image of the second camera of the terminal, switching from the first camera to the second camera.
此处,所述第一取景画面与所述终端的第二摄像头的第二取景画面重叠是指,第一取景画面能够与第二摄像头的第二取景画面重合。Here, the overlapping of the first viewfinder picture with the second viewfinder picture of the second camera of the terminal means that the first viewfinder picture can overlap with the second viewfinder picture of the second camera.
上述的判断所述第一取景画面的缩放倍率是否达到倍率阈值,也可以表述为,判断所述第一取景画面与所述终端的第二摄像头的第二取景画面是否重叠。The above determination of whether the zoom ratio of the first viewfinder picture reaches the magnification threshold may also be expressed as judging whether the first viewfinder picture overlaps with the second viewfinder picture of the second camera of the terminal.
具体的,所述切换子模块包括:切换单元,用于在所述第一取景画面的第一预设边界临界点的像素与所述第二取景画面的第二预设边界临界点的像素重叠时,从所述第一摄像头切换到所述第二摄像头。Specifically, the switching sub-module includes: a switching unit, configured to overlap pixels at a first preset boundary critical point of the first viewfinder picture with pixels at a second preset boundary critical point of the second viewfinder picture , switch from the first camera to the second camera.
也就是,第一处理模块采用取景画面的边界临界点的像素判断是否需要切换摄像头。That is, the first processing module judges whether it is necessary to switch the camera by using the pixels of the boundary critical point of the viewfinder picture.
考虑到分体式摄像头安装上存在一定的误差,所以所述切换单元包括:切换子单元,用于在所述第一取景画面的左右边界临界点的像素与所述第二取景画面的左右边界临界点的像素重叠时,或者,在所述第一取景画面的上下边界临界点的像素与所述第二取景画面的上下边界临界点的像素重叠时,从所述第一摄像头切换到所述第二摄像头。Considering that there is a certain error in the installation of the split-type camera, the switching unit includes: a switching subunit, which is used to connect the pixels at the left and right boundary critical points of the first viewfinder picture to the left and right borders of the second viewfinder picture. When the pixels of the points overlap, or when the pixels of the upper and lower boundary critical points of the first viewfinder picture overlap with the pixels of the upper and lower boundary critical points of the second viewfinder picture, switch from the first camera to the second Second camera.
也就是,此次的临界点判断,仅需要上下边界或左右边界满足条件即可。That is to say, for the critical point judgment this time, only the upper and lower boundaries or the left and right boundaries need to meet the conditions.
可选地,每一边界临界点的像素数量均为10。Optionally, the number of pixels of each boundary critical point is 10.
考虑到分体式摄像头中的两个摄像头,安装时有一定的位置差,故切换摄像头时,会存在一定的位置跳变的情况,故本发明实施例中,所述终端还包括:处理模块,用于对所述第一摄像头的第一取景画面切换至所述第二摄像头的第二取景画面的过程进行模糊动画处理;以此来提高用户的使用感受。Considering that the two cameras in the split camera have a certain position difference during installation, there will be a certain position jump when switching the cameras, so in the embodiment of the present invention, the terminal further includes: a processing module, It is used for performing blur animation processing on the process of switching from the first viewfinder picture of the first camera to the second viewfinder picture of the second camera; thereby improving user experience.
具体的,所述第一摄像头为广角摄像头,所述第二摄像头为望远摄像头,所述第一摄像头的取景范围大于且包含所述第二摄像头的取景范围,所述缩放倍率为放大倍率;或者,Specifically, the first camera is a wide-angle camera, the second camera is a telephoto camera, the viewing range of the first camera is larger than and includes the viewing range of the second camera, and the zoom ratio is a magnification ratio; or,
所述第一摄像头为望远摄像头,所述第二摄像头为广角摄像头,所述第一摄像头的取景范围小于且包含于所述第二摄像头的取景范围,所述缩放倍率为缩小倍率。The first camera is a telephoto camera, the second camera is a wide-angle camera, the viewing range of the first camera is smaller than and included in the viewing range of the second camera, and the zoom ratio is a reduction ratio.
本发明实施例二提供的所述终端通过利用广角摄像头与望远摄像头的取景范围不同,且望远摄像头的取景范围完全重叠于广角摄像头的取景范围,判断广角摄像头的取景画面与望远摄像头的取景画面重叠的临界点,快捷切换广角摄像头和望远摄像头,模拟光学变焦,交互自然,解决了现有技术中分体式双摄像头使用过程中切换不自然的问题。In the terminal provided in Embodiment 2 of the present invention, the viewing range of the wide-angle camera and the telephoto camera are different, and the viewing range of the telephoto camera completely overlaps with the viewing range of the wide-angle camera, so as to determine the viewfinder picture of the wide-angle camera and the viewfinder of the telephoto camera. The critical point where the framing screen overlaps quickly switches between the wide-angle camera and the telephoto camera, simulates optical zoom, and interacts naturally, which solves the problem of unnatural switching during the use of split dual cameras in the prior art.
其中,上述摄像头的切换方法的所述实现实施例均适用于该终端的实施例中,也能达到相同的技术效果。Wherein, the implementation embodiments of the above camera switching method are all applicable to the embodiment of the terminal, and can also achieve the same technical effect.
实施例三Embodiment three
如图4所示,本发明实施例三提供的终端400包括:As shown in FIG. 4, the terminal 400 provided by Embodiment 3 of the present invention includes:
至少一个处理器401、存储器402、至少一个网络接口404和其他用户接口403。终端400中的各个组件通过总线系统405耦合在一起。可理解,总线系统405用于实现这些组件之间的连接通信。总线系统405除包括数据总线之外,还包括电源总线、控制总线和状态信号总线。但是为了清楚说明起见,在图4中将各种总线都标为总线系统405。At least one processor 401 , memory 402 , at least one network interface 404 and other user interface 403 . Various components in the terminal 400 are coupled together through a 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 clarity of illustration, the various buses are labeled as bus system 405 in FIG. 4 .
其中,用户接口403可以包括显示器、键盘或者点击设备(例如,鼠标,轨迹球(trackball)、触感板、摄像头或者触摸屏等。本实施例的用户接口403包括第一摄像头和第二摄像头。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, a camera, or a touch screen, etc. The user interface 403 in this embodiment includes a first camera and a second camera.
可以理解,本发明实施例中的存储器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). Memory 402 of the systems and methods described herein 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 obtain the zoom ratio of the first camera currently started by the terminal in real time; When the magnification reaches the magnification threshold, a control command is issued to switch from the first camera to the second camera; wherein, the viewfinder range of the first camera is different from the viewfinder range of the second camera, and the The viewfinder range of the first camera includes or is included in the viewfinder range of the second camera; the first camera and the second camera are two independent cameras that are set on the same side of the housing of the terminal .
上述本发明实施例揭示的方法可以应用于处理器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 capability. 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 should be understood that the embodiments described herein 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 a software implementation, the techniques described herein can be implemented through modules (eg, procedures, functions, and so on) that perform the functions described herein. Software codes can be stored in memory and executed by a processor. Memory can be implemented within the processor or external to the processor.
可选地,处理器401还用于:在所述从所述第一摄像头切换到第二摄像头之前,在所述缩放倍率与所述倍率阈值之间的差值小于预定值时,发出启动所述第二摄像头的控制指令,通过用户接口403启动第二摄像头。Optionally, the processor 401 is further configured to: before the switching from the first camera to the second camera, when the difference between the zoom magnification and the magnification threshold is smaller than a predetermined value, send a start command The control command of the second camera is described above, and the second camera is started through the user interface 403 .
可选地,处理器401具体用于:实时获取所述第一摄像头的第一取景画面;在所述第一取景画面与所述终端的第二摄像头的第二取景画面重叠时,发出从所述第一摄像头切换到所述第二摄像头的控制指令,通过用户接口403从所述第一摄像头切换到所述第二摄像头。Optionally, the processor 401 is specifically configured to: acquire the first viewfinder picture of the first camera in real time; when the first viewfinder picture overlaps with the second viewfinder picture of the second camera of the terminal, send A control instruction for switching the first camera to the second camera, and switching from the first camera to the second camera through the user interface 403.
可选地,处理器401具体用于:在所述第一取景画面的第一预设边界临界点的像素与所述第二取景画面的第二预设边界临界点的像素重叠时,发出从所述第一摄像头切换到所述第二摄像头的控制指令,通过用户接口403从所述第一摄像头切换到所述第二摄像头。Optionally, the processor 401 is specifically configured to: send a message from The control instruction for switching from the first camera to the second camera is to switch from the first camera to the second camera through the user interface 403 .
可选地,处理器401更具体用于:在所述第一取景画面的左右边界临界点的像素与所述第二取景画面的左右边界临界点的像素重叠时,或者,在所述第一取景画面的上下边界临界点的像素与所述第二取景画面的上下边界临界点的像素重叠时,发出从所述第一摄像头切换到所述第二摄像头的控制指令,通过用户接口403从所述第一摄像头切换到所述第二摄像头。Optionally, the processor 401 is more specifically configured to: when the pixels of the left and right boundary critical points of the first viewfinder picture overlap with the pixels of the left and right boundary boundary points of the second viewfinder picture, or, when the first viewfinder picture When the pixels of the critical points of the upper and lower boundaries of the viewfinder picture overlap with the pixels of the critical points of the upper and lower boundaries of the second viewfinder picture, a control instruction to switch from the first camera to the second camera is issued, and the user interface 403 is used to access the The first camera is switched to the second camera.
可选地,处理器401具体还用于:从所述第一摄像头切换到所述第二摄像头时,对所述第一摄像头的第一取景画面切换至所述第二摄像头的第二取景画面的过程进行模糊动画处理。Optionally, the processor 401 is specifically further configured to: when switching from the first camera to the second camera, switch the first viewfinder picture of the first camera to the second viewfinder picture of the second camera The process of blur animation.
可选地,所述第一摄像头为广角摄像头,所述第二摄像头为望远摄像头,所述第一摄像头的取景范围大于且包含所述第二摄像头的取景范围,所述缩放倍率为放大倍率。Optionally, the first camera is a wide-angle camera, the second camera is a telephoto camera, the viewfinder range of the first camera is greater than and includes the viewfinder range of the second camera, and the zoom ratio is a magnification .
可选地,所述第一摄像头为望远摄像头,所述第二摄像头为广角摄像头,所述第一摄像头的取景范围小于且包含于所述第二摄像头的取景范围,所述缩放倍率为缩小倍率。Optionally, the first camera is a telephoto camera, the second camera is a wide-angle camera, the viewing range of the first camera is smaller than and included in the viewing range of the second camera, and the zoom ratio is reduced magnification.
终端400能够实现前述实施例中移动终端实现的各个过程,为避免重复,这里不再赘述。The terminal 400 can implement various processes implemented by the mobile terminal in the foregoing embodiments, and to avoid repetition, details are not repeated here.
综上,本发明实施例三提供的所述终端通过利用广角摄像头与望远摄像头的取景范围不同,且望远摄像头的取景范围完全重叠于广角摄像头的取景范围,判断广角摄像头的取景画面与望远摄像头的取景画面重叠的临界点,快捷切换广角摄像头和望远摄像头,模拟光学变焦,交互自然。To sum up, the terminal provided by Embodiment 3 of the present invention uses the different viewfinder ranges of the wide-angle camera and the telephoto camera, and the viewfinder range of the telephoto camera completely overlaps the viewfinder range of the wide-angle camera. The critical point where the viewfinder images of the tele camera overlap, quickly switch between the wide-angle camera and the telephoto camera, simulates optical zoom, and interacts naturally.
实施例四Embodiment four
具体地,如图5所示,本发明实施例四中的终端500可以为手机、平板电脑、个人数字助理(PersonalDigital Assistant,PDA)、或车载电脑等。Specifically, as shown in FIG. 5 , the terminal 500 in Embodiment 4 of the present invention may be a mobile phone, a tablet computer, a personal digital assistant (Personal Digital Assistant, PDA), or a vehicle-mounted computer.
图5中的终端500包括射频(RadioFrequency,RF)电路510、存储器520、输入单元530、显示单元540、处理器560、音频电路570、WiFi(WirelessFidelity)模块580和电源590。The terminal 500 in FIG. 5 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 and a power supply 590.
其中,输入单元530可用于接收用户输入的数字或字符信息,以及产生与终端500的用户设置以及功能控制有关的信号输入。具体地,本发明实施例中,该输入单元530可以包括触控面板531。触控面板531,也称为触摸屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板531上的操作),并根据预先设定的程式驱动相应的连接装置。可选的,触控面板531可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给该处理器560,并能接收处理器560发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板531。除了触控面板531,输入单元530还可以包括其他输入设备532,其他输入设备532可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆、摄像头等中的一种或多种。本实施例的输入单元包括第一摄像头和第二摄像头。Wherein, the input unit 530 can be used to receive digital or character information input by the user, and generate signal input related to the user setting and function control of the 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, and other input devices 532 may include but not limited to physical keyboards, function keys (such as volume control buttons, switch buttons, etc.), trackballs, mice, joysticks, One or more of cameras, etc. The input unit in this embodiment includes a first camera and a second camera.
其中,显示单元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 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.
其中处理器560是终端500的控制中心,利用各种接口和线路连接整个手机的各个部分,通过运行或执行存储在第一存储器521内的软件程序和/或模块,以及调用存储在第二存储器522内的数据,执行终端500的各种功能和处理数据,从而对终端500进行整体监控。可选的,处理器560可包括一个或多个处理单元。Wherein the processor 560 is the control center of the terminal 500, utilizes various interfaces and lines to connect various parts of the entire mobile phone, and runs or executes software programs and/or modules stored in the first memory 521, and calls stored in the second memory The data in 522 executes various functions of the terminal 500 and processes data, so as to monitor the terminal 500 as a whole. Optionally, the processor 560 may include one or more processing units.
在本发明实施例中,通过调用存储该第一存储器521内的软件程序和/或模块和/或该第二存储器522内的数据,处理器560用于实时获取终端当前启动的第一摄像头的缩放倍率;在所述缩放倍率达到倍率阈值时,发出从所述第一摄像头切换到第二摄像头的控制指令,通过输入单元530从所述第一摄像头切换到第二摄像头;其中,所述第一摄像头的取景范围与所述第二摄像头的取景范围不同,且所述第一摄像头的取景范围包含或者包含于所述第二摄像头的取景范围;所述第一摄像头与所述第二摄像头是设置于所述终端的壳体的同一侧面、且相互独立的两个摄像头。In the embodiment of the present invention, the processor 560 is used to acquire the information of the first camera currently started by the terminal in real time by calling the software program and/or module stored in the first memory 521 and/or the data in the second memory 522. zoom ratio; when the zoom ratio reaches the ratio threshold, issue a control instruction to switch from the first camera to the second camera, and switch from the first camera to the second camera through the input unit 530; wherein, the first camera The viewfinder range of a camera is different from the viewfinder range of the second camera, and the viewfinder range of the first camera includes or is included in the viewfinder range of the second camera; the first camera and the second camera are The two cameras are arranged on the same side of the casing of the terminal and are independent from each other.
可选地,处理器560还用于:在所述从所述第一摄像头切换到第二摄像头之前,在所述缩放倍率与所述倍率阈值之间的差值小于预定值时,发出启动所述第二摄像头的控制指令,令第二摄像头启动。Optionally, the processor 560 is further configured to: before the switching from the first camera to the second camera, when the difference between the zoom ratio and the ratio threshold is smaller than a predetermined value, send The control instruction of the second camera is used to start the second camera.
可选地,处理器560具体用于:实时获取所述第一摄像头的第一取景画面;在所述第一取景画面与所述终端的第二摄像头的第二取景画面重叠时,发出从所述第一摄像头切换到所述第二摄像头的控制指令,通过输入单元完成第一摄像头切换到所述第二摄像头。Optionally, the processor 560 is specifically configured to: acquire the first viewfinder picture of the first camera in real time; when the first viewfinder picture overlaps with the second viewfinder picture of the second camera of the terminal, send A control instruction for switching the first camera to the second camera is completed through the input unit to switch the first camera to the second camera.
可选地,处理器560具体用于:在所述第一取景画面的第一预设边界临界点的像素与所述第二取景画面的第二预设边界临界点的像素重叠时,发出从所述第一摄像头切换到所述第二摄像头的控制指令,通过输入单元完成第一摄像头切换到所述第二摄像头。Optionally, the processor 560 is specifically configured to: send a message from The control instruction of switching from the first camera to the second camera is completed through the input unit to switch from the first camera to the second camera.
可选地,处理器560更具体用于:在所述第一取景画面的左右边界临界点的像素与所述第二取景画面的左右边界临界点的像素重叠时,或者,在所述第一取景画面的上下边界临界点的像素与所述第二取景画面的上下边界临界点的像素重叠时,发出从所述第一摄像头切换到所述第二摄像头的控制指令,通过输入单元完成第一摄像头切换到所述第二摄像头。Optionally, the processor 560 is more specifically configured to: when the pixels of the left and right boundary critical points of the first viewfinder picture overlap with the pixels of the left and right boundary boundary points of the second viewfinder picture, or, when the first viewfinder picture When the pixels of the critical points of the upper and lower boundaries of the viewfinder picture overlap with the pixels of the critical points of the upper and lower boundaries of the second viewfinder picture, a control command is issued to switch from the first camera to the second camera, and the first camera is completed through the input unit. The camera switches to the second camera.
可选地,处理器560具体还用于:从所述第一摄像头切换到所述第二摄像头时,对所述第一摄像头的第一取景画面切换至所述第二摄像头的第二取景画面的过程进行模糊动画处理。Optionally, the processor 560 is specifically further configured to: when switching from the first camera to the second camera, switch the first viewfinder picture of the first camera to the second viewfinder picture of the second camera The process of blur animation.
可选地,所述第一摄像头为广角摄像头,所述第二摄像头为望远摄像头,所述第一摄像头的取景范围大于且包含所述第二摄像头的取景范围,所述缩放倍率为放大倍率。Optionally, the first camera is a wide-angle camera, the second camera is a telephoto camera, the viewfinder range of the first camera is greater than and includes the viewfinder range of the second camera, and the zoom ratio is a magnification .
可选地,所述第一摄像头为望远摄像头,所述第二摄像头为广角摄像头,所述第一摄像头的取景范围小于且包含于所述第二摄像头的取景范围,所述缩放倍率为缩小倍率。Optionally, the first camera is a telephoto camera, the second camera is a wide-angle camera, the viewing range of the first camera is smaller than and included in the viewing range of the second camera, and the zoom ratio is reduced magnification.
可见,本发明实施例四提供的所述终端通过利用广角摄像头与望远摄像头的取景范围不同,且望远摄像头的取景范围完全重叠于广角摄像头的取景范围,判断广角摄像头的取景画面与望远摄像头的取景画面重叠的临界点,快捷切换广角摄像头和望远摄像头,模拟光学变焦,交互自然。It can be seen that the terminal provided in Embodiment 4 of the present invention judges that the viewfinder picture of the wide-angle camera is different from that of the telephoto camera by using the viewfinder ranges of the wide-angle camera and the telephoto camera to be different, and that the viewfinder range of the telephoto camera completely overlaps with the viewfinder range of the wide-angle camera. The critical point where the viewfinder screens of the cameras overlap, quickly switch between the wide-angle camera and the telephoto camera, simulates optical zoom, and interacts naturally.
需要说明的是,本说明书中的各个实施例均采用递进的方式描述,每个实施例重点说明的都是与其他实施例的不同之处,各个实施例之间相同相似的部分互相参见即可。It should be noted that each embodiment in this specification is described in a progressive manner, and each embodiment focuses on the differences from other embodiments. For the same and similar parts in each embodiment, refer to each other, that is, Can.
本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本发明的范围。Those skilled in the art can appreciate that the units and algorithm steps of the examples described in conjunction with the embodiments disclosed herein 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 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.
所述功能如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本发明各个实施例所述方法的全部或部分步骤。而前述的存储介质包括: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.
还需要说明的是,在本文中,诸如第一和第二等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。而且,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者终端设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者终端设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、物品或者终端设备中还存在另外的相同要素。It should also be noted that in this article, relational terms such as first and second etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply that these entities or operations Any such actual relationship or order exists between. Furthermore, the term "comprises", "comprises" or any other variation thereof is intended to cover a non-exclusive inclusion such that a process, method, article, or terminal equipment comprising a set of elements includes not only those elements, but also includes elements not expressly listed. other elements identified, or also include elements inherent in such a process, method, article, or end-equipment. Without further limitations, an element defined by the phrase "comprising a ..." does not exclude the presence of additional identical elements in the process, method, article or terminal device comprising said element.
以上所述,仅为本发明的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应以权利要求的保护范围为准。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 (14)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610373990.2A CN105959553B (en) | 2016-05-30 | 2016-05-30 | A kind of switching method and terminal of camera |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610373990.2A CN105959553B (en) | 2016-05-30 | 2016-05-30 | A kind of switching method and terminal of camera |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105959553A CN105959553A (en) | 2016-09-21 |
CN105959553B true CN105959553B (en) | 2018-12-04 |
Family
ID=56907473
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610373990.2A Active CN105959553B (en) | 2016-05-30 | 2016-05-30 | A kind of switching method and terminal of camera |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105959553B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2022072901A1 (en) * | 2020-10-02 | 2022-04-07 | Facebook Technologies, Llc | Multi-sensor camera systems, devices and methods for providing image pan, tilt and zoom functionality |
Families Citing this family (45)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106527943A (en) * | 2016-11-04 | 2017-03-22 | 上海传英信息技术有限公司 | Camera switching method and mobile terminal |
CN106488129B (en) * | 2016-11-04 | 2019-12-13 | 上海传英信息技术有限公司 | Method for switching cameras through fingerprint identification and mobile terminal |
CN106412445A (en) * | 2016-11-29 | 2017-02-15 | 广东欧珀移动通信有限公司 | Control method, control device and electronic device |
CN106559528A (en) * | 2016-11-29 | 2017-04-05 | 广东欧珀移动通信有限公司 | Control method, control device and electronic device |
CN106454133A (en) * | 2016-11-29 | 2017-02-22 | 广东欧珀移动通信有限公司 | Control method, control device and electronic device |
CN106341612A (en) * | 2016-11-29 | 2017-01-18 | 广东欧珀移动通信有限公司 | Control method, control device and electronic device |
CN106791377B (en) * | 2016-11-29 | 2019-09-27 | Oppo广东移动通信有限公司 | Control method, control device, and electronic device |
CN106791376B (en) * | 2016-11-29 | 2019-09-13 | Oppo广东移动通信有限公司 | Imaging device, control method, control device, and electronic device |
CN106341611A (en) * | 2016-11-29 | 2017-01-18 | 广东欧珀移动通信有限公司 | Control method, control device and electronic device |
CN106791378A (en) * | 2016-11-29 | 2017-05-31 | 广东欧珀移动通信有限公司 | Control method, control device and electronic device |
CN106603911A (en) * | 2016-11-29 | 2017-04-26 | 广东欧珀移动通信有限公司 | Control method, control device and electronic device |
CN106454132A (en) * | 2016-11-29 | 2017-02-22 | 广东欧珀移动通信有限公司 | Control method, control device and electronic device |
US10356300B2 (en) * | 2016-12-23 | 2019-07-16 | Mediatek Inc. | Seamless zooming on dual camera |
CN107277355A (en) * | 2017-07-10 | 2017-10-20 | 广东欧珀移动通信有限公司 | camera switching method, device and terminal |
CN107277480B (en) | 2017-07-10 | 2019-03-29 | Oppo广东移动通信有限公司 | White balance synchronous method, device and terminal device |
CN107483808B (en) * | 2017-07-10 | 2019-07-19 | Oppo广东移动通信有限公司 | Method and device for inhibiting AEC jump and terminal equipment |
CN107343155B (en) | 2017-07-10 | 2019-03-29 | Oppo广东移动通信有限公司 | Method and device for inhibiting AEC jump and terminal equipment |
CN107343190A (en) | 2017-07-25 | 2017-11-10 | 广东欧珀移动通信有限公司 | White balance adjusting method, apparatus and terminal device |
CN107465856B (en) * | 2017-08-31 | 2020-01-14 | Oppo广东移动通信有限公司 | Image pickup method and device and terminal equipment |
CN108513062B (en) * | 2018-03-06 | 2021-03-23 | Oppo广东移动通信有限公司 | Terminal control method and device, readable storage medium and computer equipment |
CN111917941B (en) * | 2019-05-08 | 2021-10-01 | 杭州海康威视数字技术股份有限公司 | Camera picture processing method and camera |
WO2020015754A1 (en) | 2018-07-19 | 2020-01-23 | 杭州海康威视数字技术股份有限公司 | Image capture method and image capture device |
CN110896443B (en) * | 2018-09-13 | 2021-11-09 | 深圳市鸿合创新信息技术有限责任公司 | Area value presetting method for double-camera switching and double-camera switching equipment |
CN110913122B (en) * | 2018-09-18 | 2021-08-10 | 北京小米移动软件有限公司 | Multi-camera zooming method, device, equipment and storage medium |
CN111510618B (en) * | 2019-01-30 | 2022-04-05 | 虹软科技股份有限公司 | Zooming method and electronic equipment applying same |
WO2021000063A1 (en) * | 2019-06-29 | 2021-01-07 | Qualcomm Incorporated | Automatic focus distance extension |
CN113994656B (en) * | 2019-08-12 | 2023-11-14 | Oppo广东移动通信有限公司 | Control method, imaging module, electronic device, and computer-readable storage medium |
CN110351487A (en) * | 2019-08-26 | 2019-10-18 | Oppo广东移动通信有限公司 | Control method, control device, electronic apparatus, and storage medium |
CN110505389B (en) * | 2019-09-03 | 2021-03-02 | RealMe重庆移动通信有限公司 | Camera control method and device, storage medium and electronic equipment |
CN110691192B (en) * | 2019-09-03 | 2021-04-13 | RealMe重庆移动通信有限公司 | Image processing method, image processing device, storage medium and electronic equipment |
CN112911130A (en) * | 2019-12-03 | 2021-06-04 | 深圳市万普拉斯科技有限公司 | Auxiliary view finding method, device, terminal and storage medium |
CN115442516A (en) | 2019-12-25 | 2022-12-06 | 华为技术有限公司 | Shooting method and terminal in long-focus scene |
CN111726528B (en) * | 2020-06-24 | 2022-04-08 | Oppo广东移动通信有限公司 | Camera switching method, device, terminal and computer storage medium |
CN111935397B (en) * | 2020-07-07 | 2022-04-22 | 北京迈格威科技有限公司 | Image processing method and device, electronic equipment and computer readable medium |
CN111935398B (en) * | 2020-07-07 | 2022-04-22 | 北京迈格威科技有限公司 | Image processing method, apparatus, electronic device and computer readable medium |
CN111970438B (en) * | 2020-08-03 | 2022-06-28 | Oppo广东移动通信有限公司 | Zoom processing method and device, equipment and storage medium |
CN114339022B (en) * | 2020-09-30 | 2024-02-02 | 北京小米移动软件有限公司 | Camera shooting parameter determining method and neural network model training method |
CN112422824B (en) * | 2020-11-09 | 2022-11-01 | 维沃移动通信有限公司 | Display method, device and electronic device |
CN116615913B (en) * | 2020-12-25 | 2025-02-25 | 深圳传音控股股份有限公司 | Shooting method, terminal and computer storage medium |
CN112804450B (en) * | 2020-12-31 | 2022-05-27 | Oppo广东移动通信有限公司 | Camera starting method, electronic equipment and computer storage medium |
CN115225800B (en) * | 2021-04-14 | 2024-03-05 | 华为技术有限公司 | Multi-camera zoom method, device and equipment |
CN118354200A (en) | 2021-06-07 | 2024-07-16 | 荣耀终端有限公司 | Video shooting method and electronic equipment |
CN113938587B (en) * | 2021-09-14 | 2024-03-15 | 青岛海信移动通信技术有限公司 | Double-camera-based shooting method and electronic equipment |
CN116095476B (en) * | 2021-11-05 | 2024-04-12 | 荣耀终端有限公司 | Camera switching method, device, electronic device and storage medium |
CN117135257B (en) * | 2023-03-13 | 2024-08-30 | 荣耀终端有限公司 | Image display method, electronic device and computer readable storage medium |
Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2008016474A2 (en) * | 2006-08-01 | 2008-02-07 | Eastman Kodak Company | Producing digital image with different resolution portions |
US7561191B2 (en) * | 2005-02-18 | 2009-07-14 | Eastman Kodak Company | Camera phone using multiple lenses and image sensors to provide an extended zoom range |
CN101632295A (en) * | 2007-03-09 | 2010-01-20 | 伊斯曼柯达公司 | Multiple lens camera operable in various modes |
CN101902572A (en) * | 2009-05-04 | 2010-12-01 | 弗莱克斯电子有限责任公司 | Dual lens digital zoom |
WO2014199338A2 (en) * | 2013-06-13 | 2014-12-18 | Corephotonics Ltd. | Dual aperture zoom digital camera |
CN104994291A (en) * | 2015-06-30 | 2015-10-21 | 广东欧珀移动通信有限公司 | Method for starting wide-angle camera based on shooting scene environment, and terminal |
CN104994279A (en) * | 2015-06-30 | 2015-10-21 | 广东欧珀移动通信有限公司 | Method for starting wide angle camera based on terminal status and terminal |
CN105049712A (en) * | 2015-06-30 | 2015-11-11 | 广东欧珀移动通信有限公司 | Method of starting terminal wide angle camera and terminal |
CN105183296A (en) * | 2015-09-23 | 2015-12-23 | 腾讯科技(深圳)有限公司 | Interactive interface display method and device |
CN105408806A (en) * | 2013-07-04 | 2016-03-16 | 核心光电有限公司 | Slim Dual Aperture Zoom Digital Video Camera |
Family Cites Families (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP4305598B2 (en) * | 2000-06-05 | 2009-07-29 | 富士フイルム株式会社 | Camera aperture control method and apparatus, and camera |
JP2003037757A (en) * | 2001-07-25 | 2003-02-07 | Fuji Photo Film Co Ltd | Imaging device |
JP4198449B2 (en) * | 2002-02-22 | 2008-12-17 | 富士フイルム株式会社 | Digital camera |
US7236306B2 (en) * | 2005-02-18 | 2007-06-26 | Eastman Kodak Company | Digital camera using an express zooming mode to provide expedited operation over an extended zoom range |
US7206136B2 (en) * | 2005-02-18 | 2007-04-17 | Eastman Kodak Company | Digital camera using multiple lenses and image sensors to provide an extended zoom range |
JP5258722B2 (en) * | 2009-09-24 | 2013-08-07 | 富士フイルム株式会社 | Compound eye camera and control method thereof |
JP2011114788A (en) * | 2009-11-30 | 2011-06-09 | Sanyo Electric Co Ltd | Imaging apparatus and imaging method |
JP4787906B1 (en) * | 2010-03-30 | 2011-10-05 | 富士フイルム株式会社 | Imaging apparatus, method and program |
-
2016
- 2016-05-30 CN CN201610373990.2A patent/CN105959553B/en active Active
Patent Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7561191B2 (en) * | 2005-02-18 | 2009-07-14 | Eastman Kodak Company | Camera phone using multiple lenses and image sensors to provide an extended zoom range |
WO2008016474A2 (en) * | 2006-08-01 | 2008-02-07 | Eastman Kodak Company | Producing digital image with different resolution portions |
CN101632295A (en) * | 2007-03-09 | 2010-01-20 | 伊斯曼柯达公司 | Multiple lens camera operable in various modes |
CN101902572A (en) * | 2009-05-04 | 2010-12-01 | 弗莱克斯电子有限责任公司 | Dual lens digital zoom |
WO2014199338A2 (en) * | 2013-06-13 | 2014-12-18 | Corephotonics Ltd. | Dual aperture zoom digital camera |
CN105408806A (en) * | 2013-07-04 | 2016-03-16 | 核心光电有限公司 | Slim Dual Aperture Zoom Digital Video Camera |
CN104994291A (en) * | 2015-06-30 | 2015-10-21 | 广东欧珀移动通信有限公司 | Method for starting wide-angle camera based on shooting scene environment, and terminal |
CN104994279A (en) * | 2015-06-30 | 2015-10-21 | 广东欧珀移动通信有限公司 | Method for starting wide angle camera based on terminal status and terminal |
CN105049712A (en) * | 2015-06-30 | 2015-11-11 | 广东欧珀移动通信有限公司 | Method of starting terminal wide angle camera and terminal |
CN105183296A (en) * | 2015-09-23 | 2015-12-23 | 腾讯科技(深圳)有限公司 | Interactive interface display method and device |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2022072901A1 (en) * | 2020-10-02 | 2022-04-07 | Facebook Technologies, Llc | Multi-sensor camera systems, devices and methods for providing image pan, tilt and zoom functionality |
Also Published As
Publication number | Publication date |
---|---|
CN105959553A (en) | 2016-09-21 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105959553B (en) | A kind of switching method and terminal of camera | |
US11128802B2 (en) | Photographing method and mobile terminal | |
CN106101553B (en) | A camera method and mobile terminal | |
CN106998428A (en) | The image pickup method and mobile terminal of a kind of mobile terminal | |
CN106658141B (en) | A video processing method and mobile terminal | |
CN106534685A (en) | Panoramic image generation method and mobile terminal | |
CN105979157B (en) | A shooting mode switching method and mobile terminal | |
CN106791357A (en) | A kind of image pickup method and mobile terminal | |
CN106131341A (en) | A kind of photographic method and mobile terminal | |
CN107102806A (en) | A kind of split screen input method and mobile terminal | |
CN105224276A (en) | A kind of multi-screen display method and electronic equipment | |
CN105959544A (en) | Mobile terminal and image processing method thereof | |
CN106648035A (en) | Image resolution adjusting method and mobile terminal | |
CN106959864A (en) | A kind of adjusting method and mobile terminal of interface display effect | |
CN106331519A (en) | Method for adjusting supplementary light and mobile terminal | |
CN107390990A (en) | The method of adjustment and mobile terminal of a kind of image | |
CN107707823A (en) | A kind of image pickup method and mobile terminal | |
CN106940597A (en) | A kind of camera starts control method and mobile terminal | |
CN106406741B (en) | Operation and processing method of mobile terminal and mobile terminal | |
CN106101544A (en) | A kind of image processing method and mobile terminal | |
CN107395978A (en) | The control method and mobile terminal of a kind of camera module | |
CN106227488A (en) | The display packing of a kind of reminder message and mobile terminal | |
CN107333067A (en) | Camera control method and terminal | |
CN106937054A (en) | Take pictures weakening method and the mobile terminal of a kind of mobile terminal | |
CN106210512A (en) | A kind of photographic head changing method and mobile terminal |
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 |