WO2022001733A1 - Method and device for displaying photographing object, storage medium, and terminal - Google Patents

Method and device for displaying photographing object, storage medium, and terminal Download PDF

Info

Publication number
WO2022001733A1
WO2022001733A1 PCT/CN2021/101324 CN2021101324W WO2022001733A1 WO 2022001733 A1 WO2022001733 A1 WO 2022001733A1 CN 2021101324 W CN2021101324 W CN 2021101324W WO 2022001733 A1 WO2022001733 A1 WO 2022001733A1
Authority
WO
WIPO (PCT)
Prior art keywords
display area
change information
image display
image
photographed object
Prior art date
Application number
PCT/CN2021/101324
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 WO2022001733A1 publication Critical patent/WO2022001733A1/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/80Camera processing pipelines; Components thereof
    • 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/60Control of cameras or camera modules
    • H04N23/69Control of means for changing angle of the field of view, e.g. optical zoom objectives or electronic zooming

Definitions

  • the embodiments of the present application relate to the field of communications, and in particular, to a method and device for displaying a photographed object, a storage medium, and a terminal.
  • high-magnification zoom (ZOOM for short) is more popular, and mobile phones with a zoom configuration of 20 times, 30 times, 50 times, or even higher magnifications are constantly appearing.
  • ZOOM high-magnification zoom
  • Embodiments of the present application provide a method and device for displaying a photographed object, a storage medium, and a terminal, so as to at least solve the problem in the related art that the photographed object easily jumps out of the view area.
  • a method for displaying a photographed object including:
  • a display device for photographing an object including:
  • a first determining module configured to determine the change information of the photographed object in the image display area in the image display area
  • An adjustment module configured to adjust the display position of the shooting object in the image display area according to the change information, so that the shooting object is displayed in a first display position, wherein the first display position includes: a preset The set display position, or the previous display position of the shooting object.
  • a computer-readable storage medium is also provided, and a computer program is stored in the computer-readable storage medium, wherein the computer program is configured to execute any one of the above methods when running steps in the examples.
  • a terminal 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 any one of the above methods steps in the examples.
  • FIG. 1 is a block diagram of a hardware structure of a mobile terminal according to a method for displaying a photographed object according to an embodiment of the present application;
  • FIG. 2 is a flowchart of a method for displaying a photographed object according to an embodiment of the present application
  • FIG. 3 is a structural block diagram of a display device for photographing an object according to an embodiment of the present application.
  • FIG. 4 is a schematic flowchart of a photographing method according to an exemplary embodiment of the present application.
  • FIG. 5 is a structural block diagram of a photographing apparatus according to an exemplary embodiment of the present application.
  • FIG. 6 is a schematic diagram of a user operation flow according to an exemplary embodiment of the present application.
  • FIG. 7 is a schematic diagram of display adjustment according to an example embodiment of the present application.
  • FIG. 1 is a hardware structural block diagram of a mobile terminal according to a method for displaying a photographed object according to an embodiment of the present application.
  • the mobile terminal may include one or more (only one is shown in FIG.
  • processor 102 may include, but is not limited to, a processing device such as a microprocessor MCU or a programmable logic device FPGA) and a memory 104 configured to store data, wherein the above-mentioned mobile terminal may further include a transmission device 106 and an input/output device 108 configured as a communication function.
  • a processing device such as a microprocessor MCU or a programmable logic device FPGA
  • a memory 104 configured to store data
  • the above-mentioned mobile terminal may further include a transmission device 106 and an input/output device 108 configured as a communication function.
  • FIG. 1 is only a schematic diagram, which does not limit the structure of the above-mentioned mobile terminal.
  • the mobile terminal may also include more or fewer components than those shown in FIG. 1 , or have a different configuration than that shown in FIG. 1 .
  • the memory 104 may be configured to store computer programs, for example, software programs and modules of application software, such as computer programs corresponding to the method for displaying the photographed object in the embodiments of the present application, and the processor 102 runs the computer programs stored in the memory 104, Thereby, various functional applications and data processing are performed, that is, the above-mentioned method is realized.
  • Memory 104 may include high-speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory.
  • the memory 104 may further include memory located remotely from the processor 102, and these remote memories may be connected to the mobile terminal through a network. Examples of such networks include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
  • Transmission means 106 are arranged to receive or transmit data via a network.
  • the specific example of the above-mentioned network may include a wireless network provided by a communication provider of the mobile terminal.
  • the transmission device 106 includes a network adapter (Network Interface Controller, NIC for short), which can be connected to other network devices through a base station so as to communicate with the Internet.
  • the transmission device 106 may be a radio frequency (Radio Frequency, RF for short) module, which is configured to communicate with the Internet in a wireless manner.
  • RF Radio Frequency
  • FIG. 2 is a flowchart of a method for displaying a photographed object according to an embodiment of the present application. As shown in FIG. 2 , the process It includes the following steps:
  • Step S202 determining the change information of the shooting object in the image display area in the image display area;
  • Step S204 adjusting the display position of the shooting object in the image display area according to the change information, so that the shooting object is displayed in a first display position, wherein the first display position shown includes: a preset display position, or , the previous display position of the shooting object.
  • the change information of the photographed object in the image display area is determined; the display position of the photographed object in the image display area is adjusted according to the change information, so that the photographed object is displayed in the first image display area. Therefore, the problem in the related art that the shooting object easily jumps out of the view area can be solved, and the technical effect of improving the stability of the shooting picture can be achieved.
  • the change information may refer to the display situation of the photographed object in the display area in the current frame image (which may be a pre-estimated display situation, such as the display situation that is predetermined to be displayed before the actual display) compared with the previous display situation.
  • the display position of the photographed object can be adjusted by moving the photographed object, and the size of the display area of the photographed object can be adjusted by zooming the photographed object.
  • the display position before the photographed object in this embodiment may be the display position of the photographed object in the previous frame in the image display area.
  • the previous frame may be the previous frame of the current frame or a certain previous frame (specifically, several frames may be predefined). It should be noted that, since the purpose of this embodiment is to keep the shooting object in a stable position as much as possible, there should not be an excessive number of frames between the previous frame and the current frame, so as to prevent the change information of the shooting object from being more obvious, thereby After being adjusted by the stability enhancement, there are obvious phenomena similar to frame skipping and display stuck.
  • the execution subject of the above steps may be a mobile terminal, a photographing device, etc., but is not limited thereto.
  • the method before adjusting the display position of the photographed object in the image display area according to the change information, the method further includes: acquiring a photographed image including the photographed object, wherein the photographed image is The image area is larger than the image display area; the above-mentioned adjusting the display position of the photographed object in the image display area according to the change information includes: processing the photographed image according to the change information, so that the photographed object is displayed in the first Display location.
  • the acquisition of the photographed image including the photographed object may be generated by acquisition by a camera.
  • the processing includes at least one of the following: zooming out the captured image, zooming in the captured image, moving the captured image, zooming out a part of the captured image, zooming in on a part of the captured image, Move part of the captured image.
  • the determining the change information of the photographed object in the image display area in the image display area includes: using the previously determined change information of the photographed object in the image display area as the current the change information.
  • taking the previously determined change information of the shooting object in the image display area as the current change information is equivalent to adjusting the current frame image with reference to the change information of a previous frame; or, In other words, the current frame image is processed in the same or similar manner with reference to the processing method of a previous frame image.
  • the first display position is a desired stable position, that is, the first display position of the photographing object may not only be preset, for example, no matter what frame it is, it moves toward the area pre-defined by the user; the first display position
  • the position can also be the relatively initial position of the subject, that is, the subsequent frame can also take the position of the subject in the previous frame as the adjustment target (that is, the subject is kept in the same position as before), which can also play a stable role. Effect.
  • the determining the change information of the photographed object in the image display area in the image display area includes at least one of the following:
  • the change information of the photographed object in the image display area in the image display area is determined according to the change information of the photographing apparatus
  • the change information of the photographing apparatus is determined by a sensor.
  • the method before determining the change information of the photographed object in the image display area in the image display area according to the change information of the photographing device, the method further includes: determining that the photographing device has performed Irregular movement. It should be noted that sometimes the user may have moved the shooting device actively, and sometimes the user may have moved the shooting device due to the shaking of the hand. The movement caused by the hand shaking is usually irregular. If there is no irregular movement, it means that in the high-magnification ZOOM mode, the subject is likely to jump out of the image display area, so it is necessary to ensure that the subject can always be displayed in the preset display area.
  • the change information of the photographed object in the image display area in the image display area is determined according to the change of the display position of the photographed object in the image display area, through the current frame
  • the difference between the display position of the photographed object in the image display area and the first display position in the image display area in the image determines the display position change information of the photographed object in the image display area.
  • the The method before adjusting the display position of the photographed object in the image display area according to the change information, and the first display position includes the preset display position, the The method further includes determining the preset display position in response to input information indicating the preset display position. It should be noted that the user may input input information for indicating the preset display position through the photographing device or the terminal, and the photographing device or the terminal may determine the preset display position according to the input information.
  • the method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course can also be implemented by hardware, but in many cases the former is better implementation.
  • the technical solution of the present application can be embodied in the form of a software product in essence or in a part that contributes to the prior art, and the computer software product is stored in a storage medium (such as ROM/RAM, magnetic disk, CD-ROM), including several instructions to make a terminal device (which may be a mobile phone, a computer, a server, or a network device, etc.) execute the methods described in the various embodiments of this application.
  • a storage medium such as ROM/RAM, magnetic disk, CD-ROM
  • a display device for a photographed object is also provided, and the device is used to implement the above-mentioned embodiments and preferred implementations, and the descriptions that have been described will not be repeated.
  • the term "module” may be a combination of software and/or hardware that implements a predetermined function.
  • the apparatus described in the following embodiments is preferably implemented in software, implementations in hardware, or a combination of software and hardware, are also possible and contemplated.
  • FIG. 3 is a structural block diagram of a display device for a photographed object according to an embodiment of the present application. As shown in FIG. 3 , the device includes:
  • the first determination module 31 is configured to determine the change information of the photographed object in the image display area in the image display area;
  • the adjustment module 33 is configured to adjust the display position of the shooting object in the image display area according to the change information, so that the shooting object is displayed in a first display position, wherein the first display position includes: a preset display position , or, where the subject was previously displayed.
  • the change information of the photographed object in the image display area is determined; the display position of the photographed object in the image display area is adjusted according to the change information, so that the photographed object is displayed in the first image display area. Therefore, the problem in the related art that the shooting object easily jumps out of the view area can be solved, and the technical effect of improving the stability of the shooting picture can be achieved.
  • the apparatus further includes: an acquisition module configured to acquire, before adjusting the display position of the photographed object in the image display area according to the change information The photographed image including the photographed object, wherein the image area of the photographed image is larger than the image display area; the above-mentioned adjustment module 33 is also set to process the photographed image according to the change information, so that the photographed object is displayed in the The first display position.
  • the processing includes at least one of the following: zooming out the captured image, zooming in the captured image, moving the captured image, zooming out a part of the captured image, zooming in on a part of the captured image, Move part of the captured image.
  • the determining the change information of the photographed object in the image display area in the image display area includes: using the previously determined change information of the photographed object in the image display area as the current the change information.
  • the above-mentioned first determination module 31 is further configured to determine the change information of the photographed object in the image display area in the image display area according to the change information of the photographing device; or, the above-mentioned first A determination module 31 is further configured to determine the change information of the photographed object in the image display area in the image display area according to the change information of the display position of the photographed object in the image display area.
  • the above-mentioned first determining module 31 is further configured to determine, according to the change information of the photographing device, the change information of the photographed object in the image display area in the image display area, through The sensor determines the change information of the photographing device.
  • the above-mentioned first determining module 31 is further configured to, before determining the change information of the photographed object in the image display area in the image display area according to the change information of the photographing device, determine The filming device has made erratic movements.
  • the above-mentioned first determining module 31 is further configured to determine that the photographed object in the image display area is in the image display area according to the change of the display position of the photographed object in the image display area
  • the display of the shooting object in the image display area is determined by the difference between the display position of the shooting object in the image display area and the first display position in the image display area in the current frame image Location change information.
  • the apparatus further includes: a second determination module, configured to adjust the display position of the photographed object in the image display area according to the change information, and the first display position includes In the case of the preset display position, the preset display position is determined in response to input information indicating the preset display position.
  • the above modules can be implemented by software or hardware, and the latter can be implemented in the following ways, but not limited to this: the above modules are all located in the same processor; or, the above modules can be combined in any combination The forms are located in different processors.
  • This embodiment provides a method for displaying a photographed object.
  • the method includes the following steps: calculating the moving state of the view through the state of the photographing device recorded by the sensor of the mobile phone; According to the moving state of the view, adjust the view displayed in the display area, and adjust the object selected by the user to the center of the view or the specified position.
  • view can refer to the image displayed in a fixed display area
  • the state of view movement can refer to the change of the position of the photographed object in different views, for example, in the two views, the position of the photographed object in Figure A is area a; the position of the subject in Figure B is area b, and the positions of area a and area b in the view are different, indicating that the position of the subject has changed.
  • the method can solve the problem that it is difficult for the user to capture the photographed object when the user uses the high magnification zoom (ZOOM in English) to photograph.
  • the "camera” in this embodiment may refer to a separate shooting device, or may be a shooting structure on a terminal.
  • FIG. 4 is a schematic flowchart of a shooting method according to an example implementation of the present application. As shown in FIG. 4 , the specific method is as follows:
  • the camera acquires picture data, wherein the photographing area of the acquired picture data is larger than the screen display area, that is, when photographing, the camera collects the image, and the display area of the image generated by the image generation chip in the camera is larger than that displayed on the screen of the terminal.
  • the display area displays part of the content of the image; the position of the subject can be detected by the sensor to determine the camera shake state; stability enhancement processing is performed, such as adjusting the content displayed in the display area, so that the subject is displayed in the display area. Preset area.
  • the preset area in this embodiment may be a fixed area set in the shooting mode, for example, the center of the display area; it may also be an area designated by the user, for example, the terminal can use the
  • the display screen receives the user's operation of specifying the preset area.
  • the preset area can be specified by swiping the mobile phone screen or tapping the mobile phone screen. For example, if it is detected that the user clicks or swipes the screen, an area with a preset size and a preset shape around the click or swipe position is taken as the "preset area" in this embodiment.
  • the current display content can be adjusted according to the position and size of the shooting object, for example, by moving or zooming the photographed image obtained by the camera, to change the current display content.
  • stability enhancement processing may be performed on each frame of view, that is, the change information of the photographed object in the image display area in the image display area is determined; The display position in the image display area, so that the photographed object is displayed in the preset display position.
  • the photographed object in the photographed image of the current frame ie, the image generated by the camera
  • the photographed image of the current frame may also be processed every certain number of frames, so that the photographed object in the image of the current frame is displayed in a preset area in the view.
  • a certain number (the number can be predefined) of photographed image frames that follow the photographed image of this frame are consecutive.
  • the same or similar processing as the photographed image of the frame can be adopted. For example, if the photographed image of a certain frame is scaled by 0.9 times, then the consecutive N after the photographed image of the frame (N is a positive integer, which can be predefined ) frame photographed images are also scaled by 0.9 times or close to 0.9 times.
  • the differences in the image content of consecutive frames are not particularly large, and they are usually similar images; in order to save computing resources and improve processing speed, the same or similar processing methods are used for similar images, which can be done with less The amount of calculation to achieve a better processing effect.
  • Mobile phone status confirmation To confirm whether the camera shake is caused by the user's hand instability or the user intentionally moves to shoot, you can use the sensor or detect the position of the subject to confirm the camera movement status, whether it is moving irregularly or regularly, when the irregularity feature is greater than a certain A preset threshold value is determined to be caused by the user's hand shaking, and the above-mentioned stability enhancement processing is performed.
  • the photographing or video saving data may be data in the display area of the user's screen
  • Determine the user's shooting object scheme for example, setting common objects as the default shooting objects, such as buildings, signs, portraits, etc.; another example, the user selects an object as the shooting object through the display screen; another example, the user selects an area as the shooting object through a frame.
  • Subject recognition can be done by edge detection or comparison of area color or area brightness.
  • the display content adjustment may perform stability enhancement processing for each frame, or may perform stability enhancement processing every N frames, or when the mobile phone shake causes the shooting object to deviate from the original position by more than a certain threshold, Stability enhancement treatment.
  • N is an integer greater than or equal to 1.
  • the display positioning information of the previous frame is applied to a certain frame before display adjustment.
  • FIG. 5 is a structural block diagram of a photographing apparatus according to an exemplary embodiment of the present application.
  • the apparatus includes an image acquisition unit, a display data adjustment unit, and a camera.
  • the image acquisition unit may include a camera camera assembly
  • Camera state discrimination unit It can include sensors such as gyroscope or acceleration; or a software module that detects the movement of the object;
  • User operation unit It is a user operation device or a device that receives user operations.
  • Mobile phones are generally touch screens at present; in this solution, the user can select the shooting object by operating the screen;
  • Display data adjustment unit may include a device display device
  • Data storage unit may include a storage hardware module and a picture or video encoding module.
  • FIG. 6 is a schematic diagram of a user operation flow according to an example embodiment of the present application.
  • the user operation flow includes: the user operation flow is to turn on the camera, the camera to display a scene image, and to determine the user’s shooting object. , Enable stability enhancement, stability enhancement display, shooting or video recording, and saving.
  • the user's photographing object is determined: one of the following three methods can be used:
  • Set common objects as default shooting objects, such as buildings, signs, portraits, etc.;
  • the user selects the object as the shooting object through the display screen
  • the user selects the area as a photographing object by a frame.
  • the flow of the stabilization enhancement method for example, the flow of stabilization enhancement processing for a certain frame, includes: the camera obtains picture data, wherein the camera obtains the photographing area that is larger than the user's screen display area, that is, the screen display is only a display
  • the camera obtains part of the picture information; it determines the state of the mobile phone, among which, to confirm whether the camera shake is caused by the user's hand instability or the user intentionally moves to shoot, you can use the sensor or detect the position of the shooting object to confirm the camera's motion state, whether it is irregular movement or not.
  • Regular movement when the irregular feature is greater than a certain threshold, it is determined that the user's hand shake is caused; the above stability enhancement processing is performed; otherwise, the display adjustment is not performed, and the display process is directly entered.
  • FIG. 7 is a schematic diagram of display adjustment according to an exemplary embodiment of the present application, as shown in FIG. 7 , area A is the image capturing area of the camera; area B is the display area of the camera; O1 is the area of the shooting object in the previous frame , as shown in FIG. 7 , the shooting object in the previous frame is located in the preset area; the C area is the shooting object preset area, and the area can be calculated according to the O1 area; O2 is the shooting object area in the current frame. As shown in Fig.
  • the display adjustment data is: the display content (mainly the shooting object) needs to move to the preset area d of the shooting object, then the display content of this frame image is relative to the above A frame needs to be moved d in the direction of the preset area so that the subject can be displayed within the preset area.
  • the image data obtained by the camera can be zoomed, and the size of O2 can be adjusted to the preset size of the shooting object. value range.
  • stability enhancement processing may be performed on an image of a certain frame; the stabilization enhancement scheme may perform stability enhancement processing for each frame, or may perform stability enhancement processing every N frames, where N is greater than An integer equal to 1. Or when the mobile phone shakes and causes the subject to deviate from the original position by more than a certain threshold, stability enhancement processing is performed.
  • the display positioning information of the previous frame (equivalent to the "change information" in the above-mentioned embodiment) is applied to a certain frame before display adjustment.
  • Adjust the display content adjust according to the determined display adjustment data, and then display the adjusted display content.
  • Embodiments of the present application further provide a computer-readable storage medium, where a computer program is stored in the computer-readable storage medium, wherein the computer program is configured to execute the steps in any one of the above method embodiments when running.
  • the above-mentioned computer-readable storage medium may include, but is not limited to, a USB flash drive, a read-only memory (Read-Only Memory, referred to as ROM for short), and a random access memory (Random Access Memory, referred to as RAM for short) , mobile hard disk, magnetic disk or CD-ROM and other media that can store computer programs.
  • ROM Read-Only Memory
  • RAM Random Access Memory
  • Embodiments of the present application further provide a terminal, including a memory and a processor, where a computer program is stored in the memory, and the processor is configured to run the computer program to execute the steps in any of the above method embodiments.
  • the above-mentioned electronic device may further include a transmission device and an input-output device, wherein the transmission device is connected to the above-mentioned processor, and the input-output device is connected to the above-mentioned processor.
  • modules or steps of the present application can be implemented by a general-purpose computing device, and they can be centralized on a single computing device, or distributed in a network composed of multiple computing devices
  • they can be implemented in program code executable by a computing device, so that they can be stored in a storage device and executed by the computing device, and in some cases, can be performed in a different order than shown here.
  • the described steps, or they are respectively made into individual integrated circuit modules, or a plurality of modules or steps in them are made into a single integrated circuit module to realize.
  • the present application is not limited to any particular combination of hardware and software.

