Image display method and device of ink screen

By performing grayscale conversion, histogram equalization and target grayscale adaptation on the ink screen image, the limitations of the ink screen in grayscale and contrast performance are solved, and high-quality image display effect is achieved.

CN119274498APending Publication Date: 2025-01-07WUXI LINGLONGXIN INTERNET OF THINGS TECH CO LTD
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202411406632.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-10
Publication Date
2025-01-07

AI Technical Summary

Technical Problem

The ink screen has limitations in grayscale performance and color transition accuracy, resulting in poor display of images after the histogram equalization or visual distortion, which cannot effectively improve contrast and brightness.

Method used

Acquire image data, convert it to grayscale value, perform histogram equalization, and map the equalized grayscale level to the range supported by the ink screen, perform target grayscale adaptation and local smoothing processing, and generate a new image that meets the target parameters. Data to ensure the display effect.

Benefits of technology

It effectively improves the image display quality on the ink screen, improves the presentation of details and contrast, and meets users' needs for high-quality display effects.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119274498A_ABST
    Figure CN119274498A_ABST
Patent Text Reader

Abstract

The embodiment of the invention discloses an image display method and device of an ink screen, and belongs to the field of wireless communication. The display effect of the image on the ink screen is improved through the following steps. Collecting data of an image to be processed, and converting color information into a gray value; and carrying out histogram equalization on the image to improve the contrast ratio and the brightness of the image. And mapping the equalized gray level to a gray range supported by the ink screen equipment. And target gray scale adaptation is carried out to ensure that the display effect of the image on the ink screen meets the expectation. And generating new image data conforming to the target gray level parameter, and carrying out local smoothing processing to reduce visual distortion. And transmitting the processed image data to ink screen equipment to be displayed, and performing final display effect adjustment. The display quality of the image on the ink screen can be effectively improved, details and contrast can be better presented in various application scenes, and the requirement of a user for a high-quality display effect is met.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of wireless communications, and in particular to an image display method and device for an ink screen. Background Art

[0002] As an electronic paper display technology, E Ink screen has been widely used in e-book readers, smart watches and other portable devices due to its high contrast, low power consumption and excellent readability. However, the display technology of E Ink screen has certain limitations in grayscale performance, which is mainly reflected in its grayscale range and the accuracy of color transition. Traditional E Ink screens can usually only display a limited number of grayscale levels, which may not be ideal for applications that require high-precision grayscale display.

[0003] In the field of image processing, histogram equalization is a commonly used image enhancement technique that aims to improve the contrast of an image by adjusting the grayscale distribution of the image. However, images directly subjected to histogram equalization may not fit well on the ink screen because the grayscale generated by the equalization process may exceed the support range of the ink screen, resulting in poor image display or visual distortion.

[0004] In order to solve these problems, an effective image control method is needed to optimize the display effect of the ink screen. Summary of the invention

[0005] Embodiments of the present application provide an image display method, device, equipment and storage medium for an ink screen to optimize the image display of the ink screen.

[0006] In a first aspect, a method for displaying an image on an ink screen is provided, comprising:

[0007] Collecting data of the image to be processed, the data including color information of each pixel;

[0008] Converting the color information into grayscale values;

[0009] Performing histogram equalization on the image to be processed according to the grayscale value to obtain the grayscale level of the image to be processed;

[0010] Determine a target grayscale parameter;

[0011] Map the equalized grayscale level to the grayscale range supported by the ink screen device;

[0012] Performing target grayscale adaptation on the image, wherein the target grayscale adaptation is used to optimize the display of the target grayscale parameter on the ink screen device;

[0013] generating new image data according to the mapped grayscale level, wherein the brightness and contrast of the new image data conform to the target grayscale parameter;

[0014] The new image data is transmitted to the ink screen device for display.

[0015] Optionally, converting the color information into a grayscale value includes:

[0016] The RGB values ​​contained in the color information are converted into a single grayscale value using a weighted average method.

[0017] Optionally, performing histogram equalization on the image to be processed according to the grayscale value includes:

[0018] Counting the number of pixels at each gray level in the image to be processed to generate a grayscale histogram;

