WO2020238312A1 - Photographing method and apparatus, storage medium and electronic device - Google Patents

Photographing method and apparatus, storage medium and electronic device Download PDF

Info

Publication number
WO2020238312A1
WO2020238312A1 PCT/CN2020/077854 CN2020077854W WO2020238312A1 WO 2020238312 A1 WO2020238312 A1 WO 2020238312A1 CN 2020077854 W CN2020077854 W CN 2020077854W WO 2020238312 A1 WO2020238312 A1 WO 2020238312A1
Authority
WO
WIPO (PCT)
Prior art keywords
interface
viewing range
display
shooting
ratio
Prior art date
Application number
PCT/CN2020/077854
Other languages
French (fr)
Chinese (zh)
Inventor
诸海燕
Original Assignee
中兴通讯股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2020238312A1 publication Critical patent/WO2020238312A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/63Control of cameras or camera modules by using electronic viewfinders
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/63Control of cameras or camera modules by using electronic viewfinders
    • H04N23/633Control of cameras or camera modules by using electronic viewfinders for displaying additional information relating to control or operation of the camera
    • H04N23/635Region indicators; Field of view indicators
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/45Cameras or camera modules comprising electronic image sensors; Control thereof for generating image signals from two or more image sensors being of different type or operating in different modes, e.g. with a CMOS sensor for moving images in combination with a charge-coupled device [CCD] for still images

