CN-121982149-A - Image processing method, device, computer equipment and storage medium
Abstract
The application discloses an image processing method, an image processing device, computer equipment and a storage medium. The method specifically comprises the step of displaying an image processing interface aiming at a first image. Based on the image processing interface, an image modification instruction for the first image is acquired. And performing first processing on the first images based on the image modification instructions to obtain second images, wherein in the case that the number of the first images is at least two, the second images comprise target objects of the first images, and the target objects are determined based on the image modification instructions. According to the application, based on the image processing interface, the image modification instruction for the first image is obtained, and the second image obtained after processing each first image contains the target object of each first image under the condition that the first images are more than two, so that not only are the diversity and flexibility of image processing modes improved, but also the personalized picture modification requirements of users can be met, and the user satisfaction is improved.
Inventors
- HE RUOMEI
- ZHANG RUOHUA
Assignees
- 书行科技(北京)有限公司
Dates
- Publication Date
- 20260505
- Application Date
- 20260126
Claims (15)
- 1. An image processing method, the method comprising: Displaying an image processing interface for the first image; Acquiring an image modification instruction for the first image based on the image processing interface; And carrying out first processing on the first images based on the image modification instruction to obtain second images, wherein in the case that the number of the first images is at least two, the second images comprise target objects of the first images, and the target objects are determined based on the image modification instruction.
- 2. The method of claim 1, wherein the image processing interface has a repair requirements input area and a keyword display area displayed therein, wherein the keyword display area has at least one candidate repair keyword displayed therein, wherein the obtaining, based on the image processing interface, an image modification instruction for the first image comprises: responding to the input operation of the map repair requirement input area, and displaying map repair text requirement information; Responding to the selected operation of the candidate repair keywords, and displaying target repair keywords; And determining an image modification instruction for the first image based on the repair book requirement information and/or the target repair keyword.
- 3. The method of claim 1, wherein displaying the image processing interface for the first image comprises: displaying an image preview interface, wherein the image preview interface comprises an image processing inlet; and in response to a triggering operation for the image processing portal, displaying an image processing interface for the first image.
- 4. The method of claim 2, wherein a first image display area and an image preview area are displayed in the image preview interface, the first image display area being for displaying the first image, the method further comprising: In response to a selection operation for the first image, the selected first image is displayed in the image preview area.
- 5. A method according to claim 3, wherein said first processing said first image based on said image modification instruction to obtain a second image comprises: the method comprises the steps of responding to a second processing operation for a first image, and displaying the processed first image, wherein the second processing operation is a triggering operation for an image processing function, and the processed first image is obtained by processing the first image through the image processing function; Based on the image modification instruction, performing first processing on the processed first image by using an image generation model, and displaying the processing progress; and under the condition that the processing progress is that the processing is completed, obtaining the second image, and displaying the second image in the reply interface.
- 6. The method of claim 4, wherein in the event that the process schedule is process completion, the method further comprises: Taking the second image as a newly added first image; and displaying the first image and the newly added first image in the first image display area.
- 7. The method of any of claims 1-6, wherein the image processing interface further displays a second image display area, wherein the second image display area is configured to display the first image.
- 8. The method of claim 7, wherein the first image comprises an existing image, the method further comprising: displaying an image selection interface, wherein the image selection interface comprises candidate images; and responding to the selected operation on the candidate image, and obtaining the existing image, wherein the existing image comprises the candidate image pointed by the selected operation.
- 9. The method of claim 7, wherein the first image comprises an existing image, the method further comprising: displaying an image selection interface, wherein the image selection interface comprises candidate images; Responding to a first selection operation for the candidate image, and displaying an image preview interface, wherein the image preview interface displays the candidate image pointed by the first selection operation; Responding to a triggering operation for a first image selection portal in the image preview interface, and displaying the image candidate interface; and obtaining the existing image in response to a second selected operation on the candidate image, wherein the existing image comprises the candidate image pointed by the first selected operation and/or the candidate image pointed by the second selected operation.
- 10. The method of claim 8 or 9, wherein the first image comprises a newly selected image, a second image selection portal is also displayed in the first image display area, the method further comprising: Responsive to a trigger operation for the second image selection portal, displaying an image selection interface; and responding to a third selection operation for the candidate image in the image selection interface, and displaying a new selected image and the existing image in the first image display area, wherein the new selected image is the candidate image pointed by the third selection operation.
- 11. The method of any of claims 1-6, further comprising an image addition portal for adding a reference image in the image processing interface, wherein the first processing the first image based on the image modification instruction to obtain a second image comprises: and performing first processing on the first image by using an image generation model based on the image modification instruction and the reference image to obtain a second image.
- 12. An image processing apparatus, characterized in that the apparatus comprises: A first display module for displaying an image processing interface for a first image; The second display module is used for acquiring an image modification instruction aiming at the first image based on the image processing interface; and the third display module is used for carrying out first processing on the first images based on the image modification instruction so as to obtain second images, wherein in the case that the number of the first images is at least two, the second images comprise target objects of the first images, and the target objects are determined based on the image modification instruction.
- 13. A computer device comprising a memory and a processor, the memory storing a computer program, characterized in that the processor implements the steps of the method of any one of claims 1 to 11 when the computer program is executed.
- 14. A computer-readable storage medium, on which a computer program is stored, characterized in that the computer program, when being executed by a processor, implements the steps of the image processing method according to any one of claims 1to 11.
- 15. A computer program product comprising computer executable instructions, characterized in that the instructions are executed by a processor to implement the image processing method of any of claims 1 to 11.
Description
Image processing method, device, computer equipment and storage medium Technical Field The present application relates to the field of image processing technologies, and in particular, to an image processing method, an image processing apparatus, a computer device, and a storage medium. Background With the rapid development of image processing technology, the variety of applications having an image processing function is increasing. However, most applications currently provide basic image processing operations, such as image processing operations for single images, including matting, filtering, peeling, whitening, etc., and cannot meet the personalized image processing requirements of users, resulting in poor user experience and low utilization rate of configured image processing resources. Disclosure of Invention In view of the foregoing, it is desirable to provide an image processing method, apparatus, computer device, and storage medium that can improve the utilization of image processing resources. In a first aspect, the present application provides an image processing method, the method comprising: Displaying an image processing interface for the first image; Acquiring an image modification instruction for a first image based on an image processing interface; and performing first processing on the first images based on the image modification instructions to obtain second images, wherein in the case that the number of the first images is at least two, the second images comprise target objects of the first images, and the target objects are determined based on the image modification instructions. In one embodiment, a repair requirement input area and a keyword display area are displayed in an image processing interface, at least one candidate repair keyword is displayed in the keyword display area, and an image modification instruction for a first image is acquired based on the image processing interface, wherein the image modification instruction comprises: responding to the input operation aiming at the map repair requirement input area, and displaying map repair text requirement information; displaying a target repair keyword in response to a selected operation for the candidate repair keyword; based on the repair codebook requirement information and/or the target repair codebook keyword, an image modification instruction for the first image is determined. In one embodiment, displaying an image processing interface for a first image includes: displaying an image preview interface, wherein the image preview interface comprises an image processing inlet; in response to a trigger operation for the image processing portal, an image processing interface for the first image is displayed. In one embodiment, the image preview interface displays a first image display area and an image preview area, wherein the first image display area is used for displaying a first image, and the method further comprises: In response to a selection operation for the first image, the selected first image is displayed in the image preview area. In one embodiment, performing a first process on the first image based on the image modification instruction to obtain a second image includes: The method comprises the steps of responding to a second processing operation for a first image, and displaying the processed first image, wherein the second processing operation is a triggering operation for an image processing function, and the processed first image is obtained by processing the first image through the image processing function; based on the image modification instruction, performing first processing on the processed first image by using an image generation model, and displaying the processing progress; And under the condition that the processing progress is that the processing is completed, obtaining a second image, and displaying the second image in a reply interface. In one embodiment, in the case that the processing progress is that the processing is completed, the method further includes: taking the second image as the newly added first image; the first image and the newly added first image are displayed in the first image display area. In one embodiment, the image processing interface also displays a second image display area, wherein the second image display area is used for displaying the first image. In one embodiment, the first image comprises an existing image, and the method further comprises: displaying an image selection interface, wherein the image selection interface comprises candidate images; and responding to the selected operation on the candidate image, and obtaining the existing image, wherein the existing image contains the candidate image pointed by the selected operation. In one embodiment, the first image comprises an existing image, and the method further comprises: displaying an image selection interface, wherein the image selection interface comprises candidate images; Responding to a first selection