WO2023185455A1 - 图像处理方法、装置、电子设备及存储介质 - Google Patents
图像处理方法、装置、电子设备及存储介质 Download PDFInfo
- Publication number
- WO2023185455A1 WO2023185455A1 PCT/CN2023/081371 CN2023081371W WO2023185455A1 WO 2023185455 A1 WO2023185455 A1 WO 2023185455A1 CN 2023081371 W CN2023081371 W CN 2023081371W WO 2023185455 A1 WO2023185455 A1 WO 2023185455A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- transfer
- area
- special effect
- target
- object transfer
- 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.)
- Ceased
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T7/00—Image analysis
- G06T7/20—Analysis of motion
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
- G06F3/0486—Drag-and-drop
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T11/00—Two-dimensional [2D] image generation
- G06T11/60—Creating or editing images; Combining images with text
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
- G06F3/04845—Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range for image manipulation, e.g. dragging, rotation, expansion or change of colour
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T11/00—Two-dimensional [2D] image generation
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T19/00—Manipulating three-dimensional [3D] models or images for computer graphics
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T3/00—Geometric image transformations in the plane of the image
- G06T3/04—Context-preserving transformations, e.g. by using an importance map
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T7/00—Image analysis
- G06T7/10—Segmentation; Edge detection
- G06T7/11—Region-based segmentation
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T7/00—Image analysis
- G06T7/70—Determining position or orientation of objects or cameras
-
- G—PHYSICS
- G11—INFORMATION STORAGE
- G11B—INFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
- G11B27/00—Editing; Indexing; Addressing; Timing or synchronising; Monitoring; Measuring tape travel
- G11B27/02—Editing, e.g. varying the order of information signals recorded on, or reproduced from, record carriers
- G11B27/031—Electronic editing of digitised analogue information signals, e.g. audio or video signals
-
- G—PHYSICS
- G11—INFORMATION STORAGE
- G11B—INFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
- G11B27/00—Editing; Indexing; Addressing; Timing or synchronising; Monitoring; Measuring tape travel
- G11B27/10—Indexing; Addressing; Timing or synchronising; Measuring tape travel
- G11B27/34—Indicating arrangements
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2203/00—Indexing scheme relating to G06F3/00 - G06F3/048
- G06F2203/048—Indexing scheme relating to G06F3/048
- G06F2203/04806—Zoom, i.e. interaction techniques or interactors for controlling the zooming operation
Definitions
- Embodiments of the present disclosure relate to the field of image processing technology, such as an image processing method, device, electronic device, and storage medium.
- Embodiments of the present disclosure provide an image processing method, device, electronic device and storage medium to realize automatic generation of scene special effects and improve the generation efficiency of scene special effects.
- an embodiment of the present disclosure provides an image processing method, including:
- obtaining a special effect application image corresponding to the target scene special effect In response to a preset special effects triggering operation for triggering a target scene special effect, obtaining a special effect application image corresponding to the target scene special effect, wherein the target scene special effect is a special effect for transferring a target transfer object;
- embodiments of the present disclosure also provide an image processing device, including:
- a special effect application image acquisition module configured to obtain a special effect application image corresponding to the target scene special effect in response to a preset special effect triggering operation for triggering a target scene special effect, wherein the target scene special effect is to transfer a target transfer object special effects;
- a transfer area display module configured to display an object transfer initial area and an object transfer target area for transferring the target transfer object in the special effect application image
- a transfer object transfer module configured to receive an object transfer trigger operation based on the object transfer initial area input, and transfer the target transfer object from the object transfer initial area to the object transfer target area based on the object transfer trigger operation. display.
- embodiments of the present disclosure also provide an electronic device, which includes:
- a storage device arranged to store at least one program
- the at least one processor When the at least one program is executed by the at least one processor, the at least one processor is caused to implement the image processing method provided by any embodiment of the present disclosure.
- embodiments of the present disclosure also provide a computer-readable storage medium on which a computer program is stored.
- the computer program is executed by a processor, the image processing method provided by any embodiment of the present disclosure is implemented.
- Figure 1A is a schematic flowchart of an image processing method provided by Embodiment 1 of the present disclosure
- Figure 1B is a schematic diagram of a target scene special effect provided by Embodiment 1 of the present disclosure
- Figure 1C is a schematic diagram of another target scene special effect provided by Embodiment 1 of the present disclosure.
- Figure 1D is a schematic diagram of a target scene special effect of a three-dimensional image provided by Embodiment 1 of the present disclosure
- FIG. 2 is a schematic flowchart of an image processing method provided in Embodiment 2 of the present disclosure
- Figure 3 is a schematic flow chart of an image processing method provided in Embodiment 3 of the present disclosure.
- FIG. 4 is a schematic flowchart of an image processing method provided in Embodiment 4 of the present disclosure.
- Figure 5 is a schematic structural diagram of an image processing device provided in Embodiment 5 of the present disclosure.
- FIG. 6 is a schematic structural diagram of an electronic device provided in Embodiment 6 of the present disclosure.
- the term “include” and its variations are open-ended, ie, “including but not limited to.”
- the term “based on” means “based at least in part on.”
- the term “one embodiment” means “at least one embodiment”; the term “another embodiment” means “at least one additional embodiment”; and the term “some embodiments” means “at least some embodiments”. Relevant definitions of other terms will be given in the description below.
- Figure 1 is a schematic flowchart of an image processing method provided by Embodiment 1 of the present disclosure.
- This embodiment can be applied to images currently captured by the user, videos currently captured, historical images uploaded by the user, or historical videos uploaded by the user.
- the method can be executed by an image processing device, which can be implemented by software and/or hardware, and can be configured in a terminal and/or server to implement the embodiments of the present disclosure.
- Image processing methods can be implemented by software and/or hardware, and can be configured in a terminal and/or server to implement the embodiments of the present disclosure.
- the method in this embodiment may include:
- the target scene special effect may be a scene special effect that transfers at least one target transfer object in the image.
- at least one object displayed in a certain area in the image, or part of the content in the object may be transferred to another area in the image for display.
- the target scene special effect can be an entrance and exit object transfer special effect, that is, the entrance display area and the exit display area can be set in the image, and the object or part of the object located in the entrance display area in the image can be transferred to the image. Displayed in the exit display area.
- the target scene special effects are not limited to the above-mentioned entrance and exit object transfer special effects.
- it can also be an object positioning effect, that is, position replacement, which changes the display position of specific items, facilities or text in the image.
- position replacement which changes the display position of specific items, facilities or text in the image.
- this method can be used to move the furniture in the live broadcast to another area for display.
- the target transfer object may be an object that needs to be transferred in the special effect application image, including but not limited to objects, characters, text, part of the content of the object, and part of the character in the special effect application image.
- the target transfer object can be any object in the special effect application image; it can also be a salient object in the special effect application image, such as the ship in the sea surface image and the cup on the table; or it can also be a specific object in the special effect application image. Objects, such as the user's hands or head, etc.
- the preset special effect triggering operation may be an operation performed by the user to trigger the generation of the target scene special effect.
- the preset special effects triggering operation may be an operation that triggers the preset special effects generation control, for example, displaying the preset special effects generation controls corresponding to each scene special effect on the user display interface, and detecting whether the user triggers the preset special effects corresponding to the target scene special effects.
- Special effects generation control or, the preset special effects triggering operation can also be an operation with a specific execution action, such as double-clicking the display interface, inputting the preset special effects triggering trajectory on the display interface, etc.
- the preset special effect triggering operation can also be an operation of the user uploading an image or video.
- this embodiment can respond to a user's preset special effects triggering operation and obtain a special effect application image corresponding to the preset special effects triggering operation.
- the special effect application image may be an image currently captured by the user, or each video frame in the video currently recorded by the user, or a picture in the user's live broadcast, or a historical captured image uploaded by the user, or a historical captured video uploaded by the user. of each video frame.
- the preset special effects generation control corresponding to the target scene special effects can be displayed on the client used by the user. If it is detected that the user triggers the control, that is, the user performs the preset special effects triggering operation, the user The current video frame during recording is determined as the special effect application image.
- this embodiment can continuously obtain the current video frame during user recording to dynamically generate target scene special effects during user recording.
- this embodiment may display the object transfer initial area and the object transfer target area in the special effect application image.
- the object transfer initial area may be the initial area where the target transfer object is located in the special effect application image, that is, the area corresponding to the target transfer object before transfer.
- the object transfer initial area may be an area adjacent to the display area where the target transfer object is located before transfer.
- the object transfer target area may be an area in the special effect application image that needs to display the transferred target transfer object.
- the number of object transfer initial regions may be at least one, and the number of object transfer target regions may also be at least one.
- the corresponding relationship between the object transfer initial area and the object transfer target area may be one-to-one, one-to-many, or many-to-one.
- the target scene special effect may be to transfer the target transfer object from an object transfer initial area to an object transfer target area.
- Figure 1B a schematic diagram of a target scene special effect is shown. In the figure, there is an object transfer initial area and an object transfer target area.
- the target area The target scene special effect can be to transfer the target transfer object from an object transfer initial area to multiple object transfer target areas at the same time.
- Figure 1C a schematic diagram of another target scene special effect is shown. In the figure, there is an object transfer initial area and multiple object transfer target areas.
- the target scene special effect may be to transfer each target transfer object from multiple object transfer initial areas to one object transfer target area at the same time.
- the target scene special effect can be to transfer each target transfer object from multiple objects to the initial area one-to-one. Simultaneously transfer to multiple object transfer target areas. If the numbers of the two are not equal, you can first transfer each target transfer object one-to-one from multiple object transfer initial areas to multiple object transfer target areas at the same time, and then randomly select a target transfer object from an object transfer initial area. Transfer to multiple object transfer target areas, or randomly select multiple target transfer objects to transfer from multiple object transfer initial areas to one object transfer target area.
- the area shape, area size, area color and other information of the object transfer initial area and the object transfer target area can be set correspondingly according to the target scene special effects.
- the target scene special effect is an entrance or exit object transfer special effect
- the object transfer initial area can be a display area that simulates the entrance shape and entrance light effects
- the object transfer target area can be a display area that simulates the exit shape and exit light effects, such as, An elliptical area with aperture display effects.
- the target scene special effect is an object positioning special effect
- the object transfer initial area and the object transfer target area can be display areas with a certain degree of transparency.
- the special effect application image may be a two-dimensional image or a three-dimensional image.
- the object transfer initial area and the object transfer target area may be a three-dimensional transfer space in the special effect application image.
- the object transfer initial area may be a three-dimensional space containing the target transfer object
- the object transfer target area may be a three-dimensional space displaying the transferred target transfer object.
- the object transfer initial area and the object transfer target area may be set in advance. Set a fixed position, and display the object transfer initial area and object transfer target area at the fixed position in the special effect application image.
- the object transfer initial area, the object transfer target area, etc. can also be displayed based on the area selected or set by the user.
- salient objects in the special effect application image can also be identified, and the object transfer initial area and/or the object transfer target area are displayed based on the location of the salient objects.
- the location of the salient object and the object transfer initial area can satisfy the first preset spatial relationship; or, the location of the salient object and the object transfer target area can satisfy the second preset spatial relationship; or, the salient object can satisfy the second preset spatial relationship.
- the first preset spatial relationship can be satisfied between the location of the object transfer initial area and the object transfer initial area
- the third preset spatial relationship can be satisfied between the object transfer initial area and the object transfer target area.
- the object transfer initial area can be displayed according to the location of the salient object and the first preset spatial relationship, and the object transfer target area can be displayed according to the preset fixed position.
- the object transfer initial area is displayed according to the location of the salient object and the first preset spatial relationship
- the object transfer target area is displayed according to the object transfer initial area and the third preset spatial relationship, etc.
- the first preset spatial relationship may be covering the salient object, directly below the salient object, to the right of the salient object, etc. If the special effect application image is a three-dimensional image, the first preset spatial relationship may be a plane on which the salient object is placed, or a space covering the salient object, etc.
- the method provided by the embodiment of the present disclosure may further include: receiving a first area adjustment operation for the object transfer initial area, adjusting the object transfer initial area based on the first area adjustment operation or adjusting the object Transfer the initial area and the object transfer target area; and/or receive a second area adjustment operation for the object transfer target area, adjust the object transfer target area or adjust the object based on the second area adjustment operation Transfer initial area and transfer target area of the object.
- the first area adjustment operation or the second area adjustment operation may be an operation in which the user triggers the one-click adjustment control. That is, if it is detected that the user triggers the one-click adjustment control corresponding to the object transfer initial area or the one-click adjustment control of the object transfer target area, it can be determined that the first area adjustment operation or Second area adjustment operation.
- the first area adjustment operation or the second area adjustment operation may also be an operation in which the user enters or selects parameters; that is, if it is detected that the user enters adjustment parameters or selects adjustment parameters in the toolbar, it can be determined that the first area adjustment operation is received or second zone adjustment operation.
- the first area adjustment operation or the second area adjustment operation may also be a manual adjustment operation performed by the user on the display interface of the special effect application image.
- the first area adjustment operation and/or the second area adjustment operation may include at least one of an area rotation operation, an area scaling operation, and an area moving operation.
- the first area adjustment operation it may be determined that the first area adjustment operation is received when the user's rotation operation for object transfer initial area on the display interface is obtained; or, it may be determined that the user's rotation operation on the display interface is obtained.
- the zoom operation is performed on the initial area for object transfer
- this method it is possible to adjust the object movement initial area or the object movement target area accordingly based on the user's rotation, scaling or movement operations on the display interface, thereby meeting the user's personalized needs and improving the user experience.
- the initial area for object transfer can be adjusted only according to the first area adjustment operation; or, the initial area for object transfer can also be adjusted simultaneously according to the first area adjustment operation. Region and object transfer target region.
- adjusting the object transfer initial area and the object transfer target area based on the first area adjustment operation may be: determining the amount to be adjusted corresponding to the object transfer initial area based on the first area adjustment operation, where the amount to be adjusted includes a rotation angle and a scaling ratio. and moving distance; adjusting the object transfer initial area and the object transfer target area based on the amount to be adjusted.
- the amount to be adjusted corresponding to the object transfer target area determines the amount to be adjusted corresponding to the object transfer target area; based on the object transfer initial area
- the adjustment object corresponding to the area to be adjusted is transferred to the initial area.
- the object transfer target area is adjusted based on the amount to be adjusted corresponding to the object transfer target area.
- the object transfer target area can be adjusted only according to the second area adjustment operation; or, the object transfer initialization area can also be adjusted simultaneously according to the second area adjustment operation. Region and object transfer target region.
- simultaneously adjusting the object transfer initial area and the object transfer target area based on the second area adjustment operation may be based on the adjustment amount corresponding to the object transfer target area in the second area adjustment operation; or adjusting the object transfer initial area and the object transfer target area; or The object transfer target area may be adjusted based on the amount to be adjusted corresponding to the object transfer target area in the second area adjustment operation, and the amount to be adjusted corresponding to the object transfer initial area is determined based on the amount to be adjusted corresponding to the object transfer target area, based on the object transfer The adjustment object of the amount to be adjusted corresponding to the initial area is transferred to the initial area.
- the object transfer initial area and/or the object transfer target area are automatically adjusted according to the user's adjustment operation, thereby meeting the user's personalized needs and improving the user's experience.
- the above adjustment operation of receiving the user's object transfer initial area and/or object transfer target area can also be performed after the target scene special effects are generated. That is, after the target scene special effects are generated, the adjustment operation can be performed in real time according to the user's first
- the first area adjustment operation adjusts the object transfer initial area, or adjusts the object transfer initial area and the object transfer target area; and/or adjusts the object transfer target area, or adjusts the object transfer initial area according to the user's second area adjustment operation. and object transfer target area, and regenerate the target scene special effects based on the adjusted object transfer initial area or object transfer target area.
- the object transfer triggering operation may be that the target transfer object in the special effect application image is input to the object transfer initial area, or the target transfer object is input to a preset core area in the object transfer initial area, or the user triggers the corresponding transfer control.
- the object transfer triggering operation may be determined based on the operation performed by the user on the display interface, or may be automatically determined based on the target transfer object in the special effect application image. For example, if it is detected that the user drags the target transfer object in the special effect application image to the middle area of the object transfer initial area, it can be determined that the object transfer triggering operation is received. Or, if it is detected that the target transfer object in the special effect application image moves to the middle area of the object transfer initial area, such as the user placing his hand in the middle area of the object transfer initial area during the live broadcast, it can be determined that the object transfer trigger has been received operate. Alternatively, if the target transfer object is detected in the object transfer initial area, it can be determined that the object transfer triggering operation is received.
- the target transfer object in the special effect application image can be transferred from the object transfer initial area to the object transfer target area for display based on the object transfer trigger operation.
- the pixel value of the target transfer object in the special effect application image can be copied to the object transfer target area to realize the transfer of the target transfer object from the object transfer initial area to the object transfer target area.
- the target transfer can also be copied At the same time as the pixel value of the object, delete the pixel value of the target transfer object in the initial area of object transfer.
- the SLAM Simultaneous Localization and Mapping
- the SLAM Simultaneous Localization and Mapping method can be used to cut out the target transfer object; and transfer the target transfer object from the object transfer initial area to the object Transfer target area.
- cutting the target transfer object can be understood as determining the three-dimensional space coordinates of the target transfer object, and segmenting the target transfer object from the special effect application image according to the three-dimensional space coordinates.
- the target transfer object may be displayed in the object transfer target area according to the initial display size, initial display color and other initial display information of the target transfer object.
- the display adjustment information of the target transfer object may also be determined based on the spatial relationship between the object transfer initial area and the object transfer target area, and the target transfer object may be displayed at the object transfer target area based on the initial display information and the display adjustment information.
- the display size scaling amount of the target transfer object can be determined based on the visual depth difference, so that the transferred target Transferring objects is more consistent with actual visual effects. For example, if the object transfer initial area is in the front and the object transfer target area is in the back, then the display size of the target transfer object can be reduced during the process of displaying the transferred target transfer object, so that the display effect of the target transfer object in the three-dimensional image is better. It more satisfies the actual visual effects and improves the user experience.
- Figure 1D shows a schematic diagram of a target scene special effect of a three-dimensional image. It can be seen from the figure that the display size of the target transfer object in the initial area of object transfer is larger than that in the object transfer target area after being transferred. display size in .
- the transferred target transfer object may adaptively cover the object transfer target area.
- the technical solution of this embodiment is to, in response to the user's preset special effect triggering operation, obtain the special effect application image corresponding to the target scene special effect used to trigger the transfer of the target transfer object, and display the object transfer used to transfer the target transfer object in the special effect application image.
- the initial area and the object transfer target area and then according to the received object transfer trigger operation based on the object transfer initial area input, the target transfer object is transferred from the object transfer initial area to the object transfer target area for display, realizing the transfer of specific objects in the image.
- Automatic generation of scene special effects This method can be used to automatically generate special effects for transferring an object. It solves the technical problem in related technologies that requires manual processing of images in software to generate special effects, improves the efficiency of special effects generation, and does not require users. Manual adjustment reduces the complexity of special effects generation.
- this method can generate target scene special effects in real time based on the image currently taken by the user. That is, this method can realize the automatic generation of special effects during the user's real-time shooting process.
- Figure 2 is a schematic flowchart of an image processing method provided in Embodiment 2 of the present disclosure. This embodiment is based on any optional technical solution in the embodiment of the present disclosure.
- the special effect application diagram is described in Displaying the object transfer initial area and the object transfer target area of the target scene special effect in the image includes: when receiving a transfer position display trigger operation for the special effect application image, displaying the target scene in the special effect application image The object transfer initial area and object transfer target area of the special effect.
- the method in this embodiment may include:
- S220 When receiving a transfer position display triggering operation for the special effect application image, display the object transfer initial area and the object transfer target area of the target scene special effect in the special effect application image.
- the transfer position display triggering operation may be an operation by the user to set the object transfer initial area and/or the object transfer target area.
- the transfer position display trigger operation can be the user's operation of inputting or selecting parameters in a given selection box, or the user's operation of checking an area in the special effect application image.
- a parameter toolbar for setting the initial area for object transfer can be displayed on the display interface of the special effect application image, or a parameter toolbar for setting the target area for object transfer can be displayed; according to the user's input in the parameter toolbar or The selected parameters determine the display position of the object transfer initial area or the object transfer target area, and the object transfer initial area or object transfer target area is displayed based on the display position.
- the user's check operation on the display interface of the special effect application image can also be detected, and the area checked by the user can be determined as the object transfer initial area or the object transfer target area.
- displaying the object transfer initial area and the object transfer target area of the target scene special effect in the special effect application image includes: when Receive the first position input operation for the object transfer initial area input by the special effects application image, display the object transfer initial area of the target scene special effect in the special effects application image; and/or, when receiving the object transfer initial area for the special effects application image, When the second position input operation of the object transfer target area input by the special effect application image is performed, the corresponding target scene special effect is displayed in the special effect application image.
- Image transfer target area when receiving a transfer position display trigger operation for the special effect application image, displaying the object transfer initial area and the object transfer target area of the target scene special effect in the special effect application image includes: when Receive the first position input operation for the object transfer initial area input by the special effects application image, display the object transfer initial area of the target scene special effect in the special effects application image; and/or, when receiving the object transfer initial area for the special effects application image, When the second position input operation of the object transfer target area input by the special effect application image is performed, the
- the first position input operation includes but is not limited to parameter input operation, parameter selection operation or area check operation
- the second position input operation includes but is not limited to parameter input operation, parameter selection operation or area check operation.
- the object transfer target area can be displayed according to a preset fixed position, or displayed according to a third preset spatial relationship with the object transfer initial area.
- the object transfer initial area may be a fixed position, or may be determined according to the third preset spatial relationship.
- the object transfer initial area by obtaining the first position input operation of the input object transfer initial area, the object transfer initial area is displayed; and/or by obtaining the input second position input operation of the object transfer target area, the object transfer initial area is displayed.
- the object transfer target area realizes the flexible display of the object transfer initial area and the object transfer target area, which can meet the needs of different users, thereby achieving the generation of target scene special effects that meet personalized needs.
- the transfer location display triggering operation may also be automatically generated.
- the transfer position display triggering operation can be automatically generated in the following manner: if the duration of acquiring the special effect application image exceeds a preset time threshold, the transfer position display triggering operation is generated; or, if it is determined that the special effect application image is If there is a preset special effect application subject, a transfer position display trigger operation is generated; or, if it is determined that there is a preset special effect application subject in the special effect application image, and the special effect application subject is displayed in the special effect application image
- the duration exceeds the preset duration
- a transfer position display trigger operation is generated; or, if it is determined that the special effect application subject exists in the preset display area in the special effect application image, a transfer position display trigger operation is generated; or, if the special effect application is determined If the first preset position relationship is satisfied between the special effect application subject in the image and the preset object transfer initial area, a transfer position display triggering operation is generated; or if it is determined that the special
- the first position input operation and the second position input operation may also be automatically generated. For example, if it is determined that the special effect application subject in the special effect application image and the object transfer initial area satisfy the first preset position relationship, a first position input operation is generated; or if it is determined that the special effect application body in the special effect application image satisfies the first preset position relationship If the second preset position relationship between the subject and the object transfer target area is satisfied, the second position input operation is generated, etc.
- the generation of the first position input operation and the second position input operation can be seen in the above example of the transfer position display trigger operation. .
- the technical solution of this embodiment is to display the object transfer initial area and the object transfer target area in the special effect application image through the received transfer position display trigger operation for the special effect application image, so that the object transfer initial area and object transfer can be performed according to user needs.
- the diversified display of the special effects of the target scene is realized to meet the user's personalized needs and improve the user experience.
- Figure 3 is a schematic flowchart of an image processing method provided in Embodiment 3 of the present disclosure. This embodiment is based on any optional technical solution in the embodiment of the present disclosure.
- the special effect application image is described in Displaying the object transfer initial area and object transfer target area of the target scene special effect includes: displaying the preset object transfer initial area and object transfer target area of the target scene special effect in the special effect application image.
- the method in this embodiment may include:
- S320 Display the preset object transfer initial area and object transfer target area of the target scene special effect in the special effect application image.
- the display positions of the object transfer initial area and the object transfer target area may be fixed, that is, they may be preset for the target scene special effects.
- the display positions of the object transfer initial area and the object transfer target area in the special effect application image may be preset, or, You can also preset the display size, display color or display effect of the object transfer initial area and the object transfer target area in the special effect application image.
- the method provided by this embodiment may further include: presetting the display abscissa proportion and the display ordinate proportion of the object transfer initial area and the object transfer target area in the image.
- the object transfer initial area can be preset to be displayed at 20% of the abscissa and 30% of the ordinate of an image, and the object transfer target area is displayed at 60% of the abscissa and 30% of the ordinate of an image.
- the object transfer initial area and the object transfer target area of the preset target scene special effect are displayed in the special effect application image.
- the method provided in this embodiment may also include: presetting the proportion of the object transfer initial area and the object transfer target area in the image. For example. You can preset the initial area for object transfer to account for 10% of the image, and the target area for object transfer to account for 8% of the image. Based on the preset proportions in the image, you can determine the initial area for object transfer and the object transfer area. The display size of the target area. Therefore, in the embodiment of the present disclosure, the object transfer initial area of the preset target scene special effect can be displayed in the special effect application image based on the preset display abscissa proportion, display ordinate proportion and proportion in the image. and object transfer target area.
- S330 Receive an object transfer trigger operation based on the object transfer initial area input, and transfer the target transfer object from the object transfer initial area to the object transfer target area for display based on the object transfer trigger operation.
- the technical solution of this embodiment can display the preset object transfer initial area and object transfer target area of the target scene special effect in the special effect application image after acquiring the special effect application image.
- the user does not need to manually configure the object transfer initial area and object transfer area.
- the target area reduces user operations and improves the efficiency of generating special effects for the target scene.
- Figure 4 is a schematic flowchart of an image processing method provided in Embodiment 4 of the present disclosure.
- This embodiment is based on any optional technical solution in the embodiment of the present disclosure.
- the reception is based on the object transfer initialization.
- the object transfer trigger operation input by the area, based on the object transfer trigger operation, the target
- the target transfer object is transferred from the object transfer initial area to the object transfer target area for display, including: receiving a movement operation of the special effect application subject in the special effect application image to move into the object transfer initial area;
- the special effect application body in the object transfer initial area is used as a target transfer object, and the target transfer object is transferred from the object transfer initial area to the object transfer target area for display.
- the method in this embodiment may include:
- the special effect application subject may be a transferable object in the special effect application image, including but not limited to characters, objects, parts of characters, or parts of objects.
- This embodiment can identify each subject in the special effect application image, and then filter the special effect application subject from each subject.
- filtering the special effect application subjects from each subject may be: taking the subject among each subject that is closest to the initial area of object transfer as the special effect application subject. Or, use the subject that meets the preset subject characteristics among the subjects as the special effect application subject; for example, the user's hand. Or, use the salient subjects among the subjects as special effect subjects; for example, the water glass on the ground. Or, first determine the reference subject among each subject, and then use the subject that satisfies the preset spatial position relationship with the reference subject as the special effect application subject; for example, the reference subject is the user's hand, and the special effect application subject is the water cup held by the user's hand. .
- the target transfer object can apply various special effects in the image according to the special effects. It is determined by the relative positional relationship between the main body and the object transfer initial area.
- the special effect application body located within the object transfer initial area may be used as the target transfer object.
- a movement operation for the special effect application body to move within the object transfer initial area may be received.
- the movement operation may be a drag operation used by the user to control the movement of the special effect application body; the movement operation may also be automatically determined based on the movement trajectory of the special effect application subject in each special effect application image.
- the movement trajectory of the special effect application subject is the special effect application body. If the application body moves within the object transfer initial area, it can be determined that the move operation has been received.
- the special effect application body can be moved to a part within the object transfer initial area as the target transfer object.
- the target transfer object may be the entire special effect application body, or part of the special effect application body, and may be determined based on the special effect application body included in the initial area of object transfer.
- the part of the special effect application body that is moved to the preset core area within the object transfer initial area can be used as the target transfer object.
- the object transfer initial area can be displayed in the form of multiple apertures.
- the outer aperture can represent the special effects of the entrance
- the inner aperture can represent the inside of the entrance. Therefore, the part where the special effect application subject is moved to the innermost aperture can be used as a target transfer. object.
- the moving the special effect application body to the part within the object transfer initial area as the target transfer object includes: moving the special effect application image to the object transfer initial area.
- the special effect application body inside is divided, and the divided special effect application body is used as the target transfer object.
- image segmentation processing can be performed on the special effect application image to segment the special effect application body within the object transfer initial area, and use the segmented special effect application body as the target transfer object.
- the target transfer object can be directly moved to the object transfer target area, and automatic transfer of the target transfer object can be achieved without copying pixel values.
- the entire object transfer initial area may be divided, or only the special effect application body within the object transfer initial area may be divided.
- the target transfer object can be quickly determined, and based on The segmented target transfer object facilitates the transfer of target scene special effects and improves the generation efficiency of target scene special effects.
- the blank area can also be filled.
- the method further includes: performing segmentation on the segmented area in the special effect application image. Background completion.
- the segmented area may be a transferred area in the object transfer initial area, that is, the initial area where the target transfer object is located.
- the background completion may be to fill the pixel value of the segmented area according to the pixel mean value of the adjacent area of the segmented area, so that the pixel value of the segmented area is equal to the pixel mean value of its adjacent area.
- the segmented area in the special effect application image can also be filled based on a preset filling object, where the preset filling object can be an object preset to be placed in the segmented area, such as , mosaic, simple drawing corresponding to the target transfer object, etc.
- the technical solution of this embodiment is to receive the movement operation of the special effect application body in the special effect application image to move into the object transfer initial area, and then use the part where the special effect application body moves to the object transfer initial area as the target transfer object, and transfer the target
- the transfer object is moved from the object transfer initial area to the object transfer target area for display, which realizes the dynamic and real-time determination of the target transfer object, and then realizes the automatic generation of transfer special effects for the target transfer object, improving the generation efficiency of the target scene special effects.
- FIG. 5 is a schematic structural diagram of an image processing device provided in Embodiment 5 of the present disclosure.
- the image processing device provided in this embodiment can be implemented by software and/or hardware, and can be configured in a terminal and/or server to implement the disclosure.
- the device may include: a special effect application image acquisition module 510, a transfer area display module 520, and a transfer object transfer module 530.
- the special effect application image acquisition module 510 is configured to obtain a special effect application image corresponding to the target scene special effect in response to a preset special effect triggering operation for triggering the target scene special effect, wherein the target scene special effect is performed on the target transfer object. Transfer special effects;
- the transfer area display module 520 is configured to display an object transfer initial area and an object transfer target area for transferring the target transfer object in the special effect application image;
- the transfer object transfer module 530 is configured to receive an object transfer trigger operation based on the object transfer initial area input, and transfer the target transfer object from the object transfer initial area to the object transfer target based on the object transfer trigger operation. area is displayed.
- the technical solution of this embodiment is to obtain a special effect application image corresponding to the target scene special effect in response to the user's preset special effects triggering operation for triggering the target scene special effect, and display the object transfer for transferring the target transfer object in the special effect application image.
- the initial area and the object transfer target area and then according to the received object transfer trigger operation based on the object transfer initial area input, the target transfer object is transferred from the object transfer initial area to the object transfer target area for display, realizing the transfer of specific objects in the image.
- Automatic generation of scene special effects This method can be used to automatically generate special effects for transferring an object. It solves the technical problems in related technologies that require humans to process images in software, resulting in complex operation steps and slow speed of special effects display, without the need for users.
- the transfer area display module 520 includes a first display unit, and the first display unit is configured to When the transfer position display of the image triggers the operation, the object transfer initial area and the object transfer target area of the target scene special effect are displayed in the special effect application image.
- the first display unit is set to:
- the transfer area display module 520 includes a second display unit, and the second display unit is configured to display in the special effect application image.
- the object transfer initial area and the object transfer target area of the target scene special effects are preset.
- the transfer object transfer module 530 includes an operation receiving unit and an object transfer unit, wherein the operation receiving unit is configured to receive the special effect The movement operation of moving the special effect application body in the application image to the object transfer initial area; the object transfer unit is configured to move the special effect application body to the object transfer initial area as the target transfer object , the target transfer object is transferred from the object transfer initial area to the object transfer target area for display.
- the object transfer unit is also configured to segment the special effect application subject in the special effect application image that moves to the object transfer initial area. , using the segmented special effect application body as the target transfer object.
- the object transfer unit is further configured to move the special effect application within the object transfer initial area in the special effect application image. After the subject is segmented, background completion is performed on the segmented area in the special effect application image.
- the device further includes a region adjustment module configured to receive a first region adjustment for the object transfer initial region. operation, adjusting the object transfer initial area based on the first area adjustment operation or or adjust the object transfer initial area and the object transfer target area; and/or receive a second area adjustment operation for the object transfer target area, and adjust the object transfer target area based on the second area adjustment operation Or adjust the object transfer initial area and the object transfer target area.
- a region adjustment module configured to receive a first region adjustment for the object transfer initial region. operation, adjusting the object transfer initial area based on the first area adjustment operation or or adjust the object transfer initial area and the object transfer target area; and/or receive a second area adjustment operation for the object transfer target area, and adjust the object transfer target area based on the second area adjustment operation Or adjust the object transfer initial area and the object transfer target area.
- the first area adjustment operation and/or the second area adjustment operation includes an area rotation operation, an area scaling operation, and an area moving operation. at least one of.
- the object transfer initial area and the object transfer target area are the special effect application image. in the three-dimensional transfer space.
- the above-mentioned device can execute the method provided by any embodiment of the present disclosure, and has corresponding functional modules for executing the method.
- FIG. 6 is a schematic structural diagram of an electronic device provided by Embodiment 6 of the present disclosure.
- Terminal devices in embodiments of the present disclosure may include, but are not limited to, mobile phones, notebook computers, digital broadcast receivers, personal digital assistants (Personal Digital Assistant, PDA), PAD (tablet computers), portable multimedia players (Portable Media Player , PMP), mobile terminals such as vehicle-mounted terminals (such as vehicle-mounted navigation terminals), and fixed terminals such as digital televisions (Television, TV), desktop computers, etc.
- PDA Personal Digital Assistant
- PAD tablet computers
- PMP portable multimedia players
- mobile terminals such as vehicle-mounted terminals (such as vehicle-mounted navigation terminals)
- fixed terminals such as digital televisions (Television, TV), desktop computers, etc.
- the electronic device shown in FIG. 6 is only an example and should not impose any limitations on the functions and scope of use of the embodiments of the present disclosure.
- the electronic device 600 may include a processing device (such as a central processing unit, a graphics processor, etc.) 601, which may be stored in a read-only memory (Read-Only Memory, ROM) 602. or a program loaded from the storage device 608 into the random access memory (Random Access Memory, RAM) 603 to execute various appropriate actions and processes.
- ROM Read-Only Memory
- RAM Random Access Memory
- various programs and data required for the operation of the electronic device 600 are also stored.
- the processing device 601, the ROM 602 and the RAM 603 are connected to each other via a bus 605.
- An editing/output (I/O) interface 604 is also connected to bus 605.
- the following devices can be connected to the I/O interface 604: input devices 606 including, for example, a touch screen, touch pad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; including, for example, a Liquid Crystal Display (LCD) , an output device 607 such as a speaker, a vibrator, etc.; a storage device 608 including a magnetic tape, a hard disk, etc.; and a communication device 609. Communication device 609 may allow electronic device 600 to communicate wirelessly or wiredly with other devices to exchange data.
- FIG. 6 illustrates electronic device 600 with various means, it should be understood that implementation or availability of all illustrated means is not required. More or fewer means may alternatively be implemented or provided.
- embodiments of the present disclosure include a computer program product including a computer program carried on a non-transitory computer-readable medium, the computer program containing program code for performing the method illustrated in the flowchart.
- the computer program may be downloaded and installed from the network via communication device 609, or from storage device 608, or from ROM 602.
- the processing device 601 When the computer program is executed by the processing device 601, the above functions defined in the method of the embodiment of the present disclosure are performed.
- the electronic device provided by the embodiments of the present disclosure and the image processing method provided by the above-mentioned embodiments belong to the same inventive concept.
- Technical details that are not described in detail in the embodiments of the present disclosure can be referred to the above-mentioned embodiments.
- Embodiments of the present disclosure provide a computer storage medium on which a computer program is stored.
- the program is executed by a processor, the image processing method provided by the above embodiments is implemented.
- the computer-readable medium mentioned above in the present disclosure may be a computer-readable signal medium or a computer-readable storage medium, or any combination of the above two.
- the computer-readable storage medium may be, for example, but is not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus or device, or any combination thereof.
- Computer readable storage media may include, but are not limited to: an electrical connection having one or more wires, a portable computer disk, a hard drive, random access memory (RAM), read only memory (ROM), removable Programmable read-only memory ((Erasable Programmable Read-Only Memory, EPROM) or flash memory), optical fiber, portable compact disk read-only memory (Compact Disc Read-Only Memory, CD-ROM), optical storage device, magnetic storage device, or the above any suitable combination.
- a computer-readable storage medium may be any tangible medium that contains or stores a program for use by or in connection with an instruction execution system, apparatus, or device.
- a computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, carrying computer-readable program code therein. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above.
- a computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium that can send, propagate, or transmit a program for use by or in connection with an instruction execution system, apparatus, or device .
- Program code contained on a computer-readable medium can be transmitted using any appropriate medium, including but not limited to: wires, optical cables, radio frequency (Radio Frequency, RF), etc., or any suitable combination of the above.
- the client and server can communicate using any currently known or future developed network protocol such as HTTP (HyperText Transfer Protocol), and can communicate with digital data in any form or medium.
- Communications e.g., communications network
- Examples of communication networks include Local Area Networks (LANs), Wide Area Networks (WANs), the Internet (e.g., the Internet), and end-to-end networks (e.g., ad hoc end-to-end networks), as well as any current network for knowledge or future research and development.
- LANs Local Area Networks
- WANs Wide Area Networks
- the Internet e.g., the Internet
- end-to-end networks e.g., ad hoc end-to-end networks
- the above-mentioned computer-readable medium may be included in the above-mentioned electronic device; it may also exist independently without being assembled into the electronic device.
- the above-mentioned computer-readable medium carries at least one program.
- the electronic device executes the above-mentioned at least one program.
- obtaining a special effect application image corresponding to the target scene special effect In response to a preset special effects triggering operation for triggering a target scene special effect, obtaining a special effect application image corresponding to the target scene special effect, wherein the target scene special effect is a special effect for transferring a target transfer object;
- Computer program code for performing the operations of the present disclosure may be written in one or more programming languages, including but not limited to object-oriented programming languages—such as Java, Smalltalk, C++, and Includes conventional procedural programming languages—such as "C” or similar programming languages.
- the program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server.
- the remote computer can be connected to the user's computer through any kind of network, including a local area network (LAN) or a wide area network (WAN), or it can be connected to an external computer (such as an Internet service provider through Internet connection).
- LAN local area network
- WAN wide area network
- Internet service provider such as an Internet service provider through Internet connection
- each block in the flowchart or block diagram may represent a module, segment, or portion of code that contains one or more logic functions that implement the specified executable instructions.
- the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown one after another may actually execute substantially in parallel, or they may sometimes execute in the reverse order, depending on the functionality involved.
- each block of the block diagram and/or flowchart illustration, and combinations of blocks in the block diagram and/or flowchart illustration can be implemented by special purpose hardware-based systems that perform the specified functions or operations, or can be implemented by Achieved by a combination of specialized hardware and computer instructions.
- the units involved in the embodiments of the present disclosure can be implemented in software or hardware.
- the name of the unit does not constitute a limitation on the unit itself under certain circumstances.
- the first acquisition unit can also be described as "the unit that acquires at least two Internet Protocol addresses.”
- exemplary types of hardware logic components include: field programmable gate array (Field Programmable Gate Array, FPGA), application specific integrated circuit (Application Specific Integrated Circuit, ASIC), application specific standard product (Application Specific Standard Parts (ASSP), System on Chip (SOC), Complex Programmable Logic Device (CPLD), etc.
- a machine-readable medium may be a tangible medium that may contain or store a program for use by or in connection with an instruction execution system, apparatus, or device.
- the machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium.
- Machine-readable media may include, but are not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices or devices, or any suitable combination of the foregoing.
- machine-readable storage media would include one or more wire-based electrical connections, laptop disks, hard drives, random access memory (RAM), read only memory (ROM), erasable programmable read only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination of the above.
- RAM random access memory
- ROM read only memory
- EPROM or flash memory erasable programmable read only memory
- CD-ROM portable compact disk read-only memory
- magnetic storage device or any suitable combination of the above.
- Example 1 provides an image processing method, which includes:
- a special effect application image corresponding to the target scene special effect is obtained, wherein the target scene special effect is to transform the target transfer object.
- Example 2 provides an image processing method, which further includes:
- displaying the object transfer initial area and the object transfer target area of the target scene special effect in the special effect application image includes:
- Example 3 provides an image processing method, which further includes:
- displaying the object transfer initial area and the object transfer target area of the target scene special effect in the special effect application image includes:
- the object transfer target area of the target scene special effect is displayed in the special effects application image.
- Example 4 provides an image processing method, which further includes:
- displaying the object transfer initial area and the object transfer target area of the target scene special effect in the special effect application image includes:
- the preset object transfer initial area and object transfer target area of the target scene special effect are displayed in the special effect application image.
- Example 5 provides an image processing method, which further includes:
- the object transfer triggering operation input based on the object transfer initial area is received, and the target transfer object is transferred from the object transfer initial area to the object transfer target area based on the object transfer trigger operation.
- Display including:
- the part of the special effect application body moved into the object transfer initial area is used as a target transfer object, and the target transfer object is transferred from the object transfer initial area to the object transfer target area for display.
- Example 6 provides an image processing method, which further includes:
- moving the special effect application body to the part within the object transfer initial area as the target transfer object includes:
- the special effect application subject in the special effect application image that moves into the object transfer initial area is segmented, and the segmented special effect application subject is used as the target transfer object.
- Example 7 provides an image processing method, which further includes:
- the method further includes:
- Example 8 provides an image processing method, which further includes:
- Optional also includes:
- a second area adjustment operation for the object transfer target area is received, and the object transfer target area is adjusted based on the second area adjustment operation or the object transfer initial area and the object transfer target area are adjusted.
- Example 9 provides an image processing method, which further includes:
- the first area adjustment operation and/or the second area adjustment operation includes at least one of an area rotation operation, an area scaling operation, and an area moving operation.
- Example 10 provides an image processing method, which further includes:
- the object transfer initial area and the object transfer target area are the three-dimensional transfer space in the special effect application image.
- Example 11 provides an image processing device, which includes:
- a special effect application image acquisition module configured to obtain a special effect application image corresponding to the target scene special effect in response to a preset special effect triggering operation for triggering a target scene special effect, wherein the target scene special effect is to transfer a target transfer object special effects;
- a transfer area display module configured to display an object transfer initial area and an object transfer target area for transferring the target transfer object in the special effect application image
- a transfer object transfer module configured to receive an object transfer trigger operation based on the object transfer initial area input, and transfer the target transfer object from the object transfer initial area to the object transfer target area based on the object transfer trigger operation. display.
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- Human Computer Interaction (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Multimedia (AREA)
- Software Systems (AREA)
- Computer Hardware Design (AREA)
- Computer Graphics (AREA)
- Processing Or Creating Images (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
Description
Claims (13)
- 一种图像处理方法,包括:响应于用于触发目标场景特效的预设特效触发操作,获取与所述目标场景特效对应的特效应用图像,其中,所述目标场景特效为对目标转移对象进行转移的特效;于所述特效应用图像中显示用于转移所述目标转移对象的对象转移初始区域和对象转移目标区域;接收基于所述对象转移初始区域输入的对象转移触发操作,基于所述对象转移触发操作将所述目标转移对象由所述对象转移初始区域转移至所述对象转移目标区域进行显示。
- 根据权利要求1所述的方法,其中,所述于所述特效应用图像中显示用于转移所述目标转移对象的对象转移初始区域和对象转移目标区域,包括:响应于接收到针对所述特效应用图像的转移位置显示触发操作,于所述特效应用图像中显示用于转移所述目标转移对象的对象转移初始区域和对象转移目标区域。
- 根据权利要求2所述的方法,其中,所述响应于接收到针对所述特效应用图像的转移位置显示触发操作,于所述特效应用图像中显示用于转移所述目标转移对象的对象转移初始区域和对象转移目标区域,包括以下至少之一:响应于接收到针对所述特效应用图像输入的对象转移初始区域的第一位置输入操作,于所述特效应用图像中显示所述对象转移初始区域;响应于接收到针对所述特效应用图像输入的对象转移目标区域的第二位置输入操作时,于所述特效应用图像中显示所述对象转移目标区域。
- 根据权利要求1所述的方法,其中,所述于所述特效应用图像中显示用于转移所述目标转移对象的对象转移初始区域和对象转移目标区域,包括:于所述特效应用图像中显示预先设置的用于转移所述目标转移对象的对象转移初始区域和对象转移目标区域。
- 根据权利要求1所述的方法,其中,所述接收基于所述对象转移初始区 域输入的对象转移触发操作,基于所述对象转移触发操作将所述目标转移对象由所述对象转移初始区域转移至所述对象转移目标区域进行显示,包括:接收所述特效应用图像中的特效应用主体向所述对象转移初始区域内进行移动的移动操作;将所述特效应用主体移动至所述对象转移初始区域内的部分作为目标转移对象,将所述目标转移对象由所述对象转移初始区域转移至所述对象转移目标区域进行显示。
- 根据权利要求5所述的方法,其中,所述将所述特效应用主体移动至所述对象转移初始区域内的部分作为目标转移对象,包括:对所述特效应用图像中移动至所述对象转移初始区域内的特效应用主体进行分割,将分割出的特效应用主体作为所述目标转移对象。
- 根据权利要求6所述的方法,在所述对所述特效应用图像中移动至所述对象转移初始区域内的特效应用主体进行分割之后,还包括:对所述特效应用图像中已分割的区域进行背景补全。
- 根据权利要求1所述的方法,还包括以下至少之一:接收针对所述对象转移初始区域的第一区域调整操作,基于所述第一区域调整操作调整所述对象转移初始区域或者调整所述对象转移初始区域和所述对象转移目标区域;接收针对所述对象转移目标区域的第二区域调整操作,基于所述第二区域调整操作调整所述对象转移目标区域或者调整所述对象转移初始区域和所述对象转移目标区域。
- 根据权利要求8所述的方法,其中,所述方法包括以下至少之一:所述第一区域调整操作包括区域旋转操作、区域缩放操作以及区域移动操作中的至少一项;所述第二区域调整操作包括区域旋转操作、区域缩放操作以及区域移动操作中的至少一项。
- 根据权利要求1所述的方法,其中,当所述特效应用图像为三维图像时,所述对象转移初始区域和所述对象转移目标区域为所述特效应用图像中的三维转移空间。
- 一种图像处理装置,包括:特效应用图像获取模块,设置为响应于用于触发目标场景特效的预设特效触发操作,获取与所述目标场景特效对应的特效应用图像,其中,所述目标场景特效为对目标转移对象进行转移的特效;转移区域显示模块,设置为于所述特效应用图像中显示用于转移所述目标转移对象的对象转移初始区域和对象转移目标区域;转移对象转移模块,设置为接收基于所述对象转移初始区域输入的对象转移触发操作,基于所述对象转移触发操作将所述目标转移对象由所述对象转移初始区域转移至所述对象转移目标区域进行显示。
- 一种电子设备,包括:至少一个处理器;存储装置,设置为存储至少一个程序,当所述至少一个程序被所述至少一个处理器执行,使得所述至少一个处理器实现如权利要求1-10中任一所述的图像处理方法。
- 一种计算机可读存储介质,所述计算机可读存储介质上存储有计算机程序,所述计算机程序被处理器执行时实现如权利要求1-10中任一所述的图像处理方法。
Priority Applications (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| US18/852,399 US20250218080A1 (en) | 2022-03-28 | 2023-03-14 | Image processing method, electronic device, and storage medium |
| EP23777831.1A EP4502943A4 (en) | 2022-03-28 | 2023-03-14 | IMAGE PROCESSING METHOD AND APPARATUS, ELECTRONIC DEVICE AND STORAGE MEDIA |
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202210316840.3 | 2022-03-28 | ||
| CN202210316840.3A CN114708290B (zh) | 2022-03-28 | 2022-03-28 | 图像处理方法、装置、电子设备及存储介质 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2023185455A1 true WO2023185455A1 (zh) | 2023-10-05 |
Family
ID=82170116
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2023/081371 Ceased WO2023185455A1 (zh) | 2022-03-28 | 2023-03-14 | 图像处理方法、装置、电子设备及存储介质 |
Country Status (4)
| Country | Link |
|---|---|
| US (1) | US20250218080A1 (zh) |
| EP (1) | EP4502943A4 (zh) |
| CN (1) | CN114708290B (zh) |
| WO (1) | WO2023185455A1 (zh) |
Families Citing this family (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN114708290B (zh) * | 2022-03-28 | 2025-11-28 | 北京字跳网络技术有限公司 | 图像处理方法、装置、电子设备及存储介质 |
| CN115442553A (zh) * | 2022-08-31 | 2022-12-06 | 维沃移动通信有限公司 | 视频录制方法、装置及电子设备 |
| CN116126182A (zh) * | 2022-09-08 | 2023-05-16 | 北京字跳网络技术有限公司 | 特效处理方法、装置、电子设备及存储介质 |
| CN115760553A (zh) * | 2022-11-04 | 2023-03-07 | 北京字跳网络技术有限公司 | 特效处理方法、装置、设备及存储介质 |
Citations (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN108379841A (zh) * | 2018-03-15 | 2018-08-10 | 网易(杭州)网络有限公司 | 游戏特效的处理方法、装置和终端 |
| CN109947312A (zh) * | 2019-01-30 | 2019-06-28 | 维沃移动通信有限公司 | 一种控制方法及终端设备 |
| CN110619615A (zh) * | 2018-12-29 | 2019-12-27 | 北京时光荏苒科技有限公司 | 用于处理图像方法和装置 |
| CN112199016A (zh) * | 2020-09-30 | 2021-01-08 | 北京字节跳动网络技术有限公司 | 图像处理方法、装置、电子设备及计算机可读存储介质 |
| CN112347395A (zh) * | 2019-08-07 | 2021-02-09 | 阿里巴巴集团控股有限公司 | 特效展示方法、装置、电子设备及计算机存储介质 |
| CN113096225A (zh) * | 2021-03-19 | 2021-07-09 | 北京达佳互联信息技术有限公司 | 一种图像特效的生成方法、装置、电子设备及存储介质 |
| CN114708290A (zh) * | 2022-03-28 | 2022-07-05 | 北京字跳网络技术有限公司 | 图像处理方法、装置、电子设备及存储介质 |
Family Cites Families (8)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2014191718A (ja) * | 2013-03-28 | 2014-10-06 | Sony Corp | 表示制御装置、表示制御方法および記録媒体 |
| CN113542847B (zh) * | 2020-04-21 | 2023-05-02 | 抖音视界有限公司 | 图像显示方法、装置、设备及存储介质 |
| CN111556278B (zh) * | 2020-05-21 | 2022-02-01 | 腾讯科技(深圳)有限公司 | 一种视频处理的方法、视频展示的方法、装置及存储介质 |
| CN111881846B (zh) * | 2020-07-30 | 2024-04-02 | 北京市商汤科技开发有限公司 | 图像处理方法和相关装置、设备、存储介质 |
| CN112070903A (zh) * | 2020-09-04 | 2020-12-11 | 脸萌有限公司 | 虚拟对象的展示方法、装置、电子设备及计算机存储介质 |
| CN113706553B (zh) * | 2021-07-27 | 2024-05-03 | 维沃移动通信有限公司 | 图像处理方法、装置及电子设备 |
| CN116152427A (zh) * | 2021-11-23 | 2023-05-23 | 北京字节跳动网络技术有限公司 | 图像处理方法、装置、电子设备及存储介质 |
| CN114240742B (zh) * | 2021-12-17 | 2025-09-19 | 北京字跳网络技术有限公司 | 图像处理方法、装置、电子设备及存储介质 |
-
2022
- 2022-03-28 CN CN202210316840.3A patent/CN114708290B/zh active Active
-
2023
- 2023-03-14 US US18/852,399 patent/US20250218080A1/en active Pending
- 2023-03-14 EP EP23777831.1A patent/EP4502943A4/en active Pending
- 2023-03-14 WO PCT/CN2023/081371 patent/WO2023185455A1/zh not_active Ceased
Patent Citations (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN108379841A (zh) * | 2018-03-15 | 2018-08-10 | 网易(杭州)网络有限公司 | 游戏特效的处理方法、装置和终端 |
| CN110619615A (zh) * | 2018-12-29 | 2019-12-27 | 北京时光荏苒科技有限公司 | 用于处理图像方法和装置 |
| CN109947312A (zh) * | 2019-01-30 | 2019-06-28 | 维沃移动通信有限公司 | 一种控制方法及终端设备 |
| CN112347395A (zh) * | 2019-08-07 | 2021-02-09 | 阿里巴巴集团控股有限公司 | 特效展示方法、装置、电子设备及计算机存储介质 |
| CN112199016A (zh) * | 2020-09-30 | 2021-01-08 | 北京字节跳动网络技术有限公司 | 图像处理方法、装置、电子设备及计算机可读存储介质 |
| CN113096225A (zh) * | 2021-03-19 | 2021-07-09 | 北京达佳互联信息技术有限公司 | 一种图像特效的生成方法、装置、电子设备及存储介质 |
| CN114708290A (zh) * | 2022-03-28 | 2022-07-05 | 北京字跳网络技术有限公司 | 图像处理方法、装置、电子设备及存储介质 |
Non-Patent Citations (1)
| Title |
|---|
| See also references of EP4502943A4 |
Also Published As
| Publication number | Publication date |
|---|---|
| EP4502943A4 (en) | 2026-03-11 |
| EP4502943A1 (en) | 2025-02-05 |
| CN114708290A (zh) | 2022-07-05 |
| US20250218080A1 (en) | 2025-07-03 |
| CN114708290B (zh) | 2025-11-28 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| WO2023185455A1 (zh) | 图像处理方法、装置、电子设备及存储介质 | |
| WO2022166872A1 (zh) | 一种特效展示方法、装置、设备及介质 | |
| WO2023051185A1 (zh) | 图像处理方法、装置、电子设备及存储介质 | |
| WO2023179346A1 (zh) | 特效图像处理方法、装置、电子设备及存储介质 | |
| CN114461064B (zh) | 虚拟现实交互方法、装置、设备和存储介质 | |
| US10984568B2 (en) | Methods, devices, and computer-readable media for sharing image effects | |
| CN115379105B (zh) | 视频拍摄方法、装置、电子设备和存储介质 | |
| US20210142568A1 (en) | Web-based remote assistance system with context & content-aware 3d hand gesture visualization | |
| EP4113446B1 (en) | Sticker processing method and apparatus | |
| WO2023020239A1 (zh) | 特效生成方法、装置、电子设备及存储介质 | |
| CN112927273A (zh) | 三维视频的处理方法、设备及存储介质 | |
| CN114842120A (zh) | 一种图像渲染处理方法、装置、设备及介质 | |
| CN115830224A (zh) | 多媒体数据的编辑方法、装置、电子设备及存储介质 | |
| CN114168063A (zh) | 虚拟按键显示方法、头戴式显示设备和计算机可读介质 | |
| CN116301530A (zh) | 虚拟场景处理方法、装置、电子设备及存储介质 | |
| CN109598689A (zh) | 实时图像处理方法及装置、电子设备、存储介质 | |
| WO2023169287A1 (zh) | 美妆特效的生成方法、装置、设备、存储介质和程序产品 | |
| WO2023140787A2 (zh) | 视频的处理方法、装置、电子设备、存储介质和程序产品 | |
| WO2024051540A1 (zh) | 特效处理方法、装置、电子设备及存储介质 | |
| WO2023071707A1 (zh) | 视频图像处理方法、装置、电子设备及存储介质 | |
| CN113223110B (zh) | 画面渲染方法、装置、设备及介质 | |
| CN111754613A (zh) | 图像装饰方法、装置、计算机可读介质和电子设备 | |
| JP7471510B2 (ja) | ピクチャのビデオへの変換の方法、装置、機器および記憶媒体 | |
| CN116033181A (zh) | 视频处理方法、装置、设备及存储介质 | |
| EP4485357A2 (en) | Image processing method and apparatus, electronic device, and storage medium |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 23777831 Country of ref document: EP Kind code of ref document: A1 |
|
| WWE | Wipo information: entry into national phase |
Ref document number: 18852399 Country of ref document: US |
|
| WWE | Wipo information: entry into national phase |
Ref document number: 2023777831 Country of ref document: EP |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| ENP | Entry into the national phase |
Ref document number: 2023777831 Country of ref document: EP Effective date: 20241028 |
|
| WWP | Wipo information: published in national office |
Ref document number: 18852399 Country of ref document: US |