Definitions

  • the present invention claims the priority of a Chinese patent application filed with the Chinese Patent Office, the application number is 201910474274.7, and the invention title is "a shooting method and device, storage medium, and electronic device” on May 31, 2019.
  • the entire content of the application Incorporated in the present invention by reference.
  • the present invention relates to the field of video recording or photographing, in particular to a shooting method and device, storage medium and electronic device.
  • the video recording or photographing process of the terminal product is a single display of the user's enlarged viewfinder interface.
  • the object that you want to shoot will move out of the preview interface due to the fast movement of the moving object or slight hand shaking.
  • the photographer's vision is concentrated in the preview interface.
  • the whereabouts of the camera is unknown. If you want to continue shooting, you often need to leave the preview interface or reduce the view of the shooting object to find the chasing object again. This will cause greater inconvenience to the continuous zooming and zooming of the moving object and affect the image shooting effect. Reduce the user experience.
  • a shooting method including: displaying the first interface and the second interface, wherein the first interface is used to display a photographed subject in a first viewing range, and the second interface is used for In displaying the subject within a second viewing range, the second viewing range is larger than the first viewing range.
  • Fig. 1 is a flowchart of acquiring an interface and displaying a viewfinder range according to an embodiment of the present invention
  • FIG. 2 is a schematic diagram of the position of the viewfinder window of the shooting subject in the shooting interface according to an embodiment of the present invention
  • FIG. 3 is a schematic diagram of the position of the viewfinder window where the shooting object moves out of the shooting interface according to an embodiment of the present invention
  • FIG. 4 is a schematic diagram of a framing method and a framing range in single-shot shooting according to an embodiment of the present invention
  • FIG. 5 is a schematic diagram of a framing method and a framing range during multi-shot shooting according to an embodiment of the present invention
  • Fig. 6 is a flowchart of a framing method according to an embodiment of the present invention.
  • FIG. 7 is a schematic diagram of split-screen or dual-screen or multi-screen shooting and framing according to an embodiment of the present invention.
  • FIG. 8 is a schematic diagram of arbitrary switching of a viewfinder interface according to an embodiment of the present invention.
  • Figure 9.1 and Figure 9.2 are schematic diagrams of the display position of the third interface according to an embodiment of the present invention.
  • Figure 10.1 is a structural diagram of a photographing device according to an embodiment of the present invention.
  • Figure 10.2 is a structural diagram of a storage medium according to an embodiment of the present invention.
  • Figure 10.3 is a structural diagram of an electronic device according to an embodiment of the present invention.
  • An embodiment of the present invention provides a shooting method, as shown in FIG. 1, which is characterized in that it includes: acquiring a first interface and a second interface, and displaying the first interface and the second interface, wherein the first interface An interface is used to display a photographed subject in a first viewing range, the second interface is used to display a photographed subject in a second viewing range, or the first interface is used to display a photographed subject in the second viewing range , The second interface is used to display the subject within the first viewing range, and the second viewing range is larger than the first viewing range.
  • the usual camera displays an interface through which the user takes a view.
  • the embodiment of the present invention provides two interfaces, namely the first interface and the second interface. Therefore, two viewing ranges, namely the first viewing range and the second viewing range can be displayed.
  • the two viewing ranges are different in size, and the second viewing range is larger than the first viewing range.
  • the user can refer to different viewing ranges according to shooting needs, or compare the two viewing ranges to determine the position of the shooting object.
  • the present invention only provides a shooting method, and does not limit any specific definitions such as the position and size of the first interface and the second interface, nor does it limit the viewing ratio of the first viewing range and the second viewing range , Scope size, etc. Any specific definitions.
  • the position of the subject in the first viewfinder displayed on the first interface is determined, which can solve the problem that the subject is easily lost in related technologies, especially when the subject is in motion, the user is not easy to track
  • the target of motion cannot find the problem of the subject in time, so as to achieve fast tracking and achieve the effect of the subject always appearing in the viewfinder.
  • the acquisition method and display method of the first interface and the second interface include: acquiring and displaying a first interface from data shot by a terminal according to a first scale, wherein the first scale is used to indicate the first interface The ratio of the viewing range to the maximum viewing range of the terminal; a second interface is acquired and displayed according to the data captured by the terminal according to the second ratio, where the second ratio is used to indicate the second viewing range and the terminal's The ratio of the maximum viewing area.
  • the first ratio and the second ratio may be selected according to the needs of the user or determined in other ways, which is not limited in the present invention.
  • the acquisition method includes cropping or other methods.
  • the interface required by the user can be acquired from the data captured by the terminal, and the method that can display the first interface and the second interface can be used.
  • the method and method are not specifically limited.
  • the method further includes the following steps.
  • the first camera is selected for shooting according to the first ratio, and the first interface is obtained from the data shot by the first camera, where the first ratio is used to indicate the first viewing range and the maximum viewing range of the terminal proportion.
  • a second camera is selected for shooting according to a second ratio, and a second interface is obtained from the data captured by the second camera, wherein the second ratio is used to indicate the second viewing range and the maximum viewing range of the terminal proportion.
  • the first camera and the second camera use the same or different cameras.
  • the data acquired by the first interface and the second interface are all from the same camera, that is, the first camera and the second camera use the same camera; in the dual-camera solution, all The data acquired by the first interface and the second interface come from different cameras or the same camera, that is, the first camera and the second camera use the same or different cameras.
  • the data is image data or video stream data.
  • the present invention does not limit the format, storage mode, size, source, etc. of the data.
  • the displaying the first interface and the second interface includes: overlaying the second interface on the first interface for display, or displaying the first interface and the second interface separately In different regions.
  • the display modes of the first interface and the second interface can be reasonably distributed according to the size of the screen of the camera, the requirements of user experience, the characteristics of the product, and the like.
  • the method further includes: displaying a third interface, wherein the third interface is used to display a photographic subject in the first viewing range according to a preset ratio or a preset range; the third interface overlaps the second Display on the first or second interface.
  • the display mode of the third interface includes dynamic or static.
  • the third interface is configured to display a photographic subject in the first viewfinder range or a part of the photographic subject according to a preset ratio or a preset range.
  • the displaying the third interface further includes: according to the position of the subject in the first viewing range in the subject in the second viewing range, displaying on the second interface
  • the third interface is displayed above.
  • the position and size of the third interface are not fixed or fixed, or move with the second interface, or move with the first viewing range, or be fixed, all are adapted to the embodiment of the present invention, and the present invention is not specific limited.
  • the method further includes: storing the photographic object displayed in the first interface and/or the second interface.
  • Any storage location, storage method, format, etc., are suitable for the embodiment of the present invention, and the present invention does not specifically limit it.
  • FIG. 1 is a flowchart of acquiring an interface and displaying a viewfinder range according to an embodiment of the present invention. As shown in FIG. 1, the specific steps are as follows.
  • A100 Obtain the first interface and the second interface, and display the first interface and the second interface.
  • A101 When the user is zooming in and shooting, the first interface is used to display the subject in the first viewing range, and the second interface is used to display the subject in the second viewing range.
  • the first interface is used to display a photographed subject in the second viewing range
  • the second interface is used to display a photographed subject in the first viewing range.
  • A200 Display on the first interface and the second interface on the user interaction interface in proportion.
  • FIG. 2 is a schematic diagram of the position of the viewfinder window of the shooting subject in the shooting interface according to an embodiment of the present invention. As shown in FIG. 2, the method includes.
  • the shooting function When using the shooting function, three display interfaces appear on the user interaction interface: the first interface A, the second interface B, and the third interface C.
  • the third interface C indicates that the subject displayed in the first interface A is in the first interface.
  • the relative position in the second interface B is convenient for the user to decide the framing range, understand the position of the subject, and facilitate tracking and shooting.
  • FIG. 3 is a schematic diagram of the position of the viewfinder window where the subject moves out of the shooting interface according to an embodiment of the present invention. As shown in FIG. 3, the method includes the following steps.
  • the user can quickly go through the second interface B to view the subject relative to the The position of the third interface C.
  • the third interface C indicates the relative position of the viewfinder displayed on the first interface A in the second interface.
  • the user can quickly determine the shooting Whether the object is on the left or right side of the third interface C, or on the upper or lower side, so that the direction in which the lens needs to be moved can be quickly found, so as to track the subject in time and continue to grasp it.
  • FIG. 4 is a schematic diagram of a framing method and a framing range during single-shot shooting according to an embodiment of the present invention. As shown in FIG. 4, the method includes.
  • the zoom-in shooting method may be digital zoom, or other methods may be used to achieve zoom-in shooting of the object.
  • the zoomed-in shooting displays a first interface and a second interface, wherein the first interface and the second interface are used to display a subject within a first viewing range and a second viewing range, and the second viewing range is larger than The first viewing range.
  • the horizontal line in FIG. 4 represents the plane area of the object being photographed, namely, the area A is the entire imaging area, that is, the first viewing range; the area B is the cropping area selected according to the user's magnification, that is, The global viewing range that the user sees on the main interface after ZOOM IN during shooting is the second viewing range.
  • the original frames displayed in the first viewing range A and the second viewing range B area come from the information obtained by the same camera.
  • the images or videos of the two areas A and B need to be processed. Take out all the streams, or take out the frames at the same time, and display them in the interactive area.
  • FIG. 5 is a schematic diagram of a framing method and a framing range during multi-camera shooting according to an embodiment of the present invention. As shown in FIG. 5, the method includes the following steps .
  • the zoom-in shooting method utilizes the angle difference of multiple cameras, and realizes optical zoom by smoothly switching cameras with different angles of view.
  • a camera with a smaller physical angle of view can capture the zoomed-in object, that is, the first viewing range A; a camera with a larger physical angle of view can capture a scene in the global scope, that is, the second Viewing range B.
  • the fusion zoom will superimpose the independent digital zoom of a camera with a larger physical angle of view and a camera with a smaller physical angle of view on the dual-camera switching optical zoom.
  • the user gradually ZOOM, when reaching the critical point of viewing angle, switch to a camera with a smaller physical angle of view, and then perform digital zoom in a camera with a smaller physical angle of view.
  • three or more cameras can initially superimpose ZOOM magnification.
  • the horizontal line represents the plane area where the object to be photographed is located, wherein the second viewing range B area is the largest total area of the overall imaging, that is, in the application scene of the user zooming in and shooting,
  • the first viewing range A area is a cropped area selected according to the user’s magnification (the ZOOM process will appear after the critical point in the multi-camera light change).
  • Different cameras that is, the viewing range that the user sees in the first interface after ZOOM IN when recording or taking pictures.
  • Fig. 6 is a flowchart of a viewfinder method according to an embodiment of the present invention, and the specific steps are as follows.
  • A101 In the single-camera solution, when the image or video stream is processed by software, the corresponding image or video stream is cropped according to the zoom ratio selected by the user.
  • A102 The image or video stream before cropping is also saved at the same time.
  • A103 Calculate the ratio between the image or video stream before and after cropping.
  • B101 In the multi-camera solution, first determine whether the images or video streams of the first interface and the second interface that the user needs to use are from the same camera; if so, proceed in the manner of A101-A103.
  • B103 Calculate the ratio between images or video streams from cameras with different viewing angles.
  • A200 Display on the first interface and the second interface on the user interaction interface in proportion.
  • FIG. 7 is a schematic diagram of split-screen or dual-screen or multi-screen shooting and framing according to an embodiment of the present invention, as shown in FIG. 7, The method includes.
  • split screen processing may be performed first.
  • the second interface may not overlap with the first interface, but is displayed on the large screen separately.
  • the display range is larger, which is more convenient for the user to quickly grasp the position of the shooting object in the second viewfinder range.
  • one of the screens may display the first interface, and the second interface may be displayed on the other screen, which also enables a larger preview of the The second viewing range realizes fast tracking of the subject.
  • FIG. 8 is a schematic diagram of free switching of a viewfinder interface according to an embodiment of the present invention. As shown in FIG. 8, the method includes:
  • the images or video streams in the two areas of the first interface A and the second interface B can also be According to the needs of the user's shooting purposes, interactive display. As shown in FIG. 8, the image or video stream displayed on the first interface A and the image or video stream displayed on the second interface B can be changed at any time.
  • the first interface A is used to track the subject and display the first viewing range; the second interface B is used to determine the subject The relative position within the second viewing range; in this application scenario, the first interface A displays the photographed object that the user wants to track.
  • the first interface A displays the first viewing range; the second interface B displays the second viewing range; In this application scenario, the second interface B displays the subject that the user wants to view.
  • the recorded image or video stream is always the content displayed on the first interface A, that is, the saved shooting object may be an enlarged and cropped image or video stream, or an original frame before cropping.
  • the third interface C is displayed on a suitable interface according to technical implementation needs or user experience needs, such as the second interface in Figure 9.1 or the first interface in Figure 9.2.
  • the embodiment of the present invention provides a photographing method and device, storage medium, and electronic device.
  • Figures 10.1, 10.2, and 10.3 are only simple structural illustrations and do not involve complex specific structural designs.
  • the photographing methods provided by the embodiments of the present invention include It is suitable for all terminals that can implement this method, and is not limited to specific structural requirements.
  • Figure 10.1 is a structural diagram of a photographing device according to an embodiment of the present invention, including.
  • a photographing device which includes a photographing module for acquiring a first interface and a second interface, and displaying the first interface and the second interface, wherein the first interface is used for displaying a first viewfinder range
  • the second interface is used to display the subject in the second viewing range, or the first interface is used to display the subject in the second viewing range, and the second interface is used to display For a subject within the first viewing range, the second viewing range is larger than the first viewing range.
  • the method for acquiring the first interface and the second interface includes: acquiring the first interface from data shot by the terminal according to a first ratio, wherein the first ratio is used to indicate that the first viewfinder range and the The ratio of the maximum viewing area of the terminal; the second interface is acquired from the data shot by the terminal according to the second ratio, wherein the second ratio is used to indicate the ratio of the second viewing area to the maximum viewing area of the terminal.
  • the method further includes: selecting a first camera for shooting according to a first ratio, and acquiring a first interface from the data captured by the first camera, wherein The first ratio is used to indicate the ratio of the first viewing range to the maximum viewing range of the terminal; the first camera and the second camera use the same or different cameras.
  • the data is image data or video stream data.
  • the displaying the first interface and the second interface includes: overlaying the second interface on the first interface for display, or displaying the first interface and the second interface separately In different regions.
  • the method further includes: displaying a third interface, wherein the third interface is used to display the subject within the first viewing range according to a preset ratio or a preset range; the third interface overlaps the second Display on the first or second interface.
  • the display mode of the third interface includes dynamic or static.
  • the third interface is configured to display a photographic subject in the first viewfinder range or a part of the photographic subject according to a preset ratio or a preset range.
  • the displaying the third interface further includes: on the second interface according to the position of the subject in the first viewing range in the subject in the second viewing range The third interface is displayed.
  • the method further includes: storing the photographic object displayed in the first interface and/or the second interface.
  • Figure 10.2 is a structure diagram of a storage medium according to an embodiment of the present invention, including.
  • a storage medium wherein a computer program is stored in the storage medium, and the computer program is set to execute the method of the present invention when it is running.
  • Any storage medium with a storage function is suitable for the embodiment of the present invention, and the present invention does not limit the structure, material, size, capacity, performance, etc. of the storage medium.
  • the computer programs that can realize the shooting method of the present invention are all adapted to the embodiments of the present invention.
  • the present invention has regard to the compilation method, writing method, program size, format, quantity of software, resources consumed, length of running time, and the required amount of running of the computer program.
  • Hardware configuration, related software support, etc. are not limited.
  • Figure 10.3 is a structural diagram of an electronic device according to an embodiment of the present invention, including.
  • An electronic device includes a memory and a processor, wherein a computer program is stored in the memory, and the processor is configured to run the computer program to execute the method of the present invention.
  • Any memory with a storage function is suitable for the embodiments of the present invention, and the present invention does not limit the structure, material, size, capacity, performance, etc. of the memory.
  • Any processor that has the function of running a computer program to execute the method of the present invention is suitable for the embodiment of the present invention, and the present invention does not limit the structure, material, size, capacity, performance, etc. of the processor.
  • the computer programs that can realize the shooting method of the present invention are all adapted to the embodiments of the present invention.
  • the present invention has regard to the compilation method, writing method, program size, format, quantity of software, resources consumed, length of running time, and the required amount of running of the computer program.
  • Hardware configuration, related software support, etc. are not limited.
  • an embodiment of the present invention also provides a computer program product, the computer program product includes a computer program stored on a non-transitory computer-readable storage medium, the computer program includes program instructions, when the program instructions are When executed by a computer, the computer is caused to execute the method in any of the foregoing method embodiments.

