CN110798621A - Image processing method and electronic equipment - Google Patents

Image processing method and electronic equipment Download PDF

Info

Publication number
CN110798621A
CN110798621A CN201911201162.0A CN201911201162A CN110798621A CN 110798621 A CN110798621 A CN 110798621A CN 201911201162 A CN201911201162 A CN 201911201162A CN 110798621 A CN110798621 A CN 110798621A
Authority
CN
China
Prior art keywords
image
screen
target object
input
displayed
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201911201162.0A
Other languages
Chinese (zh)
Inventor
周梦姣
唐文峰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201911201162.0A priority Critical patent/CN110798621A/en
Publication of CN110798621A publication Critical patent/CN110798621A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/95Computational photography systems, e.g. light-field imaging systems
    • H04N23/951Computational photography systems, e.g. light-field imaging systems by using two or more images to influence resolution, frame rate or aspect ratio
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/222Studio circuitry; Studio devices; Studio equipment
    • H04N5/262Studio circuits, e.g. for mixing, switching-over, change of character of image, other special effects ; Cameras specially adapted for the electronic generation of special effects
    • H04N5/272Means for inserting a foreground image in a background image, i.e. inlay, outlay

Landscapes

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

Abstract

The embodiment of the invention discloses an image processing method and electronic equipment, wherein the method comprises the following steps: receiving a first input of a target object in a first image displayed by a first screen by a user; responding to the first input, and displaying a third image on a second image of a second screen, wherein the third image is an image of an area where the target object is located in the first image; the content displayed on the first screen is a shooting preview picture or a video picture; under the condition that the content displayed on the first screen is a shooting preview picture, the first image is a first preview image; in the case where the content displayed on the first screen is a video picture, the first image is a first video image. The method and the device solve the problem that image processing in the prior art is limited and is not applicable in some scenes.

Description