Abstract

Provided in embodiments of the present invention are a method and device for displaying a photographing object, a storage medium, and a terminal. The method comprises: determining changed information of a photographing object that has changed within an image display region; and adjusting, according to the changed information, a display position of the photographing object in the image display region, such that the photographing object is displayed at a first display position.

Description

一种拍摄对象的显示方法及装置、存储介质、终端A method and device for displaying a photographed object, a storage medium, and a terminal 技术领域technical field
本申请实施例涉及通信领域,具体而言,涉及一种拍摄对象的显示方法及装置、存储介质、终端。The embodiments of the present application relate to the field of communications, and in particular, to a method and device for displaying a photographed object, a storage medium, and a terminal.
背景技术Background technique
相关技术中,相机拍照高倍缩放(简称ZOOM)比较流行,20倍、30倍、50倍甚至更高倍数的ZOOM配置的手机不断出现。对用手持用户来说,高倍ZOOM(即超过10倍)很难让拍摄画面保持稳定,拍摄的对象经常会跳出视图区,这给拍摄过程造成了影响。In the related art, high-magnification zoom (ZOOM for short) is more popular, and mobile phones with a zoom configuration of 20 times, 30 times, 50 times, or even higher magnifications are constantly appearing. For handheld users, it is difficult to keep the shooting picture stable at high zoom (that is, more than 10 times), and the shooting subject often jumps out of the view area, which affects the shooting process.
发明内容SUMMARY OF THE INVENTION
本申请实施例提供了一种拍摄对象的显示方法及装置、存储介质、终端,以至少解决相关技术中拍摄对象容易跳出视图区的问题。Embodiments of the present application provide a method and device for displaying a photographed object, a storage medium, and a terminal, so as to at least solve the problem in the related art that the photographed object easily jumps out of the view area.
根据本申请的一个实施例,提供了一种拍摄对象的显示方法,包括:According to an embodiment of the present application, a method for displaying a photographed object is provided, including:
确定图像显示区域内的拍摄对象在所述图像显示区域内的变化信息;determining the change information of the photographed object in the image display area in the image display area;
根据所述变化信息调整所述拍摄对象在所述图像显示区域内的显示位置,以使所述拍摄对象显示在第一显示位置,其中,所示第一显示位置包括:预设的显示位置,或,所述拍摄对象之前的显示位置。Adjust the display position of the shooting object in the image display area according to the change information, so that the shooting object is displayed in a first display position, wherein the first display position includes: a preset display position, Or, the previous display position of the photographed object.
根据本申请的另一个实施例,提供了一种拍摄对象的显示装置,包括:According to another embodiment of the present application, a display device for photographing an object is provided, including:
第一确定模块,设置为确定图像显示区域内的拍摄对象在所述图像显示区域内的变化信息;a first determining module, configured to determine the change information of the photographed object in the image display area in the image display area;
调整模块,设置为根据所述变化信息调整所述拍摄对象在所述图像显示区域内的显示位置,以使所述拍摄对象显示在第一显示位置,其中,所示第一显示位置包括:预设的显示位置,或,所述拍摄对象之前的显示位置。An adjustment module, configured to adjust the display position of the shooting object in the image display area according to the change information, so that the shooting object is displayed in a first display position, wherein the first display position includes: a preset The set display position, or the previous display position of the shooting object.
根据本申请的又一个实施例,还提供了一种计算机可读存储介质,所述计算机可读存储介质中存储有计算机程序,其中,所述计算机程序被设置为运行时执行上述任一项方法实施例中的步骤。According to yet another embodiment of the present application, a computer-readable storage medium is also provided, and a computer program is stored in the computer-readable storage medium, wherein the computer program is configured to execute any one of the above methods when running steps in the examples.
根据本申请的又一个实施例,还提供了一种终端,包括存储器和处理器,所述存储器中存储有计算机程序,所述处理器被设置为运行所述计算机程序以执行上述任一项方法实施例中的步骤。According to yet another embodiment of the present application, a terminal is also provided, 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 any one of the above methods steps in the examples.
附图说明Description of drawings
图1是根据本申请实施例的一种拍摄对象的显示方法的移动终端的硬件结构框图;1 is a block diagram of a hardware structure of a mobile terminal according to a method for displaying a photographed object according to an embodiment of the present application;
图2是根据本申请实施例的拍摄对象的显示方法的流程图;2 is a flowchart of a method for displaying a photographed object according to an embodiment of the present application;
图3是根据本申请实施例的拍摄对象的显示装置的结构框图;3 is a structural block diagram of a display device for photographing an object according to an embodiment of the present application;
图4是根据本申请示例实施方式的拍摄方法的流程示意图;4 is a schematic flowchart of a photographing method according to an exemplary embodiment of the present application;
图5是根据本申请示例实施方式的拍摄装置的结构框图;FIG. 5 is a structural block diagram of a photographing apparatus according to an exemplary embodiment of the present application;
图6是根据本申请示例实施方式的用户操作流程示意图;FIG. 6 is a schematic diagram of a user operation flow according to an exemplary embodiment of the present application;
图7是根据本申请示例实施方式的显示调整示意图。FIG. 7 is a schematic diagram of display adjustment according to an example embodiment of the present application.
具体实施方式detailed description
下文中将参考附图并结合实施例来详细说明本申请的实施例。Hereinafter, the embodiments of the present application will be described in detail with reference to the accompanying drawings and in conjunction with the embodiments.
需要说明的是,本申请的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。It should be noted that the terms "first", "second", etc. in the description and claims of the present application and the above drawings are used to distinguish similar objects, and are not necessarily used to describe a specific sequence or sequence.
本申请实施例中所提供的方法实施例可以在移动终端、拍摄终端、计算机终端或者类似的运算装置中执行。以运行在移动终端上为例,图1是本申请实施例的一种拍摄对象的显示方法的移动终端的硬件结构框图。如图1所示,移动终端可以包括一个或多个(图1中仅示出一个)处理器102(处理器102可以包括但不限于微处理器MCU或可编程逻辑器件FPGA等的处理装置)和设置为存储数据的存储器104,其中,上述移动终端还可以包括设置为通信功能的传输设备106以及输入输出设备108。本领域普通技术人员可以理解,图1所示的结构仅为示意,其并不对上述移动终端的结构造成限定。例如,移动终端还可包括比图1中所示更多或者更少的组件,或者具有与图1所示不同的配置。The method embodiments provided in the embodiments of the present application may be executed in a mobile terminal, a photographing terminal, a computer terminal, or a similar computing device. Taking running on a mobile terminal as an example, FIG. 1 is a hardware structural block diagram of a mobile terminal according to a method for displaying a photographed object according to an embodiment of the present application. As shown in FIG. 1 , the mobile terminal may include one or more (only one is shown in FIG. 1 ) processor 102 (the processor 102 may include, but is not limited to, a processing device such as a microprocessor MCU or a programmable logic device FPGA) and a memory 104 configured to store data, wherein the above-mentioned mobile terminal may further include a transmission device 106 and an input/output device 108 configured as a communication function. Those of ordinary skill in the art can understand that the structure shown in FIG. 1 is only a schematic diagram, which does not limit the structure of the above-mentioned mobile terminal. For example, the mobile terminal may also include more or fewer components than those shown in FIG. 1 , or have a different configuration than that shown in FIG. 1 .
存储器104可设置为存储计算机程序,例如,应用软件的软件程序以及模块,如本申请实施例中的拍摄对象的显示方法对应的计算机程序,处理器102通过运行存储在存储器104内的计算机程序,从而执行各种功能应用以及数据处理,即实现上述的方法。存储器104可包括高速随机存储器,还可包括非易失性存储器,如一个或者多个磁性存储装置、闪存、或者其他非易失性固态存储器。在一些实例中,存储器104可进一步包括相对于处理器102远程设置的存储器,这些远程存储器可以通过网络连接至移动终端。上述网络的实例包括但不限于互联网、企业内部网、局域网、移动通信网及其组合。The memory 104 may be configured to store computer programs, for example, software programs and modules of application software, such as computer programs corresponding to the method for displaying the photographed object in the embodiments of the present application, and the processor 102 runs the computer programs stored in the memory 104, Thereby, various functional applications and data processing are performed, that is, the above-mentioned method is realized. Memory 104 may include high-speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, the memory 104 may further include memory located remotely from the processor 102, and these remote memories may be connected to the mobile terminal through a network. Examples of such networks include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
传输装置106设置为经由一个网络接收或者发送数据。上述的网络具体实例可包括移动终端的通信供应商提供的无线网络。在一个实例中,传输装置106包括一个网络适配器(Network Interface Controller,简称为NIC),其可通过基站与其他网络设备相连从而可与互联网进行通讯。在一个实例中,传输装置106可以为射频(Radio Frequency,简称为RF)模块,其设置为通过无线方式与互联网进行通讯。Transmission means 106 are arranged to receive or transmit data via a network. The specific example of the above-mentioned network may include a wireless network provided by a communication provider of the mobile terminal. In one example, the transmission device 106 includes a network adapter (Network Interface Controller, NIC for short), which can be connected to other network devices through a base station so as to communicate with the Internet. In one example, the transmission device 106 may be a radio frequency (Radio Frequency, RF for short) module, which is configured to communicate with the Internet in a wireless manner.
在本实施例中提供了一种运行于上述移动终端或拍摄终端的拍摄对象的显示方法,图2是根据本申请实施例的拍摄对象的显示方法的流程图,如图2所示,该流程包括如下步骤:This embodiment provides a method for displaying a photographed object running on the above-mentioned mobile terminal or a photographing terminal. FIG. 2 is a flowchart of a method for displaying a photographed object according to an embodiment of the present application. As shown in FIG. 2 , the process It includes the following steps:
步骤S202,确定图像显示区域内的拍摄对象在该图像显示区域内的变化信息;Step S202, determining the change information of the shooting object in the image display area in the image display area;
步骤S204,根据该变化信息调整该拍摄对象在该图像显示区域内的显示位置,以使该拍摄对象显示在第一显示位置,其中,所示第一显示位置包括:预设的显示位置,或,所述拍摄对象之前的显示位置。Step S204, adjusting the display position of the shooting object in the image display area according to the change information, so that the shooting object is displayed in a first display position, wherein the first display position shown includes: a preset display position, or , the previous display position of the shooting object.
通过上述步骤,由于确定图像显示区域内的拍摄对象在该图像显示区域内的变化信息;根据该变化信息调整该拍摄对象在该图像显示区域内的显示位置,以使该拍摄对象显示在第一显示位置,因此,可以解决相关技术中拍摄对象容易跳出视图区的问题,达到提高拍摄画面稳定性的技术效果。Through the above steps, since the change information of the photographed object in the image display area is determined; the display position of the photographed object in the image display area is adjusted according to the change information, so that the photographed object is displayed in the first image display area. Therefore, the problem in the related art that the shooting object easily jumps out of the view area can be solved, and the technical effect of improving the stability of the shooting picture can be achieved.
需要说明的是,变化信息可以指,当前帧图像中拍摄对象在显示区域内的显示情况(可以是预先估计的显示情况,例如实际显示之前预先确定的即将被显示的显示情况)相比于之前帧图像中拍摄对象在显示区域内的显示情况(之前帧已经被显示),其中,显示情况可以指显示位置、显示区域大小等内容。其中,拍摄对象的显示位置可以通过移动拍摄对象的方式 调整,拍摄对象的显示区域大小可以通过缩放拍摄对象的方式进行调整。It should be noted that the change information may refer to the display situation of the photographed object in the display area in the current frame image (which may be a pre-estimated display situation, such as the display situation that is predetermined to be displayed before the actual display) compared with the previous display situation. The display situation of the photographed object in the display area in the frame image (the previous frame has been displayed), where the display situation may refer to the display position, the size of the display area, and the like. The display position of the photographed object can be adjusted by moving the photographed object, and the size of the display area of the photographed object can be adjusted by zooming the photographed object.
本实施例中的拍摄对象之前的显示位置可以是之前帧中的拍摄对象在图像显示区域中的显示位置。其中,之前帧可以是当前帧的前一帧或者之前的某个帧(具体是间隔几帧可以预定义)。需要说明的是,由于本实施例目的是尽可能保持拍摄对象处于稳定的位置,所以此处的之前帧与当前帧中间不宜间隔过多数量的帧,以防止拍摄对象的变化信息较显著,从而在被稳定性增强调整之后出现较为明显的类似于跳帧、显示卡壳的现象。The display position before the photographed object in this embodiment may be the display position of the photographed object in the previous frame in the image display area. Wherein, the previous frame may be the previous frame of the current frame or a certain previous frame (specifically, several frames may be predefined). It should be noted that, since the purpose of this embodiment is to keep the shooting object in a stable position as much as possible, there should not be an excessive number of frames between the previous frame and the current frame, so as to prevent the change information of the shooting object from being more obvious, thereby After being adjusted by the stability enhancement, there are obvious phenomena similar to frame skipping and display stuck.
其中,上述步骤的执行主体可以为移动终端、拍摄装置等,但不限于此。Wherein, the execution subject of the above steps may be a mobile terminal, a photographing device, etc., but is not limited thereto.
在一个示例性的实施方式中,在该根据该变化信息调整该拍摄对象在该图像显示区域内的显示位置之前,该方法还包括:获取包含该拍摄对象的拍摄图像,其中,该拍摄图像的图像区域大于该图像显示区域;上述的根据该变化信息调整该拍摄对象在该图像显示区域内的显示位置,包括:根据该变化信息对该拍摄图像进行处理,以使该拍摄对象显示在第一显示位置。需要说明的是,获取包含该拍摄对象的拍摄图像可以是通过摄像头采集所生成。In an exemplary embodiment, before adjusting the display position of the photographed object in the image display area according to the change information, the method further includes: acquiring a photographed image including the photographed object, wherein the photographed image is The image area is larger than the image display area; the above-mentioned adjusting the display position of the photographed object in the image display area according to the change information includes: processing the photographed image according to the change information, so that the photographed object is displayed in the first Display location. It should be noted that the acquisition of the photographed image including the photographed object may be generated by acquisition by a camera.
在一个示例性的实施方式中,该处理包括以下至少之一:缩小该拍摄图像、放大该拍摄图像、移动该拍摄图像、缩小该拍摄图像中的部分图像、放大该拍摄图像中的部分图像、移动该拍摄图像中的部分图像。In an exemplary embodiment, the processing includes at least one of the following: zooming out the captured image, zooming in the captured image, moving the captured image, zooming out a part of the captured image, zooming in on a part of the captured image, Move part of the captured image.
在一个示例性的实施方式中,该确定图像显示区域内的拍摄对象在该图像显示区域内的变化信息,包括:将之前已经确定得到的该拍摄对象在该图像显示区域内的变化信息作为当前的该变化信息。In an exemplary embodiment, the determining the change information of the photographed object in the image display area in the image display area includes: using the previously determined change information of the photographed object in the image display area as the current the change information.
需要说明的是,将之前已经确定得到的该拍摄对象在该图像显示区域内的变化信息作为当前的该变化信息,相当于是参考前面的某一帧的变化信息对当前帧图像进行调整;或者,说,参考前面的某一帧图像的处理方式对当前帧图像进行相同或相似的处理。It should be noted that taking the previously determined change information of the shooting object in the image display area as the current change information is equivalent to adjusting the current frame image with reference to the change information of a previous frame; or, In other words, the current frame image is processed in the same or similar manner with reference to the processing method of a previous frame image.
第一显示位置是一种期望达到的稳定的位置,即,拍摄对象的第一显示位置不仅可以是预先设置的,例如不论是什么帧,都朝着用户预先划定的区域移动;第一显示位置也可以是拍摄对象的较为初始的位置,即,后续帧也可以以前面帧的拍摄对象的位置为调整目标(即,拍摄对象尽量和之前保持在同一位置),这样也可以起到稳定的效果。The first display position is a desired stable position, that is, the first display position of the photographing object may not only be preset, for example, no matter what frame it is, it moves toward the area pre-defined by the user; the first display position The position can also be the relatively initial position of the subject, that is, the subsequent frame can also take the position of the subject in the previous frame as the adjustment target (that is, the subject is kept in the same position as before), which can also play a stable role. Effect.
在一个示例性的实施方式中,该确定图像显示区域内的拍摄对象在该图像显示区域内的变化信息,包括以下至少之一:In an exemplary embodiment, the determining the change information of the photographed object in the image display area in the image display area includes at least one of the following:
根据拍摄设备的变化信息确定该图像显示区域内的该拍摄对象在该图像显示区域内的变化信息;或者,根据该拍摄对象在该图像显示区域内的显示位置变化信息确定该图像显示区域内的该拍摄对象在该图像显示区域内的变化信息。需要说明的是,由于拍摄设备的移动,可能造成拍摄对象在图像显示区域中的显示位置发生变化,所以,通过拍摄设备的变化信息可以确定拍摄对象在图像显示区域中的变化信息。Determine the change information of the photographed object in the image display area according to the change information of the photographing equipment; or determine the change information of the photographed object in the image display area according to the change information of the display position of the photographed object in the image display area. Change information of the photographed object in the image display area. It should be noted that, due to the movement of the photographing device, the display position of the photographing object in the image display area may change. Therefore, the change information of the photographing object in the image display area can be determined through the change information of the photographing device.
在一个示例性的实施方式中,在根据拍摄设备的变化信息确定该图像显示区域内的该拍摄对象在该图像显示区域内的变化信息的情况下,通过传感器确定该拍摄设备的变化信息。In an exemplary embodiment, when the change information of the photographed object in the image display area in the image display area is determined according to the change information of the photographing apparatus, the change information of the photographing apparatus is determined by a sensor.
在一个示例性的实施方式中,在该在根据拍摄设备的变化信息确定该图像显示区域内的该拍摄对象在该图像显示区域内的变化信息之前,该方法还包括:确定该拍摄设备进行了无规律运动。需要说明的是,与有时候可能是用户主动移动了拍摄设备,有时候可能是用户手抖带来了拍摄设备的移动,手抖所带来的运动通常是无规律的,如果确定拍摄设备进行了无规律运动,则表示在高倍ZOOM模式中,拍摄对象很可能非常容易跳出图像显示区域,所以 需要保证拍摄对象始终能够在预设的显示区域内进行显示。In an exemplary embodiment, before determining the change information of the photographed object in the image display area in the image display area according to the change information of the photographing device, the method further includes: determining that the photographing device has performed Irregular movement. It should be noted that sometimes the user may have moved the shooting device actively, and sometimes the user may have moved the shooting device due to the shaking of the hand. The movement caused by the hand shaking is usually irregular. If there is no irregular movement, it means that in the high-magnification ZOOM mode, the subject is likely to jump out of the image display area, so it is necessary to ensure that the subject can always be displayed in the preset display area.
在一个示例性的实施方式中,在根据该拍摄对象在该图像显示区域内的显示位置变化确定该图像显示区域内的该拍摄对象在该图像显示区域内的变化信息的情况下,通过当前帧图像中该拍摄对象在该图像显示区域中的显示位置与该图像显示区域中的该第一显示位置的差异确定该拍摄对象在该图像显示区域内的显示位置变化信息。In an exemplary embodiment, when the change information of the photographed object in the image display area in the image display area is determined according to the change of the display position of the photographed object in the image display area, through the current frame The difference between the display position of the photographed object in the image display area and the first display position in the image display area in the image determines the display position change information of the photographed object in the image display area.
在一个示例性的实施方式中,在该根据该变化信息调整该拍摄对象在该图像显示区域内的显示位置之前,且所述第一显示位置包括所述预设的显示位置的情况下,该方法还包括:响应于用于指示该预设的显示位置的输入信息,确定该预设的显示位置。需要说明的是,用户可以通过拍摄设备或者终端输入用于指示预设的显示位置的输入信息,拍摄设备或者终端可以根据该输入信息确定预设的显示位置。In an exemplary embodiment, before adjusting the display position of the photographed object in the image display area according to the change information, and the first display position includes the preset display position, the The method further includes determining the preset display position in response to input information indicating the preset display position. It should be noted that the user may input input information for indicating the preset display position through the photographing device or the terminal, and the photographing device or the terminal may determine the preset display position according to the input information.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到根据上述实施例的方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,或者网络设备等)执行本申请各个实施例所述的方法。From the description of the above embodiments, those skilled in the art can clearly understand that the method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course can also be implemented by hardware, but in many cases the former is better implementation. Based on this understanding, the technical solution of the present application can be embodied in the form of a software product in essence or in a part that contributes to the prior art, and the computer software product is stored in a storage medium (such as ROM/RAM, magnetic disk, CD-ROM), including several instructions to make a terminal device (which may be a mobile phone, a computer, a server, or a network device, etc.) execute the methods described in the various embodiments of this application.
在本实施例中还提供了一种拍摄对象的显示装置,该装置用于实现上述实施例及优选实施方式,已经进行过说明的不再赘述。如以下所使用的,术语“模块”可以实现预定功能的软件和/或硬件的组合。尽管以下实施例所描述的装置较佳地以软件来实现,但是硬件,或者软件和硬件的组合的实现也是可能并被构想的。In this embodiment, a display device for a photographed object is also provided, and the device is used to implement the above-mentioned embodiments and preferred implementations, and the descriptions that have been described will not be repeated. As used below, the term "module" may be a combination of software and/or hardware that implements a predetermined function. Although the apparatus described in the following embodiments is preferably implemented in software, implementations in hardware, or a combination of software and hardware, are also possible and contemplated.
图3是根据本申请实施例的拍摄对象的显示装置的结构框图,如图3所示,该装置包括:FIG. 3 is a structural block diagram of a display device for a photographed object according to an embodiment of the present application. As shown in FIG. 3 , the device includes:
第一确定模块31,设置为确定图像显示区域内的拍摄对象在该图像显示区域内的变化信息;The first determination module 31 is configured to determine the change information of the photographed object in the image display area in the image display area;
调整模块33,设置为根据该变化信息调整该拍摄对象在该图像显示区域内的显示位置,以使该拍摄对象显示在第一显示位置,其中,该第一显示位置包括:预设的显示位置,或,该拍摄对象之前的显示位置。The adjustment module 33 is configured to adjust the display position of the shooting object in the image display area according to the change information, so that the shooting object is displayed in a first display position, wherein the first display position includes: a preset display position , or, where the subject was previously displayed.
通过上述步骤,由于确定图像显示区域内的拍摄对象在该图像显示区域内的变化信息;根据该变化信息调整该拍摄对象在该图像显示区域内的显示位置,以使该拍摄对象显示在第一显示位置,因此,可以解决相关技术中拍摄对象容易跳出视图区的问题,达到提高拍摄画面稳定性的技术效果。Through the above steps, since the change information of the photographed object in the image display area is determined; the display position of the photographed object in the image display area is adjusted according to the change information, so that the photographed object is displayed in the first image display area. Therefore, the problem in the related art that the shooting object easily jumps out of the view area can be solved, and the technical effect of improving the stability of the shooting picture can be achieved.
在一个示例性的实施方式中,在一个示例性的实施方式中,该装置还包括:获取模块,设置为在该根据该变化信息调整该拍摄对象在该图像显示区域内的显示位置之前,获取包含该拍摄对象的拍摄图像,其中,该拍摄图像的图像区域大于该图像显示区域;上述的调整模块33,还设置为根据该变化信息对该拍摄图像进行处理,以使该拍摄对象显示在该第一显示位置。In an exemplary embodiment, in an exemplary embodiment, the apparatus further includes: an acquisition module configured to acquire, before adjusting the display position of the photographed object in the image display area according to the change information The photographed image including the photographed object, wherein the image area of the photographed image is larger than the image display area; the above-mentioned adjustment module 33 is also set to process the photographed image according to the change information, so that the photographed object is displayed in the The first display position.
在一个示例性的实施方式中,该处理包括以下至少之一:缩小该拍摄图像、放大该拍摄图像、移动该拍摄图像、缩小该拍摄图像中的部分图像、放大该拍摄图像中的部分图像、移动该拍摄图像中的部分图像。In an exemplary embodiment, the processing includes at least one of the following: zooming out the captured image, zooming in the captured image, moving the captured image, zooming out a part of the captured image, zooming in on a part of the captured image, Move part of the captured image.
在一个示例性的实施方式中,该确定图像显示区域内的拍摄对象在该图像显示区域内的 变化信息,包括:将之前已经确定得到的该拍摄对象在该图像显示区域内的变化信息作为当前的该变化信息。In an exemplary embodiment, the determining the change information of the photographed object in the image display area in the image display area includes: using the previously determined change information of the photographed object in the image display area as the current the change information.
在一个示例性的实施方式中,上述的第一确定模块31还设置为根据拍摄设备的变化信息确定该图像显示区域内的该拍摄对象在该图像显示区域内的变化信息;或者,上述的第一确定模块31还设置为根据该拍摄对象在该图像显示区域内的显示位置变化信息确定该图像显示区域内的该拍摄对象在该图像显示区域内的变化信息。In an exemplary embodiment, the above-mentioned first determination module 31 is further configured to determine the change information of the photographed object in the image display area in the image display area according to the change information of the photographing device; or, the above-mentioned first A determination module 31 is further configured to determine the change information of the photographed object in the image display area in the image display area according to the change information of the display position of the photographed object in the image display area.
在一个示例性的实施方式中,上述的第一确定模块31还设置为在根据拍摄设备的变化信息确定该图像显示区域内的该拍摄对象在该图像显示区域内的变化信息的情况下,通过传感器确定该拍摄设备的变化信息。In an exemplary embodiment, the above-mentioned first determining module 31 is further configured to determine, according to the change information of the photographing device, the change information of the photographed object in the image display area in the image display area, through The sensor determines the change information of the photographing device.
在一个示例性的实施方式中,上述的第一确定模块31还设置为在该在根据拍摄设备的变化信息确定该图像显示区域内的该拍摄对象在该图像显示区域内的变化信息之前,确定该拍摄设备进行了无规律运动。In an exemplary embodiment, the above-mentioned first determining module 31 is further configured to, before determining the change information of the photographed object in the image display area in the image display area according to the change information of the photographing device, determine The filming device has made erratic movements.
在一个示例性的实施方式中,上述的第一确定模块31还设置为在根据该拍摄对象在该图像显示区域内的显示位置变化确定该图像显示区域内的该拍摄对象在该图像显示区域内的变化信息的情况下,通过当前帧图像中该拍摄对象在该图像显示区域中的显示位置与该图像显示区域中的该第一显示位置的差异确定该拍摄对象在该图像显示区域内的显示位置变化信息。In an exemplary embodiment, the above-mentioned first determining module 31 is further configured to determine that the photographed object in the image display area is in the image display area according to the change of the display position of the photographed object in the image display area In the case of the change information, the display of the shooting object in the image display area is determined by the difference between the display position of the shooting object in the image display area and the first display position in the image display area in the current frame image Location change information.
在一个示例性的实施方式中,该装置还包括:第二确定模块,设置为在该根据该变化信息调整该拍摄对象在该图像显示区域内的显示位置之前,且所述第一显示位置包括所述预设的显示位置的情况下,响应于用于指示该预设的显示位置的输入信息,确定该预设的显示位置。In an exemplary embodiment, the apparatus further includes: a second determination module, configured to adjust the display position of the photographed object in the image display area according to the change information, and the first display position includes In the case of the preset display position, the preset display position is determined in response to input information indicating the preset display position.
需要说明的是,上述各个模块是可以通过软件或硬件来实现的,对于后者,可以通过以下方式实现,但不限于此:上述模块均位于同一处理器中;或者,上述各个模块以任意组合的形式分别位于不同的处理器中。It should be noted that the above modules can be implemented by software or hardware, and the latter can be implemented in the following ways, but not limited to this: the above modules are all located in the same processor; or, the above modules can be combined in any combination The forms are located in different processors.
示例实施方式Example implementation
本实施方式提供了一种拍摄对象的显示的方法,该方法包括以下步骤:通过手机传感器记录的拍摄设备的状态,计算出视图移动的状态;也可以对用户选择的视图中的对象(即拍摄对象)做设别,实时检查对象的位置变化,从而得到视图移动的状态;根据视图移动的状态,调整显示区域中显示的视图,将用户选择的对象调整到视图中心或指定位置。需要说明的是,“视图”可以指固定的显示区域中所显示出来的图像,视图移动的状态可以指不同视图中拍摄对象的位置变化,例如两幅视图中,拍摄对象在图A中的位置是a区域;拍摄对象在图B中的位置是b区域,a区域与b区域在视图中的位置是不一样的,表示拍摄对象的位置有变化。本方法可以解决用户在手持状态使用高倍缩放(英文缩写ZOOM)拍摄时很难捕捉拍摄对象的问题。This embodiment provides a method for displaying a photographed object. The method includes the following steps: calculating the moving state of the view through the state of the photographing device recorded by the sensor of the mobile phone; According to the moving state of the view, adjust the view displayed in the display area, and adjust the object selected by the user to the center of the view or the specified position. It should be noted that "view" can refer to the image displayed in a fixed display area, and the state of view movement can refer to the change of the position of the photographed object in different views, for example, in the two views, the position of the photographed object in Figure A is area a; the position of the subject in Figure B is area b, and the positions of area a and area b in the view are different, indicating that the position of the subject has changed. The method can solve the problem that it is difficult for the user to capture the photographed object when the user uses the high magnification zoom (ZOOM in English) to photograph.
需要说明的是,本实施例中的“相机”可以指单独的拍摄设备,也可以是终端上的拍摄结构。It should be noted that the "camera" in this embodiment may refer to a separate shooting device, or may be a shooting structure on a terminal.
在一个实例的实施方式中,图4是根据本申请示例实施方式的拍摄方法的流程示意图,如图4所示,具体方法如下:In an example implementation, FIG. 4 is a schematic flowchart of a shooting method according to an example implementation of the present application. As shown in FIG. 4 , the specific method is as follows:
相机获取图片数据,其中,获取的图片数据的拍照区域大于屏幕显示区域,即,拍摄时,摄像头采集图像,相机中的图像生成芯片所生成的图像的展示区域要大于终端的屏幕上所显 示的区域,显示区域显示该图像的部分内容;可以通过传感器检测拍摄对象位置,确定相机抖动状态;进行稳定性增强处理,例如调整显示区域中所显示出来的内容,使拍摄对象显示在显示区域中的预设区域。The camera acquires picture data, wherein the photographing area of the acquired picture data is larger than the screen display area, that is, when photographing, the camera collects the image, and the display area of the image generated by the image generation chip in the camera is larger than that displayed on the screen of the terminal. The display area displays part of the content of the image; the position of the subject can be detected by the sensor to determine the camera shake state; stability enhancement processing is performed, such as adjusting the content displayed in the display area, so that the subject is displayed in the display area. Preset area.
在一个实例的实施方式中,本实施例中的预设区域可以是拍摄模式中被设定的固定的区域,例如,显示区域的中心;还可以是用户所指定的区域,例如,终端可以通过显示屏接收用户指定预设区域的操作,例如,可以通过划动手机屏幕、点击手机屏幕的方式指定预设区域。例如,如果检测到用户点击或者划动了屏幕,则将点击或者划动位置处周围的预设大小、预设形状的区域作为本实施例中的“预设区域”。In an example implementation, the preset area in this embodiment may be a fixed area set in the shooting mode, for example, the center of the display area; it may also be an area designated by the user, for example, the terminal can use the The display screen receives the user's operation of specifying the preset area. For example, the preset area can be specified by swiping the mobile phone screen or tapping the mobile phone screen. For example, if it is detected that the user clicks or swipes the screen, an area with a preset size and a preset shape around the click or swipe position is taken as the "preset area" in this embodiment.
调整显示数据时,可根据拍摄对象位置和大小,对当前的显示内容进行调整,例如移动或缩放相机所获取到的拍照图像,以改变当前的显示内容。When adjusting the display data, the current display content can be adjusted according to the position and size of the shooting object, for example, by moving or zooming the photographed image obtained by the camera, to change the current display content.
需要说明的是,示例性的,可以对每一帧视图进行稳定性增强处理,即,确定图像显示区域内的拍摄对象在该图像显示区域内的变化信息;根据该变化信息调整该拍摄对象在该图像显示区域内的显示位置,以使该拍摄对象显示在预设的显示位置。例如针对每一帧拍摄图像,通过移动、缩放拍照图片的方式使当前帧拍照图像(即相机所生成的图像)中的拍摄对象显示在视图中的预设区域中。示例性的,也可以每隔一定数量的帧对当前帧的拍照图像进行处理,以使当前帧图像中的拍摄对象显示在视图中的预设区域中。It should be noted that, exemplarily, stability enhancement processing may be performed on each frame of view, that is, the change information of the photographed object in the image display area in the image display area is determined; The display position in the image display area, so that the photographed object is displayed in the preset display position. For example, for each frame of photographed image, the photographed object in the photographed image of the current frame (ie, the image generated by the camera) is displayed in a preset area in the view by moving and zooming the photographed image. Exemplarily, the photographed image of the current frame may also be processed every certain number of frames, so that the photographed object in the image of the current frame is displayed in a preset area in the view.
示例性的,在隔帧进行稳定性增强处理的情况下,如果对某一帧的拍照图像进行了处理,那么该帧拍照图像后续的连续的一定数量(该数量可以预定义)的拍照图像帧都可以采用与该帧拍照图像相同或相似的处理,例如,如果对某一帧的拍照图像进行了缩放0.9倍的处理,那么该帧拍照图像之后的连续N(N为正整数,可以预定义)帧拍照图像也同样做缩放0.9倍的处理或者缩放接近于0.9倍的处理。由于一般情况下,连续帧的图像内容差异不会特别大,通常属于相近似的图像;为了节约计算资源,提高处理速度,对相近似的图像采用相同或相近似的处理手段,可以以较少的计算量达到较好的处理效果。Exemplarily, in the case of performing the stability enhancement processing every other frame, if the photographed image of a certain frame is processed, then a certain number (the number can be predefined) of photographed image frames that follow the photographed image of this frame are consecutive. The same or similar processing as the photographed image of the frame can be adopted. For example, if the photographed image of a certain frame is scaled by 0.9 times, then the consecutive N after the photographed image of the frame (N is a positive integer, which can be predefined ) frame photographed images are also scaled by 0.9 times or close to 0.9 times. In general, the differences in the image content of consecutive frames are not particularly large, and they are usually similar images; in order to save computing resources and improve processing speed, the same or similar processing methods are used for similar images, which can be done with less The amount of calculation to achieve a better processing effect.
手机状态确认:要确认是否是用户手不稳造成相机抖动还是用户有意移动拍摄,可通过传感器或检测拍摄对象位置确认相机运动状态,是否是无规律移动还是有规律移动,当无规律特征大于某一预设的阈值,则判定为用户手抖导致,进行上述稳定性增强处理。Mobile phone status confirmation: To confirm whether the camera shake is caused by the user's hand instability or the user intentionally moves to shoot, you can use the sensor or detect the position of the subject to confirm the camera movement status, whether it is moving irregularly or regularly, when the irregularity feature is greater than a certain A preset threshold value is determined to be caused by the user's hand shaking, and the above-mentioned stability enhancement processing is performed.
在一个实例的实施方式中,拍照或视频保存数据可以为用户屏幕显示区域的数据;In an example implementation, the photographing or video saving data may be data in the display area of the user's screen;
确定用户拍摄对象方案:例如设置常见对象为默认拍摄对象,如建筑物、标志牌、人像等;又如,用户通过显示屏幕选取物体作为拍摄对象;再如,用户通过框选区域作为拍摄对象。Determine the user's shooting object scheme: for example, setting common objects as the default shooting objects, such as buildings, signs, portraits, etc.; another example, the user selects an object as the shooting object through the display screen; another example, the user selects an area as the shooting object through a frame.
在一个实例的实施方式中,在稳定性增强处理过程中,需要时时锁定拍摄对象。拍摄对象识别可通过边缘检测或区域颜色或区域亮度等比对来进行识别。In one example implementation, during the stabilization enhancement process, it is necessary to lock the subject from time to time. Subject recognition can be done by edge detection or comparison of area color or area brightness.
在一个实例的实施方式中,显示内容调整可以每一帧都进行稳定性增强处理,也可以隔N帧进行一次稳定性增强处理,或者当手机抖动致拍摄对象偏离原位置大于某一阈值时,进行稳定性增强处理。N为大于等于1的整数。In an example implementation, the display content adjustment may perform stability enhancement processing for each frame, or may perform stability enhancement processing every N frames, or when the mobile phone shake causes the shooting object to deviate from the original position by more than a certain threshold, Stability enhancement treatment. N is an integer greater than or equal to 1.
在一个实例的实施方式中,所述调整中,某一特定帧在显示调整前应用上一帧的显示定位信息。In an example implementation, in the adjustment, the display positioning information of the previous frame is applied to a certain frame before display adjustment.
本实施例还提供了一种拍摄对象的显示的装置,图5是根据本申请示例实施方式的拍摄装置的结构框图,如图5所示,该装置包括图像获取单元、显示数据调整单元、相机状态判 别单元、用户操作单元、图像显示单元、数据保存单元。This embodiment also provides an apparatus for displaying a photographed object. FIG. 5 is a structural block diagram of a photographing apparatus according to an exemplary embodiment of the present application. As shown in FIG. 5 , the apparatus includes an image acquisition unit, a display data adjustment unit, and a camera. A state determination unit, a user operation unit, an image display unit, and a data storage unit.
其中,图像获取单元:可以包括相机摄像头组件;Wherein, the image acquisition unit: may include a camera camera assembly;
相机状态判别单元:可以包括陀螺仪或加速度等传感器;或检测拍摄对象移动的软件模块;Camera state discrimination unit: It can include sensors such as gyroscope or acceleration; or a software module that detects the movement of the object;
用户操作单元:是用户操作装置或者说接收用户操作的装置,手机目前一般为触摸屏;在本方案中,用户可以通过对屏幕的操作选择拍摄对象;User operation unit: It is a user operation device or a device that receives user operations. Mobile phones are generally touch screens at present; in this solution, the user can select the shooting object by operating the screen;
显示数据调整单元:可以包括设备显示装置;Display data adjustment unit: may include a device display device;
数据保存单元:可以包括存储硬件模块和图片或视频编码模块。Data storage unit: may include a storage hardware module and a picture or video encoding module.
在一个实例的实施方式中,图6是根据本申请示例实施方式的用户操作流程示意图,如图6所示,用户操作流程包括:用户操作流程为打开相机、相机显示场景图像、确定用户拍摄对象、使能稳定性增强、稳定性增强显示、进行拍摄或录像、保存。In an example implementation, FIG. 6 is a schematic diagram of a user operation flow according to an example embodiment of the present application. As shown in FIG. 6 , the user operation flow includes: the user operation flow is to turn on the camera, the camera to display a scene image, and to determine the user’s shooting object. , Enable stability enhancement, stability enhancement display, shooting or video recording, and saving.
其中,在一个实例的实施方式中,确定用户拍摄对象:可通过以下三种方式之一:Wherein, in the implementation of an example, the user's photographing object is determined: one of the following three methods can be used:
设置常见对象为默认拍摄对象,如建筑物、标志牌、人像等;Set common objects as default shooting objects, such as buildings, signs, portraits, etc.;
用户通过显示屏幕选取物体作为拍摄对象;The user selects the object as the shooting object through the display screen;
用户通过框选区域作为拍摄对象。The user selects the area as a photographing object by a frame.
在一个实例的实施方式中,稳定增强方法流程,例如对于某一特定帧进行稳定增强处理的流程,包括:相机获取图片数据,其中,相机获取拍照区域大于用户屏幕显示区域,即屏幕显示只是显示相机获取图片信息的一部分;判别手机状态,其中,要确认是否是用户手不稳造成相机抖动还是用户有意移动拍摄,可通过传感器或检测拍摄对象位置确认相机运动状态,是否是无规律移动还是有规律移动,当无规律特征大于某一阈值,则判定为用户手抖导致;进行上述稳定性增强处理;否则,不进行显示调整,直接进入显示流程。In an example implementation, the flow of the stabilization enhancement method, for example, the flow of stabilization enhancement processing for a certain frame, includes: the camera obtains picture data, wherein the camera obtains the photographing area that is larger than the user's screen display area, that is, the screen display is only a display The camera obtains part of the picture information; it determines the state of the mobile phone, among which, to confirm whether the camera shake is caused by the user's hand instability or the user intentionally moves to shoot, you can use the sensor or detect the position of the shooting object to confirm the camera's motion state, whether it is irregular movement or not. Regular movement, when the irregular feature is greater than a certain threshold, it is determined that the user's hand shake is caused; the above stability enhancement processing is performed; otherwise, the display adjustment is not performed, and the display process is directly entered.
然后,确定显示调整数据;图7是根据本申请示例实施方式的显示调整示意图,如图7所示,A区域为摄像头取图区域;B区域为相机显示区域;O1为上一帧拍摄对象区域,如图7所示,上一帧拍摄对象是位于预设区域内的;C区域为拍摄对象预设区域,该区域可以根据O1区域计算出;O2目前帧拍摄对象区域。如图4所示,目前帧偏离拍摄对象预设区域d,所以显示调整数据为:显示内容(主要是拍摄对象)需要向拍摄对象预设区域移动d,则本帧图像的显示内容相对于上一帧需要向预设区域方向移动d,以使拍摄对象可以显示在预设区域内。Then, determine the display adjustment data; FIG. 7 is a schematic diagram of display adjustment according to an exemplary embodiment of the present application, as shown in FIG. 7 , area A is the image capturing area of the camera; area B is the display area of the camera; O1 is the area of the shooting object in the previous frame , as shown in FIG. 7 , the shooting object in the previous frame is located in the preset area; the C area is the shooting object preset area, and the area can be calculated according to the O1 area; O2 is the shooting object area in the current frame. As shown in Fig. 4, the current frame deviates from the preset area d of the shooting object, so the display adjustment data is: the display content (mainly the shooting object) needs to move to the preset area d of the shooting object, then the display content of this frame image is relative to the above A frame needs to be moved d in the direction of the preset area so that the subject can be displayed within the preset area.
在一个实例的实施方式中,如果由于物体移动或相机移动,导致O2大小与预设拍摄对象差异大于某一阈值,则可以对相机获取图片数据进行缩放,将O2大小调整至拍摄对象大小预设值范围。In an example implementation, if the difference between the size of O2 and the preset shooting object is greater than a certain threshold due to the movement of the object or the camera, the image data obtained by the camera can be zoomed, and the size of O2 can be adjusted to the preset size of the shooting object. value range.
在一个实例的实施方式中,可以针对某一帧的图像进行稳定性增强处理;稳定增强方案可以每一帧都进行稳定性增强处理,也可以隔N帧进行一次稳定性增强处理,N为大于等于1的整数。或者当手机抖动致拍摄对象偏离原位置大于某一阈值时,进行稳定性增强处理。In an example implementation, stability enhancement processing may be performed on an image of a certain frame; the stabilization enhancement scheme may perform stability enhancement processing for each frame, or may perform stability enhancement processing every N frames, where N is greater than An integer equal to 1. Or when the mobile phone shakes and causes the subject to deviate from the original position by more than a certain threshold, stability enhancement processing is performed.
在一个实例的实施方式中,某一特定帧在显示调整前应用上一帧的显示定位信息(相当于上述实施例中的“变化信息”)。In an example implementation, the display positioning information of the previous frame (equivalent to the "change information" in the above-mentioned embodiment) is applied to a certain frame before display adjustment.
调整显示内容,按照确定的显示调整数据调整,然后将调整好的显示内容进行显示。Adjust the display content, adjust according to the determined display adjustment data, and then display the adjusted display content.
本申请的实施例还提供了一种计算机可读存储介质,该计算机可读存储介质中存储有计算机程序,其中,该计算机程序被设置为运行时执行上述任一项方法实施例中的步骤。Embodiments of the present application further provide a computer-readable storage medium, where a computer program is stored in the computer-readable storage medium, wherein the computer program is configured to execute the steps in any one of the above method embodiments when running.
在一个示例性实施例中,上述计算机可读存储介质可以包括但不限于:U盘、只读存储器(Read-Only Memory,简称为ROM)、随机存取存储器(Random Access Memory,简称为RAM)、移动硬盘、磁碟或者光盘等各种可以存储计算机程序的介质。In an exemplary embodiment, the above-mentioned computer-readable storage medium may include, but is not limited to, a USB flash drive, a read-only memory (Read-Only Memory, referred to as ROM for short), and a random access memory (Random Access Memory, referred to as RAM for short) , mobile hard disk, magnetic disk or CD-ROM and other media that can store computer programs.
本申请的实施例还提供了一种终端,包括存储器和处理器,该存储器中存储有计算机程序,该处理器被设置为运行计算机程序以执行上述任一项方法实施例中的步骤。Embodiments of the present application further provide a terminal, including a memory and a processor, where a computer program is stored in the memory, and the processor is configured to run the computer program to execute the steps in any of the above method embodiments.
在一个示例性实施例中,上述电子装置还可以包括传输设备以及输入输出设备,其中,该传输设备和上述处理器连接,该输入输出设备和上述处理器连接。In an exemplary embodiment, the above-mentioned electronic device may further include a transmission device and an input-output device, wherein the transmission device is connected to the above-mentioned processor, and the input-output device is connected to the above-mentioned processor.
本实施例中的具体示例可以参考上述实施例及示例性实施方式中所描述的示例,本实施例在此不再赘述。For specific examples in this embodiment, reference may be made to the examples described in the foregoing embodiments and exemplary implementation manners, and details are not described herein again in this embodiment.
显然,本领域的技术人员应该明白,上述的本申请的各模块或各步骤可以用通用的计算装置来实现,它们可以集中在单个的计算装置上,或者分布在多个计算装置所组成的网络上,它们可以用计算装置可执行的程序代码来实现,从而,可以将它们存储在存储装置中由计算装置来执行,并且在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤,或者将它们分别制作成各个集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。这样,本申请不限制于任何特定的硬件和软件结合。Obviously, those skilled in the art should understand that the above-mentioned modules or steps of the present application can be implemented by a general-purpose computing device, and they can be centralized on a single computing device, or distributed in a network composed of multiple computing devices On the other hand, they can be implemented in program code executable by a computing device, so that they can be stored in a storage device and executed by the computing device, and in some cases, can be performed in a different order than shown here. Or the described steps, or they are respectively made into individual integrated circuit modules, or a plurality of modules or steps in them are made into a single integrated circuit module to realize. As such, the present application is not limited to any particular combination of hardware and software.
以上所述仅为本申请的优选实施例而已,并不用于限制本申请,对于本领域的技术人员来说,本申请可以有各种更改和变化。凡在本申请的原则之内,所作的任何修改、等同替换、改进等,均应包含在本申请的保护范围之内。The above descriptions are only preferred embodiments of the present application, and are not intended to limit the present application. For those skilled in the art, the present application may have various modifications and changes. Any modification, equivalent replacement, improvement, etc. made within the principles of this application shall be included within the protection scope of this application.