Landscapes

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

Abstract

The present invention provides a photographing method, characterized mainly by displaying a first interface and a second interface, the first interface being used for displaying a photographed object within a first view finding range, the second interface being used for displaying a photographed object within a second view finding range, and the second view finding range being greater than the first view finding range.

Description

一种拍摄方法及装置、存储介质、电子装置Shooting method and device, storage medium and electronic device
交叉引用cross reference
本发明要求在2019年05月31日提交中国专利局、申请号为201910474274.7、发明名称为“一种拍摄方法及装置、存储介质、电子装置”的中国专利申请的优先权,该申请的全部内容通过引用结合在本发明中。The present invention claims the priority of a Chinese patent application filed with the Chinese Patent Office, the application number is 201910474274.7, and the invention title is "a shooting method and device, storage medium, and electronic device" on May 31, 2019. The entire content of the application Incorporated in the present invention by reference.
技术领域Technical field
本发明涉及视频录制或拍照领域,特别涉及一种拍摄方法及装置、存储介质、电子装置。The present invention relates to the field of video recording or photographing, in particular to a shooting method and device, storage medium and electronic device.
背景技术Background technique
随着移动终端的普及和户外活动的盛行,越来越多的用户选择用随时携带的移动终端拍摄视频或照片。针对具有变焦功能的终端产品,在拍摄时(如视频录制或拍照),主要包含手动变焦或自动变焦等技术手段,来优化对远处景物的拍摄效果,使远处的景物更加清晰放大呈现在眼前,给我们的生活带来了较大的乐趣。With the popularity of mobile terminals and the prevalence of outdoor activities, more and more users choose to take videos or photos with mobile terminals that they carry at any time. For end products with zoom function, when shooting (such as video recording or taking photos), technical means such as manual zoom or automatic zoom are mainly included to optimize the shooting effect of distant scenes, and make the distant scenes more clear and magnified. Right now, it brings greater joy to our lives.
但在实现本发明的过程中,发明人发现,在一些情况下终端产品的视频录制或拍照过程均是单一呈现用户放大后的取景界面,在对运动物体进行跟踪拍摄时,或者由于取景景物较远放大拍摄时,往往会由于运动物体运动较快或手部的轻微抖动,导致想对着拍摄的物体移出预览界面,此时拍摄者的视力集中在预览界面中,追拍物体出预览界面后的去向不得而知,想要继续追拍,往往需要将眼睛离开预览界面或者缩小拍摄物体视图再次找到追拍对象,给持续变焦放大拍摄运动物体带来较大的不便,影响影像拍摄效果,大大降低了用户体验。However, in the process of implementing the present invention, the inventor found that, in some cases, the video recording or photographing process of the terminal product is a single display of the user's enlarged viewfinder interface. When tracking and shooting moving objects, or due to the relatively large viewfinder When shooting with far magnification, the object that you want to shoot will move out of the preview interface due to the fast movement of the moving object or slight hand shaking. At this time, the photographer's vision is concentrated in the preview interface. After the object is chased out of the preview interface The whereabouts of the camera is unknown. If you want to continue shooting, you often need to leave the preview interface or reduce the view of the shooting object to find the chasing object again. This will cause greater inconvenience to the continuous zooming and zooming of the moving object and affect the image shooting effect. Reduce the user experience.
针对上述拍摄过程中容易丢失拍摄目标的问题,相关技术中暂未提出解决方案。In view of the above-mentioned problem that the shooting target is easily lost during the shooting process, no solution has been proposed in the related art.
发明内容Summary of the invention
为了解决现有技术中,跟踪拍摄动态对象,或远距离拍摄时,针对容易丢失拍摄目标的问题,本发明实施例提供了一种拍摄方法及装置、存储介质、电子装置,根据本发明的一个实施例,提供了一种拍摄方法,包括:显示所述第一界面与所述第二界面,其中,所述第一界面用于显示第一取景范围内的拍摄对象,所述第二界面用于显示第二取景范围内的拍摄对象,所述第二取景范围大于所述第一取景范围。In order to solve the problem of easy loss of the shooting target when tracking and shooting dynamic objects or shooting from a long distance in the prior art, embodiments of the present invention provide a shooting method and device, a storage medium, and an electronic device. In an embodiment, a shooting method is provided, including: displaying the first interface and the second interface, wherein the first interface is used to display a photographed subject in a first viewing range, and the second interface is used for In displaying the subject within a second viewing range, the second viewing range is larger than the first viewing range.
附图说明Description of the drawings
此处所说明的附图用来提供对本发明的进一步理解,构成本申请的一部分,本发明的示意性实施例及其说明用于解释本发明,并不构成对本发明的不当限定。在附图中:The drawings described here are used to provide a further understanding of the present invention and constitute a part of this application. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention, and do not constitute an improper limitation of the present invention. In the attached picture:
图1是根据本发明实施例的获取界面并显示取景范围的流程图Fig. 1 is a flowchart of acquiring an interface and displaying a viewfinder range according to an embodiment of the present invention
图2是根据本发明实施例的拍摄对象在拍摄界面内的取景窗口位置示意图;2 is a schematic diagram of the position of the viewfinder window of the shooting subject in the shooting interface according to an embodiment of the present invention;
图3是根据本发明实施例的拍摄对象移出拍摄界面的取景窗口位置示意图;FIG. 3 is a schematic diagram of the position of the viewfinder window where the shooting object moves out of the shooting interface according to an embodiment of the present invention;
图4是根据本发明实施例的单摄拍摄时的取景方法和取景范围示意图;4 is a schematic diagram of a framing method and a framing range in single-shot shooting according to an embodiment of the present invention;
图5是根据本发明实施例的多摄拍摄时的取景方法和取景范围示意图;FIG. 5 is a schematic diagram of a framing method and a framing range during multi-shot shooting according to an embodiment of the present invention;
图6是根据本发明实施例的取景方法流程图;Fig. 6 is a flowchart of a framing method according to an embodiment of the present invention;
图7是根据本发明实施例的分屏或双屏或多屏拍摄取景示意图;FIG. 7 is a schematic diagram of split-screen or dual-screen or multi-screen shooting and framing according to an embodiment of the present invention;
图8是根据本发明实施例的取景界面随意切换示意图;FIG. 8 is a schematic diagram of arbitrary switching of a viewfinder interface according to an embodiment of the present invention;
图9.1和图9.2是根据本发明实施例的第三界面显示位置示意图;Figure 9.1 and Figure 9.2 are schematic diagrams of the display position of the third interface according to an embodiment of the present invention;
图10.1是根据本发明实施例的拍摄装置结构图;Figure 10.1 is a structural diagram of a photographing device according to an embodiment of the present invention;
图10.2是根据本发明实施例的存储介质结构图;Figure 10.2 is a structural diagram of a storage medium according to an embodiment of the present invention;
图10.3是根据本发明实施例的电子装置结构图。Figure 10.3 is a structural diagram of an electronic device according to an embodiment of the present invention.
具体实施方式Detailed ways
本发明实施例提供了一种拍摄方法,如图1所示,其特征在于,包括:获取第一界面与第二界面,显示所述第一界面与所述第二界面,其中,所述第一界面用于显示第一取景范围内的拍摄对象,所述第二界面用于显示第二取景范围内的拍摄对象,或所述第一界面用于显示所述第二取景范围内的拍摄对象,所述第二界面用于显示所述第一取景范围内的拍摄对象,所述第二取景范围大于所述第一取景范围。An embodiment of the present invention provides a shooting method, as shown in FIG. 1, which is characterized in that it includes: acquiring a first interface and a second interface, and displaying the first interface and the second interface, wherein the first interface An interface is used to display a photographed subject in a first viewing range, the second interface is used to display a photographed subject in a second viewing range, or the first interface is used to display a photographed subject in the second viewing range , The second interface is used to display the subject within the first viewing range, and the second viewing range is larger than the first viewing range.
通常的拍摄装置显示一个界面,用户通过这一个界面取景。本发明实施例提供两个界面,即所述第一界面与所述第二界面,因此,可以显示两个取景范围,即所述第一取景范围和所述第二取景范围。这两个取景范围大小不同,所述第二取景范围大于所述第一取景范围,用户可以根据拍摄需要参考不同的取景范围,或者将两个取景范围进行对照,确定拍摄对象的位置。本发明只是提供一种拍摄方法,不限定所述第一界面与所述第二界面的位置、大小等任何具体定义,也不限定所述第一取景范围和所述第二取景范围的取景比例、范围大小等任何具体定义。The usual camera displays an interface through which the user takes a view. The embodiment of the present invention provides two interfaces, namely the first interface and the second interface. Therefore, two viewing ranges, namely the first viewing range and the second viewing range can be displayed. The two viewing ranges are different in size, and the second viewing range is larger than the first viewing range. The user can refer to different viewing ranges according to shooting needs, or compare the two viewing ranges to determine the position of the shooting object. The present invention only provides a shooting method, and does not limit any specific definitions such as the position and size of the first interface and the second interface, nor does it limit the viewing ratio of the first viewing range and the second viewing range , Scope size, etc. Any specific definitions.
根据第二界面显示的第二取景范围确定第一界面显示的第一取景范围的拍摄对象的位置,能够解决相关技术中拍摄对象容易丢失的问题,尤其拍摄目标在运动状态时,用户不容易跟踪运动的目标,不能及时找到拍摄对象的问题,从而达到快速追踪、实现拍摄对象始终出现在取景范围内的效果。According to the second viewfinder displayed on the second interface, the position of the subject in the first viewfinder displayed on the first interface is determined, which can solve the problem that the subject is easily lost in related technologies, especially when the subject is in motion, the user is not easy to track The target of motion cannot find the problem of the subject in time, so as to achieve fast tracking and achieve the effect of the subject always appearing in the viewfinder.
所述第一界面与所述第二界面的获取方法与显示方法,包括:根据第一比例从终端拍摄的数据获取第一界面并显示,其中,所述第一比例用于指示所述第一取景范围与所述终端的最大取景范围的比例;根据第二比例从终端拍摄的数据获取第二界面并显示,其中,所述第二比例用于指示所述第二取景范围与所述终端的最大取景范围的比例。The acquisition method and display method of the first interface and the second interface include: acquiring and displaying a first interface from data shot by a terminal according to a first scale, wherein the first scale is used to indicate the first interface The ratio of the viewing range to the maximum viewing range of the terminal; a second interface is acquired and displayed according to the data captured by the terminal according to the second ratio, where the second ratio is used to indicate the second viewing range and the terminal's The ratio of the maximum viewing area.
所述第一比例与所述第二比例包括根据用户的需求选择,或采取别的方式确定,本发明不做限定。The first ratio and the second ratio may be selected according to the needs of the user or determined in other ways, which is not limited in the present invention.
所述获取的方式包括裁剪,或其他方式,能从终端拍摄的数据获取用户需要的界面都可以,能够让所述第一界面与所述第二界面得以显示的方法均可,本发明对获取的方式方法不做具体的限定。The acquisition method includes cropping or other methods. The interface required by the user can be acquired from the data captured by the terminal, and the method that can display the first interface and the second interface can be used. The method and method are not specifically limited.
当运用所述拍摄方法的终端具有至少两个摄像头时,所述方法还包括以下步骤。When the terminal using the shooting method has at least two cameras, the method further includes the following steps.
根据第一比例选取第一摄像头进行拍摄,并从所述第一摄像头拍摄的数据获取第一界面,其中,所述第一比例用于指示所述第一取景范围与所述终端的最大取景范围的比例。The first camera is selected for shooting according to the first ratio, and the first interface is obtained from the data shot by the first camera, where the first ratio is used to indicate the first viewing range and the maximum viewing range of the terminal proportion.
根据第二比例选取第二摄像头进行拍摄,并从所述第二摄像头拍摄的数据获取第二界面,其中,所述第二比例用于指示所述第二取景范围与所述终端的最大取景范围的比例。A second camera is selected for shooting according to a second ratio, and a second interface is obtained from the data captured by the second camera, wherein the second ratio is used to indicate the second viewing range and the maximum viewing range of the terminal proportion.
所述第一摄像头与所述第二摄像头采用相同或不同的摄像头。在单摄方案中,所述第一界面与所述第二界面获取的数据均来自同一个摄像头,即所述第一摄像头与所述第二摄像头采用相同的摄像头;在双摄方案中,所述第一界面与所述第二界面获取的数据来自不同的摄像头或同一个摄像头,即所述第一摄像头与所述第二摄像头采用相同或不同的摄像头。The first camera and the second camera use the same or different cameras. In the single-camera solution, the data acquired by the first interface and the second interface are all from the same camera, that is, the first camera and the second camera use the same camera; in the dual-camera solution, all The data acquired by the first interface and the second interface come from different cameras or the same camera, that is, the first camera and the second camera use the same or different cameras.
所述数据为图像数据或视频流数据。本发明不限定数据的格式、存储方式、大小、来源等。The data is image data or video stream data. The present invention does not limit the format, storage mode, size, source, etc. of the data.
所述显示所述第一界面与所述第二界面,包括:将所述第二界面重叠在所述第一界面之上进行显示,或将所述第一界面与所述第二界面分别显示在不同区域。可以根据拍摄装置屏幕的大小、用户体验的要求、产品的特点等对所述第一界面与所述第二界面的显示方式进行合理分布。The displaying the first interface and the second interface includes: overlaying the second interface on the first interface for display, or displaying the first interface and the second interface separately In different regions. The display modes of the first interface and the second interface can be reasonably distributed according to the size of the screen of the camera, the requirements of user experience, the characteristics of the product, and the like.
所述方法还包括:显示第三界面,其中,所述第三界面用于根据预设比例或预设范围显示所述第一取景范围内的拍摄对象;所述第三界面重叠在所 述第一或第二界面之上进行显示。The method further includes: displaying a third interface, wherein the third interface is used to display a photographic subject in the first viewing range according to a preset ratio or a preset range; the third interface overlaps the second Display on the first or second interface.
在一实施例中,所述第三界面的显示方式包括动态的或静止不动的。根据本发明的一个实施例,所述第三界面用于根据预设比例或预设范围显示所述第一取景范围内的拍摄对象,或显示拍摄对象的一部分。In an embodiment, the display mode of the third interface includes dynamic or static. According to an embodiment of the present invention, the third interface is configured to display a photographic subject in the first viewfinder range or a part of the photographic subject according to a preset ratio or a preset range.
在一实施例中,所述显示所述第三界面,还包括:根据所述第一取景范围内的拍摄对象在所述第二取景范围内的拍摄对象中的位置,在所述第二界面之上显示所述第三界面。所述第三界面的位置与大小不固定或固定,或随所述第二界面移动,或随所述第一取景范围移动,或固定不动,均适应本发明实施例,本发明不做具体限定。In an embodiment, the displaying the third interface further includes: according to the position of the subject in the first viewing range in the subject in the second viewing range, displaying on the second interface The third interface is displayed above. The position and size of the third interface are not fixed or fixed, or move with the second interface, or move with the first viewing range, or be fixed, all are adapted to the embodiment of the present invention, and the present invention is not specific limited.
所述显示所述第一界面与所述第二界面之后,还包括:存储所述第一界面和/或第二界面内显示的所述拍摄对象。任何存储位置与存储方式、格式等,均适应本发明实施例,本发明不做具体限定。After displaying the first interface and the second interface, the method further includes: storing the photographic object displayed in the first interface and/or the second interface. Any storage location, storage method, format, etc., are suitable for the embodiment of the present invention, and the present invention does not specifically limit it.
以下结合附图对本发明进行详细说明。应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不限定本发明。在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互组合。The present invention will be described in detail below with reference to the drawings. It should be understood that the specific embodiments described herein are only used to explain the present invention, and do not limit the present invention. In the case of no conflict, the embodiments in the application and the features in the embodiments can be combined with each other.
实施例一Example one
在本实施例中,提供了一种拍摄方法,图1是根据本发明实施例的获取界面并显示取景范围的流程图,如图1所示,具体步骤如下。In this embodiment, a shooting method is provided. FIG. 1 is a flowchart of acquiring an interface and displaying a viewfinder range according to an embodiment of the present invention. As shown in FIG. 1, the specific steps are as follows.
A100:获取第一界面与第二界面,并显示所述第一界面与所述第二界面。A100: Obtain the first interface and the second interface, and display the first interface and the second interface.
A101:在用户进行放大拍摄时,所述第一界面用于显示第一取景范围内的拍摄对象,所述第二界面用于显示第二取景范围内的拍摄对象。A101: When the user is zooming in and shooting, the first interface is used to display the subject in the first viewing range, and the second interface is used to display the subject in the second viewing range.
B101:在用户进行全景拍摄时,所述第一界面用于显示第二取景范围内的拍摄对象,所述第二界面用于显示第一取景范围内的拍摄对象。B101: When the user is taking a panoramic shot, the first interface is used to display a photographed subject in the second viewing range, and the second interface is used to display a photographed subject in the first viewing range.
A200:按比例在用户交互界面显示在所述第一界面和所述第二界面。A200: Display on the first interface and the second interface on the user interaction interface in proportion.
实施例二Example two
在本实施例中,提供了一种拍摄方法,图2是根据本发明实施例的拍摄对象在拍摄界面内的取景窗口位置示意图,如图2所示,该方法包括。In this embodiment, a shooting method is provided. FIG. 2 is a schematic diagram of the position of the viewfinder window of the shooting subject in the shooting interface according to an embodiment of the present invention. As shown in FIG. 2, the method includes.
在使用拍摄功能时,用户交互界面会出现三个显示界面:第一界面A、第二界面B和第三界面C。在一种可能的实现方式中,用户进行放大拍摄时,当拍摄对象出现在所述第一界面内,所述第三界面C标示出所述第一界面A内显示的拍摄对象在所述第二界面B内的相对位置,方便用户决策取景范围,了解拍摄对象所处方位,便于跟踪拍摄。When using the shooting function, three display interfaces appear on the user interaction interface: the first interface A, the second interface B, and the third interface C. In a possible implementation manner, when the user is zooming in and shooting, when the subject appears in the first interface, the third interface C indicates that the subject displayed in the first interface A is in the first interface. The relative position in the second interface B is convenient for the user to decide the framing range, understand the position of the subject, and facilitate tracking and shooting.
在一实施方式中,图3是根据本发明实施例的拍摄对象移出拍摄界面的取景窗口位置示意图,如图3所示,该方法包括以下步骤。In one embodiment, FIG. 3 is a schematic diagram of the position of the viewfinder window where the subject moves out of the shooting interface according to an embodiment of the present invention. As shown in FIG. 3, the method includes the following steps.
当所述第一界面A中的拍摄对象发生移动或变化,用户没有及时跟上导致拍摄对象移出所述第一界面A,用户可以快速通过所述第二界面B,查看拍摄对象相对于所述第三界面C所处的位置,所述第三界面C标示出了即所述第一界面A显示的取景范围在所述第二界面内的相对位置,通过第二界面,用户可以迅速判断拍摄对象是在所述第三界面C的左边还是右边,或者上边还是下边,从而可以快速找到镜头需要移动的方向,以便及时追踪到拍摄对象,继续抓怕。When the subject in the first interface A moves or changes, and the user fails to keep up in time, causing the subject to move out of the first interface A, the user can quickly go through the second interface B to view the subject relative to the The position of the third interface C. The third interface C indicates the relative position of the viewfinder displayed on the first interface A in the second interface. Through the second interface, the user can quickly determine the shooting Whether the object is on the left or right side of the third interface C, or on the upper or lower side, so that the direction in which the lens needs to be moved can be quickly found, so as to track the subject in time and continue to grasp it.
实施例三Example three
在本实施例中,提供了一种单摄视频录制或拍照方法,图4是根据本发明实施例的单摄拍摄时的取景方法和取景范围示意图,如图4所示,该方法包括。In this embodiment, a single-shot video recording or photographing method is provided. FIG. 4 is a schematic diagram of a framing method and a framing range during single-shot shooting according to an embodiment of the present invention. As shown in FIG. 4, the method includes.
所述单摄拍摄方案中,放大拍摄的方式可以是通过数码变焦,也可以通过其他方式来实现物体的放大拍摄。In the single-shot shooting solution, the zoom-in shooting method may be digital zoom, or other methods may be used to achieve zoom-in shooting of the object.
所述放大拍摄显示第一界面和第二界面,其中,所述第一界面和所述第二界面用于显示第一取景范围和第二取景范围内的拍摄对象,所述第二取景 范围大于所述第一取景范围。The zoomed-in shooting displays a first interface and a second interface, wherein the first interface and the second interface are used to display a subject within a first viewing range and a second viewing range, and the second viewing range is larger than The first viewing range.
图4中的横线表示被拍摄物体即拍摄对象的平面区域,其中A区域是整体成像的全部区域,即所述第一取景范围;B区域是根据用户的放大倍率选择的裁剪区域,也就是用户在拍摄时ZOOM IN后在主界面看到的全局取景范围,即所述第二取景范围。The horizontal line in FIG. 4 represents the plane area of the object being photographed, namely, the area A is the entire imaging area, that is, the first viewing range; the area B is the cropping area selected according to the user's magnification, that is, The global viewing range that the user sees on the main interface after ZOOM IN during shooting is the second viewing range.
所述第一取景范围A和所述第二取景范围B区域显示的原始帧来自于同一个摄像头获取的信息,在图像或视频流软件处理中,需要将A、B两个区域的图像或视频流全部取出,或抽帧后同时取出,并显示在交互区域。The original frames displayed in the first viewing range A and the second viewing range B area come from the information obtained by the same camera. In the image or video stream software processing, the images or videos of the two areas A and B need to be processed. Take out all the streams, or take out the frames at the same time, and display them in the interactive area.
实施例四Example four
在本实施例中,提供了一种多摄视频录制或拍照方法,图5是根据本发明实施例的多摄拍摄时的取景方法和取景范围示意图,如图5所示,该方法包括以下步骤。In this embodiment, a multi-camera video recording or photographing method is provided. FIG. 5 is a schematic diagram of a framing method and a framing range during multi-camera shooting according to an embodiment of the present invention. As shown in FIG. 5, the method includes the following steps .
所述多摄视频录制或拍照方案中,放大拍摄的方式除了通过数码变焦,利用多摄像头的视角差,通过平滑切换不同视角的摄像头来实现光学变焦。In the multi-camera video recording or photographing solution, in addition to digital zoom, the zoom-in shooting method utilizes the angle difference of multiple cameras, and realizes optical zoom by smoothly switching cameras with different angles of view.
在一实施方式中,物理视角较小的摄像头,可以捕捉到放大的拍摄对象,即所述第一取景范围A;物理视角较大的摄像头,可以捕捉到全局范围的景物,即所述第二取景范围B。In one embodiment, a camera with a smaller physical angle of view can capture the zoomed-in object, that is, the first viewing range A; a camera with a larger physical angle of view can capture a scene in the global scope, that is, the second Viewing range B.
在一实施方式中,融合变焦会把物理视角较大的摄像头和物理视角较小的摄像头的独立数码变焦叠加上双摄切换的光学变焦。当用户逐步ZOOM的过程中,达到视角临界点就切换到物理视角较小的摄像头,在物理视角较小的摄像头中再做数码变焦。以此类推,三摄或以上摄像头,均可以初步叠加ZOOM倍率。本技术发明中,如图2所示,横线表示被拍摄物体所在的平面区域,其中所述第二取景范围B区域是整体成像的最大全部区域,即用户在放大拍摄的应用场景中,在所述第二界面中看到的取景范围;所述第一取景范围A区域是根据用户的放大倍率选择的裁剪区域(多摄光变时ZOOM过 程在临界点后会出现A区域和B区域出自不同的摄像头),也就是用户在录像或拍照时ZOOM IN后,在所述第一界面中看到的取景范围。在图像或视频流软件处理中,需要将两个区域的图像或视频流的全部或抽帧后同时取出,显示在交互区域。In one embodiment, the fusion zoom will superimpose the independent digital zoom of a camera with a larger physical angle of view and a camera with a smaller physical angle of view on the dual-camera switching optical zoom. When the user gradually ZOOM, when reaching the critical point of viewing angle, switch to a camera with a smaller physical angle of view, and then perform digital zoom in a camera with a smaller physical angle of view. By analogy, three or more cameras can initially superimpose ZOOM magnification. In the present technical invention, as shown in FIG. 2, the horizontal line represents the plane area where the object to be photographed is located, wherein the second viewing range B area is the largest total area of the overall imaging, that is, in the application scene of the user zooming in and shooting, The viewing range seen in the second interface; the first viewing range A area is a cropped area selected according to the user’s magnification (the ZOOM process will appear after the critical point in the multi-camera light change). Different cameras), that is, the viewing range that the user sees in the first interface after ZOOM IN when recording or taking pictures. In the image or video stream software processing, it is necessary to take out all the images or video streams in the two areas or extract frames at the same time and display them in the interactive area.
图6是根据本发明实施例的取景方法流程图,具体步骤如下。Fig. 6 is a flowchart of a viewfinder method according to an embodiment of the present invention, and the specific steps are as follows.
A101:在单摄方案中,图像或视频流软件处理时,根据用户选择的缩放比例,裁剪对应的图像或视频流。A101: In the single-camera solution, when the image or video stream is processed by software, the corresponding image or video stream is cropped according to the zoom ratio selected by the user.
A102:未裁剪之前的图像或视频流也同时保存。A102: The image or video stream before cropping is also saved at the same time.
A103:计算裁剪之前和裁剪之后的图像或视频流之间的比例。A103: Calculate the ratio between the image or video stream before and after cropping.
B101:在多摄方案中,先判断用户需要使用的所述第一界面和所述第二界面的图像或视频流是否来自同一摄像头;如果是,则按A101-A103的方式处理。B101: In the multi-camera solution, first determine whether the images or video streams of the first interface and the second interface that the user needs to use are from the same camera; if so, proceed in the manner of A101-A103.
B102:如果用户需要使用的所述第一界面和所述第二界面的图像或视频流是来自不同视角的摄像头,则根据用户选择的缩放比例,切换到对应比例的摄像头图像或视频流,并裁剪到对应的大小。B102: If the images or video streams of the first interface and the second interface that the user needs to use are cameras from different perspectives, switch to the corresponding camera image or video stream according to the zoom ratio selected by the user, and Cut to the corresponding size.
B103:计算来自不同视角摄像头的图像或视频流之间的比例。B103: Calculate the ratio between images or video streams from cameras with different viewing angles.
A200:按比例在用户交互界面显示在所述第一界面和所述第二界面。A200: Display on the first interface and the second interface on the user interaction interface in proportion.
实施例五Example five
在本实施例中,提供了一种分屏、双屏或多屏视频录制或方法,图7是根据本发明实施例的分屏或双屏或多屏拍摄取景示意图,如图7所示,该方法包括。In this embodiment, a split-screen, dual-screen or multi-screen video recording or method is provided. FIG. 7 is a schematic diagram of split-screen or dual-screen or multi-screen shooting and framing according to an embodiment of the present invention, as shown in FIG. 7, The method includes.
在一实施方式中,在大屏终端上,可以先进行分屏处理,拍摄时,用户交互显示界面上,所述第二界面可以不和所述第一界面重叠,而是单独显示在大屏分出的另一分屏上,显示范围更大,更方便用户快速把握拍摄对象在 所述第二取景范围内的位置。In one embodiment, on the large-screen terminal, split screen processing may be performed first. When shooting, on the user interactive display interface, the second interface may not overlap with the first interface, but is displayed on the large screen separately. On the other divided screen, the display range is larger, which is more convenient for the user to quickly grasp the position of the shooting object in the second viewfinder range.
在一实施方式中,在双屏或多屏上,可以将其中一个屏幕显示所述第一界面,而所述第二界面则显示在另一张屏上,同样实现更大范围内预览所述第二取景范围,实现对拍摄对象的快速跟踪。In one embodiment, on dual screens or multiple screens, one of the screens may display the first interface, and the second interface may be displayed on the other screen, which also enables a larger preview of the The second viewing range realizes fast tracking of the subject.
实施例六Example Six
在本实施例中,提供了一种视频录制或拍照方法,图8是根据本发明实施例的取景界面随意切换示意图,如图8所示,该方法包括:In this embodiment, a video recording or photographing method is provided. FIG. 8 is a schematic diagram of free switching of a viewfinder interface according to an embodiment of the present invention. As shown in FIG. 8, the method includes:
在一实施方式中,在拍摄时,用户交互显示界面上,新增了所述第二界面B后,所述第一界面A和所述第二界面B两个区域的图像或视频流也可以根据用户拍摄目的需要,进行交互显示。如图8所示,所述第一界面A显示的图像或视频流,与所述第二界面B显示的图像或视频流可以随时变换。In one embodiment, during shooting, after the second interface B is added to the user interactive display interface, the images or video streams in the two areas of the first interface A and the second interface B can also be According to the needs of the user's shooting purposes, interactive display. As shown in FIG. 8, the image or video stream displayed on the first interface A and the image or video stream displayed on the second interface B can be changed at any time.
如图8,在一种可能的实现方式中,用户进行放大拍摄时,所述第一界面A用来追踪拍摄对象,显示所述第一取景范围;所述第二界面B用来确定拍摄对象在所述第二取景范围内的相对位置;此应用场景下,所述第一界面A显示用户想要追踪的拍摄对象。As shown in Fig. 8, in a possible implementation manner, when the user is zooming in and shooting, the first interface A is used to track the subject and display the first viewing range; the second interface B is used to determine the subject The relative position within the second viewing range; in this application scenario, the first interface A displays the photographed object that the user wants to track.
如图9.1或图9.2,在一种可能的实现方式中,用户进行全景拍摄时,所述第一界面A显示所述第一取景范围;所述第二界面B显示所述第二取景范围;此应用场景下,所述第二界面B显示用户想要取景的拍摄对象。As shown in Figure 9.1 or Figure 9.2, in a possible implementation manner, when the user is taking panoramic shots, the first interface A displays the first viewing range; the second interface B displays the second viewing range; In this application scenario, the second interface B displays the subject that the user wants to view.
记录保存的图像或视频流始终是所述第一界面A显示的内容,即保存的拍摄对象可以是放大的裁剪后的图像或视频流,也可以是裁剪前的原始帧。可选地,也可以选择同时保存所述第一界面A和所述第二界面B显示的内容,即裁剪前、后的两路图像或视频流源文件同时保存,便于用户事后根据需要随时编辑切换。The recorded image or video stream is always the content displayed on the first interface A, that is, the saved shooting object may be an enlarged and cropped image or video stream, or an original frame before cropping. Optionally, you can also choose to save the content displayed on the first interface A and the second interface B at the same time, that is, the two image or video stream source files before and after cropping are saved at the same time, so that the user can edit at any time as needed afterwards. Switch.
第三界面C则根据技术实现需要或用户体验需要显示在合适的界面,如图9.1的第二界面或图9.2的第一界面。The third interface C is displayed on a suitable interface according to technical implementation needs or user experience needs, such as the second interface in Figure 9.1 or the first interface in Figure 9.2.
实施例七Example Seven
本发明实施例提供了一种拍摄方法及装置、存储介质、电子装置,图10.1、图10.2、图10.3只是简单的结构示意,不涉及复杂的具体结构设计,本发明实施例提供的拍摄方法包括并适应于所有可以实现该方法的一切终端,不局限于具体的结构要求。The embodiment of the present invention provides a photographing method and device, storage medium, and electronic device. Figures 10.1, 10.2, and 10.3 are only simple structural illustrations and do not involve complex specific structural designs. The photographing methods provided by the embodiments of the present invention include It is suitable for all terminals that can implement this method, and is not limited to specific structural requirements.
图10.1是根据本发明实施例的拍摄装置结构图,包括。Figure 10.1 is a structural diagram of a photographing device according to an embodiment of the present invention, including.
一种拍摄装置,其中,包括拍摄模块,用于获取第一界面与第二界面,并显示所述第一界面与所述第二界面,其中,所述第一界面用于显示第一取景范围内的拍摄对象,所述第二界面用于显示第二取景范围内的拍摄对象,或所述第一界面用于显示所述第二取景范围内的拍摄对象,所述第二界面用于显示所述第一取景范围内的拍摄对象,所述第二取景范围大于所述第一取景范围。A photographing device, which includes a photographing module for acquiring a first interface and a second interface, and displaying the first interface and the second interface, wherein the first interface is used for displaying a first viewfinder range The second interface is used to display the subject in the second viewing range, or the first interface is used to display the subject in the second viewing range, and the second interface is used to display For a subject within the first viewing range, the second viewing range is larger than the first viewing range.
所述第一界面与所述第二界面的获取方法,包括:根据第一比例从终端拍摄的数据获取第一界面,其中,所述第一比例用于指示所述第一取景范围与所述终端的最大取景范围的比例;根据第二比例从终端拍摄的数据获取第二界面,其中,所述第二比例用于指示所述第二取景范围与所述终端的最大取景范围的比例。The method for acquiring the first interface and the second interface includes: acquiring the first interface from data shot by the terminal according to a first ratio, wherein the first ratio is used to indicate that the first viewfinder range and the The ratio of the maximum viewing area of the terminal; the second interface is acquired from the data shot by the terminal according to the second ratio, wherein the second ratio is used to indicate the ratio of the second viewing area to the maximum viewing area of the terminal.
当运用所述拍摄方法的终端具有至少两个摄像头时,所述方法还包括:根据第一比例选取第一摄像头进行拍摄,并从所述第一摄像头拍摄的数据获取第一界面,其中,所述第一比例用于指示所述第一取景范围与所述终端的最大取景范围的比例;所述第一摄像头与所述第二摄像头采用相同或不同的摄像头。When the terminal using the shooting method has at least two cameras, the method further includes: selecting a first camera for shooting according to a first ratio, and acquiring a first interface from the data captured by the first camera, wherein The first ratio is used to indicate the ratio of the first viewing range to the maximum viewing range of the terminal; the first camera and the second camera use the same or different cameras.
所述数据为图像数据或视频流数据。The data is image data or video stream data.
所述显示所述第一界面与所述第二界面,包括:将所述第二界面重叠在所述第一界面之上进行显示,或将所述第一界面与所述第二界面分别显示在 不同区域。The displaying the first interface and the second interface includes: overlaying the second interface on the first interface for display, or displaying the first interface and the second interface separately In different regions.
所述方法还包括:显示第三界面,其中,所述第三界面用于根据预设比例或预设范围显示所述第一取景范围内的拍摄对象;所述第三界面重叠在所述第一或第二界面之上进行显示。The method further includes: displaying a third interface, wherein the third interface is used to display the subject within the first viewing range according to a preset ratio or a preset range; the third interface overlaps the second Display on the first or second interface.
可选的,所述第三界面的显示方式包括动态的或静止不动的。根据本发明的一个实施例,所述第三界面用于根据预设比例或预设范围显示所述第一取景范围内的拍摄对象,或显示拍摄对象的一部分。Optionally, the display mode of the third interface includes dynamic or static. According to an embodiment of the present invention, the third interface is configured to display a photographic subject in the first viewfinder range or a part of the photographic subject according to a preset ratio or a preset range.
可选的,所述显示所述第三界面,还包括:根据所述第一取景范围内的拍摄对象在所述第二取景范围内的拍摄对象中的位置,在所述第二界面之上显示所述第三界面。Optionally, the displaying the third interface further includes: on the second interface according to the position of the subject in the first viewing range in the subject in the second viewing range The third interface is displayed.
所述显示所述第一界面与所述第二界面之后,还包括:存储所述第一界面和/或第二界面内显示的所述拍摄对象。After the display of the first interface and the second interface, the method further includes: storing the photographic object displayed in the first interface and/or the second interface.
图10.2是根据本发明实施例的存储介质结构图,包括。Figure 10.2 is a structure diagram of a storage medium according to an embodiment of the present invention, including.
一种存储介质,其中,所述存储介质中存储有计算机程序,其中,所述计算机程序被设置为运行时执行本发明所述的方法。A storage medium, wherein a computer program is stored in the storage medium, and the computer program is set to execute the method of the present invention when it is running.
具备存储功能的任何存储介质均适应本发明实施例,本发明对存储介质的结构、材质、大小、容量、性能等等,均不做限定。Any storage medium with a storage function is suitable for the embodiment of the present invention, and the present invention does not limit the structure, material, size, capacity, performance, etc. of the storage medium.
能实现本发明所述拍摄方法的计算机程序均适应本发明实施例,本发明对计算机程序的编制方式、撰写方式、程序大小、格式、软件数量、所耗资源、运行时间长短、运行所需的硬件配置、相关软件支持等等,均不做限定。The computer programs that can realize the shooting method of the present invention are all adapted to the embodiments of the present invention. The present invention has regard to the compilation method, writing method, program size, format, quantity of software, resources consumed, length of running time, and the required amount of running of the computer program. Hardware configuration, related software support, etc. are not limited.
图10.3是根据本发明实施例的电子装置结构图,包括。Figure 10.3 is a structural diagram of an electronic device according to an embodiment of the present invention, including.
一种电子装置,包括存储器和处理器,其中,所述存储器中存储有计算机程序,所述处理器被设置为运行所述计算机程序以执行本发明所述的方法。An electronic device includes a memory and a processor, wherein a computer program is stored in the memory, and the processor is configured to run the computer program to execute the method of the present invention.
具备存储功能的任何存储器均适应本发明实施例,本发明对存储器的结构、材质、大小、容量、性能等等,均不做限定。Any memory with a storage function is suitable for the embodiments of the present invention, and the present invention does not limit the structure, material, size, capacity, performance, etc. of the memory.
具备运行计算机程序功能以执行本发明所述方法的任何处理器均适应本 发明实施例,本发明对处理器的结构、材质、大小、容量、性能等等,均不做限定。Any processor that has the function of running a computer program to execute the method of the present invention is suitable for the embodiment of the present invention, and the present invention does not limit the structure, material, size, capacity, performance, etc. of the processor.
能实现本发明所述拍摄方法的计算机程序均适应本发明实施例,本发明对计算机程序的编制方式、撰写方式、程序大小、格式、软件数量、所耗资源、运行时间长短、运行所需的硬件配置、相关软件支持等等,均不做限定。The computer programs that can realize the shooting method of the present invention are all adapted to the embodiments of the present invention. The present invention has regard to the compilation method, writing method, program size, format, quantity of software, resources consumed, length of running time, and the required amount of running of the computer program. Hardware configuration, related software support, etc. are not limited.
此外,本发明实施例还提供了一种计算机程序产品,所述计算机程序产品包括存储在非暂态计算机可读存储介质上的计算机程序,所述计算机程序包括程序指令,当所述程序指令被计算机执行时,使所述计算机执行上述任意方法实施例中的方法。In addition, an embodiment of the present invention also provides a computer program product, the computer program product includes a computer program stored on a non-transitory computer-readable storage medium, the computer program includes program instructions, when the program instructions are When executed by a computer, the computer is caused to execute the method in any of the foregoing method embodiments.
以上所述仅为本发明的优选实施例而已,并不用于限制本发明,对于本领域的技术人员来说,本发明可以有各种更改和变化。凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。The foregoing descriptions are only preferred embodiments of the present invention, and are not used to limit the present invention. For those skilled in the art, the present invention can have various modifications and changes. Any modification, equivalent replacement, improvement, etc., made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (12)

  1. 一种拍摄方法,其中,包括:A shooting method, which includes:
    显示第一界面与第二界面,其中,所述第一界面用于显示第一取景范围内的拍摄对象,所述第二界面用于显示第二取景范围内的拍摄对象,所述第二取景范围大于所述第一取景范围。A first interface and a second interface are displayed, wherein the first interface is used to display a photographed subject in a first viewing range, the second interface is used to display a photographed subject in a second viewing range, and the second viewfinder The range is larger than the first viewing range.
  2. 根据权利要求1所述的方法,其中,所述第一界面与所述第二界面的显示方法,包括:The method according to claim 1, wherein the display method of the first interface and the second interface comprises:
    根据第一比例从终端拍摄的数据获取第一界面并显示,其中,所述第一比例用于指示所述第一取景范围与所述终端的最大取景范围的比例;Acquire and display a first interface from data shot by the terminal according to a first ratio, where the first ratio is used to indicate the ratio of the first viewing area to the maximum viewing area of the terminal;
    根据第二比例从终端拍摄的数据获取第二界面并显示,其中,所述第二比例用于指示所述第二取景范围与所述终端的最大取景范围的比例。The second interface is acquired and displayed from the data shot by the terminal according to the second ratio, where the second ratio is used to indicate the ratio of the second viewing range to the maximum viewing range of the terminal.
  3. 根据权利要求2所述的方法,其中,当运用所述拍摄方法的终端具有至少两个摄像头时,所述方法还包括:The method according to claim 2, wherein when the terminal using the shooting method has at least two cameras, the method further comprises:
    根据第一比例选取第一摄像头进行拍摄,并从所述第一摄像头拍摄的数据获取第一界面,其中,所述第一比例用于指示所述第一取景范围与所述终端的最大取景范围的比例;The first camera is selected for shooting according to the first ratio, and the first interface is obtained from the data shot by the first camera, where the first ratio is used to indicate the first viewing range and the maximum viewing range of the terminal proportion;
    根据第二比例选取第二摄像头进行拍摄,并从所述第二摄像头拍摄的数据获取第二界面,其中,所述第二比例用于指示所述第二取景范围与所述终端的最大取景范围的比例;A second camera is selected for shooting according to a second ratio, and a second interface is obtained from the data captured by the second camera, wherein the second ratio is used to indicate the second viewing range and the maximum viewing range of the terminal proportion;
    所述第一摄像头与所述第二摄像头采用相同或不同的摄像头。The first camera and the second camera use the same or different cameras.
  4. 根据权利要求1所述的方法,其中,所述数据为图像数据或视频流数据。The method according to claim 1, wherein the data is image data or video stream data.
  5. 根据权利要求1所述的方法,其中,所述显示所述第一界面与所述第二界面,包括:The method according to claim 1, wherein said displaying said first interface and said second interface comprises:
    将所述第二界面重叠在所述第一界面之上进行显示。The second interface is superimposed on the first interface for display.
  6. 根据权利要求1所述的方法,其中,所述显示所述第一界面与所述第 二界面,包括:The method according to claim 1, wherein said displaying said first interface and said second interface comprises:
    将所述第一界面与所述第二界面分别显示在不同区域。The first interface and the second interface are respectively displayed in different areas.
  7. 根据权利要求5或6所述的方法,其中,所述方法还包括:The method according to claim 5 or 6, wherein the method further comprises:
    显示第三界面,其中,所述第三界面用于根据预设比例或预设范围显示所述第一取景范围内的拍摄对象;Displaying a third interface, wherein the third interface is used to display a photographic subject in the first viewfinder according to a preset ratio or a preset range;
    所述第三界面重叠在所述第一或第二界面之上进行显示。The third interface overlaps the first or second interface for display.
  8. 根据权利要求7所述的方法,其中,所述显示所述第三界面,还包括:The method according to claim 7, wherein said displaying said third interface further comprises:
    根据所述第一取景范围内的拍摄对象在所述第二取景范围内的拍摄对象中的位置,在所述第二界面之上显示所述第三界面。The third interface is displayed on the second interface according to the position of the shooting object in the first viewing range in the shooting object in the second viewing range.
  9. 根据权利要求1所述的方法,其中,所述显示所述第一界面与所述第二界面之后,还包括:The method according to claim 1, wherein after the displaying the first interface and the second interface, further comprising:
    存储所述第一界面和/或第二界面内显示的所述拍摄对象。Store the photographed object displayed in the first interface and/or the second interface.
  10. 一种拍摄装置,其中,包括:A photographing device, which includes:
    拍摄模块,用于显示所述第一界面与所述第二界面,其中,所述第一界面用于显示第一取景范围内的拍摄对象,所述第二界面用于显示第二取景范围内的拍摄对象,所述第二取景范围大于所述第一取景范围。A photographing module, configured to display the first interface and the second interface, wherein the first interface is used to display a photographed subject in a first viewing range, and the second interface is used to display a second viewing range For shooting objects, the second viewing range is larger than the first viewing range.
  11. 一种存储介质,其中,所述存储介质中存储有计算机程序,其中,所述计算机程序被设置为运行时执行所述权利要求1至9任一项中所述的方法。A storage medium, wherein a computer program is stored in the storage medium, wherein the computer program is configured to execute the method described in any one of claims 1 to 9 when the computer program is run.
  12. 一种电子装置,包括存储器和处理器,其中,所述存储器中存储有计算机程序,所述处理器被设置为运行所述计算机程序以执行所述权利要求1至9任一项中所述的方法。An electronic device, comprising a memory and a processor, wherein a computer program is stored in the memory, and the processor is configured to run the computer program to execute the one described in any one of claims 1 to 9 method.
