CN113379768A - Image processing method, image processing device, storage medium and computer equipment - Google Patents

Image processing method, image processing device, storage medium and computer equipment Download PDF

Info

Publication number
CN113379768A
CN113379768A CN202110721444.4A CN202110721444A CN113379768A CN 113379768 A CN113379768 A CN 113379768A CN 202110721444 A CN202110721444 A CN 202110721444A CN 113379768 A CN113379768 A CN 113379768A
Authority
CN
China
Prior art keywords
image
editing
area
generate
display area
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202110721444.4A
Other languages
Chinese (zh)
Inventor
刘迎
李军
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Spreadtrum Communications Tianjin Co Ltd
Original Assignee
Spreadtrum Communications Tianjin 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 Spreadtrum Communications Tianjin Co Ltd filed Critical Spreadtrum Communications Tianjin Co Ltd
Priority to CN202110721444.4A priority Critical patent/CN113379768A/en
Publication of CN113379768A publication Critical patent/CN113379768A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/10Segmentation; Edge detection
    • G06T7/11Region-based segmentation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T3/00Geometric image transformation in the plane of the image
    • G06T3/40Scaling the whole image or part thereof
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/10Segmentation; Edge detection
    • G06T7/194Segmentation; Edge detection involving foreground-background segmentation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2200/00Indexing scheme for image data processing or generation, in general
    • G06T2200/24Indexing scheme for image data processing or generation, in general involving graphical user interfaces [GUIs]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/10Image acquisition modality
    • G06T2207/10004Still image; Photographic image

Abstract

The embodiment of the invention provides an image processing method, an image processing device, a storage medium and computer equipment. The method comprises the following steps: acquiring an original image; creating a display area and an editing area of an original image; performing image processing on the display area and the editing area to generate a frame selection image corresponding to the display area and a first editing image corresponding to the editing area; and modifying the background area of the first editing image according to the frame selection image to generate a segmentation image. According to the technical scheme provided by the embodiment of the invention, the background area of the first editing image can be modified to generate the segmentation image according to the frame selection image corresponding to the display area, so that a user can modify the background area of the first editing image by referring to the frame selection image, and the image processing efficiency is improved.

Description