Claims (12)

  1. 一种拍摄对象的显示方法,包括:A method for displaying a photographed object, comprising:
    确定图像显示区域内的拍摄对象在所述图像显示区域内的变化信息;determining the change information of the photographed object in the image display area in the image display area;
    根据所述变化信息调整所述拍摄对象在所述图像显示区域内的显示位置,以使所述拍摄对象显示在第一显示位置,其中,所示第一显示位置包括:预设的显示位置,或,所述拍摄对象之前的显示位置。Adjust the display position of the shooting object in the image display area according to the change information, so that the shooting object is displayed in a first display position, wherein the first display position includes: a preset display position, Or, the previous display position of the photographed object.
  2. 根据权利要求1所述的方法,其中,在所述根据所述变化信息调整所述拍摄对象在所述图像显示区域内的显示位置之前,所述方法还包括:获取包含所述拍摄对象的拍摄图像,其中,所述拍摄图像的图像区域大于所述图像显示区域;The method according to claim 1, wherein before adjusting the display position of the photographed object in the image display area according to the change information, the method further comprises: acquiring a photograph including the photographed object an image, wherein the image area of the captured image is larger than the image display area;
    所述根据所述变化信息调整所述拍摄对象在所述图像显示区域内的显示位置,包括:根据所述变化信息对所述拍摄图像进行处理,以使所述拍摄对象显示在所述第一显示位置。The adjusting the display position of the photographed object in the image display area according to the change information includes: processing the photographed image according to the change information, so that the photographed object is displayed in the first image display area. Display location.
  3. 根据权利要求2所述的方法,其中,所述处理包括以下至少之一:缩小所述拍摄图像、放大所述拍摄图像、移动所述拍摄图像、缩小所述拍摄图像中的部分图像、放大所述拍摄图像中的部分图像、移动所述拍摄图像中的部分图像。The method of claim 2, wherein the processing comprises at least one of: reducing the captured image, zooming in the captured image, moving the captured image, reducing a portion of the captured image, zooming in all moving a part of the image in the captured image, and moving a part of the image in the captured image.
  4. 根据权利要求1所述的方法,其中,所述确定图像显示区域内的拍摄对象在所述图像显示区域内的变化信息,包括:The method according to claim 1, wherein the determining the change information of the photographed object in the image display area in the image display area comprises:
    将之前已经确定得到的所述拍摄对象在所述图像显示区域内的变化信息作为当前的所述变化信息。The previously determined change information of the photographed object in the image display area is used as the current change information.
  5. 根据权利要求1至4中的任一项所述的方法,其中,所述确定图像显示区域内的拍摄对象在所述图像显示区域内的变化信息,包括以下至少之一:The method according to any one of claims 1 to 4, wherein the determining the change information of the photographed object in the image display area in the image display area includes at least one of the following:
    根据拍摄设备的变化信息确定所述图像显示区域内的所述拍摄对象在所述图像显示区域内的变化信息;或者,Determine the change information of the photographed object in the image display area in the image display area according to the change information of the photographing device; or,
    根据所述拍摄对象在所述图像显示区域内的显示位置变化信息确定所述图像显示区域内的所述拍摄对象在所述图像显示区域内的变化信息。The change information of the photographed object in the image display area in the image display area is determined according to the change information of the display position of the photographed object in the image display area.
  6. 根据权利要求5所述的方法,其中,在根据拍摄设备的变化信息确定所述图像显示区域内的所述拍摄对象在所述图像显示区域内的变化信息的情况下,通过传感器确定所述拍摄设备的变化信息。The method according to claim 5, wherein in the case of determining the change information of the photographed object in the image display area according to the change information of the photographing device, the photographing is determined by a sensor Device change information.
  7. 根据权利要求5所述的方法,其中,在所述在根据拍摄设备的变化信息确定所述图像显示区域内的所述拍摄对象在所述图像显示区域内的变化信息之前,所述方法还包括:The method according to claim 5, wherein before determining the change information of the photographed object in the image display area in the image display area according to the change information of the photographing device, the method further comprises: :
    确定所述拍摄设备进行了无规律运动。It is determined that the photographing device performs irregular motion.
  8. 根据权利要求5所述的方法,其中,在根据所述拍摄对象在所述图像显示区域内的显示位置变化确定所述图像显示区域内的所述拍摄对象在所述图像显示区域内的变化信息的情况下,通过当前帧图像中所述拍摄对象在所述图像显示区域中的显示位置与所述图像显示区域中的所述第一显示位置的差异确定所述拍摄对象在所述图像显示区域内的显示位置变化信 息。The method according to claim 5, wherein the change information of the photographed object in the image display area in the image display area is determined according to the change of the display position of the photographed object in the image display area In case of Display position change information inside.
  9. 根据权利要求1至4中的任一项所述的方法,其中,在所述根据所述变化信息调整所述拍摄对象在所述图像显示区域内的显示位置之前,且所述第一显示位置包括所述预设的显示位置的情况下,所述方法还包括:The method according to any one of claims 1 to 4, wherein before the adjustment of the display position of the photographed object in the image display area according to the change information, the first display position is In the case where the preset display position is included, the method further includes:
    响应于用于指示所述预设的显示位置的输入信息,确定所述预设的显示位置。The preset display position is determined in response to input information indicating the preset display position.
  10. 一种拍摄对象的显示装置,包括:A display device for photographing objects, comprising:
    第一确定模块,设置为确定图像显示区域内的拍摄对象在所述图像显示区域内的变化信息;a first determining module, configured to determine the change information of the photographed object in the image display area in the image display area;
    调整模块,设置为根据所述变化信息调整所述拍摄对象在所述图像显示区域内的显示位置,以使所述拍摄对象显示在第一显示位置,其中,所示第一显示位置包括:预设的显示位置,或,所述拍摄对象之前的显示位置。An adjustment module, configured to adjust the display position of the shooting object in the image display area according to the change information, so that the shooting object is displayed in a first display position, wherein the first display position includes: a preset The set display position, or the previous display position of the shooting object.
  11. 一种计算机可读存储介质,所述计算机可读存储介质中存储有计算机程序,其中,所述计算机程序被设置为运行时执行所述权利要求1至9任一项中所述的方法。A computer-readable storage medium in which a computer program is stored, wherein the computer program is configured to execute the method of any one of claims 1 to 9 when run.
  12. 一种终端,包括存储器和处理器,所述存储器中存储有计算机程序,所述处理器被设置为运行所述计算机程序以执行所述权利要求1至9任一项中所述的方法。A terminal comprising a memory and a processor, the memory having a computer program stored therein, the processor being arranged to run the computer program to perform the method of any one of claims 1 to 9.