Image processing method and electronic equipment
Technical Field
The embodiment of the invention relates to the technical field of communication, in particular to an image processing method and electronic equipment.
Background
With the rapid development of terminal technology, it has become a popular trend that images taken using electronic devices have gradually replaced dedicated cameras. Generally, after an electronic device captures an image, a user may perform image editing on the captured image to meet the user's needs.
Currently, image editing has limitations in practical applications. For example: when the photo is taken, some people cannot participate for some reasons, so that the taken photo is not provided with the people, and if the single photo is synthesized into the photo in the later period, the action and the expression of the single photo are selected to be not taken with other people in the photo, so that the sense of incongruity is generated; in addition, when a shot containing a special action such as a flight is taken, a plurality of pictures are taken in a continuous shooting mode, however, due to the limited shooting skill of a photographer, the shot pictures have the problems that the background is not matched with the person, the person is fuzzy and the like, and the needs of users cannot be met even through image processing.
Disclosure of Invention
Embodiments of the present invention provide an image processing method and apparatus, an electronic device, and a storage medium, so as to solve the problem that image processing in the prior art is limited and is not applicable in some scenes.
In order to solve the technical problem, the invention is realized as follows:
in a first aspect, an embodiment of the present invention provides an image processing method, which is applied to an electronic device including a first screen and a second screen, and the method may include:
receiving a first input of a target object in a first image displayed by a first screen by a user;
responding to the first input, and displaying a third image on a second image of a second screen, wherein the third image is an image of an area where the target object is located in the first image;
the content displayed on the first screen is a shooting preview picture or a video picture; under the condition that the content displayed on the first screen is a shooting preview picture, the first image is a first preview image; in the case where the content displayed on the first screen is a video picture, the first image is a first video image.
In a second aspect, an embodiment of the present invention provides an image processing apparatus, which is applied to an electronic device including a first screen and a second screen, and may include:
the acquisition module is used for receiving first input of a user on a target object in a first image displayed on a first screen;
the display module is used for responding to the first input and displaying a third image on a second image of the second screen, wherein the third image is an image of an area where the target object is located in the first image;
the content displayed on the first screen is a shooting preview picture or a video picture; under the condition that the content displayed on the first screen is a shooting preview picture, the first image is a first preview image; in the case where the content displayed on the first screen is a video picture, the first image is a first video image.
In a third aspect, an embodiment of the present invention provides an electronic device, which includes a processor, a memory, and a computer program stored in the memory and executable on the processor, and when executed by the processor, the computer program implements the image processing method according to the first aspect.
In a fourth aspect, there is provided a computer-readable storage medium having stored thereon a computer program for causing a computer to execute the image processing method according to the first aspect if the computer program is executed in the computer.
In the embodiment of the invention, a first input of a user to a target object in a first image displayed on a first screen is received; and displaying a third image on the second image of the second screen, wherein the third image is an image of the area where the target object is located in the first image. Therefore, the problem that the action of the single photo is synthesized into the co-shooting by using post-processing in the scene that some people cannot take part in the co-shooting for some reasons, so that the non-co-shooting is caused and the discomfort is caused can be solved. And the problems that when a picture containing special actions such as flight and flying is shot, the shot picture is not matched with a background and a character, the character is fuzzy and the like due to limited shooting skills of a photographer are solved. Therefore, the editing mode of image (or video) dynamic cutout is realized in the shooting process, the steps of editing the image by the user are better simplified, and the image processing efficiency is improved.
Drawings
Fig. 1 is a flowchart of an image processing method according to an embodiment of the present invention;
fig. 2 is a schematic view of a first display interface of an image processing method according to an embodiment of the present invention;
FIG. 3 is a flowchart of a method for implementing image processing according to an embodiment of the present invention;
fig. 4 is a schematic diagram of a second display interface of an image processing method according to an embodiment of the present invention;
fig. 5 is a schematic diagram of a third display interface of an image processing method according to an embodiment of the present invention;
fig. 6 is a schematic diagram of a fourth display interface of an image processing method according to an embodiment of the present invention;
fig. 7 is a schematic diagram of a fifth display interface of an image processing method according to an embodiment of the present invention;
fig. 8 is a schematic diagram of a sixth display interface of an image processing method according to an embodiment of the present invention;
fig. 9 is a schematic diagram of a seventh display interface of an image processing method according to an embodiment of the present invention;
fig. 10 is a schematic structural diagram of an image processing apparatus according to an embodiment of the present invention;
fig. 11 is a schematic diagram of a hardware structure of an electronic device according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Embodiments of the present invention provide an image processing method, an image processing apparatus, an electronic device, and a storage medium, to solve the problem that image processing in the prior art is limited and is not applicable in some scenes.
Fig. 1 is a flowchart of an image processing method according to an embodiment of the present invention.
As shown in fig. 1, the image processing method may specifically include step 110 and step 120, and the specific contents are as follows:
step 110, receiving a first input of a target object in a first image displayed on a first screen by a user.
Here, in the photographing mode, a first image to be photographed in an application program is displayed through a first screen of the electronic device, and a second image or the second image and a photographing menu of the application program are displayed through a second screen of the electronic device. For example, as shown in fig. 2, in the case that the application program is a camera, a first image in the camera application program is displayed in a full screen mode through a first screen, and a second image and a shooting menu in the camera application program are displayed through a second screen, for example: the virtual touch shooting button and the shooting setting toolbar are arranged.
Here, during photographing, a second image is displayed through a second screen; and if the posture of the target object in the first image is dynamically changed, displaying a third image on the basis of the second image, namely synchronously displaying the target object which is dynamically changed on the first image of the first screen through the second third image.
For example, if at a later stage, a single photo is used for repairing a photo by scratching, and some people cannot participate in the photo for some reason when the photo is taken, so that at least one person is absent in the taken picture 1 (namely the second image), and the selected photo action and expression are not taken together with the current atmosphere, so that a scene with a sense of incongruity is generated.
Here, in the shooting mode, the picture 1 may be displayed through the second screen, and the first image to be shot and including the target object not participating in the co-shooting may be displayed through the first screen, so that when the target object changes, a third image may be displayed on the picture 1, where the third image is an image of an area where the target object is located in the first image, and thus, the changed target object may be synchronously displayed on the second screen.
From this, need not the later stage and carry out photo restoration through the single photo scratch, the user can also adjust the target object action of waiting to shoot in the first screen according to the action that shows the object in picture 1, like this, when making things convenient for the later stage synthesis, can not produce and feel violating the harmony because the photo action and the expression of chooseing for use do not in time with the atmosphere at that time. Step 120, in response to the first input, displaying a third image on the second image of the second screen.
The content displayed on the first screen is a shooting preview picture or a video picture; and under the condition that the content displayed on the first screen is a shooting preview picture, the first image is a first preview image. Or, in the case where the content displayed on the first screen is a video screen, the first image is a first video image.
Therefore, before synthesizing the target image based on the second image and the third image, when the first screen is a preview screen, the image of the target object displayed in the second screen is updated in real time in synchronization with the preview screen, and the specific steps are as follows:
displaying the content on the first screen as a shooting preview picture; the target object in the third image is in a first display state; here, the size and position of the display of the target object in the first display state are different from those in the second display state;
in response to the first input, after displaying a third image on the second image of the second screen, further comprising:
detecting an update of a display state of a target object;
under the condition that the target object is detected to be updated to a second display state, a second preview image is obtained, wherein the second preview image is a frame of preview image which is displayed on the first screen and is in the second display state;
scratching a fourth image of the area where the target object is located from the second preview image;
and updating the third image displayed on the second image into a fourth image.
In this way, the method can solve the above problems, for example, displaying the shot second image, i.e. the macro photo, on the second screen, and displaying the first image, i.e. the preview image of the single photo, on the first screen, and then, receiving the first input of the user to the target object in the first image displayed on the first screen in the above manner; in response to the first input, displaying a third image on the second image of the second screen, wherein the third image is an image of a region where the target object in the first image is located, so that the target object in the first image can be guided according to the action of the object in the second image, so that the action of the target object is consistent with the action of the object in the second image, and therefore, the obtained third image and the second image are fused, and the image processing mode of dynamic matting can be realized. In summary, when the target object of the first image on the first screen is updated, the third image displayed on the basis of the second image can be automatically updated to be the fourth image, so that the user does not need to cut out the image again, and the user operation is reduced.
Furthermore, in addition to selecting a target object in a picture, a target object may also be selected in a video. Before synthesizing a target image based on a second image and a third image, when a first screen is a video image, an image of a target person in the second screen is a target object in a frame of video image selected by a user, and the specific steps are as follows:
in response to the first input, after displaying a third image on the second image of the second screen, further comprising:
receiving a second input of a second video image in the video picture displayed on the first screen by the user
In response to the second input, a fifth image of the area where the target object is located is scratched from the second video image;
updating a third image displayed on the second image to a fifth image;
the first video image and the second video image are video frame images at different time points.
In this way, in the embodiment of the present invention, by receiving a first input of a user to a target object in a first image displayed on a first screen; and displaying a third image on the second image of the second screen, wherein the third image is an image of the area where the target object is located in the first image. Therefore, the problem that the action of the single photo is synthesized into the co-shooting by using post-processing in the scene that some people cannot take part in the co-shooting for some reasons, so that the non-co-shooting is caused and the discomfort is caused can be solved. And the problems that when a picture containing special actions such as flight and flying is shot, the shot picture is not matched with a background and a character, the character is fuzzy and the like due to limited shooting skills of a photographer are solved. Therefore, the editing mode of image (or video) dynamic cutout is realized in the shooting process, the steps of editing the image by the user are better simplified, and the image processing efficiency is improved.
In addition, based on the above steps, the method provided in the embodiment of the present invention is a process of displaying a target object in a first image on a first screen on a second image based on a third image, so that when any change occurs to the target object in the first image, the display of the target object needs to be updated on the third image in the second screen, and thus, after step 120, the method in the embodiment of the present invention may further include:
receiving a third input of the target object by the user;
in response to a third input, the display of the target object is updated.
Further, at least one of the following is included in embodiments of the present invention: updating the display size of the target object and updating the display position of the target object.
Therefore, based on the steps, the user can simultaneously view the preview interface and the interface generated by the final image, so that the user can operate the target object, and the display size of the target object and the display position of the updated target object are more in line with the requirements of the user. .
In order to facilitate understanding of the method provided by the embodiment of the present invention, based on the above contents, the following takes the contents displayed on the first screen as the shooting preview screen as an example, and the image processing method provided by the embodiment of the present invention is exemplified.
Fig. 3 is a flowchart of a method for implementing image processing according to an embodiment of the present invention.
As shown in fig. 3, the image processing method may specifically include step 310 and step 370, and the specific contents are as follows:
and 310, displaying a first image previewed in the application program through a first screen of the electronic equipment, and displaying a second image and a shooting menu of the application program through a second screen of the electronic equipment.
In the step, two display interfaces in the same (or different) application program can be respectively displayed through two screens of the electronic equipment, namely, a previewed first image is displayed through the first screen, and a shooting menu and a user-selected second image are displayed through the second screen, so that the previewed first image and the user-selected interface for matting the second image are simultaneously displayed while the previewed first image is prevented from being blocked.
Step 320, receiving a first input of a target object in a first image displayed on a first screen by a user.
Here, it may be that a first input of the target object in the first image by the user is received based on the photographing menu.
Step 330, in response to the first input, displays a third image on the second image of the second screen.
And the third image is the image of the area where the target object is located in the first image.
Here, an embodiment of the present invention provides a method of determining a second image of a second screen, as follows:
as shown in fig. 4, a first interface is displayed through a first screen, where the first interface includes preview matting (that is, the content displayed on the first screen is a shooting preview picture) and video matting (that is, the content displayed on the first screen is a video picture);
as shown in FIG. 5, upon receiving a user determination to preview a matte, the source (e.g., gallery) of at least one second image is displayed on the first screen.
And under the condition that the user selection gallery is received, displaying at least one picture through the first screen, and continuously receiving the operation that the user selects the second image. Here, the second image may be displayed through the second screen.
Step 340, detecting the update of the display state of the target object.
As shown in fig. 6, when it is detected that the target object display state is updated from the first display state (1) to the second display state (2), step 350 is performed.
Here, the size and position of the display of the target object in the first display state are different from those in the second display state.
Here, it may be understood that the state in which the user confirms the target object in the first image has been confirmed by the user may be acquired through the virtual end button 61.
And step 350, acquiring a second preview image under the condition that the target object is detected to be updated to the second display state.
The second preview image is a frame of preview image of the target object displayed on the first screen in the second display state.
As shown in fig. 7, when it is determined that the target object display state on the first screen is updated to the state (2), the updated target object, i.e., the second preview image, is displayed through the first screen, and the second image 70 is displayed through the second screen.
And 360, matting a fourth image of the region where the target object is located from the second preview image, and updating a third image displayed on the second image into the fourth image.
As shown in fig. 8, on the second image 80 of the second screen, a fourth image 81 is displayed.
It is understood that the target object on the second image changes with synchronization as the display size of the target object and the display position of the target object on the first screen change. The fourth image may be a general one, for example, when the fourth image is updated, the target image may be determined, and of course, the fourth image may also be an nth image, where N is an integer greater than four.
Wherein, the display size of the target object and the display position of the target object may be changed because the image itself is a dynamic image; alternatively, as shown in fig. 9, the display size of the target object and the display position of the target object may be changed by a user operation.
And step 370, when receiving an instruction that the user determines to generate the target image, fusing the fourth image and the second image to obtain the target image.
In addition, the user can select whether to save or abandon the currently fused target image according to the actual situation, if the target image meets the user requirement, the input of the user for finishing editing in the editing menu is received, and the target image is displayed in response to the input. If the target image does not meet the user requirement, the process returns to step 330 for re-operation.
Therefore, in the embodiment of the invention, the first input of the user to the target object in the first image displayed on the first screen is received; and displaying a third image on the second image of the second screen, wherein the third image is an image of the area where the target object is located in the first image. Therefore, the problem that the action of the single photo is synthesized into the co-shooting by using post-processing in the scene that some people cannot take part in the co-shooting for some reasons, so that the non-co-shooting is caused and the discomfort is caused can be solved. And the problems that when a picture containing special actions such as flight and flying is shot, the shot picture is not matched with a background and a character, the character is fuzzy and the like due to limited shooting skills of a photographer are solved. Therefore, the editing mode of image (or video) dynamic cutout is realized in the shooting process, the steps of editing the image by the user are better simplified, and the image processing efficiency is improved.
In addition, the shooting preview picture of the first interface is replaced by a video picture, and the method can be used for capturing some special commemorative lenses during graduation shooting, for example: the picture of flying in the air. The conventional method is to use continuous shooting or common shooting mode to take a snapshot, however, the snapshot opportunity and shooting skill are limited, resulting in the problem that a satisfactory picture is often not obtained. Thus, the method provided by this step can solve the problems in the above scenarios. Firstly, shooting a first image, namely a landscape picture; and then, selecting the action required by the user frame by frame in the shot second video image capable of expressing the action of the user until a frame satisfied by the user is selected, matting a fifth image of the region where the target object is located, updating a third image displayed on the second image into the fifth image after the fifth image is selected, and fusing the fifth image and the second image to obtain the image required by the user.
Fig. 10 is a schematic structural diagram of an image processing apparatus according to an embodiment of the present invention.
As shown in fig. 10, the apparatus 100 may specifically include:
an obtaining module 1001, configured to receive a first input of a target object in a first image displayed on a first screen by a user;
the display module 1002 is configured to display, in response to the first input, a third image on the second image of the second screen, where the third image is an image of an area where the target object is located in the first image;
the content displayed on the first screen is a shooting preview picture or a video picture; under the condition that the content displayed on the first screen is a shooting preview picture, the first image is a first preview image; in the case where the content displayed on the first screen is a video picture, the first image is a first video image.
Thereby, by receiving a first input of a user to a target object in a first image displayed on a first screen; and displaying a third image on the second image of the second screen, wherein the third image is an image of the area where the target object is located in the first image. Therefore, the problem that the action of the single photo is synthesized into the co-shooting by using post-processing in the scene that some people cannot take part in the co-shooting for some reasons, so that the non-co-shooting is caused and the discomfort is caused can be solved. And the problems that when a picture containing special actions such as flight and flying is shot, the shot picture is not matched with a background and a character, the character is fuzzy and the like due to limited shooting skills of a photographer are solved. Therefore, the editing mode of image (or video) dynamic cutout is realized in the shooting process, the steps of editing the image by the user are better simplified, and the image processing efficiency is improved.
In one possible embodiment, the content displayed on the first screen is a shooting preview picture; the target object in the third image is in a first display state;
the image processing apparatus 100 further includes: a detection module 1003, an interception module 1004 and an update module 1005; wherein the content of the first and second substances,
a detection module 1003, configured to detect an update of a display state of a target object;
the obtaining module 1001 is configured to obtain a second preview image when it is detected that the target object is updated to the second display state, where the second preview image is a frame of preview image of the target object displayed on the first screen in the second display state;
an intercepting module 1004, configured to scrape a fourth image of the region where the target object is located from the second preview image;
an updating module 1005, configured to update the third image displayed on the second image to a fourth image.
Here, the method may solve the above-described problems, for example, displaying a photographed second image, i.e., a large group photograph, on a second screen, and displaying a first image, i.e., a preview image of a single person photograph, on a first screen, and then, receiving a first input of a user to a target object in the first image displayed on the first screen in the above-described manner; in response to the first input, displaying a third image on the second image of the second screen, wherein the third image is an image of a region where the target object in the first image is located, so that the target object in the first image can be guided according to the action of the object in the second image, so that the action of the target object is consistent with the action of the object in the second image, and therefore, the obtained third image and the second image are fused, and the image processing mode of dynamic matting can be realized. In summary, when the target object of the first image on the first screen is updated, the third image displayed on the basis of the second image can be automatically updated to be the fourth image, so that the user does not need to cut out the image again, and the user operation is reduced.
In another possible embodiment, the content displayed on the first screen is a video picture;
the image processing apparatus 100 further includes: an intercept module 1004 and an update module 1005; wherein the content of the first and second substances,
an obtaining module 1001, configured to receive a second input of a second video image in the video frame displayed on the first screen from the user
An intercepting module 1004, configured to, in response to the second input, scratch a fifth image of a region where the target object is located from the second video image;
an updating module 1005, configured to update the third image displayed on the second image to a fifth image;
the first video image and the second video image are video frame images at different time points.
In addition, in another possible embodiment, the obtaining module 1001 in the embodiment of the present invention is configured to receive a third input of the target object from the user;
the updating module 1005 in the embodiment of the present invention may further be configured to update the display of the target object in response to a third input. Further, the updating module 1005 may specifically be configured to update the display size of the target object and update the display position of the target object. Here, based on this step, the user can view the preview interface and the interface of the final image generation at the same time, so that the user can operate the target object to make the display size of the target object and the display position of the updated target object more meet the user's requirements.
Thus, a first input of a target object in a first image displayed by a first screen by a user can be received; and displaying a third image on the second image of the second screen, wherein the third image is an image of the area where the target object is located in the first image. Therefore, the problem that the action of the single photo is synthesized into the co-shooting by using post-processing in the scene that some people cannot take part in the co-shooting for some reasons, so that the non-co-shooting is caused and the discomfort is caused can be solved. And the problems that when a picture containing special actions such as flight and flying is shot, the shot picture is not matched with a background and a character, the character is fuzzy and the like due to limited shooting skills of a photographer are solved. Therefore, the editing mode of image (or video) dynamic cutout is realized in the shooting process, the steps of editing the image by the user are better simplified, and the image processing efficiency is improved.
Fig. 11 is a schematic diagram of a hardware structure of an electronic device according to an embodiment of the present invention.
The electronic device 1100 includes, but is not limited to: the mobile terminal includes a radio frequency unit 1101, a network module 1102, an audio output unit 1103, an input unit 1104, a sensor 1105, a display unit 1106, a user input unit 1107, an interface unit 1108, a memory 1109, a processor 1110, a power supply 1111, and a shooting module 1112. Those skilled in the art will appreciate that the electronic device configuration shown in fig. 11 does not constitute a limitation of electronic devices, which may include more or fewer components than shown, or some components may be combined, or a different arrangement of components. In the embodiment of the present invention, the electronic device includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted terminal, a wearable device, a pedometer, and the like.
The user input unit 1107 is configured to receive a first input by a user to a target object in a first image displayed on a first screen;
the processor 1110 is configured to, in response to the first input, control the display unit 1106 to display a third image on the second image of the second screen, where the third image is an image of an area where the target object is located in the first image;
the content displayed on the first screen is a shooting preview picture or a video picture; under the condition that the content displayed on the first screen is a shooting preview picture, the first image is a first preview image; in the case where the content displayed on the first screen is a video picture, the first image is a first video image.
In the embodiment of the invention, a first input of a user to a target object in a first image displayed on a first screen is received; and displaying a third image on the second image of the second screen, wherein the third image is an image of the area where the target object is located in the first image. Therefore, the problem that the action of the single photo is synthesized into the co-shooting by using post-processing in the scene that some people cannot take part in the co-shooting for some reasons, so that the non-co-shooting is caused and the discomfort is caused can be solved. And the problems that when a picture containing special actions such as flight and flying is shot, the shot picture is not matched with a background and a character, the character is fuzzy and the like due to limited shooting skills of a photographer are solved. Therefore, the editing mode of image (or video) dynamic cutout is realized in the shooting process, the steps of editing the image by the user are better simplified, and the image processing efficiency is improved. In the embodiment of the present invention, the radio frequency unit 1101 may be configured to receive and transmit signals during a message transmission or communication process, specifically, receive downlink resources from a base station and then process the received downlink resources to the processor 1110; in addition, the uplink resource is transmitted to the base station. In general, radio frequency unit 1101 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 1101 may also communicate with a network and other devices through a wireless communication system.
The electronic device provides wireless broadband internet access to the user via the network module 1102, such as to assist the user in sending and receiving e-mail, browsing web pages, and accessing streaming media.
The audio output unit 1103 may convert an audio resource received by the radio frequency unit 1101 or the network module 1102 or stored in the memory 1109 into an audio signal and output as sound. Also, the audio output unit 1103 may also provide audio output related to a specific function performed by the electronic device 1100 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 1103 includes a speaker, a buzzer, a receiver, and the like.
The input unit 1104 is used to receive audio or video signals. The input Unit 1104 may include a Graphics Processing Unit (GPU) 7041 and a microphone 11042, and the Graphics processor 11041 processes image resources of still pictures or videos obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The processed image frame may be displayed on the display unit 1107. The image frames processed by the graphic processor 11041 may be stored in the memory 1109 (or other storage medium) or transmitted via the radio frequency unit 1101 or the network module 1102. The microphone 11042 may receive sound and may be capable of processing such sound into an audio asset. The processed audio resources may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 1101 in case of the phone call mode.
The electronic device 1100 also includes at least one sensor 1105, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor that adjusts the brightness of the display panel 11061 according to the brightness of ambient light, and a proximity sensor that turns off the display panel 11061 and the backlight when the electronic device 1100 moves to the ear. As one type of motion sensor, an accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of an electronic device (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), and vibration identification related functions (such as pedometer, tapping); the sensors 1105 may also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., and will not be described in detail herein.
The display unit 1106 is used to display information input by a user or information provided to the user. The Display unit 1106 may include a Display panel 11061, and the Display panel 11061 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like. In an embodiment of the present invention, the display panel may include a first screen and a second screen.
The user input unit 1107 may be used to receive input numeric or character information and generate key signal inputs relating to user settings and function control of the electronic apparatus. Specifically, the user input unit 1107 includes a touch panel 11071 and other input devices 11072. The touch panel 11071, also referred to as a touch screen, may collect touch operations by a user on or near the touch panel 11071 (e.g., operations by a user on or near the touch panel 11071 using a finger, a stylus, or any other suitable object or attachment). The touch panel 11071 may include two portions of a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, and sends the touch point coordinates to the processor 1110, and receives and executes commands sent from the processor 1110. In addition, the touch panel 11071 may be implemented by various types, such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. The user input unit 1107 may include other input devices 11072 in addition to the touch panel 11071. In particular, the other input devices 11072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein.
Further, the touch panel 11071 can be overlaid on the display panel 11061, and when the touch panel 11071 detects a touch operation thereon or nearby, the touch operation is transmitted to the processor 1110 to determine the type of the touch event, and then the processor 1110 provides a corresponding visual output on the display panel 11061 according to the type of the touch event. Although the touch panel 11071 and the display panel 11061 are shown in fig. 11 as two separate components to implement the input and output functions of the electronic device, in some embodiments, the touch panel 11071 and the display panel 11061 may be integrated to implement the input and output functions of the electronic device, and the embodiment is not limited herein.
The interface unit 1108 is an interface for connecting an external device to the electronic apparatus 1100. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless resource port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. Interface unit 1108 may be used to receive input (e.g., resource information, power, etc.) from an external device and transmit the received input to one or more elements within electronic device 1100 or may be used to transmit resources between electronic device 1100 and an external device.
The memory 1109 may be used to store software programs and various resources. The memory 1109 may mainly include a storage program area and a storage resource area, where the storage program area may store an operating system, an application program (such as a sound playing function, an image playing function, etc.) required by at least one function, and the like; the storage resource area may store resources (such as audio resources, a phonebook, etc.) created according to the use of the cellular phone, and the like. In addition, the memory 1109 may include high speed random access memory and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The processor 1110 is a control center of the electronic device, connects various parts of the entire electronic device using various interfaces and lines, and performs various functions and processing resources of the electronic device by operating or executing software programs and modules stored in the memory 1109 and calling resources stored in the memory 1109, thereby performing overall monitoring of the electronic device. Processor 1110 may include one or more processing units; preferably, the processor 1110 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into processor 1110.
The electronic device 1100 may further include a power supply 1111 (e.g., a battery) for supplying power to various components, and preferably, the power supply 1111 may be logically connected to the processor 1110 via a power management system, so as to manage charging, discharging, and power consumption management functions via the power management system.
The camera module 1112 may include at least one camera for acquiring at least one image (e.g., a first image and a second image) under the control of the processor 1110.
In addition, the electronic device 1100 includes some functional modules that are not shown, and thus are not described in detail herein.
Preferably, an embodiment of the present invention further provides a mobile terminal, which includes a processor 1110, a memory 1109, and a computer program that is stored in the memory 1109 and can be run on the processor 1110, where the computer program, when executed by the processor 1110, implements each process of the above-described image processing method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not described here again.
Embodiments of the present invention also provide a computer-readable storage medium, on which a computer program is stored, which, when executed in a computer, causes the computer to perform the steps of the image processing method of an embodiment of the present invention.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling an electronic device (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (10)

1. An image processing method applied to an electronic device including a first screen and a second screen, comprising:
receiving a first input of a target object in a first image displayed by a first screen by a user;
responding to the first input, and displaying a third image on a second image of a second screen, wherein the third image is an image of an area where the target object is located in the first image;
the content displayed on the first screen is a shooting preview picture or a video picture; under the condition that the content displayed on the first screen is a shooting preview picture, the first image is a first preview image; and under the condition that the content displayed on the first screen is a video picture, the first image is a first video image.
2. The method according to claim 1, wherein the content displayed on the first screen is a shooting preview screen; the target object in the third image is in a first display state;
the responding to the first input, after displaying a third image on the second image of the second screen, further comprising:
detecting an update of the target object display state;
under the condition that the target object is detected to be updated to a second display state, acquiring a second preview image, wherein the second preview image is a frame of preview image of the target object displayed on the first screen in the second display state;
scratching a fourth image of the area where the target object is located from the second preview image;
updating the third image displayed on the second image to the fourth image.
3. The method of claim 1, wherein the content displayed on the first screen is a video picture;
the responding to the first input, after displaying a third image on the second image of the second screen, further comprising:
receiving a second input of a user to a second video image in the video picture displayed on the first screen;
in response to the second input, a fifth image of a region where the target object is located is scratched from the second video image;
updating the third image displayed on the second image to the fifth image;
the first video image and the second video image are video frame images at different time points.
4. The method of claim 1, wherein the displaying a third image on a second image of a second screen in response to the first input further comprises:
receiving a third input of the target object by the user;
updating display of the target object in response to the third input.
5. The method of claim 4, wherein the updating the display of the target object comprises at least one of:
updating the display size of the target object;
and updating the display position of the target object.
6. An electronic device comprising a first screen and a second screen, comprising:
the acquisition module is used for receiving first input of a user on a target object in a first image displayed on a first screen;
the display module is used for responding to the first input and displaying a third image on a second image of a second screen, wherein the third image is an image of an area where the target object is located in the first image;
the content displayed on the first screen is a shooting preview picture or a video picture; under the condition that the content displayed on the first screen is a shooting preview picture, the first image is a first preview image; and under the condition that the content displayed on the first screen is a video picture, the first image is a first video image.
7. The electronic device according to claim 1, wherein the content displayed on the first screen is a shooting preview screen; the target object in the third image is in a first display state;
the image processing apparatus further includes: the device comprises a detection module, an interception module and an updating module; wherein the content of the first and second substances,
the detection module is used for detecting the update of the display state of the target object;
the acquisition module is configured to acquire a second preview image when it is detected that the target object is updated to a second display state, where the second preview image is a frame of preview image of the target object displayed on the first screen in the second display state;
the intercepting module is used for matting a fourth image of the area where the target object is located from the second preview image;
the updating module is configured to update the third image displayed on the second image to the fourth image.
8. The electronic device according to claim 1, wherein the content displayed on the first screen is a video picture;
the image processing apparatus further includes: the device comprises an interception module and an updating module; wherein the content of the first and second substances,
the acquisition module is used for receiving second input of a user to a second video image in the video picture displayed on the first screen;
the intercepting module is used for responding to the second input and scratching a fifth image of the area where the target object is located from the second video image;
the updating module is configured to update the third image displayed on the second image to the fifth image;
the first video image and the second video image are video frame images at different time points.
9. The electronic device of claim 1, wherein the image processing apparatus, in response to the first input, on a second image of a second screen, further comprises: an update module; wherein the content of the first and second substances,
the acquisition module is used for receiving a third input of the target object by the user;
the update module is to update the display of the target object in response to the third input.
10. The electronic device of claim 4, wherein the update module is configured to perform at least one of:
updating the display size of the target object;
and updating the display position of the target object.
CN201911201162.0A 2019-11-29 2019-11-29 Image processing method and electronic equipment Pending CN110798621A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911201162.0A CN110798621A (en) 2019-11-29 2019-11-29 Image processing method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911201162.0A CN110798621A (en) 2019-11-29 2019-11-29 Image processing method and electronic equipment

Publications (1)

Publication Number Publication Date
CN110798621A true CN110798621A (en) 2020-02-14

Family

ID=69446844

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911201162.0A Pending CN110798621A (en) 2019-11-29 2019-11-29 Image processing method and electronic equipment

Country Status (1)

Country Link
CN (1) CN110798621A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111669507A (en) * 2020-07-01 2020-09-15 维沃移动通信有限公司 Photographing method and device and electronic equipment
CN111756995A (en) * 2020-06-17 2020-10-09 维沃移动通信有限公司 Image processing method and device
CN113794835A (en) * 2021-08-31 2021-12-14 维沃移动通信(杭州)有限公司 Video recording method and device and electronic equipment
WO2022170918A1 (en) * 2021-02-09 2022-08-18 华为技术有限公司 Multi-person-capturing method and electronic device
CN117424958A (en) * 2023-09-15 2024-01-19 荣耀终端有限公司 Switching method of camera display interface and electronic equipment
CN117424958B (en) * 2023-09-15 2024-06-07 荣耀终端有限公司 Switching method of camera display interface, electronic equipment, chip system and storage medium

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102055834A (en) * 2009-10-30 2011-05-11 Tcl集团股份有限公司 Double-camera photographing method of mobile terminal
CN104346157A (en) * 2013-08-06 2015-02-11 腾讯科技(深圳)有限公司 Picture processing method and device and terminal equipment
CN104967790A (en) * 2014-08-06 2015-10-07 腾讯科技(北京)有限公司 Photo shooting method, photo shooting apparatus and mobile terminal
CN105578303A (en) * 2015-12-12 2016-05-11 重庆森鑫炬科技有限公司 Image processing method
CN108055483A (en) * 2017-11-30 2018-05-18 努比亚技术有限公司 A kind of picture synthesis method, mobile terminal and computer readable storage medium
CN108282622A (en) * 2018-01-29 2018-07-13 三星电子(中国)研发中心 Method, photo taking and device
CN108777766A (en) * 2018-08-10 2018-11-09 维沃移动通信有限公司 A kind of more people's photographic methods, terminal and storage medium
CN108933891A (en) * 2017-05-26 2018-12-04 腾讯科技(深圳)有限公司 Photographic method, terminal and system
CN109102555A (en) * 2018-06-29 2018-12-28 维沃移动通信有限公司 A kind of image edit method and terminal

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102055834A (en) * 2009-10-30 2011-05-11 Tcl集团股份有限公司 Double-camera photographing method of mobile terminal
CN104346157A (en) * 2013-08-06 2015-02-11 腾讯科技(深圳)有限公司 Picture processing method and device and terminal equipment
CN104967790A (en) * 2014-08-06 2015-10-07 腾讯科技(北京)有限公司 Photo shooting method, photo shooting apparatus and mobile terminal
CN105578303A (en) * 2015-12-12 2016-05-11 重庆森鑫炬科技有限公司 Image processing method
CN108933891A (en) * 2017-05-26 2018-12-04 腾讯科技(深圳)有限公司 Photographic method, terminal and system
CN108055483A (en) * 2017-11-30 2018-05-18 努比亚技术有限公司 A kind of picture synthesis method, mobile terminal and computer readable storage medium
CN108282622A (en) * 2018-01-29 2018-07-13 三星电子(中国)研发中心 Method, photo taking and device
CN109102555A (en) * 2018-06-29 2018-12-28 维沃移动通信有限公司 A kind of image edit method and terminal
CN108777766A (en) * 2018-08-10 2018-11-09 维沃移动通信有限公司 A kind of more people's photographic methods, terminal and storage medium

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111756995A (en) * 2020-06-17 2020-10-09 维沃移动通信有限公司 Image processing method and device
CN111669507A (en) * 2020-07-01 2020-09-15 维沃移动通信有限公司 Photographing method and device and electronic equipment
WO2022170918A1 (en) * 2021-02-09 2022-08-18 华为技术有限公司 Multi-person-capturing method and electronic device
CN113794835A (en) * 2021-08-31 2021-12-14 维沃移动通信(杭州)有限公司 Video recording method and device and electronic equipment
CN117424958A (en) * 2023-09-15 2024-01-19 荣耀终端有限公司 Switching method of camera display interface and electronic equipment
CN117424958B (en) * 2023-09-15 2024-06-07 荣耀终端有限公司 Switching method of camera display interface, electronic equipment, chip system and storage medium

Similar Documents

Publication Publication Date Title
CN108513070B (en) Image processing method, mobile terminal and computer readable storage medium
CN108668083B (en) Photographing method and terminal
CN109639970B (en) Shooting method and terminal equipment
CN111541845B (en) Image processing method and device and electronic equipment
CN107592466B (en) Photographing method and mobile terminal
CN109862267B (en) Shooting method and terminal equipment
CN108495029B (en) Photographing method and mobile terminal
CN108307109B (en) High dynamic range image preview method and terminal equipment
CN110505400B (en) Preview image display adjustment method and terminal
CN110933306A (en) Method for sharing shooting parameters and electronic equipment
CN110798621A (en) Image processing method and electronic equipment
CN109905603B (en) Shooting processing method and mobile terminal
CN111010511B (en) Panoramic body-separating image shooting method and electronic equipment
CN109102555B (en) Image editing method and terminal
CN109104566B (en) Image display method and terminal equipment
CN111669503A (en) Photographing method and device, electronic equipment and medium
CN110769174B (en) Video viewing method and electronic equipment
CN111597370B (en) Shooting method and electronic equipment
CN109819166B (en) Image processing method and electronic equipment
CN109246351B (en) Composition method and terminal equipment
CN108924422B (en) Panoramic photographing method and mobile terminal
CN111246102A (en) Shooting method, shooting device, electronic equipment and storage medium
CN107959755B (en) Photographing method, mobile terminal and computer readable storage medium
CN110830713A (en) Zooming method and electronic equipment
CN108174110B (en) Photographing method and flexible screen terminal

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20200214

RJ01 Rejection of invention patent application after publication