Nothing Special   »   [go: up one dir, main page]

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

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

Info

Publication number
CN112053416B
CN112053416B CN202010960395.5A CN202010960395A CN112053416B CN 112053416 B CN112053416 B CN 112053416B CN 202010960395 A CN202010960395 A CN 202010960395A CN 112053416 B CN112053416 B CN 112053416B
Authority
CN
China
Prior art keywords
image
area
region
stretchable
pixel
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010960395.5A
Other languages
Chinese (zh)
Other versions
CN112053416A (en
Inventor
巫鸿豪
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Netease Hangzhou Network Co Ltd
Original Assignee
Netease Hangzhou Network 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 Netease Hangzhou Network Co Ltd filed Critical Netease Hangzhou Network Co Ltd
Priority to CN202010960395.5A priority Critical patent/CN112053416B/en
Publication of CN112053416A publication Critical patent/CN112053416A/en
Application granted granted Critical
Publication of CN112053416B publication Critical patent/CN112053416B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T11/002D [Two Dimensional] image generation
    • G06T11/40Filling a planar surface by adding surface attributes, e.g. colour or texture
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T3/00Geometric image transformations in the plane of the image
    • G06T3/40Scaling of whole images or parts thereof, e.g. expanding or contracting
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T5/00Image enhancement or restoration
    • G06T5/77Retouching; Inpainting; Scratch removal
    • 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
    • G06T2210/00Indexing scheme for image generation or computer graphics
    • G06T2210/44Morphing

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Processing Or Creating Images (AREA)

Abstract

The application discloses an image processing method, an image processing device, a storage medium and electronic equipment. The method comprises the following steps: acquiring a first image; acquiring pixel information of the first image; setting a stretchable region and a content filling region on the first image according to pixel information of the first image, wherein the stretchable region is used for realizing stretching treatment on the image, the content filling region is used for realizing filling information on the image, and the stretchable region and the content filling region have overlapping parts; and converting the first image provided with the stretchable region and the content filling region into a second image of a preset object type, so that the electronic equipment can analyze the stretchable region and the content filling region on the image after acquiring the second image. The application can quickly obtain the image which can be used as the bubble in the text bubble.

Description

Image processing method, device, storage medium and computer equipment
Technical Field
The present application relates to the field of image technology, and in particular, to an image processing method, an image processing device, a storage medium, and a computer device.
Background
Through the application service provided by the electronic equipment, different network users can communicate and exchange through characters. For example, through an instant messaging application, different users can mutually send text information for instant messaging. As another example, through an online video playback application, different users may send bullet screen information at a video playback interface, and so on. When sending information such as characters, the electronic equipment can add background special effects such as bubbles to the characters, so that the sent characters have more interesting bubbles.
In general, bubbles in text bubbles are generated from an image (e.g., a picture) that can be subjected to a stretching process. However, in the related art, in order to obtain a picture that can be used as a bubble, the electronic apparatus needs to perform a cumbersome processing operation on the picture.
Disclosure of Invention
The embodiment of the application provides an image processing method, an image processing device, a storage medium and computer equipment, which can rapidly obtain an image capable of being used as bubbles in text bubbles.
In a first aspect, an embodiment of the present application provides an image processing method, including:
acquiring a first image;
acquiring pixel information of the first image;
Setting a stretchable region and a content filling region on the first image according to the pixel information of the first image, wherein the stretchable region is used for realizing stretching processing of the image, the content filling region is used for realizing filling of information on the image, and the stretchable region and the content filling region have overlapping parts;
and converting the first image provided with the stretchable region and the content filling region into a second image of a preset object type, so that the electronic equipment can analyze the stretchable region and the content filling region on the image after acquiring the second image.
In a second aspect, an embodiment of the present application provides an image processing apparatus, including:
the first acquisition module is used for acquiring a first image;
a second acquisition module, configured to acquire pixel information of the first image;
the setting module is used for setting a stretchable region and a content filling region on the first image according to the pixel information of the first image, wherein the stretchable region is used for realizing stretching processing on the image, the content filling region is used for realizing filling information on the image, and an overlapped part exists between the stretchable region and the content filling region;
The conversion module is used for converting the first image provided with the stretchable region and the content filling region into a second image of a preset object type, so that the electronic equipment can analyze the stretchable region and the content filling region on the image after acquiring the second image.
In a third aspect, an embodiment of the present application provides a storage medium having stored thereon a computer program which, when executed on a computer, causes the computer to execute a flow in the image processing method provided by the embodiment of the present application.
In a fourth aspect, an embodiment of the present application further provides a computer device, including a memory, and a processor, where the processor is configured to execute a flow in the image processing method provided by the embodiment of the present application by calling a computer program stored in the memory.
In the embodiment of the application, the electronic equipment can set the stretchable region and the content filling region for the first image according to the pixel information of the first image and convert the stretchable region and the content filling region into the second image with the preset object type, so that the electronic equipment can identify the stretchable region and the content filling region on the second image. That is, the present application can quickly obtain an image having a stretchable region and a content-filled region, and an image having a stretchable region and a content-filled region can be used as bubbles in a text bubble, so that the embodiment of the present application can quickly obtain an image that can be used as bubbles in a text bubble.
Drawings
The technical solution of the present application and its advantageous effects will be made apparent by the following detailed description of the specific embodiments of the present application with reference to the accompanying drawings.
Fig. 1 is a flowchart of an image processing method according to an embodiment of the present application.
Fig. 2 is another flow chart of an image processing method according to an embodiment of the present application.
Fig. 3 to 17 are various scene diagrams of an image processing method according to an embodiment of the present application.
Fig. 18 is a schematic structural diagram of an image processing apparatus according to an embodiment of the present application.
Fig. 19 is a schematic structural diagram of a computer device according to an embodiment of the present application.
Detailed Description
Referring to the drawings, wherein like reference numerals refer to like elements throughout, the principles of the present application are illustrated in a suitable computing environment. The following description is based on illustrative embodiments of the application and should not be taken as limiting other embodiments of the application not described in detail herein.
It is understood that the execution subject of the embodiment of the present application may be an electronic device such as a smart phone or a tablet computer.
Referring to fig. 1, fig. 1 is a flowchart of an image processing method according to an embodiment of the present application, where the flowchart may include:
101. A first image is acquired.
Through the application service provided by the electronic equipment, different network users can communicate and exchange through characters. For example, through an instant messaging application, different users can mutually send text information for instant messaging. As another example, through an online video playback application, different users may send bullet screen information at a video playback interface, and so on. When sending information such as characters, the electronic equipment can add background special effects such as bubbles to the characters, so that the sent characters have more interesting bubbles.
In general, bubbles in text bubbles are generated from an image (e.g., a picture) that can be subjected to a stretching process. However, in the related art, in order to obtain a picture that can be used as a bubble, the electronic apparatus needs to perform a cumbersome processing operation on the picture.
In the embodiment of the present application, for example, the electronic device may first acquire the first image.
102. Pixel information of a first image is acquired.
For example, after acquiring the first image, the electronic device may acquire pixel information of the first image.
In some embodiments, the pixel information may include information such as the number of pixel rows, the number of pixel columns, the pixel value of each pixel, the color, and so on, which is specifically limited by the embodiment of the present application.
103. And setting a stretchable region and a content filling region on the first image according to the pixel information of the first image, wherein the stretchable region is used for realizing stretching treatment on the image, the content filling region is used for realizing filling information on the image, and the stretchable region and the content filling region have overlapping parts.
For example, after acquiring the pixel information of the first image, the electronic device may set the stretchable region and the content-filled region on the first image according to the pixel information of the first image. The stretchable region is used for stretching the image, namely, stretching the image can be realized by stretching the stretchable region on the image. The content filling area is used for filling information on the image, namely, the electronic device can fill and add other information on the image through the content filling area, for example, the electronic device can add other characters or pictures in the content filling area of the image.
The stretchable region and the content filling region have overlapping parts, so that the content filling region can be synchronously stretched when the stretchable region is stretched, and further more graphic information can be filled in the stretched content filling region.
104. And converting the first image provided with the stretchable region and the content filling region into a second image of a preset object type, so that the electronic equipment can analyze the stretchable region and the content filling region on the image after acquiring the second image.
For example, after the stretchable region and the content-filled region are set on the first image, the electronic device may convert the first image provided with the stretchable region and the content-filled region into a second image of a preset object type. For example, the electronic device may convert the first image provided with the stretchable region and the content filling region into an image of the ninePatchDrawable object, that is, obtain a second image, so that the electronic device may parse the stretchable region and the content filling region on the image after obtaining the second image. That is, after the electronic device acquires the second image of the preset object type, it can analyze which areas on the image are stretchable areas and which areas belong to the content filling area.
It can be understood that in the embodiment of the present application, the electronic device may set the stretchable region and the content filling region for the first image according to the pixel information of the first image, and convert the stretchable region and the content filling region into the second image of the preset object type, so that the electronic device can identify the stretchable region and the content filling region on the second image. That is, the present application can quickly obtain an image having a stretchable region and a content-filled region, and an image having a stretchable region and a content-filled region can be used as bubbles in a text bubble, so that the embodiment of the present application can quickly obtain an image that can be used as bubbles in a text bubble.
Referring to fig. 2, fig. 2 is another flow chart of the image processing method according to the embodiment of the application, and the flow may include:
201. a first image is acquired.
For example, the electronic device may first acquire the first image.
202. Pixel information of a first image is acquired.
For example, after acquiring the first image, the electronic device may acquire pixel information of the first image.
In some embodiments, the pixel information may include information such as the number of pixel rows, the number of pixel columns, the pixel value of each pixel, the color, and so on, which is specifically limited by the embodiment of the present application.
203. And setting a stretchable region and a content filling region on the first image according to the pixel information of the first image, wherein the stretchable region is used for realizing stretching treatment on the image, the content filling region is used for realizing filling information on the image, and the stretchable region and the content filling region have overlapping parts.
For example, after acquiring the pixel information of the first image, the electronic device may set the stretchable region and the content-filled region on the first image according to the pixel information of the first image. The stretchable region is used for stretching the image, namely, stretching the image can be realized by stretching the stretchable region on the image. The content filling area is used for filling information on the image, namely, the electronic device can fill and add other information on the image through the content filling area, for example, the electronic device can add other characters or pictures in the content filling area of the image.
The stretchable region and the content filling region have overlapping parts, so that the content filling region can be synchronously stretched when the stretchable region is stretched, and further more graphic information can be filled in the stretched content filling region.
204. And converting the first image provided with the stretchable region and the content filling region into a second image of a preset object type, so that the electronic equipment can analyze the stretchable region and the content filling region on the image after acquiring the second image.
For example, after the stretchable region and the content-filled region are set on the first image, the electronic device may convert the first image provided with the stretchable region and the content-filled region into a second image of a preset object type. For example, the electronic device may convert the first image provided with the stretchable region and the content filling region into an image of the ninePatchDrawable object, that is, obtain a second image, so that the electronic device may parse the stretchable region and the content filling region on the image after obtaining the second image. That is, after the electronic device acquires the second image of the preset object type, it can analyze which areas on the image are stretchable areas and which areas belong to the content filling area.
For example, as shown in fig. 3, a stretchable region (i.e., a gray region) and a content-filled region (i.e., a gray region) provided on a first image are shown in fig. 3, and after converting the first image into a second image of a preset object type, the stretchable region and the content-filled region on the first image become the stretchable region and the content-filled region on the second image. In the figures, the stretchable region may be the same region as the content-filled region.
205. And acquiring information to be displayed.
For example, after the second image is acquired, the electronic device may also acquire information to be displayed.
In some embodiments, the information to be displayed may be text information or picture information, which is not limited in detail in the embodiments of the present application.
206. And determining the stretching parameter of the second image according to a first area and a second area, wherein the first area is the display area required by the information to be displayed, and the second area is the area of the content filling area of the second image.
For example, after acquiring the information to be displayed, the electronic device may determine the stretching parameter of the second image according to the first area and the second area. The first area is a display area required by information to be displayed. For example, the information to be displayed is a text, and the electronic device may determine the first area according to the font type, the font size, the display area required by each text under the font type and the font size, and the number of words. The second area is the area that the content-filled region of the second image had before being stretched.
207. And stretching the stretchable region on the second image according to the stretching parameters to obtain a third image, wherein the content filling region of the second image is synchronously stretched and becomes the content filling region of the third image in the process of stretching the second image.
For example, after determining the stretching parameter, the electronic device may stretch the stretchable region on the second image according to the stretching parameter, so as to obtain a stretched image, that is, a third image. In the stretching process of the stretchable region of the second image, since there is an overlapping portion between the stretchable region and the content filling region of the second image, the content filling region of the second image is stretched synchronously with the stretching of the stretchable region, and becomes the content filling region of the third image.
For example, as shown in fig. 4, the electronic device performs stretching processing on the stretchable region on the second image according to the stretching parameters, thereby obtaining a third image. As can be seen from the figure, the area of the content-filled region of the third image is enlarged, i.e., stretched, compared to the content-filled region of the second image.
208. And filling the information to be displayed into the content filling area of the third image to obtain a fourth image.
For example, after obtaining the third image, the electronic device may fill information to be displayed into a content filling area of the third image, thereby obtaining a fourth image. It is understood that the fourth image is a text bubble with a background effect.
For example, the information to be displayed is "the television play is very good, the performance of the actor is very line, the line of the line is very deep, the scene is well designed, all is perfect, and is worth recommending you at one glance", the electronic device can fill the text information to be displayed into the content filling area of the third image, so as to obtain a fourth image, and as shown in fig. 5, the fourth image is a text bubble. After the text bubble corresponding to the fourth image is obtained, the electronic device can send the text bubble out.
In one embodiment, the stretchable region on the second image may comprise a laterally stretchable region. As shown in fig. 6, the gray areas in fig. 6 are the lateral stretching areas. The lateral stretching regions may be used to effect a stretching process of the image in the lateral direction. The stretch parameter may include a stretch factor, which may be an integer. For example, the stretching ratio is 1-fold or 2-fold or 3-fold, etc.
Then, the process of stretching the stretchable region on the second image by the electronic device may include: the electronic device inserts a target number of pixels, which is a value corresponding to the stretching multiple, into the laterally adjacent positions of the pixels for each pixel in the laterally stretchable region on the second image.
For example, in the case where the second image has a laterally stretchable region thereon, the stretching process performed by the electronic device on the second image may be a stretching process performed on the laterally stretchable region. When stretching the laterally stretchable region, for each pixel in the laterally stretchable region, the electronic device may insert a target number of pixels at laterally adjacent positions of the pixel, the target number being a value corresponding to the stretch ratio.
For example, the stretching ratio is 1 time. Then, for each pixel within the laterally stretchable region, the electronics can insert 1 pixel in a laterally adjacent location of that pixel. For example, as shown in fig. 7, the laterally stretchable region of the second image is a region having 4 pixels in the lateral direction and 3 pixels in the longitudinal direction (i.e., a region of 3 rows of pixels by 4 columns of pixels). Then, for each pixel within the laterally stretchable region, the electronic device may insert 1 pixel in its laterally adjacent position such that the laterally stretchable region is stretched from a region of 3 rows of pixels by 4 columns of pixels to a region of 3 rows of pixels by 8 columns of pixels, as shown in fig. 7. In other words, the stretching treatment performed on the laterally stretchable region corresponds to inserting pixel columns for the laterally stretchable region.
Of course, for convenience of explanation in this embodiment, the stretchable region is exemplified to include 3 rows and 4 columns of pixels. In practice, the number of rows of pixels in the stretchable region on the image is much greater than 3 rows and the number of columns of pixels is much greater than 4 columns.
In another embodiment, the stretchable region on the second image may comprise a longitudinal stretchable region. As shown in fig. 8, the gray areas in fig. 8 are longitudinally stretched areas. The longitudinal stretching region may be used to achieve a stretching process of the image in the longitudinal direction. The stretch parameters include stretch factors, which may be integers. For example, the stretching ratio is 1-fold or 2-fold or 3-fold, etc.
Then, the process of stretching the stretchable region on the second image by the electronic device may include: the electronic device inserts a target number of pixels, which is a value corresponding to the stretching multiple, into the longitudinally adjacent positions of the pixels for each pixel in the longitudinally stretchable region on the image.
For example, in the case where the second image has a longitudinally stretchable region thereon, the stretching process performed by the electronic device on the second image may be a stretching process performed on the longitudinally stretchable region. When stretching is performed on the longitudinally stretchable region, for each pixel in the longitudinally stretchable region, the electronic device may insert a target number of pixels at longitudinally adjacent positions of the pixel, the target number being a value corresponding to the stretch multiple.
For example, the stretching ratio is 1 time. Then, for each pixel within the longitudinally stretchable region, the electronic device may insert 1 pixel at a longitudinally adjacent location of that pixel. For example, as shown in fig. 9, the longitudinally stretchable region of the second image is a region having 4 pixels in the longitudinal direction and 3 pixels in the transverse direction (i.e., a region of 4 rows of pixels by 3 columns of pixels). Then, for each pixel within the longitudinally stretchable region, the electronic device may insert 1 pixel at its longitudinally adjacent location, such that the longitudinally stretchable region is stretched from a region of 4 rows of pixels by 3 columns of pixels to a region of 8 rows of pixels by 3 columns of pixels, as shown in fig. 9. In other words, the stretching treatment performed on the longitudinally stretchable region corresponds to inserting pixel rows for the longitudinally stretchable region.
Of course, for convenience of explanation in this embodiment, the stretchable region includes 4 rows and 3 columns of pixels as an example. In practice, the number of rows of pixels in the stretchable region on the image is much greater than 4 rows and the number of columns of pixels is much greater than 3 columns.
In yet another embodiment, the stretchable region on the second image may comprise both a laterally stretchable region and a longitudinally stretchable region. As shown in fig. 10, the gray area in fig. 10 is an area that can be stretched in both the transverse direction and the longitudinal direction. The stretch parameter may include a stretch factor, which may be an integer. For example, a stretch ratio of 3, etc.
Then, the process of stretching the stretchable region on the second image by the electronic device may include: the electronic equipment inserts a first number of pixels at the lateral adjacent positions of the pixels for each pixel in the lateral stretchable region on the two images; inserting a second number of pixels at longitudinally adjacent locations of the pixels for each pixel within the longitudinally stretchable region on the second image; after the pixel insertion is completed, the ratio of the number of pixels inserted into the content filling area of the second image to the number of original pixels of the content filling area of the second image is a value corresponding to the stretching multiple.
For example, the stretching ratio is 3 times. Then the electronic device may stretch the stretchable zone 1-fold in the lateral direction and 1-fold in the longitudinal direction. For example, for each pixel within a stretchable region, the electronics can insert 1 pixel in a laterally adjacent location of that pixel. Thereafter, for each pixel within the stretchable region, the electronics can insert 1 pixel in a longitudinally adjacent location of that pixel. For example, as shown in fig. 11, the stretchable region of the second image is a region having 3 pixels in the longitudinal direction and 3 pixels in the transverse direction (i.e., a region of 3 rows of pixels by 3 columns of pixels). Then, for each pixel in the stretchable region, the electronic device may first insert 1 pixel in a laterally adjacent position of the pixel, such that the stretchable region is stretched from a region of 3 rows of pixels by 3 columns of pixels to a region of 3 rows of pixels by 6 columns of pixels. Then, for each pixel in the 3-row-by-6-column pixel region, the electronic device may insert 1 pixel at its vertically adjacent position, so that the stretchable region is stretched from the 3-row-by-6-column pixel region to the 6-row-by-6-column pixel region, as shown in fig. 11. In other words, the stretching treatment performed on the stretchable region corresponds to inserting pixel rows and pixel columns for the stretchable region. After the pixel insertion in the lateral direction and the longitudinal direction is completed, 27 pixels are inserted in total. The ratio of the newly inserted 27 pixels to the original 9 pixels is 3, and the ratio is equal to the value of 3 times of the stretching multiple.
Of course, for convenience of explanation in this embodiment, the stretchable region includes 3 rows and 3 columns of pixels. In practice, the number of rows of pixels in the stretchable region on the image is much greater than 3 rows and the number of columns of pixels is much greater than 3 columns.
In the embodiment of the application, when the pixel is required to be inserted at the adjacent position of the pixel, the newly inserted pixel can keep the same color with the original pixel. For example, a certain line in an image includes 3 pixels, and the colors of the 3 pixels are red, yellow, and blue in order. Then, the pixel inserted in the adjacent position of the red pixel may also be the red pixel. The pixels inserted in the adjacent positions of the yellow-colored pixels may be pixels of yellow color. The pixel inserted in the adjacent position of the blue pixel may be a blue pixel. That is, the color of the stretched pixel of this row is thus red, yellow, blue. When stretched longitudinally, the newly inserted pixel at a position adjacent to the original pixel may also remain the same color as the original pixel.
In the embodiment of the application, the electronic device can set the stretchable region and the content filling region on the first image in the following manner:
performing image segmentation processing on the first image;
Determining a target area in the first image according to an image segmentation result, wherein the target area is an area which does not contain an object image, and the number of pixel rows of the target area is equal to that of the first image;
and acquiring pixel information of a target area, and setting a stretchable area and a content filling area on the target area according to the pixel information of the target area.
For example, as shown in fig. 12, when the picture is used to generate bubbles that can be used as text bubbles, if the picture is stretched, the images of the objects will be deformed, thereby affecting the aesthetic appearance of the bubbles that are eventually generated. Thus, the image of these objects does not need to be stretched.
For this reason, after the first image is acquired, the electronic device may perform image division processing on the first image first. It will be appreciated that through the image segmentation process, the electronic device may identify the region of the first image containing the image of the object. The electronic device may determine, according to the image segmentation result, a target area on the first image, where the target area may be an area on the first image that does not include the object image, and a number of pixels of the target area is equal to a number of pixels of the first image. For example, as shown in fig. 13, the electronic device may determine a rectangular gray area in the drawing as a target area.
After determining the target area, the electronic device may acquire pixel information of the target area, and set a stretchable area and a content filling area on the target area according to the pixel information of the target area. Thereafter, the electronic device may determine the stretchable and content-filled regions of the target region as the stretchable and content-filled regions of the first image.
In one embodiment, the target area may be a rectangular area. Of course, in other embodiments, the target area may be an area of other shapes, such as a circle.
In the embodiment of the application, the electronic device may set the stretchable region in the target region by:
acquiring pixel information of a target area, wherein the pixel information comprises pixel column numbers and pixel row numbers;
according to the pixel column number and the pixel line number of the target area, a transverse stretchable area is arranged on the target area, the transverse stretchable area is a middle area in the transverse direction of the target area, the pixel column number contained in the transverse stretchable area is a preset third number, and the pixel line number contained in the transverse stretchable area is equal to the pixel line number of the target area.
For example, as shown in fig. 14, the target area is a rectangular area including 10 rows of pixels and 10 columns of pixels. The third number is preset to be 4. Then, the electronic device may set a laterally stretchable region on the target region, which is a middle region containing 4 columns of pixels and 10 rows of pixels in a lateral direction of the target region.
In the embodiment of the present application, the electronic device may further set the stretchable region in the target region by:
acquiring pixel information of a target area, wherein the pixel information comprises pixel column numbers and pixel row numbers;
according to the pixel column number and the pixel line number of the target area, a longitudinal stretchable area is arranged on the target area, the longitudinal stretchable area is a middle area in the longitudinal direction of the target area, the line number of the pixels contained in the longitudinal stretchable area is a preset fourth number, and the pixel column number contained in the longitudinal stretchable area is equal to the pixel column number contained in the target area.
For example, as shown in fig. 15, the target area is a rectangular area including 10 rows of pixels and 10 columns of pixels. The fourth number is preset to be 6. Then, the electronic device may set a longitudinally stretchable region on the target region, the longitudinally stretchable region being a middle region containing 6 rows of pixels and 10 columns of pixels in a longitudinal direction of the target region.
In one embodiment, the content-filled region on the first image may be located within the stretchable region. For example, the content-filled region may be a stretchable region. Alternatively, the content fill area may be a sub-area of smaller area within the stretchable region, and so on.
In the related art, taking an Android (Android) operating system as an example, a point nine technology may be used to process an image so as to obtain an image having a stretchable region and a content filling region that can be recognized by the Android system. However, in the related art, when the image is processed using the point nine technique, the operation steps are complicated. For example, a designer needs to input an image to be processed into a point nine-drawing production tool, and manually set a stretchable region and a content-filled region of the image in the point nine-drawing production tool. And many steps are required to complete this setup process.
The image processing method provided by the embodiment of the application can set the stretchable region and the content filling region for the first image according to the pixel information of the first image, and convert the stretchable region and the content filling region into the second image with the preset object type, so that the electronic equipment can identify the stretchable region and the content filling region on the second image. That is, the present application can quickly obtain an image having a stretchable region and a content-filled region, and an image having a stretchable region and a content-filled region can be used as bubbles in a text bubble, so that the embodiment of the present application can quickly obtain an image that can be used as bubbles in a text bubble.
In addition, since the embodiment of the application sets the stretchable region and the content filling region according to the pixel information (such as the pixel line number and the pixel column number) of the image, the embodiment of the application can accurately set the stretching part on the image to the pixel point.
In addition, as the pixels with the same color can be inserted in adjacent positions of the pixels when the image is stretched, the stretched image can be more coordinated and the visual effect is better.
Referring to fig. 16 to 17, fig. 16 to 17 are schematic views of an image processing method according to an embodiment of the application.
For example, through an instant messaging application, the user is currently chatting with friends, and as shown in fig. 16, the text that the user wants to send out has a special effect of bubbles, and the bubbles are generated by a certain picture a specified by the user. The user may first input the picture a to the electronic device. After the picture a is acquired, the electronic device may set a stretchable region and a content filling region on the picture a by using the image processing method provided by the embodiment of the present application. Then, the electronic device may convert the picture a provided with the stretchable region and the content filling region into a picture of the ninePatchDrawable object, for example, obtain a picture B, so that the electronic device may parse the stretchable region and the content filling region of the picture B after obtaining the picture B.
The electronic device may then obtain information (i.e., information to be displayed) that the user needs to send to the friend, e.g., a piece of text information. For example, the display area required for the electronic device to detect the text information is larger than the area of the content filling area of the picture B. In this case, the electronic device may determine the stretch factor of the picture B according to the display area required for the text information and the area of the content-filled region of the picture B. For example, the electronic device determines that the stretch factor of picture B is 1.
Then, the electronic device may perform stretching treatment for the stretchable region on the picture B by 1 time, thereby obtaining the picture C. It will be appreciated that the area of the content-filled region of picture C is also enlarged by a factor of 1 compared to picture B. Then, the electronic device may fill the text that the user needs to send to the friend into the content filling area of the image C, thereby obtaining a text bubble, and send the text bubble to the friend, as shown in fig. 19.
Referring to fig. 18, fig. 18 is a schematic structural diagram of an image processing apparatus according to an embodiment of the application. The image processing apparatus 300 may include: the device comprises a first acquisition module 301, a second acquisition module 302, a setting module 303 and a conversion module 304.
The first acquiring module 301 is configured to acquire a first image.
A second acquiring module 302, configured to acquire pixel information of the first image.
A setting module 303, configured to set, according to pixel information of the first image, a stretchable area and a content filling area on the first image, where the stretchable area is used to implement stretching processing on the image, and the content filling area is used to implement filling information on the image, and the stretchable area and the content filling area have overlapping portions.
The conversion module 304 is configured to convert the first image provided with the stretchable region and the content filling region into a second image of a preset object type, so that the electronic device can analyze the stretchable region and the content filling region on the image after acquiring the second image.
In one embodiment, the conversion module 304 may also be configured to: acquiring information to be displayed; determining a stretching parameter of the second image according to a first area and a second area, wherein the first area is a display area required by the information to be displayed, and the second area is an area of a content filling area of the second image; stretching the stretchable region on the second image according to the stretching parameters to obtain a third image, wherein in the process of stretching the second image, the content filling region of the second image is synchronously stretched and becomes the content filling region of the third image; and filling the information to be displayed into the content filling area of the third image to obtain a fourth image.
In one embodiment, the stretchable region on the second image comprises a laterally stretchable region, and the stretching parameter comprises a stretch factor, the stretch factor being an integer.
The conversion module 304 may then also be configured to: and inserting a target number of pixels into the transversely adjacent positions of the pixels for each pixel in the transversely stretchable region on the second image, wherein the target number is a value corresponding to the stretching multiple.
In one embodiment, the stretchable region on the second image comprises a longitudinal stretchable region, and the stretching parameter comprises a stretching ratio, the stretching ratio being an integer.
The conversion module 304 may then also be configured to: and inserting a target number of pixels into the longitudinally adjacent positions of the pixels for each pixel in the longitudinally stretchable region on the second image, wherein the target number is a value corresponding to the stretching multiple.
In one embodiment, the stretchable regions on the second image comprise a lateral stretchable region and a longitudinal stretchable region, and the stretching parameter comprises a stretching ratio, the stretching ratio being an integer.
The conversion module 304 may then also be configured to: inserting a first number of pixels at laterally adjacent locations of the pixels for each pixel within a laterally stretchable region on the second image; inserting a second number of pixels at longitudinally adjacent locations of the pixels for each pixel within the longitudinally stretchable region on the second image; after the pixel insertion is completed, the ratio of the number of pixels inserted into the content filling area of the second image to the number of original pixels of the content filling area of the second image is a value corresponding to the stretching multiple.
In one embodiment, pixels of the same color are inserted at adjacent locations of the pixels.
In one embodiment, the setting module 303 may be configured to: performing image segmentation processing on the first image; determining a target area in the first image according to an image segmentation result, wherein the target area is an area which does not contain an object image, and the number of pixel rows of the target area is equal to that of the first image; and acquiring pixel information of the target area, and setting a stretchable area and a content filling area on the target area according to the pixel information of the target area.
In one embodiment, the target area is a rectangular area.
In one embodiment, the pixel information of the target area includes a pixel column number and a pixel row number.
The setting module 303 may be configured to: according to the pixel column number of the target area, a transverse stretchable area is arranged on the target area, the transverse stretchable area is a middle area in the transverse direction of the target area, the pixel column number contained in the transverse stretchable area is a preset third number, and the pixel column number contained in the transverse stretchable area is equal to the pixel column number of the target area.
In one embodiment, the pixel information of the target area includes a pixel line number and a pixel line number.
The setting module 303 may be configured to: according to the pixel row number of the target area, a longitudinal stretchable area is arranged on the target area, the longitudinal stretchable area is a middle area in the longitudinal direction of the target area, the pixel row number contained in the longitudinal stretchable area is a preset fourth number, and the pixel row number contained in the longitudinal stretchable area is equal to the pixel row number of the target area.
In one embodiment, the content-filled region is located within the stretchable region.
An embodiment of the present application provides a computer-readable storage medium having stored thereon a computer program which, when executed on a computer, causes the computer to execute a flow in an image processing method as provided in the present embodiment.
Correspondingly, the embodiment of the application also provides computer equipment, which can be a terminal, and the terminal can be terminal equipment such as a smart phone, a tablet personal computer, a notebook computer, a touch screen, a game machine, a personal computer (PC, personal Computer), a personal digital assistant (Personal Digital Assistant, PDA) and the like. Fig. 19 is a schematic structural diagram of a computer device according to an embodiment of the present application. The computer device 1000 includes a processor 401 having one or more processing cores, a memory 402 having one or more computer readable storage media, and a computer program stored on the memory 402 and executable on the processor. The processor 401 is electrically connected to the memory 402. It will be appreciated by those skilled in the art that the computer device structure shown in the figures is not limiting of the computer device and may include more or fewer components than shown, or may combine certain components, or a different arrangement of components.
The processor 401 is a control center of the computer device 1000, connects various parts of the entire computer device 1000 using various interfaces and lines, and performs various functions of the computer device 1000 and processes data by running or loading software programs and/or modules stored in the memory 402, and calling data stored in the memory 402, thereby performing overall monitoring of the computer device 1000.
In the embodiment of the present application, the processor 401 in the computer device 1000 loads the instructions corresponding to the processes of one or more application programs into the memory 402 according to the following steps, and the processor 401 executes the application programs stored in the memory 402, so as to implement various functions:
acquiring a first image;
acquiring pixel information of the first image;
setting a stretchable region and a content filling region on the first image according to the pixel information of the first image, wherein the stretchable region is used for realizing stretching processing of the image, the content filling region is used for realizing filling of information on the image, and the stretchable region and the content filling region have overlapping parts;
and converting the first image provided with the stretchable region and the content filling region into a second image of a preset object type, so that the electronic equipment can analyze the stretchable region and the content filling region on the image after acquiring the second image.
The specific implementation of each operation above may be referred to the previous embodiments, and will not be described herein.
Optionally, as shown in fig. 19, the computer device 1000 further includes: a touch display 403, a radio frequency circuit 404, an audio circuit 405, an input unit 406, and a power supply 407. The processor 401 is electrically connected to the touch display 403, the radio frequency circuit 404, the audio circuit 405, the input unit 406, and the power supply 407, respectively. Those skilled in the art will appreciate that the computer device structure shown in FIG. 19 is not limiting of the computer device and may include more or fewer components than shown, or may be combined with certain components, or a different arrangement of components.
The touch display 403 may be used to display a graphical user interface and receive operation instructions generated by a user acting on the graphical user interface. The touch display screen 403 may include a display panel and a touch panel. Wherein the display panel may be used to display information entered by a user or provided to a user as well as various graphical user interfaces of a computer device, which may be composed of graphics, text, icons, video, and any combination thereof. Alternatively, the display panel may be configured in the form of a liquid crystal display (LCD, liquid Crystal Display), an Organic Light-Emitting Diode (OLED), or the like. The touch panel may be used to collect touch operations on or near the user (such as operations on or near the touch panel by the user using any suitable object or accessory such as a finger, stylus, etc.), and generate corresponding operation instructions, and the operation instructions execute corresponding programs. Alternatively, the touch panel may include two parts, a touch detection device and a touch controller. The touch detection device detects the touch azimuth of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch detection device, converts it into touch point coordinates, and sends the touch point coordinates to the processor 401, and can receive and execute commands sent from the processor 401. The touch panel may overlay the display panel, and upon detection of a touch operation thereon or thereabout, the touch panel is passed to the processor 401 to determine the type of touch event, and the processor 401 then provides a corresponding visual output on the display panel in accordance with the type of touch event. In the embodiment of the present application, the touch panel and the display panel may be integrated into the touch display screen 403 to realize the input and output functions. In some embodiments, however, the touch panel and the touch panel may be implemented as two separate components to perform the input and output functions. I.e. the touch-sensitive display 403 may also implement an input function as part of the input unit 406.
The radio frequency circuitry 404 may be used to transceive radio frequency signals to establish wireless communications with a network device or other computer device via wireless communications.
The audio circuitry 405 may be used to provide an audio interface between a user and a computer device through speakers, microphones, and so on. The audio circuit 405 may transmit the received electrical signal after audio data conversion to a speaker, where the electrical signal is converted into a sound signal for output; on the other hand, the microphone converts the collected sound signals into electrical signals, which are received by the audio circuit 405 and converted into audio data, which are processed by the audio data output processor 401 and sent via the radio frequency circuit 404 to, for example, another computer device, or which are output to the memory 402 for further processing. The audio circuit 405 may also include an ear bud jack to provide communication of the peripheral ear bud with the computer device.
The input unit 406 may be used to receive input numbers, character information, or user characteristic information (e.g., fingerprint, iris, facial information, etc.), and to generate keyboard, mouse, joystick, optical, or trackball signal inputs related to user settings and function control.
The power supply 407 is used to power the various components of the computer device 1000. Alternatively, the power supply 407 may be logically connected to the processor 401 through a power management system, so as to implement functions of managing charging, discharging, and power consumption management through the power management system. The power supply 407 may also include one or more of any of a direct current or alternating current power supply, a recharging system, a power failure detection circuit, a power converter or inverter, a power status indicator, and the like.
Although not shown in fig. 19, the computer device 1000 may further include a camera, a sensor, a wireless fidelity module, a bluetooth module, etc., which will not be described herein.
In the foregoing embodiments, the descriptions of the embodiments are emphasized, and for parts of one embodiment that are not described in detail, reference may be made to related descriptions of other embodiments.
As can be seen from the above, the computer device provided in this embodiment can quickly obtain an image with a stretchable region and a content filling region, and the image with the stretchable region and the content filling region can be used as bubbles in bubble text, so that the embodiment of the application can quickly obtain an image that can be used as bubbles in bubble text.
Those of ordinary skill in the art will appreciate that all or a portion of the steps of the various methods of the above embodiments may be performed by instructions, or by instructions controlling associated hardware, which may be stored in a computer-readable storage medium and loaded and executed by a processor.
To this end, an embodiment of the present application provides a computer readable storage medium in which a plurality of computer programs are stored, the computer programs being capable of being loaded by a processor to execute a flow in any one of the image processing methods provided by the embodiment of the present application. For example, the computer program may execute the following procedure:
acquiring a first image;
acquiring pixel information of the first image;
setting a stretchable region and a content filling region on the first image according to the pixel information of the first image, wherein the stretchable region is used for realizing stretching processing of the image, the content filling region is used for realizing filling of information on the image, and the stretchable region and the content filling region have overlapping parts;
and converting the first image provided with the stretchable region and the content filling region into a second image of a preset object type, so that the electronic equipment can analyze the stretchable region and the content filling region on the image after acquiring the second image.
The specific implementation of each operation above may be referred to the previous embodiments, and will not be described herein.
Wherein the storage medium may include: read Only Memory (ROM), random access Memory (RAM, random Access Memory), magnetic or optical disk, and the like.
The steps in any image processing method provided by the embodiment of the present application can be executed by the computer program stored in the storage medium, so that the beneficial effects that can be achieved by any image processing method provided by the embodiment of the present application can be achieved, and detailed descriptions of the previous embodiments are omitted herein.
The foregoing has described in detail the methods, apparatuses, storage medium and computer devices for image processing according to the embodiments of the present application, and specific examples have been applied to illustrate the principles and embodiments of the present application, where the foregoing examples are provided to assist in understanding the methods and core ideas of the present application; meanwhile, as those skilled in the art will have variations in the specific embodiments and application scope in light of the ideas of the present application, the present description should not be construed as limiting the present application.

Claims (13)

1. An image processing method, the method comprising:
acquiring a first image;
acquiring pixel information of the first image, wherein the pixel information of the first image comprises the pixel row number of the first image;
performing image segmentation processing on the first image;
determining a target area in the first image according to an image segmentation result, wherein the target area is an area which does not contain an object image, and the number of pixel rows of the target area is equal to that of the first image;
acquiring pixel information of the target area, and setting a stretchable area and a content filling area on the target area according to the pixel information of the target area, wherein the stretchable area is used for realizing stretching processing on an image, the content filling area is used for realizing filling information on the image, and the stretchable area and the content filling area have overlapping parts;
and converting the first image provided with the stretchable region and the content filling region into a second image of a preset object type, so that the electronic equipment can analyze the stretchable region and the content filling region on the image after acquiring the second image.
2. The image processing method according to claim 1, characterized in that the method further comprises:
acquiring information to be displayed;
determining a stretching parameter of the second image according to a first area and a second area, wherein the first area is a display area required by the information to be displayed, and the second area is an area of a content filling area of the second image;
stretching the stretchable region on the second image according to the stretching parameters to obtain a third image, wherein in the process of stretching the second image, the content filling region of the second image is synchronously stretched and becomes the content filling region of the third image;
and filling the information to be displayed into the content filling area of the third image to obtain a fourth image.
3. The image processing method according to claim 2, wherein the stretchable region on the second image includes a lateral stretchable region, the stretching parameter includes a stretching multiple, and the stretching multiple is an integer;
stretching the stretchable region on the second image, comprising: and inserting a target number of pixels into the transversely adjacent positions of the pixels for each pixel in the transversely stretchable region on the second image, wherein the target number is a value corresponding to the stretching multiple.
4. The image processing method according to claim 2, wherein the stretchable region on the second image includes a longitudinal stretchable region, the stretching parameter includes a stretching ratio, and the stretching ratio is an integer;
stretching the stretchable region on the second image, comprising: and inserting a target number of pixels into the longitudinally adjacent positions of the pixels for each pixel in the longitudinally stretchable region on the second image, wherein the target number is a value corresponding to the stretching multiple.
5. The image processing method according to claim 2, wherein the stretchable region on the second image includes a lateral stretchable region and a longitudinal stretchable region, the stretching parameter includes a stretching multiple, the stretching multiple being an integer;
stretching the stretchable region on the second image, comprising:
inserting a first number of pixels at laterally adjacent locations of the pixels for each pixel within a laterally stretchable region on the second image;
inserting a second number of pixels at longitudinally adjacent locations of the pixels for each pixel within the longitudinally stretchable region on the second image;
After the pixel insertion is completed, the ratio of the number of pixels inserted into the content filling area of the second image to the number of original pixels of the content filling area of the second image is a value corresponding to the stretching multiple.
6. The image processing method according to any one of claims 3 to 5, wherein pixels of the same color are inserted at adjacent positions of the pixels.
7. The image processing method according to claim 1, wherein the pixel information of the target area includes a pixel column number and a pixel row number;
providing a stretchable zone on the target zone comprising: according to the pixel column number of the target area, a transverse stretchable area is arranged on the target area, the transverse stretchable area is a middle area in the transverse direction of the target area, the pixel column number contained in the transverse stretchable area is a preset third number, and the pixel column number contained in the transverse stretchable area is equal to the pixel column number of the target area.
8. The image processing method according to claim 1, wherein the pixel information of the target area includes a pixel line number and a pixel line number;
providing a stretchable zone on the target zone comprising: according to the pixel row number of the target area, a longitudinal stretchable area is arranged on the target area, the longitudinal stretchable area is a middle area in the longitudinal direction of the target area, the pixel row number contained in the longitudinal stretchable area is a preset fourth number, and the pixel row number contained in the longitudinal stretchable area is equal to the pixel row number of the target area.
9. The image processing method according to claim 1, wherein the content-filled region is located within the stretchable region.
10. The image processing method according to claim 1, wherein the target area is a rectangular area.
11. An image processing apparatus, characterized in that the apparatus comprises:
the first acquisition module is used for acquiring a first image;
a second acquisition module, configured to acquire pixel information of the first image, where the pixel information of the first image includes a number of pixel rows of the first image;
the setting module is used for carrying out image segmentation processing on the first image; determining a target area in the first image according to an image segmentation result, wherein the target area is an area which does not contain an object image, and the number of pixel rows of the target area is equal to that of the first image; acquiring pixel information of the target area, and setting a stretchable area and a content filling area on the target area according to the pixel information of the target area, wherein the stretchable area is used for realizing stretching processing on an image, the content filling area is used for realizing filling information on the image, and the stretchable area and the content filling area have overlapping parts;
The conversion module is used for converting the first image provided with the stretchable region and the content filling region into a second image of a preset object type, so that the electronic equipment can analyze the stretchable region and the content filling region on the image after acquiring the second image.
12. A computer-readable storage medium, on which a computer program is stored, characterized in that the computer program, when executed on a computer, causes the computer to perform the method of any one of claims 1 to 10.
13. A computer device comprising a memory, a processor, wherein the processor executes the method of any of claims 1 to 10 by invoking a computer program stored in the memory.
CN202010960395.5A 2020-09-14 2020-09-14 Image processing method, device, storage medium and computer equipment Active CN112053416B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010960395.5A CN112053416B (en) 2020-09-14 2020-09-14 Image processing method, device, storage medium and computer equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010960395.5A CN112053416B (en) 2020-09-14 2020-09-14 Image processing method, device, storage medium and computer equipment

Publications (2)

Publication Number Publication Date
CN112053416A CN112053416A (en) 2020-12-08
CN112053416B true CN112053416B (en) 2023-10-24

Family

ID=73610610

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010960395.5A Active CN112053416B (en) 2020-09-14 2020-09-14 Image processing method, device, storage medium and computer equipment

Country Status (1)

Country Link
CN (1) CN112053416B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113256485B (en) * 2021-05-21 2024-01-30 百果园技术(新加坡)有限公司 Image stretching method, device, electronic equipment and storage medium
CN114398124B (en) * 2021-12-31 2024-04-12 深圳市珍爱捷云信息技术有限公司 Point nine effect graph rendering method based on iOS system and related device thereof

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6035065A (en) * 1996-06-10 2000-03-07 Fuji Xerox Co., Ltd. Image processing coefficient determination method, image processing coefficient calculation system, image processing system, image processing method, and storage medium
CN103116490A (en) * 2012-12-04 2013-05-22 广州市久邦数码科技有限公司 Nine-patch photo drawing method based on webpage
JP2017085375A (en) * 2015-10-28 2017-05-18 株式会社リコー Image processing system, image processing method, and correction chart
CN107577395A (en) * 2017-09-11 2018-01-12 竞技世界(北京)网络技术有限公司 Chat content display methods and device based on Qt Development Frameworks
CN110140106A (en) * 2017-11-20 2019-08-16 华为技术有限公司 According to the method and device of background image Dynamically Announce icon
CN110554871A (en) * 2018-06-04 2019-12-10 上海视九信息科技有限公司 Method and device for drawing Ninepatch graph and computer readable storage medium
CN111145286A (en) * 2019-12-25 2020-05-12 重庆文理学院 Point nine picture mapping drawing method for edge calculation scene based on GPU
CN111145202A (en) * 2019-12-31 2020-05-12 北京奇艺世纪科技有限公司 Model generation method, image processing method, device, equipment and storage medium

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6035065A (en) * 1996-06-10 2000-03-07 Fuji Xerox Co., Ltd. Image processing coefficient determination method, image processing coefficient calculation system, image processing system, image processing method, and storage medium
CN103116490A (en) * 2012-12-04 2013-05-22 广州市久邦数码科技有限公司 Nine-patch photo drawing method based on webpage
JP2017085375A (en) * 2015-10-28 2017-05-18 株式会社リコー Image processing system, image processing method, and correction chart
CN107577395A (en) * 2017-09-11 2018-01-12 竞技世界(北京)网络技术有限公司 Chat content display methods and device based on Qt Development Frameworks
CN110140106A (en) * 2017-11-20 2019-08-16 华为技术有限公司 According to the method and device of background image Dynamically Announce icon
CN110554871A (en) * 2018-06-04 2019-12-10 上海视九信息科技有限公司 Method and device for drawing Ninepatch graph and computer readable storage medium
CN111145286A (en) * 2019-12-25 2020-05-12 重庆文理学院 Point nine picture mapping drawing method for edge calculation scene based on GPU
CN111145202A (en) * 2019-12-31 2020-05-12 北京奇艺世纪科技有限公司 Model generation method, image processing method, device, equipment and storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
《NinePatch图(9-Patch图,.9图)》;lsgxeva;《https://www.cnblogs.com/lsgxeva/p/13395903.html》;1-12页 *

Also Published As

Publication number Publication date
CN112053416A (en) 2020-12-08

Similar Documents

Publication Publication Date Title
CN107256555B (en) Image processing method, device and storage medium
CN113645476B (en) Picture processing method and device, electronic equipment and storage medium
CN112053416B (en) Image processing method, device, storage medium and computer equipment
CN113018856B (en) Image processing method, device, electronic equipment and storage medium
CN111461985A (en) Picture processing method and electronic equipment
CN111966436A (en) Screen display control method and device, terminal equipment and storage medium
CN109166164B (en) Expression picture generation method and terminal
CN111949239B (en) Screen sharing method and device, storage medium and terminal
CN113342435A (en) Expression processing method and device, computer equipment and storage medium
CN116382540A (en) Display method and device for electronic paper, electronic equipment and storage medium
CN113032076B (en) Display method, display device, computer equipment and storage medium
CN112199065A (en) Method and device for determining local display area compensation value, storage medium and terminal equipment
CN117455753A (en) Special effect template generation method, special effect generation device and storage medium
CN111368238A (en) Status bar adjusting method and device, mobile terminal and storage medium
CN117435109A (en) Content display method and device and computer readable storage medium
CN110677723B (en) Information processing method, device and system
CN114155142A (en) Image processing method, image processing device, computer-readable storage medium and computer equipment
CN108109100B (en) A kind of image processing method, mobile terminal
CN111367604A (en) Processing method and device for file display, storage medium and terminal
CN113822010A (en) Content display method, device, equipment and storage medium
CN117274432B (en) Method, device, equipment and readable storage medium for generating image edge special effect
CN115700746A (en) Image detection method, image detection device, computer-readable storage medium and computer equipment
CN116684623A (en) Picture compression method, apparatus, electronic device, and computer-readable storage medium
CN118304652A (en) Game map display method and device, computer equipment and storage medium
CN118799194A (en) Image enhancement method, device, equipment and computer readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant