CN113079316B - Image processing method, image processing device and electronic equipment - Google Patents

Image processing method, image processing device and electronic equipment Download PDF

Info

Publication number
CN113079316B
CN113079316B CN202110328062.5A CN202110328062A CN113079316B CN 113079316 B CN113079316 B CN 113079316B CN 202110328062 A CN202110328062 A CN 202110328062A CN 113079316 B CN113079316 B CN 113079316B
Authority
CN
China
Prior art keywords
image
target
preview
input
user
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202110328062.5A
Other languages
Chinese (zh)
Other versions
CN113079316A (en
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.)
Nanjing Weibo Software Technology 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 CN202110328062.5A priority Critical patent/CN113079316B/en
Publication of CN113079316A publication Critical patent/CN113079316A/en
Application granted granted Critical
Publication of CN113079316B publication Critical patent/CN113079316B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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
    • H04N23/63Control of cameras or camera modules by using electronic viewfinders
    • H04N23/631Graphical user interfaces [GUI] specially adapted for controlling image capture or setting capture parameters
    • H04N23/632Graphical user interfaces [GUI] specially adapted for controlling image capture or setting capture parameters for displaying or modifying preview images prior to image capturing, e.g. variety of image resolutions or capturing parameters
    • 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

Abstract

The application discloses an image processing method, an image processing device and electronic equipment, and belongs to the technical field of image processing. The method comprises the following steps: acquiring a first preview image displayed on a shooting preview interface; carrying out mirror image processing on the first preview image according to the target mirror image direction and the target mirror image effect to obtain a second preview image; and displaying the second preview image in a target area of the shooting preview interface, wherein the target area is an area corresponding to the target image mirroring direction. The method can realize the mirror image processing of the image during the previewing, obtain the image with the mirror image effect, increase the shooting interest, simultaneously display the first preview image and the second preview image after the mirror image processing on the shooting preview interface, and display the actual picture collected by the electronic equipment and the corresponding mirror image to the user in real time so as to visually display the obtained mirror image effect to the user.

Description

