CN115909980B - Text display optimization method, device, equipment and storage medium - Google Patents
Text display optimization method, device, equipment and storage medium Download PDFInfo
- Publication number
- CN115909980B CN115909980B CN202211396573.1A CN202211396573A CN115909980B CN 115909980 B CN115909980 B CN 115909980B CN 202211396573 A CN202211396573 A CN 202211396573A CN 115909980 B CN115909980 B CN 115909980B
- Authority
- CN
- China
- Prior art keywords
- gray
- gray value
- text
- displayed
- font
- 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
Links
Classifications
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D10/00—Energy efficient computing, e.g. low power processors, power management or thermal management
Landscapes
- Controls And Circuits For Display Device (AREA)
Abstract
The embodiment of the application discloses a text display optimization method, a text display optimization device, text display optimization equipment and a storage medium. According to the technical scheme provided by the embodiment of the application, the target pixel is determined in the first font data according to the color values corresponding to the plurality of color channels of each pixel in the first font data, the first gray value of each target pixel is adjusted to the corresponding second gray value according to the set gray mapping relation, the second font data is obtained, the ink screen is driven to display the corresponding text to be displayed based on the second font data, and the first gray value of the target pixel in the antialiasing layer data is adjusted to the second gray value with larger gray value distance from the background gray, so that the contrast of the antialiasing layer of the text to be displayed and the background is higher, the smooth transition of the text edge is ensured, the text display definition is effectively improved, and the text display effect on the ink screen is optimized.
Description
Technical Field
The embodiment of the application relates to the technical field of display, in particular to a text display optimization method, a text display optimization device, text display optimization equipment and a storage medium.
Background
The electronic ink screen achieves a display effect close to that of conventional paper by using an electrophoresis technology, and is therefore also called "electronic paper". The electronic ink screen generally displays images through electronic ink, the electronic ink is usually manufactured into an electronic ink film, the electronic ink film is composed of a large number of microcapsules, and pigment particles with different charges are arranged in the microcapsules. In the initial state, pigment particles are suspended in the microcapsules, and when an electric field in a certain direction is applied, the corresponding pigment particles are pushed to the top, the microcapsules can display different colors, and the microcapsules in different colors form various characters and patterns.
Generally, when a display screen displays characters, the edges of the characters can be in a saw-tooth shape due to the limitation of the resolution of the display screen, and anti-saw-tooth processing is required for the characters. The antialiasing process typically adjusts the color values of the pixels at the edges of the font, resulting in a transitional fade between the font edge and the background, which results in a smoother display of the font edge. However, the conventional anti-aliasing process is generally designed for a color display screen, and when anti-aliasing is performed on characters in an electronic ink screen, the edges of the characters are easy to appear in gray color, so that the display of the characters is fuzzy, and the display effect of the characters is poor.
Disclosure of Invention
The embodiment of the application provides a character display optimization method, a device, equipment and a storage medium, which are used for solving the technical problems that the character display is fuzzy and the character display effect is poor when antialiasing treatment is carried out on characters in the prior art, effectively improving the definition of the character display and ensuring the character display effect.
In a first aspect, an embodiment of the present application provides a text display optimization method, including:
determining first font data of characters to be displayed, and determining color values corresponding to a plurality of color channels of each pixel in the first font data;
determining a target pixel from the first font datum based on color values corresponding to a plurality of color channels;
determining a second gray value corresponding to a first gray value of at least one target pixel based on a set gray mapping relation, wherein the gray value distance between the second gray value and the background gray value of the character to be displayed is larger than the gray value distance between the first gray value and the background gray value;
and adjusting the first gray value of at least one target pixel in the first font data to a corresponding second gray value to obtain second font data, and driving an ink screen to display the text to be displayed based on the second font data.
In a second aspect, an embodiment of the present application provides a text display optimizing apparatus, including a target determining module, a gray mapping module, a gray adjustment module, and a text display module, where:
the target determining module is used for determining first font data of characters to be displayed, determining at least one target pixel in anti-aliasing layer data of the first font data, wherein the first font data comprises the anti-aliasing layer data and font layer data;
the gray mapping module is configured to determine a second gray value corresponding to a first gray value of at least one target pixel based on a set gray mapping relationship, where a gray value distance between the second gray value and a background gray value of the text to be displayed is greater than a gray value distance between the first gray value and the background gray value;
the gray scale adjustment module is used for adjusting a first gray scale value of at least one target pixel in the first font data to a corresponding second gray scale value to obtain second font data;
and the character display module is used for driving the ink screen to display the characters to be displayed based on the second font data.
In a third aspect, an embodiment of the present application provides a text display optimizing apparatus, including: a memory and one or more processors;
The memory is used for storing one or more programs;
the one or more programs, when executed by the one or more processors, cause the one or more processors to implement the text display optimization method as described in the first aspect.
In a fourth aspect, embodiments of the present application provide a storage medium storing computer executable instructions which, when executed by a computer processor, are for performing the text display optimization method as described in the first aspect.
According to the embodiment of the application, the target pixel is determined in the first font data according to the color values corresponding to the plurality of color channels of each pixel in the first font data, the first gray value of each target pixel is adjusted to the corresponding second gray value according to the set gray mapping relation, the second font data is obtained, the ink screen is driven to display the corresponding text to be displayed based on the second font data, and the first gray value of the target pixel in the antialiasing layer data is adjusted to the second gray value with larger gray value distance from the background gray, so that the contrast ratio between the antialiasing layer of the text to be displayed and the background is higher, the text display definition is effectively improved while the smooth transition of the text edge is ensured, and the text display effect on the ink screen is optimized.
Drawings
FIG. 1 is a flow chart of a text display optimization method provided by an embodiment of the application;
FIG. 2 is a schematic diagram of content corresponding to first font data according to an embodiment of the present application;
FIG. 3 is a diagram illustrating contents corresponding to second font data according to an embodiment of the present application
FIG. 4 is a flowchart of another text display optimization method according to an embodiment of the present application;
FIG. 5 is a schematic diagram of a display effect without antialiasing treatment on text to be displayed according to an embodiment of the present application;
FIG. 6 is a schematic diagram of a display effect without performing display optimization processing on a text to be displayed according to an embodiment of the present application;
FIG. 7 is a schematic diagram of a display effect of performing display optimization processing on a text to be displayed according to an embodiment of the present application;
FIG. 8 is a schematic diagram of a text display optimizing apparatus according to an embodiment of the present application;
fig. 9 is a schematic structural diagram of a text display optimizing device according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the following detailed description of specific embodiments of the present application is given with reference to the accompanying drawings. It is to be understood that the specific embodiments described herein are merely illustrative of the application and are not limiting thereof. It should be further noted that, for convenience of description, only some, but not all of the matters related to the present application are shown in the accompanying drawings. Before discussing exemplary embodiments in more detail, it should be mentioned that some exemplary embodiments are described as processes or methods depicted as flowcharts. Although a flowchart depicts operations (or steps) as a sequential process, many of the operations can be performed in parallel, concurrently, or at the same time. Furthermore, the order of the operations may be rearranged. The above-described process may be terminated when its operations are completed, but may have additional steps not included in the drawings. The processes described above may correspond to methods, functions, procedures, subroutines, and the like.
Fig. 1 shows a flowchart of a text display optimizing method according to an embodiment of the present application, where the text display optimizing method according to the embodiment of the present application may be implemented by a text display optimizing device, and the text display optimizing device may be implemented by hardware and/or software and integrated in a text display optimizing apparatus.
The text display optimizing method executed by the text display optimizing apparatus will be described below as an example. Referring to fig. 1, the text display optimizing method includes:
s101: and determining first font data of the text to be displayed, and determining color values corresponding to a plurality of color channels of each pixel in the first font data.
The first font data provided by the scheme can be image data containing text content and background content, or can be image data containing text content only. The first font data comprises data of anti-aliasing layer data and font layer data. When the characters to be displayed are displayed according to the original antialiasing layer data and the original font layer data in the first font data, the characters to be displayed are drawn and displayed based on the positions and color values of all pixels reflected in the font layer data and the positions and color values of all pixels reflected in the antialiasing layer data, and correspondingly, the displayed characters comprise font layers drawn based on the font layer data and antialiasing layers drawn based on the antialiasing layer data, and the font layers and the antialiasing layers jointly form the displayed characters. The background content is understood to be the corresponding text background when displaying the text to be displayed, for example, when displaying black text to be displayed, the corresponding text background may be a yellow background, a green background, etc. For example, in a text reading scene, the user adjusts the background color to a different color, for example to a yellow background, a green background, etc.
The antialiasing layer data can be obtained by antialiasing the font corresponding to the character to be displayed based on a set antialiasing algorithm, and the color value of the pixel corresponding to the antialiasing layer is transited between the font and the color of the text background, so as to realize the display effect of smooth transition of the text. Because the existing antialiasing algorithm is designed based on the color display screen, that is, the existing antialiasing algorithm adjusts the original color value (such as RGB value) of the font, is not suitable for the gray image displayed in the ink screen, and directly displays the text on the ink screen according to the antialiasing processing result, the situations that the text edge is gray, the font outline is fuzzy easily occur, the text display definition is insufficient, and the text readability is affected. According to the scheme, the color value of the target pixel determined in the anti-aliasing layer data is adjusted to a range with larger contrast with the background gray level, so that the contrast between the anti-aliasing layer and the text background is improved, the outline of the character form is clearer, the display definition of the text is improved, and the readability of the text is ensured.
For example, when a text to be displayed needs to be displayed, first font data corresponding to the text to be displayed is obtained, and color values corresponding to a plurality of color channels of each pixel in the first font data are determined. In one embodiment, the channel corresponding to each pixel in the first glyph data includes a red channel color value, a green channel color value, and a blue channel color value (i.e., an RGB three channel). For example, when the text color corresponding to the text to be displayed is black and the background color corresponding to the text background is yellow, the color value corresponding to the RGB channel corresponding to the text content is (0, 0), and the color value corresponding to the RGB channel corresponding to the background content is (255,255,0).
S102: a target pixel is determined from the first glyph data based on color values corresponding to the plurality of color channels.
For example, whether the corresponding pixel is a pixel corresponding to the text content or a pixel corresponding to the background content is determined according to the color values of the color channels, and the pixel corresponding to the text content is determined as the target pixel. In one embodiment, the channel corresponding to each pixel in the first font data includes a red channel color value, a green channel color value and a blue channel color value, and when determining the color values of three color channels of each pixel in the first font data, the corresponding pixel is determined to be a pixel corresponding to text content or a pixel corresponding to background content according to the color values of the three color channels, and the pixel corresponding to text content is determined to be a target pixel. Alternatively, the target pixel may be a pixel in the antialiasing layer data, or may be a pixel in the glyph layer data.
In one possible embodiment, the text display optimization method provided in the present embodiment may be when determining the target pixel from the first font datum based on the color values corresponding to the plurality of color channels: and taking the pixels with the same color values corresponding to the plurality of color channels as target pixels.
For example, whether the color values corresponding to the color channels of each pixel are the same is determined, if the color values corresponding to the color channels are the same, the corresponding pixel is considered to be the pixel corresponding to the text content (including the font content and the antialiased layer content), the corresponding pixel is determined to be the target pixel, if the color values corresponding to the color channels are different, the corresponding pixel is considered to be the pixel corresponding to the background content, and the pixel is ignored, so that the pixel does not need to be adjusted.
It should be noted that the first font data may be image data including text content and background content, or may be image data including only text content. As shown in the content schematic diagram corresponding to the first font data provided in fig. 2, the content corresponding to the font data in fig. 2 includes text content (text "ABCD" in the figure) and yellow background content (gray scale display part in the figure), wherein the text content is black text, the color values corresponding to the three color channels of each pixel of the text content are (0, 0), and the color values corresponding to the three channels of each pixel of the background content are (255,255,0). As shown in the content schematic diagram corresponding to the second font datum provided in fig. 3, the content corresponding to the font datum in fig. 3 only includes text content (text "EFGHIJ" in the figure), wherein the text content is black text, and color values corresponding to three color channels of each pixel of the text content are (0, 0).
According to the scheme, the pixels with the same color values corresponding to the color channels are used as target pixels to be adjusted, the pixels corresponding to the text content and the background content are accurately distinguished, the situation that the pixels of the background content are adjusted by mistake due to the fact that the background pixels are selected as the target pixels is reduced, and the text display quality is guaranteed. Generally, the color of the text is generally set to be black, white or gray, and the color values of a plurality of color channels of the black, white or gray are consistent, but for the text background, the background color is generally not black, white or gray (or when the background color is set to be black, white or gray, the system or a user starts the function corresponding to the text display optimization method provided by the scheme), so that whether the background pixels are filtered out or not is based on the color values corresponding to the color channels, the pixels corresponding to the text content are accurately identified for adjustment and optimization, and the text display effect after antialiasing treatment is improved.
S103: and determining a second gray value corresponding to the first gray value of at least one target pixel based on the set gray mapping relation, wherein the gray value distance between the second gray value and the background gray value of the text to be displayed is larger than the gray value distance between the first gray value and the background gray value.
The background gray level can be understood as the gray level of the background when the characters are displayed, and in general, a certain gap is kept between the gray level value of the characters and the gray level of the background, so that the contrast between the characters and the background is ensured, and the character display effect is ensured. Generally, the text color is opposite to the background color or respectively two colors with obvious distinction, for example, when the text is displayed on the ink screen, the text color can be black when the background color is white background, and the text color can be white when the background color is black background. Alternatively, the text background may be set to light text when it is dark, and dark text when it is light. For example, when the text background is a white or light gray background, the displayed text may be black or dark gray text, and when the text background is a black or dark gray background, the displayed text may be white or light gray text.
The gray mapping relation provided by the scheme is used for recording the mapping relation between the set first gray value and the set second gray value, namely the second gray value corresponding to the first gray value can be determined based on the gray mapping relation. Alternatively, the gray mapping relationship may be represented by a table, a formula, a graph, or the like. And the gray value distance between the second gray value recorded by the gray mapping relation and the background gray value is larger than the gray value distance between the corresponding first gray value and the background gray value, and the target pixel and the text background are displayed according to the second gray value. In one embodiment, the first font datum includes a plurality of font pixels, the font pixels form a stroke in the middle of the text to be displayed, and the gray value difference between the second gray value and the background gray is not greater than the gray value difference between the font pixels in the first font datum and the background gray (i.e. the gray value corresponding to the optimized antialiased layer datum is closer to the gray value corresponding to the background than the color of the gray value corresponding to the font datum).
For example, a first gray value corresponding to each target pixel is determined, and a second gray value corresponding to each first gray value is determined based on the set gray mapping relationship. In the scheme, the gray value distance between the determined second gray value and the background gray value of the text to be displayed is larger than the gray value distance between the corresponding first gray value and the background gray value. Optionally, the first gray value corresponding to each pixel in the first font data may be determined based on a conversion mode of converting the set color value into the gray value after antialiasing the text to be displayed. The first gray value of the target pixel is a gray value obtained by performing color value conversion on the color value corresponding to the target pixel. In one embodiment, since the red channel color value, the green channel color value, and the blue channel color value of the target pixel are equal, the first gray value of the target pixel may be any one of the red channel color value, the green channel color value, and the blue channel color value.
For example, when the first gray level of the target pixel is not greater than the background gray level, the corresponding second gray level is smaller than the first gray level, or when the first gray level of the target pixel is not smaller than the background gray level, the corresponding second gray level is greater than a gray level, that is, the difference between the second gray level of the target pixel and the background gray level is greater than the difference between the first gray level of the target pixel and the background gray level. At this time, the contrast between the target pixel displayed based on the second gray value and the text background is larger than the contrast between the target pixel displayed based on the first gray value and the text background, and the sharpness of the target pixel displayed based on the second gray value is higher.
S104: and adjusting the first gray value of at least one target pixel in the first font data to a corresponding second gray value to obtain second font data, and driving the ink screen to display the characters to be displayed based on the second font data.
After determining the second gray value corresponding to each target pixel, the first gray value of the target pixel is adjusted to the corresponding second gray value, so as to obtain second font data corresponding to the text to be displayed. At this time, the second font data includes font layer data and antialiasing layer data that replaces the first gray value of the target pixel with the second gray value.
In one possible embodiment, the pixels corresponding to the font layer data include text middle pixels located in the middle of the text (e.g., in the middle of a text stroke), and the pixels corresponding to the antialiasing layer data include text edge pixels located at the edges of the text (e.g., in the middle of a text stroke) and part of the text middle pixels. It will be appreciated that if the target pixel includes a text middle pixel and a text edge pixel, when the background color is white (if the ink screen supports 16-level gray scale display, when the background color is white, the gray scale value of the text background is 15), the gray scale value of the text middle pixel will be smaller than the gray scale value of the text edge pixel, the color appears darker, and the gray scale value of the text edge pixel can map the gray scale of the text edge pixel to light gray because of the gray scale value near the text background, so as to reserve the antialiased gray scale, and reduce the text edge jaggies. When the background color is black (if the ink screen supports 16-level gray scale display, when the background color is black, the gray value of the text background is 0), the gray value of the text middle pixel is larger than the gray value of the text edge pixel, the color is lighter, the gray of the text edge pixel can be mapped into dark gray, the anti-jagged gray scale is reserved, and the text edge jaggies are reduced.
Further, a corresponding driving waveform signal is generated based on the determined second font data, and the ink screen is driven to display characters to be displayed based on the driving waveform signal. At this time, the color value of each pixel point of the text to be displayed on the screen pixel point of the ink screen is determined by the antialiasing layer data in the second font data and the gray value corresponding to the font layer data. The gray level difference value between the second gray level value corresponding to the target pixel in the antialiasing layer data and the text background is larger than the gray level difference value between the original first gray level value and the text background, so that the antialiasing effect on the edges of the text is maintained, the situation that the edges of the antialiased text display is gray is reduced, and the antialiased text display effect is ensured.
Alternatively, the driving waveform signal may be generated based on a set waveform file (waveform file) in which waveform sequences in which correspondence between different color values (gradation values) is recorded (i.e., driving one color value to another color value on a screen pixel) are recorded, each waveform sequence including a plurality of driving frames arranged in a set order. According to the driving sequence, when the screen pixel points corresponding to the ink screen are sequentially driven according to the driving frames (driving of the screen pixel points can be applied through the thin film transistors corresponding to the driving screen pixel points, for example, voltages corresponding to key driving frames are applied to the corresponding thin film transistors so that pigment particles move to the designated positions), the screen pixel points undergo an intermediate process of corresponding color change, after driving of a plurality of driving frames is sequentially completed, the screen pixel points convert the current display color to the target color, for example, the current display color of the screen pixel points is converted to a second gray value corresponding to the target pixel points in the antialiasing layer data, or the gray value corresponding to the pixel points in the font layer data.
According to the method, the target pixels are determined in the first font data according to the color values corresponding to the color channels of the pixels in the first font data, the first gray values of the target pixels are adjusted to the corresponding second gray values according to the set gray mapping relation, the second font data are obtained, the ink screen is driven to display the corresponding characters to be displayed based on the second font data, and the first gray values of the target pixels in the antialiasing layer data are adjusted to the second gray values with larger gray value distance from the background gray level, so that the contrast ratio between the antialiasing layer of the characters to be displayed and the background is higher, the smooth transition of the edges of the characters is ensured, the display definition of the characters is effectively improved, and the display effect of the characters on the ink screen is optimized.
On the basis of the above embodiment, fig. 4 shows a flowchart of another text display optimizing method according to the embodiment of the present application, where the text display optimizing method is a specific implementation of the above text display optimizing method. Referring to fig. 4, the text display optimizing method includes:
s201: and determining first font information corresponding to the characters to be displayed according to the set font file, wherein the font file records font information corresponding to different characters.
S202: and drawing first font data of the text to be displayed based on the first font information, the set font parameters and the antialiasing parameters, wherein the first font data comprises antialiasing layer data and font layer data.
The font file provided by the scheme records font information corresponding to different characters, and corresponding character outlines can be drawn based on the character outlines reflected by the font information. The font parameter may be used to set a font size of the text to be displayed, and the antialiasing parameter is used to represent a text antialiasing effect corresponding to antialiasing processing of the text to be displayed.
After determining the text to be displayed, the first font information corresponding to the text to be displayed is determined in the font file, the font parameters and the antialiasing parameters corresponding to the text to be displayed are determined, and the first font data of the text to be displayed is drawn based on the first font information, the set font parameters and the antialiasing parameters.
For example, initial font data of a character to be displayed is drawn according to the first font information and the set font parameters, antialiasing processing is performed on the initial font data based on the character antialiasing effect required by the antialiasing parameters, the initial font data is divided into antialiasing layer data and font layer data, and a first gray value corresponding to each pixel in the antialiasing layer data is determined to obtain the first font data comprising the antialiasing layer data and the font layer data. The pixels corresponding to the antialiasing layer data may be pixels on an inner edge and/or an outer edge of the text to be displayed in the initial font data, or may be pixels on an inner edge and/or an outer edge of the text to be displayed in the text background.
S203: and determining first font data of the text to be displayed, determining color values corresponding to a plurality of color channels of each pixel in the first font data, and taking the pixels with the same color values corresponding to the plurality of color channels as target pixels.
The first font datum provided by the scheme can be one or more anti-aliasing layer data corresponding to the inner edge and/or the outer edge of the text to be displayed. When antialiasing is performed on the text to be displayed, antialiasing may be performed on an inner edge and/or an outer edge of the text to be displayed, where one or more antialiasing layer data corresponding to the inner edge and/or the outer edge is obtained correspondingly.
Illustratively, at least one pixel is determined as a target pixel from one or more antialiasing layer data of the first glyph data. Alternatively, one or more pixels in a part of the antialiasing layer may be used as a target pixel, or all pixels of all antialiasing layer data may be used as target pixels, that is, mapping and adjustment of the first gray value are performed on all antialiasing layer data, so that the display effect of the antialiasing layer is adjusted synchronously on the whole, and the text display effect is improved.
S204: and determining a second gray value corresponding to the first gray value of at least one target pixel based on the set gray mapping relation, wherein the gray value distance between the second gray value and the background gray value of the text to be displayed is larger than the gray value distance between the first gray value and the background gray value.
In one possible embodiment, it may be determined whether the second gray value is greater than the first gray value or less than the first gray value based on the set gray mapping relationship according to a comparison of the first gray value and a background gray of the text background, and each gray mapping relationship is provided with a corresponding first mapping relationship and a second mapping relationship, wherein the second gray value determined based on the first gray mapping relationship is less than the corresponding first gray value, and the second gray value determined based on the second gray mapping relationship is greater than the corresponding first gray value. Based on this, the method includes, when determining a second gray value corresponding to the first gray value of at least one target pixel based on the set gray mapping relationship:
s2041: and determining a second gray level corresponding to the first gray level of at least one target pixel based on the set first gray level mapping relation under the condition that the first gray level is smaller than the background gray level of the text to be displayed, wherein the second gray level determined based on the first gray level mapping relation is smaller than the corresponding first gray level.
S2042: and determining a second gray value corresponding to the first gray value of at least one target pixel based on the set second gray mapping relation under the condition that the first gray value is larger than the background gray value of the text to be displayed, wherein the second gray value determined based on the second gray mapping relation is larger than the corresponding first gray value.
The gray mapping relation provided by the scheme comprises a first gray mapping relation and a second gray mapping relation, wherein the second gray value recorded in the first gray mapping relation is smaller than the corresponding first gray value, the second gray value recorded in the second gray mapping relation is larger than the corresponding first gray value, namely, when the second gray value is determined based on the first gray mapping relation, the second gray value obtained by mapping is smaller than the corresponding first gray value, the color of the anti-aliasing layer of the font becomes dark, and when the second gray value is determined based on the second gray mapping relation, the second gray value obtained by mapping is larger than the corresponding first gray value, and the color of the anti-aliasing layer of the font becomes light.
For example, when the first gray value of the target pixel is smaller than the background gray value of the text to be displayed, the color of the text background is lighter than the color of the displayed text (for example, the case of white text background and black text), the second gray value corresponding to the first gray value of the target pixel is determined based on the set first gray mapping relationship, at this time, the second gray value of each target pixel is smaller than the first gray value, the color of the target pixel is darker, the difference between the gray value of the target pixel and the background gray is enlarged, and the contrast between the target pixel and the light text background is enlarged.
When the first gray value of the target pixel is larger than the background gray value of the text to be displayed, the color of the text background is darker than the color of the displayed text (such as the case of black text background and white text), the second gray value corresponding to the first gray value of the target pixel is determined based on the set second gray mapping relation, at this time, the second gray value of each target pixel is larger than the first gray value, the color of the target pixel becomes lighter, the difference between the gray value of the target pixel and the background gray is enlarged, and the contrast between the target pixel and the dark text background is increased.
S205: and adjusting the first gray value of at least one target pixel in the first font data to a corresponding second gray value to obtain second font data.
S206: and driving the ink screen to display the characters to be displayed based on the second font data.
As shown in a schematic diagram of a display effect of antialiasing processing on a text to be displayed provided in fig. 5, the schematic diagram shows the display effect of the text to be displayed without antialiasing processing, which is limited by the resolution of the ink screen, and has multiple triangular saw teeth on the inner edge and the outer edge of the text to be displayed on the ink screen, so that the text display effect is poor. As shown in a display effect schematic diagram of display optimization processing not performed on a text to be displayed provided in fig. 6, after antialiasing processing is performed on the text to be displayed based on antialiasing algorithm, softening transition processing is performed on edges of the text to be displayed, and font edges are grey, so that font display is unclear, and text readability is affected.
As shown in a display effect schematic diagram of display optimization processing performed on a text to be displayed in fig. 7, after first font data is determined by antialiasing processing performed on the text to be displayed based on an antialiasing algorithm, a target pixel is further determined from antialiasing layer data of the first font data, and a first gray value of the target pixel is adjusted to a corresponding second gray value based on a set gray mapping relationship, so that a gray value difference between each pixel of the antialiasing layer and a text background is enlarged, a contrast ratio of the antialiasing layer relative to the text background is improved, an edge antialiasing effect of the text is maintained, a gray deviation condition of the edge display of the antialiased text is reduced, and a text display effect after the antialiasing processing is ensured.
According to the method, the target pixels are determined in the first font data according to the color values corresponding to the color channels of the pixels in the first font data, the first gray values of the target pixels are adjusted to the corresponding second gray values according to the set gray mapping relation, the second font data are obtained, the ink screen is driven to display the corresponding characters to be displayed based on the second font data, and the first gray values of the target pixels in the antialiasing layer data are adjusted to the second gray values with larger gray value distance from the background gray level, so that the contrast ratio between the antialiasing layer of the characters to be displayed and the background is higher, the smooth transition of the edges of the characters is ensured, the display definition of the characters is effectively improved, and the display effect of the characters on the ink screen is optimized. Meanwhile, based on the comparison condition of the background gray values of different text backgrounds and the first gray values of the target pixels, a proper gray mapping relation is determined, the second gray value corresponding to the first gray value of each target pixel is more accurately determined, the difference value between the gray value of the target pixel and the background gray is enlarged, the contrast ratio of the target pixel and the light text background is effectively enhanced, and the display effect of the text after antialiasing treatment is optimized. And the antialiasing algorithm is not required to be designed for the ink screen again, so that the development cost is effectively reduced, the method can adapt to gray mapping relations corresponding to different scenes and ink screen configuration, and the flexibility of displaying characters on the ink screen is improved.
In a possible embodiment, the text display optimizing method provided in the present disclosure further includes, before determining, based on the set gray mapping relationship, a second gray value corresponding to the first gray value of the at least one target pixel: and determining a gray mapping relation based on one or more combinations of character parameter information corresponding to the characters to be displayed, background color information corresponding to the characters to be displayed, background gray value corresponding to the characters to be displayed, equipment version information of the ink screen, screen parameter information of the ink screen, refreshing mode of the ink screen, environment information of the environment where the ink screen is located and functional configuration states set by a user or a system.
For example, the scheme can set different gray mapping relations for one or more combinations of different text parameter information, background color information, background gray values, device version information, screen parameter information, refresh mode, environment information and function configuration states.
When the second gray value corresponding to the target pixel needs to be determined, the currently applicable gray mapping relation can be determined from the set multiple gray mapping relations based on one or more combinations of character parameter information corresponding to the character to be displayed, background color information corresponding to the character to be displayed, background gray value corresponding to the character to be displayed, equipment version information of the ink screen, screen parameter information of the ink screen, refreshing mode of the ink screen, environment information of the environment where the ink screen is located and functional configuration states set by a user or a system, and then the second gray value corresponding to the first gray value of each target pixel is determined based on the determined gray mapping relation. According to the scheme, the applicable gray mapping relation is determined through the related information of different characters to be displayed, ink screens and configuration states, the second gray value corresponding to each target pixel is determined more flexibly, and the flexibility and the readability of character display are improved.
For example, in the case of determining a gray mapping relationship based on text parameter information corresponding to a text to be displayed, different gray mapping relationships are configured for different text parameter information in advance, before determining a second gray value corresponding to a first gray value of a target pixel, the text parameter information of the text to be displayed is acquired, the corresponding gray mapping relationship is determined according to the text parameter information, and then the second gray value corresponding to each target pixel is determined based on the determined gray mapping relationship.
It should be explained that the gray mapping relationship provided by the scheme can be used for adjusting the gray value of the pixel in the first font data so as to improve the readability of the text, and different gray mapping relationships can be configured for different text parameter information so as to realize the matching of the text display of different text parameter information and improve the readability of the text. Optionally, the text parameter information provided by the scheme can be a font model, a font size and the like. The obtaining of the text parameter information may be that when the processor of the ink screen device receives an instruction for displaying the text to be displayed, other related information of the text to be displayed is received at the same time, and the other related information may include text parameter information including an associated font file, font information, font model and the like of the text to be displayed; the character parameter detection can be directly performed on the characters to be displayed, and the character parameter information of the characters to be displayed can be identified.
For the situation that the gray mapping relation is determined based on the background color information or the background gray value corresponding to the text to be displayed, configuring different gray mapping relations for different background color information or background gray values in advance, acquiring the background color information or the background gray value corresponding to the text to be displayed before determining the second gray value corresponding to the first gray value of the target pixel, determining the corresponding gray mapping relation according to the background color information or the background gray value, and determining the second gray value corresponding to each target pixel based on the determined gray mapping relation. According to the background color or the background gray value of the text background, the color of the text is different, and a proper gray mapping relation is adaptively selected according to the background color or the background gray value, so that the text is displayed more prominently on the background, and the text is displayed more clearly.
For the case of determining the gray mapping relation based on the refresh mode corresponding to the ink screen, configuring different gray mapping relations for different refresh modes in advance, acquiring the refresh mode of the ink screen before determining the second gray value corresponding to the first gray value of the target pixel, determining the corresponding gray mapping relation according to the refresh mode, and determining the second gray value corresponding to each target pixel based on the determined gray mapping relation. The refresh mode may be an A2 mode, a DU mode, a Regal mode, a GC16 mode, etc. The processing mode of the ink screen to the characters can be different according to different refreshing modes (for example, characters are displayed in different refreshing times or gray levels), and the proper gray mapping relation is adaptively selected according to the refreshing modes, so that the characters are more prominently displayed on the background, and the characters are more clearly displayed
In the case of determining gray mapping relation based on the device version information of the ink screen, configuring different gray mapping relation for different device version information in advance, acquiring the device version information of the ink screen before determining the second gray value corresponding to the first gray value of the target pixel, determining the corresponding gray mapping relation according to the device version information, and determining the second gray value corresponding to each target pixel based on the determined gray mapping relation. The situation that the software and hardware configuration of the ink screen device may have differences may occur due to different device version information, and the situation that the processing modes for displaying characters are different may occur, and a proper gray mapping relation is adaptively selected according to the device version information, so that the display of the characters on the background is more prominent, and the display of the characters is clearer.
In the case of determining a gray mapping relation based on screen parameter information of an ink screen, configuring different gray mapping relations for different screen parameter information in advance, acquiring the screen parameter information of the ink screen before determining a second gray value corresponding to a first gray value of a target pixel, determining a corresponding gray mapping relation according to the screen parameter information, and determining the second gray value corresponding to each target pixel based on the determined gray mapping relation. Optionally, the screen parameter information may be device resolution of the ink screen, where different processing modes for displaying characters may exist, and an appropriate gray mapping relationship is adaptively selected according to the screen parameter information, so that the characters are displayed more prominently on the background and the characters are displayed more clearly.
For the case of determining the gray mapping relation based on the environment information of the environment where the ink screen is located, configuring different gray mapping relations for different environment information in advance, acquiring the environment information of the environment where the ink screen is located before determining the second gray value corresponding to the first gray value of the target pixel, determining the corresponding gray mapping relation according to the environment information, and determining the second gray value corresponding to each target pixel based on the determined gray mapping relation. Optionally, the environment information may be an environment illumination state, etc., where different environment illumination states may have different processing manners for displaying the text, and an appropriate gray mapping relationship is adaptively selected according to the environment information, so that the text is displayed more prominently on the background, and the text is displayed more clearly. The ambient light state may be collected by an illumination sensor configured on the ink screen device, that is, the illumination sensor detects an ambient light parameter (such as illumination intensity, color temperature, etc.) corresponding to illumination that irradiates the ink screen.
In the case of determining the gray mapping relationship based on the function configuration state set by the user or the system, configuring different gray mapping relationships for different function configuration states in advance, determining the function configuration state set by the user or the system before determining the second gray value corresponding to the first gray value of the target pixel, determining the corresponding gray mapping relationship according to the function configuration state, and determining the second gray value corresponding to each target pixel based on the determined gray mapping relationship. Optionally, the function configuration state may be understood as a state of whether to start the pixel value mapping adjustment function of the antialiasing layer, when the pixel value mapping adjustment function is started, the first color value of the pixel in the antialiasing layer data obtained after the antialiasing processing is adjusted to a corresponding second color value, when the pixel value mapping adjustment function is closed, the first color value does not need to be adjusted to the corresponding second color value, and according to the function configuration state set by a user or a system, an appropriate gray mapping relationship is selected, so that the text is displayed more prominently on the background, and the text is displayed more clearly.
Optionally, the function configuration state provided by the scheme can be used as a system level setting, and a developer or after-sales staff of the ink screen device decides the function configuration state, so that the function configuration state is default for a user. The development staff or after-sales staff can change the function configuration state by means of software updating, equipment maintenance and authority management. Optionally, the function configuration state may also be used as an application setting, where the user of the ink screen device decides the function configuration state, that is, whether the user selects to optimize the display effect of the text based on the gray mapping relationship.
In one possible embodiment, the text display optimization method provided in the present embodiment further includes, after determining the first font datum of the text to be displayed: based on a user or a function selection state set by the system, it is determined whether to adjust a first gray value of at least one target pixel in the first font datum to a corresponding second gray value.
The function selection state provided by the scheme can be set by a user or a system, after the first font data of the text to be displayed is determined, whether the display effect of the text to be displayed is optimized is determined according to the set function selection state, if so, the first gray value of at least one target pixel in the first font data is adjusted to be a corresponding second gray value, and otherwise, the pixel corresponding to the antialiased layer data in the first font data is displayed directly based on the first gray value.
Optionally, a user interaction interface may be displayed on the ink screen, an operation instruction (for example, clicking) of the user on the user interaction interface is received, a corresponding function configuration state is set according to the operation instruction, interaction hardware (for example, a button, a switch, a touch pad, a microphone, an acceleration sensor, etc.) is further set on the ink screen device, an operation signal (for example, a pressing signal, a switching signal, a touch signal, a sound control signal, a gesture operation signal, etc.) of the interaction hardware is received through the interaction hardware, and a corresponding function configuration state is set according to the operation signal. In one possible embodiment, different gray mapping relationships can be set based on different display optimization levels, the display optimization levels of the characters can be selected by a user, so that the corresponding gray mapping relationships are determined, and the user can select the display optimization levels according to own use requirements to adjust the display effect of the characters.
Fig. 8 shows a schematic structural diagram of a text display optimizing apparatus according to an embodiment of the present application. Referring to fig. 8, the text display optimizing apparatus includes a color determining module 81, a target determining module 82, a gray mapping module 83, and a text display module 84.
The color determining module 81 is configured to determine first font data of a text to be displayed, and determine color values corresponding to a plurality of color channels of each pixel in the first font data; a target determining module 82, configured to determine a target pixel from the first font datum based on color values corresponding to the plurality of color channels; the gray mapping module 83 is configured to determine a second gray value corresponding to the first gray value of the at least one target pixel based on the set gray mapping relationship, where a gray value distance between the second gray value and a background gray value of the text to be displayed is greater than a gray value distance between the first gray value and the background gray value; the text display module 84 is configured to adjust a first gray value of at least one target pixel in the first font data to a corresponding second gray value, obtain second font data, and drive the ink screen to display the text to be displayed based on the second font data.
According to the method, the target pixels are determined in the first font data according to the color values corresponding to the color channels of the pixels in the first font data, the first gray values of the target pixels are adjusted to the corresponding second gray values according to the set gray mapping relation, the second font data are obtained, the ink screen is driven to display the corresponding characters to be displayed based on the second font data, and the first gray values of the target pixels in the antialiasing layer data are adjusted to the second gray values with larger gray value distance from the background gray level, so that the contrast ratio between the antialiasing layer of the characters to be displayed and the background is higher, the smooth transition of the edges of the characters is ensured, the display definition of the characters is effectively improved, and the display effect of the characters on the ink screen is optimized.
On the basis of the above embodiment, the color determination module 81, when determining the first font datum of the text to be displayed, includes:
determining first font information corresponding to the characters to be displayed according to a set font file, wherein font information corresponding to different characters is recorded in the font file;
and drawing first font data of the text to be displayed based on the first font information, the set font parameters and the antialiasing parameters, wherein the first font data comprises antialiasing layer data and font layer data.
On the basis of the above embodiment, the first font datum comprises one or more antialiasing layer data corresponding to an inner edge and/or an outer edge of the text to be displayed.
On the basis of the above embodiment, the target determining module 82, when determining a target pixel from the first font datum based on the color values corresponding to the plurality of color channels, includes: and taking the pixels with the same color values corresponding to the plurality of color channels as target pixels.
On the basis of the above embodiment, the gradation mapping module 83, when determining the second gradation value corresponding to the first gradation value of the at least one target pixel based on the set gradation mapping relationship, includes:
determining a second gray value corresponding to the first gray value of at least one target pixel based on the set first gray mapping relation under the condition that the first gray value is smaller than the background gray value of the text to be displayed, wherein the second gray value determined based on the first gray mapping relation is smaller than the corresponding first gray value;
and determining a second gray value corresponding to the first gray value of at least one target pixel based on the set second gray mapping relation under the condition that the first gray value is larger than the background gray value of the text to be displayed, wherein the second gray value determined based on the second gray mapping relation is larger than the corresponding first gray value.
On the basis of the above embodiment, the text display optimizing device further includes a mapping relation determining module, where the mapping relation determining module is configured to determine a gray mapping relation based on one or more combinations of text parameter information corresponding to the text to be displayed, background color information corresponding to the text to be displayed, background gray value corresponding to the text to be displayed, device version information of the ink screen, screen parameter information of the ink screen, a refresh mode of the ink screen, environment information of an environment where the ink screen is located, and a function configuration state set by a user or a system.
On the basis of the above embodiment, the text display optimizing apparatus further includes a function setting module, where the function setting module is configured to determine whether to adjust the first gray value of at least one target pixel in the first font datum to the corresponding second gray value based on the function selection status set by the user or the system. .
It should be noted that, in the above embodiment of the text display optimizing apparatus, each unit and module included are only divided according to the functional logic, but not limited to the above division, so long as the corresponding functions can be implemented; in addition, the specific names of the functional units are also only for distinguishing from each other, and are not used to limit the protection scope of the embodiments of the present invention.
The embodiment of the application also provides a text display optimizing device which can integrate the text display optimizing device provided by the embodiment of the application. Fig. 9 is a schematic structural diagram of a text display optimizing device according to an embodiment of the present application. Referring to fig. 9, the text display optimizing apparatus includes: an input device 93, an output device 94, a memory 92, and one or more processors 91; a memory 92 for storing one or more programs; the one or more programs, when executed by the one or more processors 91, cause the one or more processors 91 to implement the text display optimization method as provided by the above-described embodiments. Wherein the input device 93, the output device 94, the memory 92 and the processor 91 may be connected by a bus or otherwise, for example in fig. 9.
The memory 92 is used as a computer readable storage medium for storing software programs, computer executable programs, and modules, such as program instructions/modules corresponding to the text display optimizing method provided in any embodiment of the present application (e.g., the color determining module 81, the object determining module 82, the gray mapping module 83, and the text display module 84 in the text display optimizing apparatus). The memory 92 may mainly include a storage program area that may store an operating system, at least one application program required for functions, and a storage data area; the storage data area may store data created according to the use of the device, etc. In addition, memory 92 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid-state storage device. In some examples, memory 92 may further include memory remotely located relative to processor 91, which may be connected to the device via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The input means 93 may be used to receive input numeric or character information and to generate key signal inputs related to user settings and function control of the device. The output 94 may include a display device such as a display screen.
The processor 91 executes various functional applications of the device and data processing by running software programs, instructions and modules stored in the memory 92, i.e., implements the text display optimizing method described above.
The text display optimizing device, the text display optimizing equipment and the text display optimizing computer can be used for executing the text display optimizing method provided by any embodiment, and have corresponding functions and beneficial effects.
The embodiment of the present application also provides a storage medium storing computer-executable instructions that when executed by a computer processor are configured to perform the text display optimizing method provided in the embodiment, the text display optimizing method including: determining first font data of characters to be displayed, and determining color values corresponding to a plurality of color channels of each pixel in the first font data; determining a target pixel from the first font data based on color values corresponding to the plurality of color channels; determining a second gray value corresponding to the first gray value of at least one target pixel based on the set gray mapping relation, wherein the gray value distance between the second gray value and the background gray value of the character to be displayed is larger than the gray value distance between the first gray value and the background gray value; and adjusting the first gray value of at least one target pixel in the first font data to a corresponding second gray value to obtain second font data, and driving the ink screen to display the characters to be displayed based on the second font data.
Storage media-any of various types of memory devices or storage devices. The term "storage medium" is intended to include: mounting media such as CD-ROM, floppy disk or tape devices; computer system memory or random access memory such as DRAM, DDR RAM, SRAM, EDO RAM, lanbas (Rambus) RAM, etc.; nonvolatile memory such as flash memory, magnetic media (e.g., hard disk or optical storage); registers or other similar types of memory elements, etc. The storage medium may also include other types of memory or combinations thereof. In addition, the storage medium may be located in a first computer system in which the program is executed, or may be located in a second, different computer system connected to the first computer system through a network such as the internet. The second computer system may provide program instructions to the first computer for execution. The term "storage medium" may include two or more storage media that may reside in different locations (e.g., in different computer systems connected by a network). The storage medium may store program instructions (e.g., embodied as a computer program) executable by one or more processors.
Of course, the storage medium storing the computer executable instructions provided in the embodiments of the present application is not limited to the text display optimizing method provided above, and may also perform the related operations in the text display optimizing method provided in any embodiment of the present application.
The text display optimizing device, the text display optimizing equipment and the storage medium provided in the above embodiments can execute the text display optimizing method provided in any embodiment of the present application, and technical details not described in detail in the above embodiments can be referred to the text display optimizing method provided in any embodiment of the present application.
The foregoing description is only of the preferred embodiments of the application and the technical principles employed. The present application is not limited to the specific embodiments provided herein, and various obvious changes, rearrangements and substitutions can be made by those skilled in the art without departing from the scope of the application. Therefore, while the application has been described in connection with the above embodiments, the application is not limited to the embodiments, but may be embodied in many other equivalent forms without departing from the spirit of the application, the scope of which is set forth in the following claims.
Claims (8)
1. A text display optimization method, comprising:
determining first font data of a character to be displayed, and determining color values corresponding to a plurality of color channels of each pixel in the first font data, wherein the first font data comprises one or more anti-aliasing layer data corresponding to the inner edge and/or the outer edge of the character to be displayed;
determining a target pixel from the first font datum based on color values corresponding to a plurality of color channels;
determining a gray mapping relation based on one or more combinations of character parameter information corresponding to the characters to be displayed, background color information corresponding to the characters to be displayed, background gray values corresponding to the characters to be displayed, equipment version information of an ink screen, screen parameter information of the ink screen, refreshing mode of the ink screen, environment information of the environment where the ink screen is located and functional configuration states set by a user or a system;
determining a second gray value corresponding to a first gray value of at least one target pixel based on a set gray mapping relation, wherein the gray value distance between the second gray value and the background gray value of the character to be displayed is larger than the gray value distance between the first gray value and the background gray value;
And adjusting the first gray value of at least one target pixel in the first font data to a corresponding second gray value to obtain second font data, and driving an ink screen to display the text to be displayed based on the second font data.
2. The text display optimizing method according to claim 1, wherein the determining the first font datum of the text to be displayed includes:
determining first font information corresponding to characters to be displayed according to a set font file, wherein font information corresponding to different characters is recorded in the font file;
and drawing the first font data of the text to be displayed based on the first font information, the set font parameters and the antialiasing parameters, wherein the first font data comprises antialiasing layer data and font layer data.
3. The text display optimizing method according to claim 1, wherein the determining the target pixel from the first font datum based on the color values corresponding to the plurality of color channels includes:
and taking the pixels with the same color values corresponding to the plurality of color channels as target pixels.
4. The text display optimizing method according to claim 1, wherein determining a second gray value corresponding to the first gray value of at least one of the target pixels based on the set gray mapping relationship comprises:
Determining a second gray value corresponding to the first gray value of at least one target pixel based on a set first gray mapping relation when the first gray value is smaller than the background gray value of the text to be displayed, wherein the second gray value determined based on the first gray mapping relation is smaller than the corresponding first gray value;
and determining a second gray level corresponding to the first gray level of at least one target pixel based on a set second gray level mapping relation under the condition that the first gray level is larger than the background gray level of the text to be displayed, wherein the second gray level determined based on the second gray level mapping relation is larger than the corresponding first gray level.
5. The text display optimizing method according to claim 1, further comprising, after determining the first font datum of the text to be displayed:
based on a function selection state set by a user or a system, whether to adjust a first gray value of at least one target pixel in the first font datum to a corresponding second gray value is determined.
6. The character display optimizing device is characterized by comprising a color determining module, a target determining module, a mapping relation determining module, a gray mapping module and a character display module, wherein:
The color determining module is used for determining first font data of characters to be displayed and determining color values corresponding to a plurality of color channels of each pixel in the first font data, wherein the first font data comprises one or more anti-aliasing layer data corresponding to the inner edge and/or the outer edge of the characters to be displayed;
the target determining module is used for determining target pixels from the first font data based on color values corresponding to a plurality of color channels;
the mapping relation determining module is used for determining a gray mapping relation based on one or more combinations of character parameter information corresponding to characters to be displayed, background color information corresponding to the characters to be displayed, background gray values corresponding to the characters to be displayed, equipment version information of an ink screen, screen parameter information of the ink screen, refreshing mode of the ink screen, environment information of an environment where the ink screen is located and functional configuration states set by a user or a system;
the gray mapping module is configured to determine a second gray value corresponding to a first gray value of at least one target pixel based on a set gray mapping relationship, where a gray value distance between the second gray value and a background gray value of the text to be displayed is greater than a gray value distance between the first gray value and the background gray value;
The character display module is used for adjusting the first gray value of at least one target pixel in the first font data to a corresponding second gray value to obtain second font data, and driving an ink screen to display the character to be displayed based on the second font data.
7. A text display optimizing apparatus, characterized by comprising: a memory and one or more processors;
the memory is used for storing one or more programs;
the one or more programs, when executed by the one or more processors, cause the one or more processors to implement the text display optimization method of any of claims 1-5.
8. A storage medium storing computer executable instructions which, when executed by a computer processor, are for performing the text display optimization method of any of claims 1-5.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211396573.1A CN115909980B (en) | 2022-11-08 | 2022-11-08 | Text display optimization method, device, equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211396573.1A CN115909980B (en) | 2022-11-08 | 2022-11-08 | Text display optimization method, device, equipment and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN115909980A CN115909980A (en) | 2023-04-04 |
CN115909980B true CN115909980B (en) | 2023-10-17 |
Family
ID=86472054
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202211396573.1A Active CN115909980B (en) | 2022-11-08 | 2022-11-08 | Text display optimization method, device, equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115909980B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN117238253B (en) * | 2023-08-07 | 2024-04-30 | 广州文石信息科技有限公司 | Method, device, equipment and storage medium for displaying marks of ink screen |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101873429A (en) * | 2010-04-16 | 2010-10-27 | 杭州海康威视软件有限公司 | Processing method and device of image contrast |
CN105809645A (en) * | 2016-03-28 | 2016-07-27 | 努比亚技术有限公司 | Word display method and device and mobile terminal |
CN107086027A (en) * | 2017-06-23 | 2017-08-22 | 青岛海信移动通信技术股份有限公司 | Character displaying method and device, mobile terminal and storage medium |
CN111508039A (en) * | 2020-04-20 | 2020-08-07 | 青岛海信移动通信技术股份有限公司 | Word processing method of ink screen and communication terminal |
CN114974148A (en) * | 2022-07-29 | 2022-08-30 | 广州文石信息科技有限公司 | Font display enhancement method, device, equipment and storage medium for ink screen |
-
2022
- 2022-11-08 CN CN202211396573.1A patent/CN115909980B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101873429A (en) * | 2010-04-16 | 2010-10-27 | 杭州海康威视软件有限公司 | Processing method and device of image contrast |
CN105809645A (en) * | 2016-03-28 | 2016-07-27 | 努比亚技术有限公司 | Word display method and device and mobile terminal |
CN107086027A (en) * | 2017-06-23 | 2017-08-22 | 青岛海信移动通信技术股份有限公司 | Character displaying method and device, mobile terminal and storage medium |
CN111508039A (en) * | 2020-04-20 | 2020-08-07 | 青岛海信移动通信技术股份有限公司 | Word processing method of ink screen and communication terminal |
CN114974148A (en) * | 2022-07-29 | 2022-08-30 | 广州文石信息科技有限公司 | Font display enhancement method, device, equipment and storage medium for ink screen |
Also Published As
Publication number | Publication date |
---|---|
CN115909980A (en) | 2023-04-04 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104221358B (en) | Unified slider control for modifying multiple image properties | |
US6868189B1 (en) | Image processing apparatus, an image processing method, and a computer readable medium having recorded thereon a processing program for permitting a computer to perform image processing routines | |
CN105843494B (en) | Method, device and terminal for realizing area screen capture | |
CN113763856B (en) | Method and device for determining ambient illumination intensity and storage medium | |
CN111857912B (en) | Interface processing method, device, electronic equipment and computer readable storage medium | |
CN115359762B (en) | Ink screen display control method and device based on drive compensation | |
CN115909980B (en) | Text display optimization method, device, equipment and storage medium | |
CN108597474A (en) | Image processing equipment, image processing method and computer-readable medium | |
CN111698492B (en) | Method, terminal and computer readable storage medium capable of locally changing display color | |
CN110880164B (en) | Image processing method, device, equipment and computer storage medium | |
CN115576517B (en) | Text display method, text display device, text display equipment and storage medium | |
CN115691434B (en) | Text display method, device and equipment based on ink screen and storage medium | |
CN116939181B (en) | Image processing method, device, system, storage medium and electronic equipment | |
CN117238253B (en) | Method, device, equipment and storage medium for displaying marks of ink screen | |
US9064204B1 (en) | Flexible image processing apparatus and method | |
JP7498238B2 (en) | Techniques for reducing distractions in images | |
WO2023197284A1 (en) | Saliency-based adaptive color enhancement | |
US20210241715A1 (en) | Signal processing method of transparent display | |
CN117290026A (en) | Page background image generation method and device, electronic equipment and storage medium | |
JPS63316888A (en) | Processing system for coloring image | |
CN116188292A (en) | Method and device for processing board book image | |
CN118538184A (en) | Brightness adjusting method and device and display equipment | |
CN114332306A (en) | Method and device for processing map, electronic equipment and storage medium | |
CN118394435A (en) | Interface element theme color switching method, device, medium and program product | |
CN115424588A (en) | Character display edge processing method and device, terminal equipment and 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 |