Image processing method, image processing device, storage medium and computer equipment
[ technical field ] A method for producing a semiconductor device
The present invention relates to the field of image processing technologies, and in particular, to an image processing method, an image processing apparatus, a storage medium, and a computer device.
[ background of the invention ]
If a segmented image only having a portrait foreground needs to be obtained, pixel editing is needed to be performed on the original image, an automatic portrait processing tool is usually used for automatically segmenting the portrait and the background thereof in the original image, so as to obtain a roughly segmented image, and then some matting software is used for processing the roughly segmented image to achieve the purpose of fine segmentation. However, the matting software can only import one roughly-divided image for processing, and when the original image includes multiple overlapped portraits, portraits holding articles and/or a messy background, a user cannot visually check the original image corresponding to the divided image, cannot quickly identify the detailed position needing fine processing, and the image processing efficiency is reduced.
[ summary of the invention ]
In view of this, embodiments of the present invention provide an image processing method, an image processing apparatus, a storage medium, and a computer device, so as to improve efficiency of image processing.
In one aspect, an embodiment of the present invention provides an image processing method, including:
acquiring an original image;
creating a display area and an editing area of the original image;
performing image processing on the display area and the editing area to generate a frame selection image corresponding to the display area and a first editing image corresponding to the editing area;
and modifying the background area of the first editing image according to the frame selection image to generate a segmentation image.
Optionally, the performing image processing on the display area and the editing area to generate a frame selection image corresponding to the display area and a first editing image corresponding to the editing area includes:
respectively zooming the display area and the editing area according to the obtained zooming coefficients to generate a zoomed image corresponding to the display area and a second editing image corresponding to the editing area;
and respectively performing frame selection on the scaled image and the second edited image according to the acquired selected area to generate a frame selection image corresponding to the scaled image and a first edited image corresponding to the second edited image.
Optionally, before the respectively scaling the display area and the editing area according to the obtained scaling coefficients and generating a scaled image corresponding to the display area and a second edited image corresponding to the editing area, the method includes:
receiving a scaling step length input by a user;
and generating the scaling coefficient according to the scaling step length and a set coefficient.
Optionally, before performing image processing on the display area and the editing area to generate a frame selection image corresponding to the display area and a first editing image corresponding to the editing area, the method includes:
receiving a plurality of selected coordinates input by a user;
and generating a selected area according to a plurality of selected coordinates.
Optionally, the modifying the background region of the first editing image according to the frame-selected image to generate a segmented image includes:
and according to the frame selection image, modifying an alpha channel value of a background area of the first editing image to generate the segmentation image.
Optionally, the modifying, according to the frame-selected image, an alpha channel value of a background area of the first editing image to generate the segmentation image includes:
and according to the frame selection image, setting an alpha channel value of a background area of the first editing image to be 0 to generate the segmentation image.
Optionally, the generating the scaling coefficient according to the scaling step and a setting coefficient includes:
and multiplying the scaling step length by a set coefficient to generate the scaling coefficient.
In another aspect, an embodiment of the present invention provides an image processing apparatus, including:
the acquisition module is used for acquiring an original image;
the creating module is used for creating a display area and an editing area of the original image;
the first generation module is used for carrying out image processing on the display area and the editing area to generate a frame selection image corresponding to the display area and a first editing image corresponding to the editing area;
and the second generation module is used for modifying the background area of the first editing image according to the frame selection image to generate a segmentation image.
In another aspect, an embodiment of the present invention provides a storage medium, including: the storage medium includes a stored program, wherein the apparatus on which the storage medium is located is controlled to execute the above-mentioned one image processing method when the program is executed.
In another aspect, an embodiment of the present invention provides a computer device, including a memory for storing information including program instructions and a processor for controlling execution of the program instructions, wherein the program instructions are loaded into and executed by the processor to implement the steps of the image processing method.
According to the technical scheme of the image processing method, the original image is obtained; creating a display area and an editing area of an original image; performing image processing on the display area and the editing area to generate a frame selection image corresponding to the display area and a first editing image corresponding to the editing area; and modifying the background area of the first editing image according to the frame selection image to generate a segmentation image. According to the technical scheme provided by the embodiment of the invention, the background area of the first editing image can be modified to generate the segmentation image according to the frame selection image corresponding to the display area, so that a user can modify the background area of the first editing image by referring to the frame selection image, and the image processing efficiency is improved.
[ description of the drawings ]
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive labor.
Fig. 1 is a flowchart of an image processing method according to an embodiment of the present invention;
FIG. 2 is a diagram illustrating an original image according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of a display area and an editing area of an original image according to an embodiment of the present invention;
FIG. 4 is a flowchart of the image processing performed on the display area and the editing area to generate a frame selection image corresponding to the display area and a first editing image corresponding to the editing area in FIG. 1;
FIG. 5 is a schematic diagram of a method for generating a segmented image according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of an image processing apparatus according to an embodiment of the present invention;
FIG. 7 is a schematic structural diagram of the first generating module in FIG. 6;
fig. 8 is a schematic diagram of a computer device according to an embodiment of the present invention.
[ detailed description ] embodiments
For better understanding of the technical solutions of the present invention, the following detailed descriptions of the embodiments of the present invention are provided with reference to the accompanying drawings.
It should be understood that the described embodiments are only some embodiments of the invention, and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The terminology used in the embodiments of the invention is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used in the examples of the present invention and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
It should be understood that the term "and/or" as used herein is merely one type of associative relationship that describes an associated object, meaning that three types of relationships may exist, e.g., A and/or B, may mean: a exists alone, A and B exist simultaneously, and B exists alone. In addition, the character "/" herein generally indicates that the former and latter related objects are in an "or" relationship.
In the image processing method in the related art, only the full-frame scaling operation based on the editing area is supported, the display area and the editing area of the original image cannot be displayed simultaneously, and the original image without reference contrast in the process of modifying the editing area, that is, if the content of the original image is to be compared in the process of editing the image, the original image can only be opened in a picture viewer and manually scaled to an approximate scale to perform image processing. The original image detail local amplification display function is not available, the original image needs to be manually dragged and/or scaled to the same area after being guided in by using the image viewer, the detail position needing fine processing cannot be quickly identified, and the image processing efficiency is reduced.
To solve the technical problem in the related art, an image processing method according to an embodiment of the present invention is provided, and fig. 1 is a flowchart of an image processing method according to an embodiment of the present invention, as shown in fig. 1, the method includes:
and 102, acquiring an original image.
In the embodiment of the invention, each step is executed by computer equipment. For example, computer devices include computers, tablets, and cell phones.
In this step, for example, the computer device acquires an original image input by the user. As another example, a computer device obtains a stored raw image.
Fig. 2 is a schematic diagram of an original image according to an embodiment of the present invention, and as shown in fig. 2, the original image includes a background portion and a portrait portion.
And 104, creating a display area and an editing area of the original image.
Fig. 3 is a schematic diagram of a display area and an editing area of an original image according to an embodiment of the present invention, and as shown in fig. 3, the display area 1 of the original image is used for displaying an image, and the editing area 2 is used for editing the image.
And 106, carrying out image processing on the display area and the editing area to generate a frame selection image corresponding to the display area and a first editing image corresponding to the editing area.
Fig. 4 is a flowchart of image processing performed on the display area and the editing area in fig. 1 to generate a frame selection image corresponding to the display area and a first editing image corresponding to the editing area, and as shown in fig. 4, step 106 includes:
step 1062, respectively zooming the display area and the editing area according to the obtained zoom coefficients, and generating a zoomed image corresponding to the display area and a second editing image corresponding to the editing area.
In the embodiment of the invention, the display area and the editing area are respectively zoomed at the same time according to the obtained zoom factor, and the zoom image corresponding to the display area and the second editing image corresponding to the editing area can be generated at the same time. In this case, the second edited image corresponding to the edited region can be edited with reference to the scaled image corresponding to the display region.
In this step, the scaled image corresponding to the display area and the second edited image corresponding to the edited area can be scaled synchronously, and the scaled image corresponding to the display area can be scaled synchronously in the same scale while the user can scale the second edited image corresponding to the edited area through the mouse wheel.
In this step, if the scaling factor is 1.5, the display area and the editing area are simultaneously and respectively enlarged according to the scaling factor of 1.5; if the scaling factor is 0.5, the display area and the editing area are simultaneously reduced according to the scaling factor of 0.5.
In the embodiment of the present invention, step 1062 includes:
and step A1, receiving a zoom step size input by a user.
In this step, the user inputs the zoom step through the mouse, and the computer device receives the zoom step input by the user.
Step a2 generates a scaling factor from the scaling step and the setting factor.
Specifically, the scaling step is multiplied by the setting coefficient to generate a scaling coefficient.
In the embodiment of the invention, the setting coefficient can be set according to the actual situation. For example, if the scaling step size is 0.75 and the coefficient is set to 2, the scaling coefficient is 1.5.
And 1064, respectively performing frame selection on the scaled image and the second edited image according to the obtained selected area, and generating a frame selection image corresponding to the scaled image and a first edited image corresponding to the second edited image.
In the embodiment of the invention, the scaled image and the second edited image are simultaneously and respectively selected by frames according to the acquired selected area, and the frame selected image corresponding to the scaled image and the first edited image corresponding to the second edited image can be simultaneously generated. At this time, the frame selection image corresponding to the scaled image and the first editing image corresponding to the second editing image are simultaneously displayed, the first editing image corresponding to the second editing image can be edited by referring to the frame selection image corresponding to the scaled image, the user can conveniently compare the detail difference between the frame selection image corresponding to the scaled image and the first editing image corresponding to the second editing image, and the experience and the speed of image processing are improved.
In the embodiment of the present invention, step 1064 includes:
and step B1, receiving a plurality of selected coordinates input by the user.
In this step, a user inputs a plurality of selected coordinates through a mouse, and the computer device receives the plurality of selected coordinates input by the user.
And step B2, generating a selected area according to the plurality of selected coordinates.
In this step, the multiple selected coordinates are sequentially connected clockwise to generate a closed area, and the closed area is the selected area. Wherein the selected area comprises a rectangular area, a circular area or an irregular figure area.
And 108, modifying the background area of the first editing image according to the frame selection image to generate a segmentation image.
Specifically, according to the frame image, the alpha channel value of the background area of the first editing image is modified to generate a segmentation image.
Specifically, for example, according to the frame selected image, the Alpha (Alpha) channel value of the background region of the first edited image is set to 0, and the divided image is generated. At this time, if the RGB channels of the first edited image are reserved, the purpose of hiding the background area of the first edited image can be achieved.
Fig. 5 is a schematic diagram of generating a segmentation image according to an embodiment of the present invention, and as shown in fig. 5, a user can refer to the frame selection image 3 corresponding to the scaled image, and set the alpha channel value of the background area of the first edition image to 0 to generate the segmentation image 4. At this time, the divided image 4 includes only the portrait area of the first edited image.
In the embodiment of the present invention, the steps 102 to 108 are repeatedly performed, so that a plurality of segmented images can be generated. The plurality of segmented images are saved to a computer device, and a material library can be generated. The material library can be used for training a portrait algorithm model so as to generate a portrait algorithm.
According to the technical scheme provided by the embodiment of the invention, an original image is obtained; creating a display area and an editing area of an original image; performing image processing on the display area and the editing area to generate a frame selection image corresponding to the display area and a first editing image corresponding to the editing area; and modifying the background area of the first editing image according to the frame selection image to generate a segmentation image. According to the technical scheme provided by the embodiment of the invention, the background area of the first editing image can be modified to generate the segmentation image according to the frame selection image corresponding to the display area, so that a user can modify the background area of the first editing image by referring to the frame selection image, and the image processing efficiency is improved.
According to the technical scheme provided by the embodiment of the invention, the experience that a user does not have an original image to perform the same-proportion comparison operation can be optimized, the processing speed of a single original image is improved, the original image does not need to be actively opened through a picture viewer to perform the same-proportion scaling drag, and the convenience of image processing is improved.
The embodiment of the invention provides an image processing device. Fig. 6 is a schematic structural diagram of an image processing apparatus according to an embodiment of the present invention, and as shown in fig. 6, the apparatus includes: an acquisition module 11, a creation module 12, a first generation module 13 and a second generation module 14.
The acquiring module 11 is used for acquiring an original image.
The creation module 12 is used to create a display area and an editing area of the original image.
The first generating module 13 is configured to perform image processing on the display area and the editing area, and generate a frame selection image corresponding to the display area and a first editing image corresponding to the editing area.
The second generating module 14 is configured to modify the background region of the first editing image according to the frame-selected image to generate a segmentation image.
In an embodiment of the present invention, fig. 7 is a schematic structural diagram of the first generating module in fig. 6, and as shown in fig. 7, the first generating module 13 includes: a first generation submodule 131 and a second generation submodule 132.
The first generating submodule 131 is configured to respectively zoom the display area and the editing area according to the obtained zoom factor, and generate a zoomed image corresponding to the display area and a second editing image corresponding to the editing area;
the second generating sub-module 132 is configured to respectively frame and select the scaled image and the second edited image according to the obtained selected region, and generate a frame and selected image corresponding to the scaled image and a first edited image corresponding to the second edited image.
In the embodiment of the present invention, the apparatus further includes: a receiving module 15 and a third generating module 16.
The receiving module 15 is used for receiving a zoom step inputted by a user.
The third generating module 16 is configured to generate a scaling factor according to the scaling step and the setting factor.
In the embodiment of the present invention, the apparatus further includes: a fourth generation module 17.
The receiving module 15 is further configured to receive a plurality of selected coordinates input by a user.
The fourth generating module 17 is configured to generate the selected area according to the plurality of selected coordinates.
In this embodiment of the present invention, the second generating module 14 is specifically configured to modify an alpha channel value of the background area of the first editing image according to the frame-selected image to generate a segmentation image.
In this embodiment of the present invention, the second generating module 14 is specifically configured to set an alpha channel value of the background area of the first editing image to 0 according to the frame selected image, so as to generate the segmentation image.
In this embodiment of the present invention, the third generating module 16 is specifically configured to multiply the scaling step by the setting coefficient to generate the scaling coefficient.
According to the technical scheme provided by the embodiment of the invention, an original image is obtained; creating a display area and an editing area of an original image; performing image processing on the display area and the editing area to generate a frame selection image corresponding to the display area and a first editing image corresponding to the editing area; and modifying the background area of the first editing image according to the frame selection image to generate a segmentation image. According to the technical scheme provided by the embodiment of the invention, the background area of the first editing image can be modified to generate the segmentation image according to the frame selection image corresponding to the display area, so that a user can modify the background area of the first editing image by referring to the frame selection image, and the image processing efficiency is improved.
The image processing apparatus provided in this embodiment can be used to implement the image processing method in fig. 1 and fig. 4, and specific description can refer to the embodiment of the image processing method, and will not be repeated here.
Embodiments of the present invention provide a storage medium, where the storage medium includes a stored program, where, when the program runs, a device on which the storage medium is located is controlled to execute each step of the above-described embodiment of the image processing method, and for a specific description, reference may be made to the above-described embodiment of the image processing method.
Embodiments of the present invention provide a computer device, including a memory and a processor, where the memory is used to store information including program instructions, and the processor is used to control execution of the program instructions, and the program instructions are loaded by the processor and executed to implement the steps of the embodiments of the image processing method, and specific descriptions may refer to the embodiments of the image processing method.
Fig. 8 is a schematic diagram of a computer device according to an embodiment of the present invention. As shown in fig. 8, the computer device 20 of this embodiment includes: the processor 21, the memory 22, and the computer program 23 stored in the memory 22 and capable of running on the processor 21, where the computer program 23 is executed by the processor 21 to implement the image processing method applied in the embodiment, and in order to avoid repetition, the details are not repeated herein. Alternatively, the computer program is executed by the processor 21 to implement the functions of the models/units applied in the image processing apparatus in the embodiments, which are not repeated herein to avoid redundancy.
The computer device 20 includes, but is not limited to, a processor 21, a memory 22. Those skilled in the art will appreciate that fig. 8 is merely an example of a computer device 20 and is not intended to limit the computer device 20 and that it may include more or fewer components than shown, or some of the components may be combined, or different components, e.g., the computer device may also include input output devices, network access devices, buses, etc.
The Processor 21 may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic device, discrete hardware component, or the like. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The storage 22 may be an internal storage unit of the computer device 20, such as a hard disk or a memory of the computer device 20. The memory 22 may also be an external storage device of the computer device 20, such as a plug-in hard disk provided on the computer device 20, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like. Further, the memory 22 may also include both internal storage units of the computer device 20 and external storage devices. The memory 22 is used for storing computer programs and other programs and data required by the computer device. The memory 22 may also be used to temporarily store data that has been output or is to be output.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the embodiments provided in the present invention, it should be understood that the disclosed system, apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and there may be other divisions in actual implementation, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional unit.
The integrated unit implemented in the form of a software functional unit may be stored in a computer readable storage medium. The software functional unit is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device) or a Processor (Processor) to execute some steps of the methods according to the embodiments of the present invention. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like made within the spirit and principle of the present invention should be included in the scope of the present invention.

