METHOD AND DEVICE FOR IMAGE PROCESSING

RU2026105100A3Pending Publication Date: 2026-09-09HUAWEI TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
RU2026105100
Authority / Receiving Office
RU · RU
Patent Type
Applications
Current Assignee / Owner
Filing Date
2024-12-10
Publication Date
2026-09-09
Patent Text Reader
Need to check novelty before this filing date? Find Prior Art
No text content released.

Claims

1. A method for processing images applied to an electronic device, comprising the steps of: launch an application where the application contains a painting application or an image editing application; receive information about a painting selected by the user, wherein the information about the painting comprises information about the style of the painting or the type of material of the base of the painting; and receiving a painting operation performed by the user, rendering a texture on the currently drawn first image based on the painting information, generating a second image, and displaying the second image, where the second image has a texture painting effect that corresponds to the painting information selected by the user.

2. The method for processing images according to claim 1, wherein performing a painting operation by a user, rendering a texture on the currently drawn first image based on information about the painting, generating a second image and displaying the second image, comprise a step in which: in the process of painting performed by the user, after the painting operation by the user, a second image is displayed in real time.

3. The method for processing images according to claim 1 or 2, wherein the formation of the second image comprises a step in which: performing a process of superimposing the first image and one or more texture images to create a second image, wherein the one or more texture images correspond to information about the picture selected by the user.

4. A method for processing images according to any one of claims 1 to 3, wherein one or more texture images are formed based on a texture corresponding to a painting style or a type of base material of the painting, and one or more texture images, when superimposed, represent a texture corresponding to the painting style or the type of base material of the painting.

5. The image processing method of claim 4, wherein one or more texture images represent different texture features of the same painting style or painting base, and the texture feature comprises one or more of the following: texture shape, texture size, texture depth, dark portion contour feature, light portion contour feature, lighter color contour feature, or a result represented based on pigment adsorption capacity.

6. The method for processing images according to claim 5, wherein the feature of the texture of the effect presented on the basis of the pigment adsorption capacity is associated with the weakening of the presented texture.

7. The image processing method according to any one of paragraphs 4-6, wherein one or more texture images comprise one or more of the following: an image of a texture layer representing the texture shape, texture size, and texture depth under diffuse lighting conditions; an image of a glossy layer representing the outline of a texture when illuminated from a certain direction, in which the outline of the dark part is removed and the outline of the light part is emphasized in the outline of the texture; a gloss absorption layer image representing the texture outline under lighting conditions from a certain direction, where part of the dark color is removed and part of the light color is emphasized in the texture outline; an image of the color pigment application layer representing the result based on the pigment adsorption capacity; or a shadow layer image representing the outline of a texture when illuminated from a particular direction, in which the outline of the light part is removed and the outline of the dark part is emphasized in the outline of the texture.

8. The method for processing images according to any one of claims 1-7, wherein the image information further comprises information about texture features, and the information about texture features comprises texture granularity densities and / or texture granularity sizes of the corresponding one or more texture images.

9. The method for processing images according to claim 8, wherein the method further comprises the step of: adjust, based on the texture feature information selected by the user, the size of the picture for one or more texture images corresponding to the picture information.

10. The image processing method according to any one of claims 1 to 9, wherein the texture feature information comprises information about one or more of the following: texture shape, texture size, texture depth, dark portion contour feature, light portion contour feature, lighter color contour feature, or a result presented based on pigment adsorption capacity.

11. The image processing method according to claim 10, wherein the image of the texture layer is obtained by processing the third image and the background image in the first blending mode; or the image of the glossy layer is obtained by processing the fourth image and the background image in the second blending mode; or the image of the gloss absorption layer is obtained by processing the fourth image and the background image in the third blending mode; or the image of the color pigment application layer is obtained by processing the fifth image and the background image in the fourth blending mode;or the shadow layer image is obtained by processing the fourth image and the background image in the fifth blending mode, wherein the third image is a texture image corresponding to the information of the painting under diffuse lighting conditions, the fourth image is a texture image corresponding to the information of the painting under lighting conditions from a certain direction, and the fifth image is a texture image of the same painting base after coloring.

12. The method for processing images according to claim 11, wherein the first blending mode is a dark color mode, or the second blending mode is a color screening mode, or the third blending mode is a lighter color mode, or the fourth blending mode is a base darkening blending mode, or the fifth blending mode is a multiple blending mode.

13. A method for processing images according to any one of paragraphs 1-12, wherein the method further comprises a step in which: represent a corresponding painting base based on the painting information selected by the user, wherein the corresponding painting base is obtained by superimposing the corresponding one or more texture images.

14. The method for processing images according to claim 13, wherein the method further comprises the step of: display a background image on the interface of the first application that matches the base of the painting.

15. A method for processing images according to any one of paragraphs 1-14, wherein the first image comprises: the image currently displayed on the application interface; or background image presented on the application interface.

16. The method for processing images according to any one of paragraphs 1-15, wherein the method further comprises the step of: display the first editing control on the painting creation interface; or display the first editing control on the functional options interface for setting the texture; or Displays the first editing control on the functional options interface to preview the current image.

17. The method for processing images according to any one of paragraphs 1-16, wherein the method further comprises the step of: accept the second user operation on the first edit control, cancel texture rendering on the first image, and resume the image generation process.

18. The method for processing images according to any one of paragraphs 1-17, wherein the method further comprises the step of: performing a process of overlaying the first image and the texture image, wherein the mode of the overlay process comprises one or more of the following modes: a dark color mode, a color screen mode, a lighter color mode, a base darkening overlay mode, or a multiple overlay mode.

19. The method for processing images according to any one of paragraphs 1-18, in which rendering a texture on the first image comprises a step in which: processing pixel values ​​at the same locations in one or more texture images and in the first image in the specified blending mode to obtain a pixel value at the same location in the second image.

20. The image processing method according to claim 19, wherein the blending mode is associated with a painting style indicated by the first information, or the blending mode is associated with a material type indicated by the first information.

21. The image processing method according to any one of claims 1-20, wherein the first information further indicates texture feature information and the texture feature information indicates a texture granularity density and / or a texture granularity size; and the method additionally comprises the steps of: determining, based on the texture feature information specified by the first information, a brush parameter corresponding to the texture feature information; and customize the brush based on the brush parameter.

22. The image processing method according to claim 21, wherein the brush parameter comprises one or more parameters from the brush shape and the brush material, and the granularity of the brush material is related to the granularity of the texture corresponding to the texture feature information specified by the first information.

23. The image processing method according to any one of claims 1 to 22, wherein the painting style comprises one or more of the following: an ink painting style, a watercolor painting style, an oil painting style, a paper painting style, a silk painting style, a fabric texture style, a leather texture style, an engraving style, a mineral pigment painting style, or a metal painting style.

24. The method of processing images according to any one of claims 1 to 23, wherein the type of material of the painting base comprises one or more of the following: paper, canvas, or painting board.

25. A device containing a block or module configured to perform the method according to any of paragraphs 1-24.

26. A device comprising one or more processors, wherein the one or more processors are configured to perform the method according to any one of paragraphs 1-24.

27. A readable storage medium, wherein the readable storage medium comprises a program, and when the program is executed on a device, the device is provided with the ability to perform the method according to any one of paragraphs 1-24.

28. A microcircuit system, where the microcircuit system comprises at least one microcircuit and memory, and at least one microcircuit is configured to read and execute a program stored in the memory for implementing the method according to any one of paragraphs 1-24.

29. A computer software product, where the computer software product contains a computer program, and when the computer program is executed by a processor, the method according to any one of paragraphs 1-24 is implemented.