[0019] Calculating a cumulative distribution function according to the grayscale histogram, wherein the cumulative distribution function is used to reflect the cumulative pixel percentage of each grayscale level;

[0020] The original grayscale value is mapped to a new balanced grayscale range using the cumulative distribution function, and the contrast and brightness of the image to be processed are adjusted.

[0021] Optionally, the target grayscale parameter is based on the most frequently occurring grayscale value in the image to be processed, or a preset grayscale range.

[0022] Optionally, mapping the equalized grayscale level to a grayscale range supported by the ink screen device includes:

[0023] A mapping function is used to map the equalized grayscale level to the ink screen, and the grayscale value does not exceed the grayscale range of the ink screen.

[0024] Optionally, after generating new image data according to the mapped grayscale levels, the method further includes:

[0025] The new image data is subjected to local smoothing processing, wherein the local smoothing processing is used to reduce visual distortion caused by mapping.

[0026] Optionally, the transmitting the new image data to the ink screen device for display includes:

[0027] Transmitting the new image data to the ink screen device and confirming that the data format and grayscale level of the image match the display characteristics of the ink screen device;

[0028] Final adjustments are made on the ink screen device to optimize the display effect of the new image data.

[0029] On the other hand, an image display device of an ink screen is provided, which is applied to an ink screen device, comprising:

[0030] A data acquisition module is used to acquire data of the image to be processed, the data including the color information of each pixel;

[0031] A grayscale conversion module, used for converting the color information into a grayscale value;

[0032] An image processing module, used for performing histogram equalization on the image to be processed according to the grayscale value to obtain the grayscale level of the image to be processed;

[0033] A parameter determination module, used for determining a target grayscale parameter;

[0034] Grayscale mapping module, used to map the equalized grayscale level to the grayscale range supported by the ink screen device;

[0035] A grayscale adaptation module, used for performing target grayscale adaptation on the image, wherein the target grayscale adaptation is used for optimizing the display of the target grayscale parameter on the ink screen device;

[0036] A new image generation module, used to generate new image data according to the mapped grayscale level, wherein the brightness and contrast of the new image data conform to the target grayscale parameter;

[0037] The image display module is used to transmit the new image data to the ink screen device for display.

[0038] On the other hand, an electronic device is provided, comprising a memory and a processor, wherein the memory includes a computer program that can be executed on the processor, and when the processor executes the computer program, the image display method of the ink screen as described in the above item is implemented.

[0039] On the other hand, a non-transitory computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the image display method of the ink screen as described above is implemented.

[0040] The embodiment of the present application proposes a screen control method for an ink screen, which aims to improve the display effect of an image on the ink screen through the following steps. Collect data of the image to be processed and convert the color information into grayscale values. Perform histogram equalization on the image to improve the contrast and brightness of the image. Map the equalized grayscale level to the grayscale range supported by the ink screen device. Perform target grayscale adaptation to ensure that the display effect of the image on the ink screen meets expectations. Generate new image data that meets the target grayscale parameters and perform local smoothing to reduce visual distortion. Transmit the processed image data to the ink screen device for display, and make the final display effect adjustment. It can effectively improve the display quality of the image on the ink screen, so that it can better present details and contrast in various application scenarios, and meet the user's demand for high-quality display effects. BRIEF DESCRIPTION OF THE DRAWINGS

[0041] Figure 1 It is a method flow chart of an image display method of an ink screen provided in an embodiment of the present application. DETAILED DESCRIPTION

[0042] In order to make the purpose, technical scheme and advantages of the present application clearer, the specific embodiments of the present application are further described in detail below in conjunction with the accompanying drawings. It is understood that the specific embodiments described herein are only used to explain the present application, rather than to limit the present application. It should also be noted that, for the convenience of description, only the part related to the present application but not all the contents are shown in the accompanying drawings. Before discussing the exemplary embodiments in more detail, it should be mentioned that some exemplary embodiments are described as processes or methods depicted as flow charts. Although the flow chart describes each operation (or step) as a sequential process, many of the operations therein can be implemented in parallel, concurrently or simultaneously. In addition, the order of each operation can be rearranged. The process can be terminated when its operation is completed, but it can also have additional steps not included in the accompanying drawings. The process can correspond to a method, a function, a procedure, a subroutine, a subprogram, etc.