PCT/CN2021/101324 2020-06-30 2021-06-21 Method and device for displaying photographing object, storage medium, and terminal WO2022001733A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010615530.2A CN113873138A (en) 2020-06-30 2020-06-30 Shot object display method and device, storage medium and terminal
CN202010615530.2 2020-06-30

Publications (1)

Publication Number Publication Date
WO2022001733A1 true WO2022001733A1 (en) 2022-01-06

Family

ID=78981379

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/101324 WO2022001733A1 (en) 2020-06-30 2021-06-21 Method and device for displaying photographing object, storage medium, and terminal

Country Status (2)

Country Link
CN (1) CN113873138A (en)
WO (1) WO2022001733A1 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1913590A (en) * 2005-08-09 2007-02-14 罗伯特·博世有限公司 Image stabilization system and method using video camera
US20150139634A1 (en) * 2013-11-21 2015-05-21 Samsung Electro-Mechanics Co., Ltd. System for correcting hand-shake and controlling method thereof
CN107404615A (en) * 2017-06-29 2017-11-28 联想(北京)有限公司 Picture recording method and electronic equipment
CN108111751A (en) * 2017-12-12 2018-06-01 北京小米移动软件有限公司 Shooting angle method of adjustment and device
CN110445984A (en) * 2019-08-29 2019-11-12 维沃移动通信有限公司 A kind of shooting reminding method and electronic equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1913590A (en) * 2005-08-09 2007-02-14 罗伯特·博世有限公司 Image stabilization system and method using video camera
US20150139634A1 (en) * 2013-11-21 2015-05-21 Samsung Electro-Mechanics Co., Ltd. System for correcting hand-shake and controlling method thereof
CN107404615A (en) * 2017-06-29 2017-11-28 联想(北京)有限公司 Picture recording method and electronic equipment
CN108111751A (en) * 2017-12-12 2018-06-01 北京小米移动软件有限公司 Shooting angle method of adjustment and device
CN110445984A (en) * 2019-08-29 2019-11-12 维沃移动通信有限公司 A kind of shooting reminding method and electronic equipment