PCT/CN2020/077854 2019-05-31 2020-03-04 Photographing method and apparatus, storage medium and electronic device WO2020238312A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201910474274.7A CN112019735B (en) 2019-05-31 2019-05-31 Shooting method and device, storage medium and electronic device
CN201910474274.7 2019-05-31

Publications (1)

Publication Number Publication Date
WO2020238312A1 true WO2020238312A1 (en) 2020-12-03

Family

ID=73506444

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/077854 WO2020238312A1 (en) 2019-05-31 2020-03-04 Photographing method and apparatus, storage medium and electronic device

Country Status (2)

Country Link
CN (1) CN112019735B (en)
WO (1) WO2020238312A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114063864A (en) * 2021-11-29 2022-02-18 惠州Tcl移动通信有限公司 Image display method, image display device, electronic equipment and computer readable storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101340520A (en) * 2007-07-03 2009-01-07 佳能株式会社 Image data management apparatus and method, and recording medium
US20100302428A1 (en) * 2009-05-26 2010-12-02 Tetsuya Toyoda Imaging device
CN102197918A (en) * 2010-03-26 2011-09-28 鸿富锦精密工业(深圳)有限公司 System and method for adjusting cosmetic mirror, and cosmetic mirror with the adjusting system
CN103248815A (en) * 2012-02-07 2013-08-14 奥林巴斯映像株式会社 Image pickup apparatus and image pickup method
CN104052931A (en) * 2014-06-27 2014-09-17 宇龙计算机通信科技(深圳)有限公司 Image shooting device, method and terminal
CN107018292A (en) * 2015-09-14 2017-08-04 奥林巴斯株式会社 Camera operation guide device and camera operation bootstrap technique

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5779959B2 (en) * 2011-04-21 2015-09-16 株式会社リコー Imaging device
JP6103526B2 (en) * 2013-03-15 2017-03-29 オリンパス株式会社 Imaging device, image display device, and display control method for image display device
CN106161941B (en) * 2016-07-29 2022-03-11 南昌黑鲨科技有限公司 Automatic double-camera focus tracking method and device and terminal

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101340520A (en) * 2007-07-03 2009-01-07 佳能株式会社 Image data management apparatus and method, and recording medium
US20100302428A1 (en) * 2009-05-26 2010-12-02 Tetsuya Toyoda Imaging device
CN102197918A (en) * 2010-03-26 2011-09-28 鸿富锦精密工业(深圳)有限公司 System and method for adjusting cosmetic mirror, and cosmetic mirror with the adjusting system
CN103248815A (en) * 2012-02-07 2013-08-14 奥林巴斯映像株式会社 Image pickup apparatus and image pickup method
CN104052931A (en) * 2014-06-27 2014-09-17 宇龙计算机通信科技(深圳)有限公司 Image shooting device, method and terminal
CN107018292A (en) * 2015-09-14 2017-08-04 奥林巴斯株式会社 Camera operation guide device and camera operation bootstrap technique

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114063864A (en) * 2021-11-29 2022-02-18 惠州Tcl移动通信有限公司 Image display method, image display device, electronic equipment and computer readable storage medium