[0043] Reference Figure 1 , Figure 1 It is a flow chart of the image display method of the ink screen provided by the present invention. The image display method of the ink screen is applied to the ink screen device, and the method includes the following contents.

[0044] Step 101: Collect data of an image to be processed, where the data includes color information of each pixel.

[0045] Image data consists of a grid of pixels, each containing color information. This information is usually represented as the intensity values ​​of the three primary colors RGB (red, green, blue). The RGB model is a widely used color representation method, where the color of each pixel is composed of the values ​​of three color channels, and the value of each channel is usually between 0 and 255.

[0046] The color information of each pixel can be expressed as:

[0047] RGB value: The color of each pixel is represented by three values ​​- red (R), green (G), and blue (B), each of which usually ranges from 0 to 255. For example, RGB (255, 0, 0) represents pure red.

[0048] Transparency (Alpha): In some image formats, an additional Alpha channel is included, which indicates the transparency of the pixel. For example, the A channel in the RGBA model determines the degree of transparency of the pixel.

[0049] Acquiring image data generally involves the following steps.

[0050] Image Capture: Capture images using a camera, scanner, or other imaging device.

[0051] Data storage: Image data is stored in files, such as JPEG, PNG, and BMP formats, each of which has different compression and storage mechanisms.

[0052] Data reading: When reading an image file, the binary data in the file is parsed into pixel color values.

[0053] In short, the color information of each pixel in the image provides a basic data unit for image processing. By operating and analyzing this data, various image processing and computer vision tasks can be achieved.

[0054] Step 102: Convert the color information into grayscale values.

[0055] Use the weighted average method to convert the RGB values ​​contained in the color information into a single grayscale value.

[0056] The process of converting color information to grayscale values ​​involves converting the RGB (red, green, blue) values ​​of each pixel into a single grayscale value. This process is done by weighted averaging. A color image consists of intensity values ​​of three color channels: red, green, and blue. In order to convert a color image to grayscale, this color information needs to be combined into a single grayscale value. Grayscale values ​​represent brightness or lightness without containing color information. Further, a method of converting multiple values ​​into a single value is called weighted averaging. In the process of converting color to grayscale, each channel of the RGB value is assigned a weight and then the weighted average is calculated. This method takes into account the different sensitivity of the human eye to different colors.

[0057] The human eye has different sensitivities to colors, and is usually most sensitive to green, followed by red, and least sensitive to blue. The process of converting color information into grayscale values ​​takes into account the differences in the human eye's perception of different colors through a weighted average method, ensuring that the generated grayscale image can reflect the brightness characteristics of the original image as accurately as possible.

[0058] Step 103: performing histogram equalization on the image to be processed according to the grayscale value to obtain the grayscale level of the image to be processed.

[0059] The number of pixels at each grayscale level in the image to be processed is counted to generate a grayscale histogram; the cumulative distribution function is calculated based on the grayscale histogram, and the cumulative distribution function is used to reflect the cumulative pixel percentage of each grayscale level; the cumulative distribution function is used to map the original grayscale value to a new balanced grayscale range, and the contrast and brightness of the image to be processed are adjusted.

[0060] Step 104, determining a target grayscale parameter.

[0061] Optionally, the target grayscale parameter is based on the most frequently occurring grayscale value in the image to be processed, or a preset grayscale range.

[0062] Step 105, mapping the equalized grayscale level to the grayscale range supported by the ink screen device.

[0063] A mapping function is used to map the equalized grayscale level to the ink screen, and the grayscale value does not exceed the grayscale range of the ink screen.

[0064] Step 106: adapt the image to a target grayscale. The target grayscale adaptation is used to optimize the display of the target grayscale parameters on the ink screen device.

[0065] Step 107, generating new image data according to the mapped grayscale level, wherein the brightness and contrast of the new image data conform to the target grayscale parameters.

[0066] Optionally, after generating new image data according to the mapped grayscale levels, the method further comprises:

[0067] The new image data is locally smoothed, and the local smoothing is used to reduce the visual distortion caused by mapping.

[0068] Step 108: transmit the new image data to the ink screen device for display.

[0069] Transmitting new image data to the e-ink device and confirming that the data format and grayscale level of the image match the display characteristics of the e-ink device;