Image processing method, image processing device and electronic equipment
Technical Field
The present application belongs to the field of image processing technologies, and in particular, to an image processing method, an image processing apparatus, and an electronic device.
Background
Users always tend to take new and unique photos, such as mirror images, when taking pictures using electronic devices. At present, in the related art, a user needs to perform later image processing on a photo through professional image processing software to obtain the photo with a mirror image effect, but the method is complex to operate and has high operation difficulty.
Disclosure of Invention
The embodiment of the application aims to provide an image processing method, which can solve the problems of complex operation and high operation difficulty when a mirror image is obtained through professional image processing software.
In order to solve the technical problem, the present application is implemented as follows:
in a first aspect, an embodiment of the present application provides an image processing method, including:
acquiring a first preview image displayed on a shooting preview interface;
carrying out mirror image processing on the first preview image according to the target mirror image direction and the target mirror image effect to obtain a second preview image;
and displaying the second preview image in a target area of the shooting preview interface, wherein the target area is an area corresponding to the target image mirroring direction.
In a second aspect, an embodiment of the present application provides an image processing apparatus, including:
the acquisition module is used for acquiring a first preview image displayed on a shooting preview interface;
the mirror image processing module is used for carrying out mirror image processing on the first preview image according to the target mirror image direction and the target mirror image effect to obtain a second preview image;
and the display module is used for displaying the second preview image in a target area of the shooting preview interface, wherein the target area is an area corresponding to the target mirror image direction.
In a third aspect, an embodiment of the present application provides an electronic device, which includes a processor, a memory, and a program or instructions stored on the memory and executable on the processor, and when executed by the processor, the program or instructions implement the steps of the method according to the first aspect.
In a fourth aspect, embodiments of the present application provide a readable storage medium, on which a program or instructions are stored, which when executed by a processor implement the steps of the method according to the first aspect.
In a fifth aspect, an embodiment of the present application provides a chip, where the chip includes a processor and a communication interface, where the communication interface is coupled to the processor, and the processor is configured to execute a program or instructions to implement the method according to the first aspect.
In this embodiment, after acquiring a first preview image displayed on a shooting preview interface, an electronic device processes the first preview image according to a target mirror image direction and a target mirror image effect to obtain a second preview image, and displays the second preview image in a target area of the shooting preview interface. The method can realize the mirror image processing of the image during the previewing, obtain the image with the mirror image effect, increase the shooting interest, simultaneously display the first preview image and the second preview image after the mirror image processing on the shooting preview interface, and display the actual picture collected by the electronic equipment and the corresponding mirror image to the user in real time so as to visually display the obtained mirror image effect to the user. And, this embodiment does not rely on the external environment condition under the circumstances, can realize the simulation to the mirror image environment of shooing, obtains the image that has the mirror image effect, and the shooting degree of difficulty is low. In addition, this embodiment need not rely on user's technique of shooing, and easy operation can promote the shooting quality of image.
Drawings
Fig. 1 is a flowchart of an image processing method according to an embodiment of the present application.
Fig. 2 is a schematic diagram of a mobile phone interface provided in an embodiment of the present application.
Fig. 3 is a schematic diagram of acquiring a target mirror image direction according to an embodiment of the present application.
Fig. 4 is a schematic diagram for obtaining a target mirror effect according to an embodiment of the present application.
Fig. 5 is a schematic diagram of a shooting preview interface provided in an embodiment of the present application.
Fig. 6 is a schematic diagram of selecting a mirror object according to an embodiment of the present application.
Fig. 7a is a schematic diagram of an alternative second mirror object according to an embodiment of the present application.
Fig. 7b is a schematic diagram of another alternative second mirror object provided in this embodiment of the present application.
Fig. 8 is a schematic diagram of a photographic target image according to an embodiment of the present application.
Fig. 9 is a schematic diagram of outputting a target image of a third area according to an embodiment of the present application.
Fig. 10 is a schematic structural diagram of an image processing apparatus according to an embodiment of the present application.
Fig. 11 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. 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 application.
The terms first, second and the like in the description and in the claims of the present application are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It should be understood that the data so used may be interchanged under appropriate circumstances such that embodiments of the application may be implemented in sequences other than those illustrated or described herein. In addition, "and/or" in the specification and claims means at least one of connected objects, a character "/", and generally means that the former and latter related objects are in an "or" relationship.
The image processing method provided by the embodiment of the present application is described in detail below with reference to the accompanying drawings by using specific embodiments and application scenarios thereof.
Please refer to fig. 1, which is a flowchart illustrating an image processing method according to an embodiment of the present application. The method can be applied to electronic equipment, and the electronic equipment can be a mobile phone, a tablet computer, a notebook computer and the like. As shown in fig. 1, the method may include steps 1100-1300, described in detail below.
Step 1100, acquiring a first preview image displayed on a shooting preview interface.
The capture preview interface can be a capture interface of a camera application of the electronic device.
The first preview image is an image collected by a camera in the shooting and previewing process and used for a user to preview and view.
It should be noted that the electronic device having a shooting function provides a user with a plurality of shooting modes, for example, a panorama mode, a beauty mode, a video recording mode, and the like. Similarly, in the present embodiment, the camera application of the electronic device includes an interesting mirror mode, which specifically refers to a shooting mode with mirror effect. When a user uses the electronic equipment to shoot an image, a camera application program is started, and the electronic equipment displays a shooting preview interface so as to show a first preview image to the user. The shooting preview interface further comprises a shooting mode option, the shooting mode option is switched to an interesting mirror image mode according to the input of a user, a first preview image displayed on the shooting preview interface is obtained under the condition that the interesting mirror image mode is started, and then the first preview image is subjected to mirror image processing according to the obtained target mirror image direction and the obtained target mirror image effect, so that an image with a mirror image effect is obtained.
It is understood that the options of the shooting mode may be displayed in a text form or in an icon form, so as to facilitate the selection of the user.
For example, when the electronic device is a cell phone, after the user opens the camera application, the cell phone may present an interface as shown in fig. 2 in which options for shooting modes such as "panorama", "beauty", "take picture", "record", etc. are displayed, and also display a control 201 labeled "more", and in response to the user clicking on the control 201, present more shooting modes, e.g., an interesting mirror 202, in the interface. The mobile phone can respond to the click of a user on a mode option of the interesting mirror image, switch to the interesting mirror image mode, and perform mirror image processing on the acquired first preview image in the interesting mirror image mode to obtain a second preview image.
After step 1100, step 1200 is executed, and the first preview image is subjected to mirroring processing according to the target mirroring direction and the target mirroring effect, so as to obtain a second preview image.
The target mirror image direction may reflect a positional relationship of the first preview image and the second preview image. The display area of the second preview image may be determined according to the target image direction. The target image direction may be, for example, above, below, left or right.
The target mirror effect may be a display effect produced by a mirror photographing environment in life. The target mirror effect may be, for example, a water surface mirror, a glass mirror, a lake surface mirror, a mirror surface mirror, a smooth ground mirror, a smooth wall surface mirror, or the like.
In the specific implementation of step 1200, a symmetry axis may be determined according to the target mirror image direction, and the first preview image is flipped based on the symmetry axis to obtain a second preview image, where the second preview image and the first preview image are mirror-symmetric about the symmetry axis; and then, acquiring an image material corresponding to the target mirror image effect, and fusing the second preview image and the image material corresponding to the target mirror image effect to obtain a second preview image with the target mirror image effect.
The following describes a specific implementation process of step 1200, taking the target mirror image direction as the lower side and the target mirror image effect as the water surface mirror image as an example. And turning over the first preview image by taking the lower edge of the first preview image as a symmetry axis to obtain a second preview image, wherein the second preview image is positioned below the first preview image, and the second preview image and the first preview image are in mirror symmetry about the symmetry axis. And acquiring a water surface image material corresponding to the water surface mirror image, and fusing the water surface image material with the second preview image to obtain a second preview image with a water surface mirror image effect.
In one embodiment, before performing the mirror image processing on the first preview image according to the target mirror image direction and the target mirror image effect, the method may further include: receiving an eighth input of the user; in response to the eighth input, a target mirror image direction is acquired.
In this embodiment, the eighth input may be a single click, a double click, a long press, or the like, and is not limited herein.
Please refer to fig. 3, which is a schematic diagram of acquiring a target mirror image direction according to an embodiment of the present application. Specifically, after entering the interesting mirror mode, mirror direction control 301 is displayed in the interface of the electronic device, and in response to a user clicking on mirror direction control 301, mirror direction options of up, down, left, and right are displayed in the interface, and then, in response to a user clicking on one of the mirror direction options, a target mirror direction is determined, and a target mirror direction selected by the user is displayed in the interface. For example, as shown in fig. 3, in response to the user clicking on the "down" option, the down is determined as the target mirror direction, the identification information of the mirror direction control 301 is updated to the down mirror 302, and then, in response to the user clicking on the down mirror 302, the mirror direction options of up, down, left and right are displayed in the interface again, so as to facilitate the user to change the mirror direction.
In an embodiment, before performing the mirroring process on the first preview image according to the target mirroring direction and the target mirroring effect, the method may further include: receiving a ninth input of the user; and responding to the ninth input, and acquiring a target mirror image effect.
In this embodiment, the ninth input may be a single click, a double click, a long press, or the like, and is not limited herein.
Please refer to fig. 4, which is a schematic diagram of obtaining a target mirror effect according to an embodiment of the present application. Specifically, after entering an interesting mirror image mode, a mirror image effect control 401 is displayed in an interface of the electronic device, options of mirror image effects such as a water surface mirror image, a glass mirror image and the like are displayed in the interface in response to clicking of the mirror image effect control 401 by a user, then, a target mirror image effect is determined in response to clicking of one mirror image effect option by the user, and the target mirror image effect selected by the user is displayed in the interface to facilitate viewing by the user. For example, as shown in fig. 4, in response to a click of a user on a mirror effect option of a water surface mirror image, the water surface mirror image is determined as a target mirror effect, identification information of the mirror effect control 401 is updated to the water surface mirror image 402, and then, in response to a click of the water surface mirror image 402 by the user, options of mirror effects such as the water surface mirror image, the mirror image, and the glass mirror image are displayed in the interface again, so that the user can change the mirror effect conveniently.
In the embodiment of the application, the user can set different target mirror image directions and different target mirror image effects according to actual needs, and mirror image processing is carried out on the first preview image according to the target mirror image directions and the target mirror image effects set by the user to obtain the second preview image, so that different mirror image photographing environments are simulated, and the photographing interest is increased.
It should be noted that, the target mirror direction and the target mirror effect may also be preset, that is, when the camera application of the electronic device is started, after the interesting mirror mode is switched to, the first preview image is subjected to mirror processing according to the preset target mirror direction and the preset target mirror effect, so as to obtain the second preview image.
After step 1100, step 1300 is executed to display the second preview image in a target area of the shooting preview interface, where the target area is an area corresponding to the target mirror image direction.
The shooting preview interface comprises a target area, and the target area is used for displaying the second preview image. That is to say, the first preview image and the second preview image after the mirror image processing are displayed on the shooting preview interface at the same time, so that the actual picture collected by the electronic equipment and the corresponding mirror image can be displayed to the user in real time, and the obtained mirror image effect can be visually displayed to the user.
Please refer to fig. 5, which is a schematic diagram of a preview interface of the present application. Specifically, when the user selects the lower mirror image, the shooting preview interface is seamlessly divided into two upper and lower areas, namely, an area 501 for displaying the first preview image on the upper side and an object area 502 on the lower side, and after the second preview image is obtained, the second preview image is displayed on the object area 502, so that the user can view the images before and after the mirror image processing through the shooting preview interface at the same time, and the user can conveniently view the mirror image effect.
As can be seen from the above description, in this embodiment, after acquiring a first preview image displayed on a shooting preview interface, the electronic device processes the first preview image according to a target mirror image direction and a target mirror image effect to obtain a second preview image, and displays the second preview image in a target area of the shooting preview interface. The method can realize the mirror image processing of the image during the previewing, obtain the image with the mirror image effect, increase the shooting interest, simultaneously display the first preview image and the second preview image after the mirror image processing on the shooting preview interface, and display the actual picture collected by the electronic equipment and the corresponding mirror image to the user in real time so as to visually display the obtained mirror image effect to the user. And, this embodiment can realize the simulation to the mirror image environment of shooing under the condition that does not rely on external environment condition, obtains the image that has the mirror image effect, and the shooting degree of difficulty is low. The embodiment does not need to depend on the photographing technology of the user, is simple to operate, and can improve the photographing quality of the image. In addition, other camera application programs do not need to be additionally downloaded, memory consumption of the electronic equipment can be reduced, the risk of user information leakage can be reduced, and use safety is improved.
In this embodiment, N photographic subjects may be included in the first preview image, where N is a positive integer. The photographic subject may be, for example, a person, an animal, an article, or the like in the first preview image. It can be understood that when the user does not select the shot object, that is, in the default state of the interesting mirror image mode, the first preview image is subjected to mirror image processing according to the target mirror image direction and the target mirror image effect, that is, N shot objects in the first preview image are subjected to mirror image processing, and the obtained second preview image includes N mirror image objects corresponding to the N shot objects respectively. In this embodiment, in order to further increase the interest of photographing, the mirroring process may be performed on a part of the photographic objects in the first preview image according to the actual needs of the user. In a specific implementation, the user may select an object to be mirrored before mirroring the first preview image. The user may also choose to retain a portion of the objects in the second preview image after the second preview image is obtained. These two cases are specifically described below.
In one embodiment, the first preview image includes N photographic subjects, the second preview image includes N mirror objects corresponding to the N photographic subjects, N is a positive integer; after the second preview image is displayed in the target area of the shooting preview interface, the method further includes: receiving a first input of a user to a first photographic object or a first mirror image object, wherein the N photographic objects comprise the first photographic object, and the N mirror image objects comprise the first mirror image object; deleting the first mirror object in the second preview image in response to the first input.
The first subject image is an object corresponding to the first photographic subject in the second preview image. For example, the first subject is person a, and the first mirror image subject is person a' corresponding to person a after the mirror image processing.
The first input may be a single click, a double click, or a long press, and is not limited herein.
Please refer to fig. 6, which is a schematic diagram of selecting a mirror image object according to an embodiment of the present application. Specifically, two photographic objects of a cartoon character 601 and a butterfly 602 are included in the first preview image, and a mirror image object corresponding to the butterfly 602 is deleted in the second preview image in response to a double-click operation of the butterfly 602 by the user.
According to the embodiment, after the second preview image is displayed in the target area of the shooting preview interface, a part of the mirror image object in the second preview image can be reserved through the input of the user to the first shooting object in the first preview image or the mirror image object in the second preview image, so that different second preview images can be generated according to different requirements of the user, and the shooting interest is increased. And the operation is simple, and the use is convenient for users.
In another embodiment, the first preview image includes N photographic subjects, N being a positive integer; before performing mirror image processing on the first preview image according to the target mirror image direction and the target mirror image effect to obtain a second preview image, the method further includes: receiving a second input of a user to a second photographic subject, wherein the N photographic subjects comprise the second photographic subject; the mirror image processing is carried out on the first preview image according to the target mirror image direction and the target mirror image effect to obtain a second preview image, and the method comprises the following steps: and responding to the second input, and carrying out mirror image processing on the second shooting object in the first preview image according to the target mirror image direction and the target mirror image effect to obtain a second preview image.
The second photographic subject may be, for example, a person, an animal, an article, or the like in the first preview image. And carrying out mirror image processing on a second shooting object in the first preview image to obtain a second preview image, wherein the second preview image comprises a mirror image object corresponding to the second shooting object.
The second input may be a single click, a double click, or a long press, and is not limited herein.
In the embodiment of the application, before the first preview image is subjected to mirror image processing according to the target mirror image direction and the target mirror image effect, a user can select a shooting object needing mirror image processing so as to generate different second preview images according to the input of the user, and the method is simple in operation and convenient for the user to use. In addition, different requirements of users are met, and meanwhile, objects needing mirror image processing are selected before mirror image processing, so that the image processing efficiency can be improved.
In one embodiment, the first preview image includes N photographic subjects, the second preview image includes N mirror image subjects corresponding to the N photographic subjects, N is a positive integer; after the second preview image is displayed in the target area of the shooting preview interface, the method further includes: step 2100-step 2400.
In step 2100, a third input from the user to a third photographic subject or a second mirror image subject is received, where the N photographic subjects include the third photographic subject, and the N mirror image subjects include the second mirror image subject.
The third photographic subject may be, for example, a person or the like in the first preview image. The second mirror object is an object corresponding to the third photographic object in the second preview image. For example, the third subject is person B, and the second subject is person B' corresponding to person B after the mirror image processing.
Step 2200, in response to the third input, determining the second mirror object as an object to be replaced.
The third input is an input for selecting an object to be replaced. In this embodiment, the third input may be a single click, a double click, a long press, or the like, and is not limited herein.
Step 2300, receiving a fourth input from the user.
Step 2400, in response to the fourth input, replacing the second mirrored object with a target object.
The target object may be an object selected by the user to replace the second mirrored object. The target object may be, for example, a cartoon character, a star character, or the like.
The fourth input is an input for replacing the second mirrored object with a target object. In this embodiment, the fourth input may be a single click, a double click, a long press, or the like, and is not limited herein.
In the embodiment of the application, after the second preview image is displayed in the target area of the shooting preview interface, the second mirror image object may be determined as an object to be replaced by inputting a third shooting object in the first preview image or a second mirror image object in the second preview image by a user, and then the second mirror image object may be replaced by the target object according to the user input to obtain the processed second preview image.
In this embodiment, the user may select a target object from the plurality of object options provided. The user may also select a target object from images already stored in the electronic device. The user may also search for the target object by the search term. The following describes an implementation process of replacing the second mirror object with the target object.
In one embodiment, the shooting preview interface further comprises M object options, where M is a positive integer; the receiving a fourth input of the user includes: receiving user input of a target object option in the M object options; replacing the second mirrored object with a target object, comprising: and replacing the second mirror image object with an object corresponding to the target object option.
The object option may be an option for the user to select representing a target object for replacing the second mirror object. The target object option is an option selected by a user in the object options.
Illustratively, the object options may represent a particular target object, for example, the object options may include machine cats, crayon novels, cartoon elephants, cartoon kittens, and the like.
For example, the object options may also represent a certain class of target objects, that is, the target objects may be classified, each object option corresponds to a certain class of target objects, each object option includes L sub-object options, L is a positive integer, and each sub-object option corresponds to a specific target object. For example, the object options may include animation images, cartoon images, star images, and the like. The sub-object options of the cartoon character may include cartoon figurines and the like. The animation image can be a character in the animation, and the second mirror image object can be subjected to animation processing.
It should be noted that the object options may be displayed in a text form or a thumbnail form, and this is not limited in this embodiment of the application.
Please refer to fig. 7a, which is a schematic diagram of an alternative second mirror object according to an embodiment of the present application. Specifically, a first preview image including a third photographic subject 701 and a second preview image including a second mirror image object 702 are displayed in a photographic preview interface, and the second mirror image object 702 is determined as an object to be replaced in response to a click of the third photographic subject 701 or the second mirror image object 702 by a user. Meanwhile, the shooting preview interface also comprises a control 703 marked with 'person replacement', and a plurality of object options are displayed to the user in a text form in response to the click of the 'person replacement' control 703 by the user, wherein the object options comprise animation 703-1, cartoon image 703-2, star 703-3 and the like. Then, in response to the user clicking on the cartoon character 703-2, sub-object options corresponding to the object options of the cartoon character, including the cartoon elephant 704, are presented to the user in text form. Thereafter, in response to a user clicking on the cartoon avatar 704, the second mirror object 702 is replaced with the character of the cartoon avatar.
In the embodiment of the application, a plurality of object options can be provided for the user, so that the user can select the target object from the object options and replace the second mirror image object according to the target object selected by the user, and the interestingness of photographing can be further increased. Furthermore, the target objects can be displayed in a classified mode, so that a user can quickly select the target objects, and the use is more convenient.
In another embodiment, the receiving a fourth input from the user comprises: receiving input of a user on a first area in a first image; replacing the second mirrored object with a target object, comprising: replacing the second mirrored object with an object in the first region.
The first image may be an image stored in the electronic device taken by the user or an image downloaded by the user. The first image includes at least one object, such as a character, cartoon character, star character, etc., that can replace the second mirrored object. For example, the capture preview interface may include a control for capturing images in the electronic device, the plurality of images being displayed in the capture preview interface in response to a user clicking on the control, and an object in a first region of a first image of the plurality of images being determined to be a target object in response to a user input to the first region. Note that the first image may be displayed in the form of a thumbnail.
The first region is a region including one object in the first image. In response to a user input to a first region in the first image, an object in the first region is determined to be a target object.
Please refer to fig. 7b, which is a schematic diagram of another alternative second mirror object according to an embodiment of the present application. Specifically, a first preview image including a third photographic subject 701 and a second preview image including a second mirror image object 702 are displayed in a photographic preview interface, and the second mirror image object 702 is determined as an object to be replaced in response to a click of the third photographic subject 701 or the second mirror image object 702 by a user. Meanwhile, the shooting preview interface further comprises a control 703 marked with "person replacement", and a plurality of object options are displayed to the user in a text form in response to the user clicking the control 703 of "person replacement", as shown in fig. 7a and 7b, the plurality of object options comprise an animation 703-1, an avatar 703-2, a star 703-3, and an album 703-4. Then, responding to the click of the user on the photo album 703-4, displaying a plurality of images; a first image 705 of the plurality of images is displayed in response to a user clicking on the first image. After the user selects the first image 705, in response to the user's input to the first area 706 in the first image, an object in the first area 706 is determined as a target object, and the selected target object is enlarged and displayed. Then, a determination control 707 is further included in the shooting preview interface, and in response to a click of the determination control 707 by the user, the object to be processed is replaced by an object in the first area 706.
In the embodiment of the application, after the second preview image is displayed, the user can select the target object from the image stored in the electronic device and replace the second mirror image object in the second preview image with the target object, so that the user can customize the target object, the flexibility is higher, and the user can conveniently obtain the photos with different mirror image effects.
In this embodiment, before replacing the second mirrored object with the object in the first region, at least one of: displaying the first area of the first image in an enlarged mode; and performing image enhancement processing on the first area of the first image.
Illustratively, the first area in the first image is displayed in an enlarged manner, and the partial image is cut from the first image according to the outline of the first area and enlarged to show the object in the first area to the user more clearly.
In the embodiment of the application, the first area is displayed in an enlarged manner in response to the input of the user to the first area in the first image, and the image enhancement processing is performed on the first area, so that the image display effect can be improved, the object in the first area can be displayed to the user more clearly, and the user can conveniently determine whether to replace the second mirror image object with the object in the first area.
In yet another embodiment, before the receiving the fourth input of the user, the method further includes: receiving a fifth input of the user; in response to the fifth input, search results are obtained from a server.
The fifth input is an input for searching for a target object. Illustratively, the fifth input may be an input of a user input search term. Search results can be obtained from the server according to the search terms input by the user.
The server may be a database server through which search results may be obtained from pre-stored data. The server may also be a web server, and the search result is obtained from the network data through the web server.
The search result may include T images, where T is a positive integer, and each image includes an object corresponding to a keyword input by the user. Note that the T images may be displayed in the form of thumbnails.
In this embodiment, the receiving a fourth input of the user includes: receiving user input of a second area of a second image in the T images; replacing the second mirrored object with a target object, comprising: replacing the second mirrored object with an object in the second region.
The second image includes at least one object that can replace the second mirrored object.
The second region is a region including one object in the second image. And determining the object in the second area as the target object in response to the input of the user to the second area in the second image.
For example, the shooting preview interface of the electronic device further comprises a search box, the user inputs 'machine cat' in the search box, a plurality of images including the image of the machine cat are acquired from the server, and the images are displayed in an enlarged mode in response to clicking of one of the images by the user. Thereafter, the second mirror object is replaced with the machine cat character in response to a user click on a second area including the machine cat character.
In the embodiment of the application, the search result can be obtained from the server according to the input of the user, and the target object can be selected from the search result, so that the user can select the target object from the data stored in the electronic equipment and can also select the target object from the data of the server, different mirror images can be obtained according to the input of the user, different requirements of the user can be met, and the use mode is more flexible.
In one embodiment, after the displaying the second preview image in the target area of the shooting preview interface, the method further includes: receiving a sixth input of the user; in response to the sixth input, shooting a target image based on display content in the shooting preview interface; wherein the target image includes N photographic subjects and N mirror objects corresponding to the N photographic subjects, N being a positive integer. The embodiment can generate corresponding images based on the preview effect of the mirror image confirmed by the user, so that images with different mirror image effects can be generated according to the needs of the user.
The sixth input is an input for capturing a target image. In this embodiment, the sixth input may be a single click, a double click, a long press, or the like. The sixth input may also be an input to a capture control of the capture preview interface.
The displayed content of the shooting preview interface may include content displayed by the first preview image, content displayed by the second preview image, a positional relationship between the first preview image and the second preview image, and a mirror image effect of the second preview image, where the content displayed by the first preview image may include N shooting objects, background content, and the like, and the content displayed by the second preview image may include mirror images corresponding to the N shooting objects, corresponding background content, and the like.
The display content of the target image is identical to that in the shooting preview interface. That is, the target image includes all the contents displayed on the photographing preview interface, that is, the target image includes N photographic subjects and N mirror images corresponding to the N photographic subjects, and the mirror image effect of the target image is identical to that of the preview image.
In one embodiment, the shooting target image may be generated by processing the original image data according to the display content of the shooting preview interface. The original image data may be image data corresponding to display content in the first preview image, which is acquired by a camera of the electronic device. Specifically, as shown in fig. 8, the shooting preview interface further includes a shooting control 801, and in response to a click of the shooting control 801 by a user, image processing is performed on the cached original image data based on display content in the shooting preview interface, so as to generate a target image. That is, the original image data is subjected to image processing based on the content displayed in the first preview image, the content displayed in the second preview image, the positional relationship between the first preview image and the second preview image, and the mirror image effect of the second preview image, thereby generating the target image. In the embodiment of the application, the original image data is processed based on the display content in the shooting preview interface to generate the target image, so that the quality of the target image can be improved while the corresponding image is generated based on the preview effect of the mirror image confirmed by the user.
In one embodiment, the shooting target image may also be generated by acquiring a first preview image and a second preview image, and combining the first preview image and the second preview image based on display contents in a shooting preview interface. In the embodiment, the target image can be directly generated according to the preview image, and the response speed can be improved while the preview effect required by the user is acquired.
In one embodiment, after the displaying the second preview image in the target area of the shooting preview interface, the method further includes: receiving a seventh input of the user to a third area of the shooting preview interface; outputting a target image of the third region in response to the seventh input.
The seventh input is used to adjust the display range of the photographing preview interface. In this embodiment, the seventh input may be a single click, a double click, a long press, a swipe, or the like.
The third area may be a partial display area in the photographing preview interface. For example, the user slides the capture preview interface upward, at which time the third area may include a portion of the first preview image and the entire second preview image.
And outputting the target image of the third area, namely generating a corresponding photo according to a seventh input of the user to the third area of the shooting preview interface.
Please refer to fig. 9, which is a schematic diagram of outputting a target image of a third area according to an embodiment of the present application. Specifically, the user performs a two-finger slide operation on the shooting preview interface to adjust the display range of the shooting preview interface and specify the third area 901, and then performs a three-finger slide operation on the shooting preview interface to generate a target image of the third area. In this embodiment, the user can adjust the display range of the shooting preview interface as needed to generate a corresponding target image, so that the use is more convenient.
In summary, according to the image processing method provided by the embodiment of the present application, after acquiring a first preview image displayed on a shooting preview interface, an electronic device processes the first preview image according to a target mirror image direction and a target mirror image effect to obtain a second preview image, and displays the second preview image in a target area of the shooting preview interface. The method can realize the mirror image processing of the image during the previewing, obtain the image with the mirror image effect, increase the shooting interest, simultaneously display the first preview image and the second preview image after the mirror image processing on the shooting preview interface, and display the actual picture collected by the electronic equipment and the corresponding mirror image to the user in real time so as to visually display the obtained mirror image effect to the user. And, this embodiment can realize the simulation to the mirror image environment of shooing under the condition that does not rely on external environment condition, obtains the image that has the mirror image effect, and the shooting degree of difficulty is low. The embodiment does not need to depend on the photographing technology of the user, is simple to operate, and can improve the photographing quality of the image. In addition, other camera application programs do not need to be additionally downloaded, memory consumption of the electronic equipment can be reduced, the risk of user information leakage can be reduced, and use safety is improved.
It should be noted that, in the image processing method provided in the embodiment of the present application, the execution subject may be an image processing apparatus, or alternatively, a control module in the image processing apparatus for executing a method for loading image processing. In the embodiment of the present application, a method for executing load image processing by an image processing apparatus is taken as an example, and the method for processing an image provided in the embodiment of the present application is described.
Corresponding to the above embodiment, referring to fig. 10, the embodiment of the present application further provides an image processing apparatus 100, where the image processing apparatus 100 includes an obtaining module 101, a mirror processing module 102, and a display module 103.
The obtaining module 101 is configured to obtain a first preview image displayed on a shooting preview interface.
The mirror image processing module 102 is configured to perform mirror image processing on the first preview image according to a target mirror image direction and a target mirror image effect to obtain a second preview image.
The display module 103 is configured to display the second preview image in a target area of the shooting preview interface, where the target area is an area corresponding to the target mirroring direction.
In one embodiment, the first preview image includes N photographic subjects, the second preview image includes N mirror image subjects corresponding to the N photographic subjects, N is a positive integer; the device further comprises: a first receiving module, configured to receive a first input of a first photographic object or a first mirror image object from a user, where the N photographic objects include the first photographic object, and the N mirror image objects include the first mirror image object; an object deletion module to delete the first mirrored object in the second preview image in response to the first input.
In one embodiment, the first preview image includes N photographic subjects, where N is a positive integer; the device further comprises: and the second receiving module is used for receiving a second input of a second shooting object from a user, wherein the N shooting objects comprise the second shooting object. The mirror image processing module performs mirror image processing on the first preview image according to a target mirror image direction and a target mirror image effect, and when a second preview image is obtained, the mirror image processing module can be used for: and responding to the second input, and carrying out mirror image processing on the second shooting object in the first preview image according to the target mirror image direction and the target mirror image effect to obtain a second preview image.
In one embodiment, the first preview image includes N photographic subjects, the second preview image includes N mirror objects corresponding to the N photographic subjects, N is a positive integer; the device further comprises: a third receiving module, configured to receive a third input of a third photographic subject or a second mirror image subject from a user, where the N photographic subjects include the third photographic subject, and the N mirror image subjects include the second mirror image subject; an object determination module, configured to determine, in response to the third input, the second mirrored object as an object to be replaced; the fourth receiving module is used for receiving a fourth input of the user; an object replacement module to replace the second mirrored object with a target object in response to the fourth input.
In one embodiment, the capture preview interface further includes M object options, M being a positive integer; the fourth receiving module, when receiving the fourth input of the user, may be configured to: receiving user input of a target object option in the M object options; the object replacement module, when replacing the second mirror object with the target object, may be configured to: and replacing the second mirror image object with an object corresponding to the target object option.
In one embodiment, the fourth receiving module, when receiving the fourth input from the user, may be configured to: receiving input of a user on a first area in a first image; the object replacement module, when replacing the second mirror object with the target object, may be configured to: replacing the second mirrored object with an object in the first region.
In this embodiment, the apparatus further comprises: the image amplification module is used for amplifying and displaying the first area of the first image; and the image enhancement module is used for carrying out image enhancement processing on the first area of the first image.
In one embodiment, the apparatus further comprises: the fifth receiving module is used for receiving a fifth input of the user; and the searching module is used for responding to the fifth input and obtaining a searching result from the server, wherein the searching result comprises T images, and T is a positive integer.
In this embodiment, the fourth receiving module, when receiving the fourth input from the user, may be configured to: receiving user input of a second area of a second image in the T images; the object replacement module, when replacing the second mirror object with the target object, may be configured to: replacing the second mirrored object with an object in the second region.
In one embodiment, the apparatus further comprises: a sixth receiving module, configured to receive a sixth input from the user; the shooting module is used for responding to the sixth input and shooting a target image based on the display content in the shooting preview interface; wherein the target image includes N photographic subjects and N mirror objects corresponding to the N photographic subjects, N being a positive integer.
In one embodiment, the apparatus further comprises: the seventh receiving module is used for receiving seventh input of the user to the third area of the shooting preview interface; an output module for outputting the target image of the third region in response to the seventh input.
The image processing apparatus in the embodiment of the present application may be an apparatus, or may be a component, an integrated circuit, or a chip in a terminal. The device can be mobile electronic equipment or non-mobile electronic equipment. By way of example, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palm top computer, a vehicle-mounted electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), and the like, and the non-mobile electronic device may be a server, a Network Attached Storage (NAS), a Personal Computer (PC), a Television (TV), a teller machine or a self-service machine, and the like, and the embodiment of the present application is not particularly limited.
The image processing apparatus in the embodiment of the present application may be an apparatus having an operating system. The operating system may be an Android operating system, an ios operating system, or other possible operating systems, which is not specifically limited in the embodiment of the present application.
The image processing apparatus provided in the embodiment of the present application can implement each process implemented by the image processing apparatus in the method embodiment of fig. 1, and is not described herein again to avoid repetition.
Corresponding to the foregoing embodiments, optionally, an electronic device is further provided in this embodiment of the present application, and includes a processor 1110, a memory 1109, and a program or an instruction stored in the memory 1109 and executable on the processor 1110, where the program or the instruction is executed by the processor 110 to implement each process of the foregoing image processing method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
It should be noted that the electronic devices in the embodiments of the present application include the mobile electronic devices and the non-mobile electronic devices described above.
Fig. 11 is a schematic hardware structure diagram of an electronic device implementing the embodiment of the present application.
The electronic device 1100 includes, but is not limited to: 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, and the like.
Those skilled in the art will appreciate that the electronic device 1100 may further include a power source (e.g., a battery) for supplying power to the various components, and the power source 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 electronic device structure shown in fig. 11 does not constitute a limitation to the electronic device, and the electronic device may include more or less components than those shown in the drawings, or combine some components, or arrange different components, and thus, the description is omitted here.
The processor 1110 is configured to obtain a first preview image displayed on a shooting preview interface; carrying out mirror image processing on the first preview image according to the target mirror image direction and the target mirror image effect to obtain a second preview image; a display unit 1106, configured to display the second preview image in a target area of the shooting preview interface, where the target area is an area corresponding to the target mirror image direction.
In one embodiment, the first preview image includes N photographic subjects, the second preview image includes N mirror image subjects corresponding to the N photographic subjects, N is a positive integer; processor 1110, after displaying the second preview image in the target area of the capture preview interface, is further configured to: receiving a first input of a user to a first photographic object or a first mirror image object, wherein the N photographic objects comprise the first photographic object, and the N mirror image objects comprise the first mirror image object; deleting the first mirror object in the second preview image in response to the first input.
In one embodiment, the first preview image includes N photographic subjects, where N is a positive integer; before the processor 1110 performs mirror processing on the first preview image according to the target mirror direction and the target mirror effect to obtain a second preview image, the processor is further configured to: receiving a second input of a user to a second photographic subject, wherein the N photographic subjects comprise the second photographic subject; the processor 1110, when performing mirror image processing on the first preview image according to the target mirror image direction and the target mirror image effect to obtain a second preview image, is configured to: and responding to the second input, and carrying out mirror image processing on the second shooting object in the first preview image according to the target mirror image direction and the target mirror image effect to obtain a second preview image.
In one embodiment, the first preview image includes N photographic subjects, the second preview image includes N mirror image subjects corresponding to the N photographic subjects, N is a positive integer; processor 1110, after displaying the second preview image in the target area of the capture preview interface, is further configured to: receiving a third input of a user to a third photographic subject or a second mirror image subject, wherein the N photographic subjects comprise the third photographic subject, and the N mirror image subjects comprise the second mirror image subject; in response to the third input, determining the second mirrored object as an object to be replaced; receiving a fourth input of the user; and replacing the second mirrored object with a target object in response to the fourth input.
In one embodiment, the shooting preview interface further comprises M object options, where M is a positive integer; processor 1110, when receiving the fourth input from the user, is configured to: receiving user input of a target object option in the M object options; processor 1110, when replacing the second mirrored object with the target object, is configured to: and replacing the second mirror image object with an object corresponding to the target object option.
In one embodiment, processor 1110, when receiving the fourth input from the user, is configured to: receiving input of a user to a first area in a first image; processor 1110, when replacing the second mirrored object with the target object, is configured to: replacing the second mirrored object with an object in the first region.
In one embodiment, processor 1110, prior to replacing the second mirrored object with an object in the first region, is further configured to at least one of: displaying the first area of the first image in an enlarged mode; performing image enhancement processing on the first region of the first image.
In one embodiment, processor 1110, prior to receiving the fourth input from the user, is further configured to: receiving a fifth input of the user; in response to the fifth input, obtaining a search result from a server, wherein the search result comprises T images, and T is a positive integer; processor 1110, when receiving the fourth input from the user, is configured to: receiving user input of a second area of a second image in the T images; processor 1110, when replacing the second mirrored object with the target object, is configured to: replacing the second mirrored object with an object in the second region.
In one embodiment, processor 1110, after displaying said second preview image in a target area of said capture preview interface, is further configured to: receiving a sixth input of the user; in response to the sixth input, shooting a target image based on display content in the shooting preview interface; wherein the target image includes N photographic subjects and N mirror objects corresponding to the N photographic subjects, N being a positive integer.
In one embodiment, processor 1110, after displaying the second preview image in the target area of the capture preview interface, is further configured to: receiving a seventh input of the user to a third area of the shooting preview interface; outputting a target image of the third region in response to the seventh input.
The electronic device provided by the embodiment of the application can realize each process of the image processing method in the above method embodiments, and can achieve the same technical effect, and for avoiding repetition, the details are not repeated here.
It should be understood that in the embodiment of the present application, the input Unit 1104 may include a Graphics Processing Unit (GPU) 11041 and a microphone 11042, and the Graphics processor 11041 processes image data of still pictures or video obtained by an image capturing device (such as a camera) in a video capturing mode or an image capturing mode. 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, an organic light emitting diode, or the like. The user input unit 1107 includes a touch panel 11071 and other input devices 11072. A touch panel 11071, also called a touch screen. The touch panel 11071 may include two portions of a touch detection device and a touch controller. 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. The memory 1109 may be used for storing software programs and various data including, but not limited to, application programs and an operating system. 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 communication. It will be appreciated that the modem processor described above may not be integrated into processor 1110.
The embodiment of the present application further provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or the instruction is executed by a processor, the program or the instruction implements each process of the embodiment of the image processing method, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
The processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and so on.
The embodiment of the present application further provides a chip, where the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to execute a program or an instruction to implement each process of the above-mentioned embodiment of the image processing method, and can achieve the same technical effect, and is not described here again to avoid repetition.
It should be understood that the chips mentioned in the embodiments of the present application may also be referred to as system-on-chip, system-on-chip or system-on-chip, etc.
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 phrases "comprising a component of' ...does not exclude the presence of another like element in a process, method, article, or apparatus that comprises the element. Further, it should be noted that the scope of the methods and apparatus of the embodiments of the present application is not limited to performing the functions in the order illustrated or discussed, but may include performing the functions in a substantially simultaneous manner or in a reverse order based on the functions involved, e.g., the methods described may be performed in an order different than that described, and various steps may be added, omitted, or combined. In addition, features described with reference to certain examples may be combined in other examples.
Through the description of the foregoing embodiments, it is clear to those skilled in the art that the method of the foregoing embodiments may be implemented by software plus a necessary general hardware platform, and certainly may also be implemented by hardware, but in many cases, the former is a better implementation. Based on such understanding, the technical solutions of the present application 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 a terminal (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 application.
While the present embodiments have been described with reference to the accompanying drawings, it is to be understood that the invention is not limited to the precise embodiments described above, which are meant to be illustrative and not restrictive, and that various changes may be made therein by those skilled in the art without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (11)

1. An image processing method, characterized in that the method comprises:
acquiring a first preview image displayed on a shooting preview interface, wherein the first preview image comprises N shooting objects, and N is a positive integer;
carrying out mirror image processing on the first preview image according to the target mirror image direction and the target mirror image effect to obtain a second preview image, wherein the second preview image comprises N mirror image objects corresponding to the N shooting objects;
displaying the second preview image in a target area of the shooting preview interface, wherein the target area is an area corresponding to the target image direction;
in response to a third input of a user to a second mirror object of the N mirror objects, determining the second mirror object as an object to be replaced;
replacing the second mirrored object with the target object in response to a fourth input by the user.
2. The method of claim 1, wherein after displaying the second preview image in the target area of the capture preview interface, further comprising:
receiving a first input of a user to a first photographic object or a first mirror image object, wherein the N photographic objects comprise the first photographic object, and the N mirror image objects comprise the first mirror image object;
deleting the first mirror object in the second preview image in response to the first input.
3. The method according to claim 1, wherein before performing mirror image processing on the first preview image according to the target mirror image direction and the target mirror image effect to obtain the second preview image, the method further comprises:
receiving a second input of a user to a second photographic subject, wherein the N photographic subjects comprise the second photographic subject;
the mirror image processing is carried out on the first preview image according to the target mirror image direction and the target mirror image effect to obtain a second preview image, and the method comprises the following steps:
and responding to the second input, and carrying out mirror image processing on the second shooting object in the first preview image according to the target mirror image direction and the target mirror image effect to obtain a second preview image.
4. The method of claim 1, the capture preview interface further comprising M object options, M being a positive integer;
before the responding to the fourth input of the user and replacing the second mirror image object with the target object, the method further comprises:
receiving user input of a target object option in the M object options;
the replacing the second mirrored object with the target object in response to a fourth input by the user includes:
and in response to the fourth input, replacing the second mirror image object with an object corresponding to the target object option.
5. The method of claim 1, wherein replacing the second mirrored object with the target object in response to a fourth input by the user further comprises:
receiving input of a user on a first area in a first image;
the replacing the second mirrored object with the target object in response to a fourth input by the user includes:
replacing the second mirrored object with an object in the first region in response to the fourth input.
6. The method of claim 5, wherein prior to replacing the second mirrored object with the object in the first region, further comprising at least one of:
displaying the first area of the first image in an enlarged mode;
performing image enhancement processing on the first region of the first image.
7. The method of claim 1, the replacing the second mirrored object with the target object in response to a fourth input by the user, further comprising:
receiving a fifth input of the user;
in response to the fifth input, obtaining a search result from a server, wherein the search result comprises T images, and T is a positive integer;
receiving user input of a second area of a second image in the T images;
the replacing the second mirrored object with the target object in response to a fourth input by the user includes:
replacing the second mirrored object with an object in the second region in response to the fourth input.
8. The method of claim 1, wherein after displaying the second preview image in the target area of the capture preview interface, further comprising:
receiving a sixth input of the user;
in response to the sixth input, shooting a target image based on display content in the shooting preview interface;
wherein the target image includes N photographic subjects and N mirror objects corresponding to the N photographic subjects, N being a positive integer.
9. The method of claim 8, wherein after displaying the second preview image in the target area of the capture preview interface, further comprising:
receiving a seventh input of the user to a third area of the shooting preview interface;
outputting a target image of the third region in response to the seventh input.
10. An image processing apparatus characterized by comprising:
the device comprises an acquisition module, a display module and a display module, wherein the acquisition module is used for acquiring a first preview image displayed on a shooting preview interface, the first preview image comprises N shooting objects, and N is a positive integer;
the mirror image processing module is used for carrying out mirror image processing on the first preview image according to a target mirror image direction and a target mirror image effect to obtain a second preview image, wherein the second preview image comprises N mirror image objects corresponding to the N shooting objects;
the display module is used for displaying the second preview image in a target area of the shooting preview interface, wherein the target area is an area corresponding to the target mirror image direction;
the object determination module is used for responding to a third input of a user to a second mirror image object in the N mirror image objects, and determining the second mirror image object as an object to be replaced;
and the object replacing module is used for responding to a fourth input of the user and replacing the second mirror image object with the target object.
11. An electronic device comprising a processor, a memory and a program or instructions stored on the memory and executable on the processor, which program or instructions, when executed by the processor, implement the steps of the image processing method according to any one of claims 1 to 9.
CN202110328062.5A 2021-03-26 2021-03-26 Image processing method, image processing device and electronic equipment Active CN113079316B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110328062.5A CN113079316B (en) 2021-03-26 2021-03-26 Image processing method, image processing device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110328062.5A CN113079316B (en) 2021-03-26 2021-03-26 Image processing method, image processing device and electronic equipment

Publications (2)

Publication Number Publication Date
CN113079316A CN113079316A (en) 2021-07-06
CN113079316B true CN113079316B (en) 2023-04-18

Family

ID=76610793

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110328062.5A Active CN113079316B (en) 2021-03-26 2021-03-26 Image processing method, image processing device and electronic equipment

Country Status (1)

Country Link
CN (1) CN113079316B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114052793A (en) * 2021-09-18 2022-02-18 武汉联影医疗科技有限公司 Medical equipment assisting method and device and storage medium
CN115034948B (en) * 2021-12-30 2023-06-16 荣耀终端有限公司 Image processing method and electronic equipment
CN114554097A (en) * 2022-02-28 2022-05-27 维沃移动通信有限公司 Display method, display device, electronic apparatus, and readable storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106027900A (en) * 2016-06-22 2016-10-12 维沃移动通信有限公司 Photographing method and mobile terminal
CN108632413A (en) * 2018-05-15 2018-10-09 维沃移动通信有限公司 A kind of photographic method and mobile terminal
CN108924418A (en) * 2018-07-02 2018-11-30 珠海市魅族科技有限公司 A kind for the treatment of method and apparatus of preview image, terminal, readable storage medium storing program for executing

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105959544B (en) * 2016-05-23 2019-06-07 维沃移动通信有限公司 A kind of image processing method and mobile terminal of mobile terminal
CN108055463A (en) * 2017-12-26 2018-05-18 努比亚技术有限公司 Image processing method, terminal and storage medium
CN109597553A (en) * 2018-11-28 2019-04-09 维沃移动通信(杭州)有限公司 A kind of display control method and terminal

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106027900A (en) * 2016-06-22 2016-10-12 维沃移动通信有限公司 Photographing method and mobile terminal
CN108632413A (en) * 2018-05-15 2018-10-09 维沃移动通信有限公司 A kind of photographic method and mobile terminal
CN108924418A (en) * 2018-07-02 2018-11-30 珠海市魅族科技有限公司 A kind for the treatment of method and apparatus of preview image, terminal, readable storage medium storing program for executing

Also Published As

Publication number Publication date
CN113079316A (en) 2021-07-06

Similar Documents

Publication Publication Date Title
CN113079316B (en) Image processing method, image processing device and electronic equipment
RU2740785C2 (en) Image processing method and equipment, electronic device and graphical user interface
CN110069181B (en) File processing method, device, equipment and storage medium crossing folders
CN112714253B (en) Video recording method and device, electronic equipment and readable storage medium
CN102799384A (en) Method, client and system for outdoor scene screenshot
CN111601012B (en) Image processing method and device and electronic equipment
CN112672061A (en) Video shooting method and device, electronic equipment and medium
CN111885298B (en) Image processing method and device
CN112449110B (en) Image processing method and device and electronic equipment
CN112330728A (en) Image processing method, image processing device, electronic equipment and readable storage medium
CN113852540B (en) Information transmission method, information transmission device and electronic equipment
CN111796733B (en) Image display method, image display device and electronic equipment
CN115344159A (en) File processing method and device, electronic equipment and readable storage medium
CN112383708B (en) Shooting method and device, electronic equipment and readable storage medium
CN114584704A (en) Shooting method and device and electronic equipment
CN115167721A (en) Display method and device of functional interface
CN113779293A (en) Image downloading method, device, electronic equipment and medium
CN112818147A (en) Picture processing method, device, equipment and storage medium
CN112732958A (en) Image display method and device and electronic equipment
CN112383709A (en) Picture display method, device and equipment
CN114143454B (en) Shooting method, shooting device, electronic equipment and readable storage medium
CN112492206B (en) Image processing method and device and electronic equipment
CN117311560A (en) Image display method and device
CN117331469A (en) Screen display method, device, electronic equipment and readable storage medium
CN115328367A (en) Screen capturing method and device, electronic equipment and storage medium

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
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20230714

Address after: 210012 Floor 3, Building B, No. 25, Andemen Street, Yuhuatai District, Nanjing, Jiangsu Province

Patentee after: Nanjing Weibo Software Technology Co.,Ltd.

Address before: No.168 Jinghai East Road, Chang'an Town, Dongguan City, Guangdong Province

Patentee before: VIVO MOBILE COMMUNICATION Co.,Ltd.