Claims (10)

1. An image processing method, comprising:
acquiring an original image;
creating a display area and an editing area of the original image;
performing image processing on the display area and the editing area to generate a frame selection image corresponding to the display area and a first editing image corresponding to the editing area;
and modifying the background area of the first editing image according to the frame selection image to generate a segmentation image.
2. The method according to claim 1, wherein the image processing the display area and the editing area to generate a frame selection image corresponding to the display area and a first editing image corresponding to the editing area comprises:
respectively zooming the display area and the editing area according to the obtained zooming coefficients to generate a zoomed image corresponding to the display area and a second editing image corresponding to the editing area;
and respectively performing frame selection on the scaled image and the second edited image according to the acquired selected area to generate a frame selection image corresponding to the scaled image and a first edited image corresponding to the second edited image.
3. The method according to claim 2, wherein before the scaling the display area and the editing area according to the obtained scaling coefficients to generate the scaled image corresponding to the display area and the second editing image corresponding to the editing area, the method comprises:
receiving a scaling step length input by a user;
and generating the scaling coefficient according to the scaling step length and a set coefficient.
4. The method according to claim 2, wherein before performing image processing on the display area and the editing area to generate a frame selection image corresponding to the display area and a first editing image corresponding to the editing area, the method comprises:
receiving a plurality of selected coordinates input by a user;
and generating a selected area according to a plurality of selected coordinates.
5. The method of claim 1, wherein modifying the background region of the first edited image to generate a segmented image according to the frame-selected image comprises:
and according to the frame selection image, modifying an alpha channel value of a background area of the first editing image to generate the segmentation image.
6. The method of claim 5, wherein modifying alpha channel values of a background region of the first compilation image to generate the segmented image according to the boxed image comprises:
and according to the frame selection image, setting an alpha channel value of a background area of the first editing image to be 0 to generate the segmentation image.
7. The method according to claim 3, wherein the generating the scaling factor according to the scaling step and a setting factor comprises:
and multiplying the scaling step length by a set coefficient to generate the scaling coefficient.
8. An image processing apparatus characterized by comprising:
the acquisition module is used for acquiring an original image;
the creating module is used for creating a display area and an editing area of the original image;
the first generation module is used for carrying out image processing on the display area and the editing area to generate a frame selection image corresponding to the display area and a first editing image corresponding to the editing area;
and the second generation module is used for modifying the background area of the first editing image according to the frame selection image to generate a segmentation image.
9. A storage medium, comprising: the storage medium includes a stored program, wherein the apparatus in which the storage medium is located is controlled to execute an image processing method according to any one of claims 1 to 7 when the program is executed.
10. A computer device comprising a memory for storing information including program instructions and a processor for controlling the execution of the program instructions, characterized in that the program instructions are loaded and executed by the processor to implement the steps of an image processing method according to any of claims 1 to 7.
CN202110721444.4A 2021-06-28 2021-06-28 Image processing method, image processing device, storage medium and computer equipment Pending CN113379768A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110721444.4A CN113379768A (en) 2021-06-28 2021-06-28 Image processing method, image processing device, storage medium and computer equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110721444.4A CN113379768A (en) 2021-06-28 2021-06-28 Image processing method, image processing device, storage medium and computer equipment