[0070] Make final adjustments on your E-ink device to optimize the display of the new image data.

[0071] In summary, the embodiment of the present application proposes a screen control method for an ink screen, aiming to improve the display effect of the image on the ink screen through the following steps. Collect data of the image to be processed and convert the color information into grayscale values. Perform histogram equalization on the image to improve the contrast and brightness of the image. Map the equalized grayscale level to the grayscale range supported by the ink screen device. Perform target grayscale adaptation to ensure that the display effect of the image on the ink screen meets expectations. Generate new image data that meets the target grayscale parameters and perform local smoothing to reduce visual distortion. Transmit the processed image data to the ink screen device for display, and make final display effect adjustments. It can effectively improve the display quality of the image on the ink screen, so that it can better present details and contrast in various application scenarios, and meet users' demand for high-quality display effects.

[0072] On the other hand, an image display device of an ink screen is also provided and applied to an ink screen device, and the device includes the following contents.

[0073] A data acquisition module is used to acquire data of the image to be processed, the data including the color information of each pixel;

[0074] A grayscale conversion module, used for converting the color information into a grayscale value;

[0075] An image processing module, used for performing histogram equalization on the image to be processed according to the grayscale value to obtain the grayscale level of the image to be processed;

[0076] A parameter determination module, used for determining a target grayscale parameter;

[0077] Grayscale mapping module, used to map the equalized grayscale level to the grayscale range supported by the ink screen device;

[0078] A grayscale adaptation module, used for performing target grayscale adaptation on the image, wherein the target grayscale adaptation is used for optimizing the display of the target grayscale parameter on the ink screen device;

[0079] A new image generation module, used to generate new image data according to the mapped grayscale level, wherein the brightness and contrast of the new image data conform to the target grayscale parameter;

[0080] The image display module is used to transmit the new image data to the ink screen device for display.

[0081] The image display device of the ink screen provided in the embodiment of the present application is included in an electronic device and can be used to execute the image display method of the ink screen provided in the above embodiment, and has corresponding functions and beneficial effects.

[0082] It is worth noting that in the embodiment of the ink screen image display device, the various units and modules included are divided only according to functional logic, but are not limited to the above division, as long as the corresponding functions can be achieved; in addition, the specific names of the functional units are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of the present invention.

[0083] The electronic device includes a processor and a memory, and in a common product form, may also include an input device, an output device, and a communication device; the number of processors in the electronic device may be one or more, and one processor is taken as an example in this application; the processor, memory, input device, output device, and communication device in the electronic device may be connected via a bus or other means, and connection via a bus is taken as an example in this application.

[0084] As a computer-readable storage medium, the memory can be used to store software programs, computer executable programs and modules, such as program instructions / modules corresponding to the image display method of the ink screen in the embodiment of the present application. The processor executes various functional applications and data processing of the electronic device by running the software programs, instructions and modules stored in the memory, that is, realizing the image display method of the ink screen mentioned above.

[0085] The memory may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system and an application required for at least one function; the data storage area may store data created according to the use of the electronic device, etc. In addition, the memory may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other non-volatile solid-state storage device. In some instances, the memory may further include a memory remotely arranged relative to the processor, and these remote memories may be connected to the electronic device via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0086] The input device can be used to receive the image to be processed. The output device can include a display device such as an electronic ink display screen.

[0087] The above-mentioned electronic device includes an image display device of an ink screen, which can be used to execute any image display method of an ink screen and has corresponding functions and beneficial effects.

[0088] An embodiment of the present application also provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed by an electronic device, it implements the relevant operations in the image display method of the ink screen provided in any embodiment of the present application, and has corresponding functions and beneficial effects.

[0089] Those skilled in the art should understand that the embodiments of the present application may be provided as methods, systems, or computer program products.

[0090] Therefore, the present application may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present application may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code. The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the functions in the process. Figure 1 A process or multiple processes and / or boxes Figure 1 These computer program instructions can also be stored in a computer-readable memory that can guide a computer or other programmable data processing device to work in a specific way, so that the instructions stored in the computer-readable memory produce a product including an instruction device, which implements the functions specified in the process. Figure 1 A process or multiple processes and / or boxes Figure 1 These computer program instructions can also be loaded onto a computer or other programmable data processing device, so that a series of operation steps are executed on the computer or other programmable device to produce a computer-implemented process, so that the instructions executed on the computer or other programmable device provide for implementing the process in the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0091] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory. The memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.