Also Published As

Publication number Publication date
CN113873138A (en) 2021-12-31

Similar Documents

Publication Publication Date Title
CN107911621B (en) Panoramic image shooting method, terminal equipment and storage medium
US8988529B2 (en) Target tracking apparatus, image tracking apparatus, methods of controlling operation of same, and digital camera
CN109167931B (en) Image processing method, device, storage medium and mobile terminal
CN104954672B (en) Manual focusing method of mobile terminal and mobile terminal
US10154228B1 (en) Smoothing video panning
CN113875220B (en) Shooting anti-shake method, shooting anti-shake device, terminal and storage medium
US20140184646A1 (en) Image processor and fisheye image display method thereof
CN110290299B (en) Imaging method, imaging device, storage medium and electronic equipment
CN112825543B (en) Shooting method and equipment
CN111246080B (en) Control apparatus, control method, image pickup apparatus, and storage medium
CN112738397A (en) Shooting method, shooting device, electronic equipment and readable storage medium
WO2021139764A1 (en) Method and device for image processing, electronic device, and storage medium
CN113596294A (en) Shooting method and device and electronic equipment
CN112672050A (en) Shooting method and device based on holder and electronic equipment
CN110225243A (en) Filming control method, device, storage medium and mobile terminal based on Folding screen
US11222235B2 (en) Method and apparatus for training image processing model, and storage medium
CN114125268A (en) Focusing method and device
CN111787230A (en) Image display method and device and electronic equipment
CN112788233B (en) Video shooting processing method and electronic equipment
CN112367465B (en) Image output method and device and electronic equipment
JP5200800B2 (en) Imaging apparatus and imaging system
WO2022001733A1 (en) Method and device for displaying photographing object, storage medium, and terminal
CN111225144A (en) Video shooting method and device, electronic equipment and computer storage medium
WO2018184408A1 (en) Video recording method and device
CN112291476B (en) Shooting anti-shake processing method and device and electronic equipment

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

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

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 23.05.2023)

122 Ep: pct application non-entry in european phase

Ref document number: 21832533

Country of ref document: EP

Kind code of ref document: A1