Publications (1)

Publication Number Publication Date
CN113379768A true CN113379768A (en) 2021-09-10

Family

ID=77579603

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110721444.4A Pending CN113379768A (en) 2021-06-28 2021-06-28 Image processing method, image processing device, storage medium and computer equipment

Country Status (1)

Country Link
CN (1) CN113379768A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113763542A (en) * 2021-09-15 2021-12-07 广东好太太智能家居有限公司 3D legend embedding method and device of prototype tool and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105590309A (en) * 2014-10-23 2016-05-18 株式会社理光 Method and device for segmenting foreground image
CN105956995A (en) * 2016-04-19 2016-09-21 浙江大学 Face appearance editing method based on real-time video proper decomposition
CN107909634A (en) * 2017-11-30 2018-04-13 努比亚技术有限公司 Image display method, mobile terminal and computer-readable recording medium
CN109597550A (en) * 2018-11-19 2019-04-09 维沃移动通信有限公司 A kind of image processing method and mobile terminal
KR20190126484A (en) * 2018-05-02 2019-11-12 주식회사 한글과컴퓨터 Image editing processing apparatus that supports transparency processing of the background area of an image and operating method thereof
CN111932572A (en) * 2020-10-12 2020-11-13 南京知谱光电科技有限公司 Aluminum alloy molten pool contour extraction method

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105590309A (en) * 2014-10-23 2016-05-18 株式会社理光 Method and device for segmenting foreground image
CN105956995A (en) * 2016-04-19 2016-09-21 浙江大学 Face appearance editing method based on real-time video proper decomposition
CN107909634A (en) * 2017-11-30 2018-04-13 努比亚技术有限公司 Image display method, mobile terminal and computer-readable recording medium
KR20190126484A (en) * 2018-05-02 2019-11-12 주식회사 한글과컴퓨터 Image editing processing apparatus that supports transparency processing of the background area of an image and operating method thereof
CN109597550A (en) * 2018-11-19 2019-04-09 维沃移动通信有限公司 A kind of image processing method and mobile terminal
CN111932572A (en) * 2020-10-12 2020-11-13 南京知谱光电科技有限公司 Aluminum alloy molten pool contour extraction method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113763542A (en) * 2021-09-15 2021-12-07 广东好太太智能家居有限公司 3D legend embedding method and device of prototype tool and storage medium