Also Published As

Publication number Publication date
CN112019735A (en) 2020-12-01
CN112019735B (en) 2023-01-17

Similar Documents

Publication Publication Date Title
JP5040760B2 (en) Image processing apparatus, imaging apparatus, display control method, and program
RU2415513C1 (en) Image recording apparatus, image recording method, image processing apparatus, image processing method and programme
JP5706654B2 (en) Imaging device, image display method and program
WO2018214707A1 (en) Method and device for outputting and examining video frame
CN103986867A (en) Image shooting terminal and image shooting method
JP6370140B2 (en) Zoom control device, imaging device, control method for zoom control device, control program for zoom control device, and storage medium
WO2012132204A1 (en) Imaging device, photographing guide displaying method for imaging device, and non-transitory computer readable medium
CN109688321B (en) Electronic equipment, image display method thereof and device with storage function
TWI229548B (en) Image pickup apparatus, photographing method, and storage medium recording photographing method
CN103841326A (en) Video recording method and device
US8947558B2 (en) Digital photographing apparatus for multi-photography data and control method thereof
JP2009272840A (en) Image recording/reproducing device, image recording/reproducing method, image processing device, and image processing method
JP6643036B2 (en) Zoom control device, control method for zoom control device, control program for zoom control device, and storage medium
KR20150131668A (en) Generating method for multiview image using interface with image matrix and generating system for multiview image
WO2022111330A1 (en) Image stitching method and apparatus for multi-camera device, storage medium, and terminal
JP2005027284A (en) Image pickup apparatus, image pickup method and image pickup program
WO2020238312A1 (en) Photographing method and apparatus, storage medium and electronic device
JP2006020111A (en) Camera
JP2005295418A (en) Image pickup device and image pickup and display method
JP2019022026A (en) Imaging apparatus
CN106488128B (en) Automatic photographing method and device
KR100579135B1 (en) Method for capturing convergent-type multi-view image
JP6836306B2 (en) Imaging control device, its control method, program and recording medium
JP2012088564A (en) Imaging apparatus, imaging method, and program
WO2013065642A1 (en) Image processing device

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 20814388

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20814388

Country of ref document: EP

Kind code of ref document: A1

122 Ep: pct application non-entry in european phase

Ref document number: 20814388

Country of ref document: EP

Kind code of ref document: A1

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 13-05-2022)

122 Ep: pct application non-entry in european phase

Ref document number: 20814388

Country of ref document: EP

Kind code of ref document: A1