[0092] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.

[0093] The above are only preferred embodiments of the present application and are not intended to limit the present application. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present application should be included in the protection scope of the present application.

Claims

1. An image display method for an ink screen, applied to an ink screen device, characterized in that: include: Collecting data of the image to be processed, the data including color information of each pixel; Converting the color information into grayscale values; Performing histogram equalization on the image to be processed according to the grayscale value to obtain the grayscale level of the image to be processed; Determine a target grayscale parameter; Map the equalized grayscale level to the grayscale range supported by the ink screen device; Performing target grayscale adaptation on the image, wherein the target grayscale adaptation is used to optimize the display of the target grayscale parameter on the ink screen device; generating new image data according to the mapped grayscale level, wherein the brightness and contrast of the new image data conform to the target grayscale parameter; The new image data is transmitted to the ink screen device for display.

2. The ink screen image control method according to claim 1, characterized in that: The converting the color information into a grayscale value comprises: The RGB values ​​contained in the color information are converted into a single grayscale value using a weighted average method.

3. The ink screen image control method according to claim 1, characterized in that: The performing histogram equalization on the image to be processed according to the grayscale value comprises: Counting the number of pixels at each gray level in the image to be processed to generate a grayscale histogram; Calculating a cumulative distribution function according to the grayscale histogram, wherein the cumulative distribution function is used to reflect the cumulative pixel percentage of each grayscale level; The original grayscale value is mapped to a new balanced grayscale range using the cumulative distribution function, and the contrast and brightness of the image to be processed are adjusted.

4. The ink screen image control method according to claim 1, characterized in that: The target grayscale parameter is based on the most frequently occurring grayscale value in the image to be processed, or a preset grayscale range.

5. The ink screen image control method according to claim 1, characterized in that: Mapping the equalized grayscale level to the grayscale range supported by the ink screen device includes: A mapping function is used to map the equalized grayscale level to the ink screen, and the grayscale value does not exceed the grayscale range of the ink screen.

6. The ink screen image control method according to claim 1, characterized in that: After generating new image data according to the mapped grayscale levels, the method further comprises: The new image data is subjected to local smoothing processing, wherein the local smoothing processing is used to reduce visual distortion caused by mapping.

7. The ink screen image control method according to claim 1, characterized in that: The transmitting the new image data to the ink screen device for display includes: Transmitting the new image data to the ink screen device and confirming that the data format and grayscale level of the image match the display characteristics of the ink screen device; Final adjustments are made on the ink screen device to optimize the display effect of the new image data.

8. An image display device of an ink screen, applied to an ink screen device, characterized in that: include: A data acquisition module is used to acquire data of the image to be processed, the data including the color information of each pixel; A grayscale conversion module, used for converting the color information into a grayscale value; An image processing module, used for performing histogram equalization on the image to be processed according to the grayscale value to obtain the grayscale level of the image to be processed; A parameter determination module, used for determining a target grayscale parameter; Grayscale mapping module, used to map the equalized grayscale level to the grayscale range supported by the ink screen device; A grayscale adaptation module, used for performing target grayscale adaptation on the image, wherein the target grayscale adaptation is used for optimizing the display of the target grayscale parameter on the ink screen device; A new image generation module, used to generate new image data according to the mapped grayscale level, wherein the brightness and contrast of the new image data conform to the target grayscale parameter; The image display module is used to transmit the new image data to the ink screen device for display.

9. An electronic device comprising a memory and a processor, wherein the memory includes a computer program that can be run on the processor, characterized in that: When the processor executes the computer program, the image display method of the ink screen as described in any one of claims 1 to 7 is implemented.

10. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the image display method of the ink screen as described in any one of claims 1 to 7 is implemented.

Citation Information

Cited By

  • Digitized ancient painting presentation method driven by Micro-LED micro-display chip

    CN120031771A

  • Micro-LED micro-display chip driven digital presentation method of ancient painting

    CN120031771B