Similar Documents

Publication Publication Date Title
US9311901B2 (en) Variable blend width compositing
US9142044B2 (en) Apparatus, systems and methods for layout of scene graphs using node bounding areas
JP4782105B2 (en) Image processing apparatus and image processing method
EP2709057A2 (en) System, method and computer program product for image processing, in particular for introducing blurring effects to an image
CN110533594B (en) Model training method, image reconstruction method, storage medium and related device
US20110097011A1 (en) Multi-resolution image editing
EP2945374A2 (en) Positioning of projected augmented reality content
CN108924440B (en) Sticker display method, device, terminal and computer-readable storage medium
CN111161392B (en) Video generation method and device and computer system
CN110765799B (en) Client code scanning identification method, device, equipment and storage medium
US10198831B2 (en) Method, apparatus and system for rendering virtual content
CN112055244B (en) Image acquisition method and device, server and electronic equipment
CN110163866A (en) A kind of image processing method, electronic equipment and computer readable storage medium
CN109636885B (en) Sequential frame animation production method and system for H5 page
CN111553923A (en) Image processing method, electronic equipment and computer readable storage medium
CN111787240B (en) Video generation method, apparatus and computer readable storage medium
CN111292335A (en) Method and device for determining foreground mask feature map and electronic equipment
CN113379768A (en) Image processing method, image processing device, storage medium and computer equipment
WO2017161542A1 (en) Skin map-aided skin smoothing of images using a bilateral filter
CN113506305A (en) Image enhancement method, semantic segmentation method and device for three-dimensional point cloud data
CN106610828A (en) Method and device for playing GIF animation based on Android system
CN112528596A (en) Rendering method and device for special effect of characters, electronic equipment and storage medium
CN113393477A (en) Image processing method and system
CN111045576B (en) Display control method, display control device, terminal equipment and electronic equipment
CN109522532B (en) Method and device for calculating selection range of line drawing frame

Legal Events

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

Application publication date: 20210910

RJ01 Rejection of invention patent application after publication