Prism ink screen special-shaped image configuration method and device, terminal equipment and storage medium

By obtaining the profile pattern description file of the Prism ink screen and dividing the sections, the problem of the Prism ink screen special image configuration in the prior art requires customized development of the entire screen, and the simplification and efficiency improvement of segment color adjustment are achieved.

CN120144078AActive Publication Date: 2025-06-13JIANGXI XINGTAI TECH INC
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202510160034.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-02-13
Publication Date
2025-06-13
Estimated Expiration
2045-02-13

AI Technical Summary

Technical Problem

The profile image configuration of the existing Prism ink screen requires customized development of the entire screen, resulting in cumbersome and inconvenient development process.

Method used

By obtaining the profile pattern description file of the Prism ink screen, dividing the sections and generating a mapping library, color adjustments are performed only in the sections that need to be configured, avoiding repeated customization of the entire screen.

Benefits of technology

It realizes color adjustments to specific sections of the Prism ink screen without re-customizing the entire screen, simplifying the configuration process and improving efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120144078A_ABST
    Figure CN120144078A_ABST
Patent Text Reader

Abstract

The invention discloses a configuration method and device for a Prism ink screen special-shaped image, terminal equipment and a storage medium. The method comprises the steps that firstly, an appearance pattern description file of a Prism ink screen to be configured is acquired; then performing section division according to the RGB values, and generating a mapping library according to the serial numbers of the pixel points and the sections; then randomly selecting a target pixel point in a target section needing to be subjected to color configuration, and adjusting the color of the target pixel point to a target color; and finally obtaining the target number of the target pixel point, determining the numbers of the remaining pixel points according to the target number and the mapping library, and adjusting the remaining pixel points in the target section to the target color according to the numbers of the remaining pixel points and the target color. By implementing the method and the device, one pixel point in the target section needing to be subjected to color adjustment can be randomly selected for adjustment, that is, the color adjustment of the target section can be completed, so that the whole configuration process is simpler and more convenient.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of electronic displays, and in particular, to a method, device, terminal device, and storage medium for configuring special-shaped images of a Prism ink screen. Background Art

[0002] The Prism ink screen, also known as Prism TM variable-color electronic paper, is an advanced electronic display technology that has the characteristics of ultra-low power consumption and eye protection and environmental friendliness of an electronic ink screen. At the same time, the Prism ink screen can be freely cut into any shape to achieve the display of different patterns.

[0003] However, since the application of the Prism ink screen is accompanied by the personalized customization and special-shaped design of the overall screen shape and the internal display segments, every time a new Prism screen pattern appears, the program side needs to specifically develop for each pixel point in the entire new Prism screen pattern, which brings a lot of inconvenience to program development and product application. Summary of the Invention

[0004] The present invention provides a method, device, terminal device, and storage medium for configuring special-shaped images of a Prism ink screen, which can perform color adjustment only in the section that needs to be configured, without the need to re-develop the entire Prism ink screen. Moreover, when adjusting this section, only one pixel point in this section needs to be arbitrarily selected, and adjusting the color of this pixel point completes the color adjustment of the section where it is located, making the entire configuration process simpler and more convenient.

[0005] An embodiment of the present invention provides a method for configuring a special-shaped image of a Prism ink screen, including:

[0006] Obtain a profile description file of the shape pattern of the Prism ink screen to be configured; wherein, the profile description file includes: the target configuration pattern of the Prism ink screen to be configured, and the numbers and RGB values of each pixel point in the target configuration pattern; the positions of each pixel point in the target configuration pattern correspond one-to-one with the positions of each pixel point in the Prism ink screen to be configured;

[0007] According to the RGB values, divide the Prism ink screen to be configured into several sections, and generate a mapping library according to the numbers of the pixel points and the sections; wherein, the RGB values of the pixel points in the same section are the same;

[0008] Arbitrarily select a target pixel point in the target section that needs to be color-configured, and adjust the color of the target pixel point to the target color;

[0009] Obtain the target number of the above target pixel points, determine the numbers of the remaining pixel points in the target section where the above target pixel points are located according to the above target number and the above mapping library, and adjust the remaining pixel points in the above target section to the target color according to the numbers of the above remaining pixel points and the above target color.

[0010] Further, after obtaining the profile pattern description file of the to-be-configured Prism e-ink screen, it further includes:

[0011] Obtain the file name of the above profile pattern description file;

[0012] Calculate the first hash value of the above profile pattern description file;

[0013] Extract the actual hash value corresponding to the above file name from the preset file library according to the above file name;

[0014] Compare the above actual hash value with the above first hash value. If the above actual hash value is different from the above first hash value, obtain the above profile pattern description file again.

[0015] Further, the above-mentioned segmentation of the to-be-configured Prism e-ink screen according to the above RGB values to obtain several sections includes:

[0016] Take the pixel points with the same RGB value in the above target configuration pattern as the pixel points in the same section;

[0017] According to the positions of the pixel points in the same section above, correspondingly obtain the pixel points in the same section in the to-be-configured Prism e-ink screen, and then obtain several sections.

[0018] Further, the determination of the above target section includes:

[0019] For each section, obtain the first RGB value of any pixel point in the above section;

[0020] Compare the above first RGB value with the RGB value of the pixel point at the corresponding position in the above target configuration pattern;

[0021] If the above first RGB value is different from the RGB value of the pixel point at the corresponding position in the above target configuration pattern, take the section where the pixel point corresponding to the above first RGB value is located as the above target section; otherwise, the section where the pixel point corresponding to the above first RGB value is located is not used as the above target section.

[0022] Based on the above method item embodiments, the present invention correspondingly provides device item embodiments;

[0023] The present invention provides a device for configuring a special-shaped image of a Prism e-ink screen, including:

[0024] A file acquisition module, a section division module, a target pixel color adjustment module, and a remaining pixel color adjustment module;

[0025] The above-mentioned file acquisition module is used to acquire the shape pattern description file of the to-be-configured Prism e-ink screen; wherein, the above-mentioned shape pattern description file includes: the target configuration pattern of the to-be-configured Prism e-ink screen, and the numbers and RGB values of each pixel in the above-mentioned target configuration pattern; the positions of each pixel in the above-mentioned target configuration pattern correspond one-to-one to the positions of each pixel in the above-mentioned to-be-configured Prism e-ink screen;

[0026] The above-mentioned section division module is used to divide the to-be-configured Prism e-ink screen into several sections according to the above-mentioned RGB values, and generate a mapping library according to the numbers of the above-mentioned pixels and the above-mentioned sections; wherein, the RGB values of the pixels in the same section are the same;

[0027] The above-mentioned target pixel color adjustment module is used to arbitrarily select a target pixel in the target section that needs color configuration, and adjust the color of the above-mentioned target pixel to the target color;

[0028] The above-mentioned remaining pixel color adjustment module is used to obtain the target number of the above-mentioned target pixel, determine the numbers of the remaining pixels in the target section where the above-mentioned target pixel is located according to the above-mentioned target number and the above-mentioned mapping library, and adjust the remaining pixels in the above-mentioned target section to the target color according to the numbers of the above-mentioned remaining pixels and the above-mentioned target color.

[0029] Furthermore, it further includes: a hash value comparison module;

[0030] The above-mentioned hash value comparison module is used to obtain the file name of the above-mentioned shape pattern description file; calculate the first hash value of the above-mentioned shape pattern description file; extract the actual hash value corresponding to the above-mentioned file name from the preset file library according to the above-mentioned file name; compare the above-mentioned actual hash value with the above-mentioned first hash value, and re-acquire the above-mentioned shape pattern description file when the above-mentioned actual hash value is different from the above-mentioned first hash value.

[0031] Furthermore, the above-mentioned section division module includes:

[0032] A pixel division unit and a section acquisition unit;

[0033] The above-mentioned pixel division unit is used to regard the pixels with the same RGB value in the above-mentioned target configuration pattern as the pixels in the same section;

[0034] The above-mentioned section acquisition unit is used to obtain the pixel points in the same section in the to-be-configured Prism e-ink screen corresponding to the positions of the pixel points in the same section, and then obtain several sections.

[0035] Further, the above-mentioned target pixel point color adjustment module includes:

[0036] An RGB value acquisition unit, an RGB value comparison unit, and a target section determination unit;

[0037] The above-mentioned RGB value acquisition unit is used to obtain the first RGB value of any pixel point in each section;

[0038] The above-mentioned RGB value comparison unit is used to compare the first RGB value with the RGB value of the pixel point at the corresponding position in the above-mentioned target configuration pattern;

[0039] The above-mentioned target section determination unit is used to, if the first RGB value is different from the RGB value of the pixel point at the corresponding position in the above-mentioned target configuration pattern, use the section where the pixel point corresponding to the first RGB value is located as the above-mentioned target section; otherwise, the section where the pixel point corresponding to the first RGB value is located is not used as the above-mentioned target section.

[0040] Based on the above method item embodiment, the present invention correspondingly provides a terminal device item embodiment;

[0041] The present invention provides a terminal device, including a processor, a memory, and a computer program stored in the above-mentioned memory and configured to be executed by the above-mentioned processor. When the above-mentioned processor executes the above-mentioned computer program, it implements a method for configuring a special-shaped image of a Prism e-ink screen in any embodiment of the present invention.

[0042] Based on the above method item embodiment, the present invention correspondingly provides a storage medium item embodiment;

[0043] The present invention provides a storage medium, including a processor, a memory, and a computer program stored in the above-mentioned memory and configured to be executed by the above-mentioned processor. When the above-mentioned processor executes the above-mentioned computer program, it implements a method for configuring a special-shaped image of a Prism e-ink screen in any embodiment of the present invention.

[0044] The embodiments of the present invention have the following beneficial effects:

[0045] The present invention provides a method for configuring an irregular image on a Prism e-ink screen. The method includes: first, obtaining a profile description file of the shape pattern of the Prism e-ink screen to be configured; wherein, the profile description file includes: the target configuration pattern of the Prism e-ink screen to be configured, as well as the numbers and RGB values of each pixel point in the target configuration pattern; the positions of each pixel point in the target configuration pattern correspond one-to-one with the positions of each pixel point in the Prism e-ink screen to be configured; subsequently, dividing the Prism e-ink screen to be configured into several sections according to the RGB values, and generating a mapping library according to the numbers of the pixel points and the sections; wherein, the RGB values of the pixel points in the same section are the same; then, arbitrarily selecting a target pixel point in the target section where color configuration is required, and adjusting the color of the target pixel point to the target color; finally, obtaining the target number of the target pixel point, and determining the numbers of the remaining pixel points in the target section where the target pixel point is located according to the target number and the mapping library, and adjusting the remaining pixel points in the target section to the target color according to the numbers of the remaining pixel points and the target color. Therefore, the present invention can perform color adjustment only in the section where configuration is required, without the need to re-customize and develop the entire Prism e-ink screen, and when adjusting this section, only need to arbitrarily select a pixel point in this section and adjust the color of this pixel point to complete the color adjustment of the section where it is located, making the entire configuration process simpler and more convenient. Description of the Drawings

[0046] Figure 1 is a schematic flowchart of a method for configuring an irregular image on a Prism e-ink screen provided by an embodiment of the present invention.

[0047] Figure 2 is a schematic structural diagram of a device for configuring an irregular image on a Prism e-ink screen provided by an embodiment of the present invention. Detailed Embodiments

[0048] Next, the technical solutions in the present invention will be clearly and completely described in conjunction with the drawings in the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all the embodiments. Based on the embodiments in the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.

[0049] As Figure 1 shown, a method for configuring an irregular image on a Prism e-ink screen provided by an embodiment of the present invention includes:

[0050] Step S101: Obtain the profile description file of the Prism e-ink screen to be configured; wherein, the above-mentioned profile description file includes: the target configuration pattern of the Prism e-ink screen to be configured, and the numbers and RGB values of each pixel point in the target configuration pattern; the positions of each pixel point in the target configuration pattern correspond one-to-one with the positions of each pixel point in the Prism e-ink screen to be configured;

[0051] Specifically, each Prism e-ink screen to be configured has a corresponding profile description file, which is used to represent the image result displayed after the configuration of this Prism e-ink screen to be configured. The positions of each pixel point in the target configuration pattern in this profile description file correspond one-to-one with the corresponding e-ink screen, which is convenient for accurately dividing the e-ink screen into sections based on the profile description file during subsequent section division operations, and then facilitating subsequent color adjustment operations.

[0052] In a preferred embodiment, after obtaining the profile description file of the Prism e-ink screen to be configured, it further includes:

[0053] Obtain the file name of the above-mentioned profile description file;

[0054] Calculate the first hash value of the above-mentioned profile description file;

[0055] Extract the actual hash value corresponding to the above-mentioned file name from the preset file library according to the above-mentioned file name;

[0056] Compare the above-mentioned actual hash value with the above-mentioned first hash value. In the case where the above-mentioned actual hash value is different from the above-mentioned first hash value, re-obtain the above-mentioned profile description file.

[0057] Specifically, the hash value is used to check whether data loss or tampering has occurred during the transmission of the obtained profile description file to indicate the integrity of the file. The hash value of the profile description file can be calculated using a hash function.

[0058] Specifically, when the outer shape pattern description file is created, a hash value, i.e., the above-mentioned actual hash value, is obtained. The actual hash value and the file name of this outer shape pattern description file are stored together in the above-mentioned preset file library. When the outer jacket pattern description file needs to be used, a hash value is calculated again based on the obtained file to get the above-mentioned first hash value. Subsequently, based on the file name, the actual hash value corresponding to this outer shape pattern description file can be obtained from the preset file library. By comparing the first hash value with the actual hash value, it can be determined whether the obtained outer shape pattern description file is complete. If the first hash value is different from the actual hash value, it indicates that the obtained outer shape pattern description file is incomplete and needs to be retrieved again; otherwise, it indicates that the obtained outer shape pattern description file is complete and the subsequent operations can be continued.

[0059] In this preferred embodiment, the integrity of the obtained outer shape pattern description file is verified through the file name and hash value of the outer shape pattern description file.

[0060] Step S102: According to the above RGB values, divide the to-be-configured Prism e-ink screen into several sections, and generate a mapping library based on the numbers of the above pixel points and the above sections; wherein, the RGB values of the pixel points within the same section are the same;

[0061] Specifically, in the above mapping library, each pixel point corresponds to a number and also corresponds to a section.

[0062] In a preferred embodiment, the above-mentioned dividing the to-be-configured Prism e-ink screen into several sections according to the above RGB values includes:

[0063] Taking the pixel points with the same RGB values in the above target configuration pattern as the pixel points within the same section;

[0064] According to the positions of the pixel points within the same section, correspondingly obtain the pixel points in the same section in the to-be-configured Prism e-ink screen, and then obtain several sections.

[0065] Specifically, first, in the target configuration pattern in the outer shape pattern description file, determine the pixel points with the same RGB values, and divide these pixel points with the same RGB values into the same section, and then several sections are divided in the target configuration pattern. Since the positions of the pixel points in the target configuration pattern are in one-to-one correspondence with the positions of the pixel points in the Prism e-ink screen, the Prism e-ink screen can be divided into sections according to the sections divided in the target configuration pattern.

[0066] Schematically, if 63 sections are divided according to the RGB values of each pixel, the colors corresponding to each section can be: (0, 0, 0), (1, 1, 1),... (62, 62, 62). Among them, the section with RGB value (0, 0, 0) is one section, the section with RGB value (1, 1, 1) is another section, and so on.

[0067] In this preferred embodiment, the section division of the Prism e-ink screen is achieved through the RGB values of the pixels.

[0068] Step S103: Arbitrarily select a target pixel in the target section that needs color configuration, and adjust the color of the above target pixel to the target color;

[0069] In a preferred embodiment, the determination of the above target section includes:

[0070] For each section, obtain the first RGB value of any pixel in the above section;

[0071] Compare the above first RGB value with the RGB value of the pixel at the corresponding position in the above target configuration pattern;

[0072] If the above first RGB value is different from the RGB value of the pixel at the corresponding position in the above target configuration pattern, then the section where the pixel corresponding to the above first RGB value is located is used as the above target section; otherwise, the section where the pixel corresponding to the above first RGB value is located is not used as the above target section.

[0073] Specifically, when the above first RGB value is different from the RGB value of the pixel at the corresponding position in the target configuration pattern, it indicates that the pixel corresponding to the first RGB value needs to be color-adjusted, and the section corresponding to this pixel is the target section that needs to be color-adjusted.

[0074] In this preferred embodiment, according to the comparison result between the first RGB value of the pixel in the section divided in the Prism e-ink screen and the RGB value of the pixel at the corresponding position in the target configuration pattern, the target section that needs to be color-adjusted is determined.

[0075] Step S104: Obtain the target number of the above target pixel, determine the numbers of the remaining pixels in the target section where the above target pixel is located according to the above target number and the above mapping library, and adjust the remaining pixels in the above target section to the target color according to the numbers of the above remaining pixels and the above target color.

[0076] Specifically, each pixel has a number. Therefore, according to the target number of the target pixel, the corresponding target section of the pixel can be determined in the generated mapping library. Then, based on this target section, the numbers of the remaining pixels to be adjusted in this section can be obtained. Subsequently, according to the RGB values of the target color to which the target pixel is adjusted, the RGB values of the remaining pixels to be adjusted can also be adjusted to the RGB values of the target color, thus completing the adjustment of the color of the target section. By adjusting the colors of each target section, a Prism e-ink screen with a configured special-shaped image is finally obtained.

[0077] Based on the above method embodiment, the present invention correspondingly provides an apparatus embodiment.

[0078] As Figure 2 shown, an embodiment of the present invention provides a device for configuring a special-shaped image of a Prism e-ink screen, including:

[0079] A file acquisition module, a section division module, a target pixel color adjustment module, and a remaining pixel color adjustment module;

[0080] The above file acquisition module is used to acquire the shape pattern description file of the Prism e-ink screen to be configured; wherein, the above shape pattern description file includes: the target configuration pattern of the Prism e-ink screen to be configured, and the numbers and RGB values of each pixel in the above target configuration pattern; the positions of each pixel in the above target configuration pattern correspond one-to-one to the positions of each pixel in the above Prism e-ink screen to be configured;

[0081] The above section division module is used to divide the Prism e-ink screen to be configured into several sections according to the above RGB values, and generate a mapping library according to the numbers of the above pixels and the above sections; wherein, the RGB values of the pixels in the same section are the same;

[0082] The above target pixel color adjustment module is used to arbitrarily select a target pixel in the target section that needs color configuration, and adjust the color of the above target pixel to the target color;

[0083] The above remaining pixel color adjustment module is used to obtain the target number of the above target pixel, determine the numbers of the remaining pixels in the target section where the above target pixel is located according to the above target number and the above mapping library, and adjust the remaining pixels in the above target section to the target color according to the numbers of the above remaining pixels and the above target color.

[0084] In a preferred embodiment, it further includes: a hash value comparison module;

[0085] The above hash value comparison module is used to obtain the file name of the above shape pattern description file; calculate the first hash value of the above shape pattern description file; extract the actual hash value corresponding to the above file name from the preset file library according to the above file name; compare the above actual hash value with the above first hash value, and if the above actual hash value is different from the above first hash value, obtain the above shape pattern description file again.

[0086] In another preferred embodiment, the above section division module includes:

[0087] A pixel point division unit and a section obtaining unit;

[0088] The above pixel point division unit is used to take the pixel points with the same RGB value in the above target configuration pattern as the pixel points within the same section;

[0089] The above section obtaining unit is used to correspondingly obtain the pixel points in the same section in the above to-be-configured Prism ink screen according to the positions of the pixel points in the same section, and then obtain several sections.

[0090] In another preferred embodiment, the above target pixel point color adjustment module includes:

[0091] An RGB value obtaining unit, an RGB value comparison unit, and a target section determination unit;

[0092] The above RGB value obtaining unit is used to obtain the first RGB value of any pixel point within each section;

[0093] The above RGB value comparison unit is used to compare the above first RGB value with the RGB value of the pixel point at the corresponding position in the above target configuration pattern;

[0094] The above target section determination unit is used to, if the above first RGB value is different from the RGB value of the pixel point at the corresponding position in the above target configuration pattern, take the section where the pixel point corresponding to the above first RGB value is located as the above target section; otherwise, the section where the pixel point corresponding to the above first RGB value is located is not used as the above target section.

[0095] It should be noted that the device embodiments described above are merely illustrative. Among them, the modules described as separate components may or may not be physically separated. The components shown as modules may or may not be physical modules, that is, they may be located in one place or distributed to multiple network units. Some or all of the modules can be selected according to actual needs to achieve the purpose of the solution of this embodiment. In addition, in the attached drawings of the device embodiments provided by the present invention, the connection relationship between the modules indicates that they have a communication connection, which can be specifically implemented as one or more communication buses or signal lines. Those of ordinary skill in the art can understand and implement it without creative efforts. The above schematic diagram is only an example of a configuration device for Prism ink screen special-shaped images, and does not constitute a limitation on a configuration device for Prism ink screen special-shaped images. It may include more or fewer components than shown in the figure, or combine some components, or different components.

[0096] Based on the above method item embodiments, the present invention correspondingly provides terminal device item embodiments.

[0097] Another embodiment of the present invention provides a terminal device, including a processor, a memory, and a computer program stored in the above memory and configured to be executed by the above processor. When the above processor executes the above computer program, it implements the configuration method of a Prism ink screen special-shaped image in any one of the above embodiments of the present invention.

[0098] Exemplarily, in this embodiment, the above computer program can be divided into one or more modules. The above one or more modules are stored in the above memory and executed by the above processor to complete the present invention. The above one or more module elements can be a series of computer program instruction segments capable of completing specific functions, and the instruction segments are used to describe the execution process of the above computer program in the above device;

[0099] The above terminal device can be computing devices such as a desktop computer, a notebook, a palm computer, and a cloud server. The above device may include, but is not limited to, a processor and a memory;

[0100] The so-called processor may be a central processing module (Central Processing Unit, CPU), or may also be other general-purpose processors, digital signal processors (Digital Signal Processor, DSP), application specific integrated circuits (Application Specific Integrated Circuit, ASIC), field-programmable gate arrays (Field-Programmable Gate Array, FPGA), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc. The above-mentioned processor is the control center of the above-mentioned device, and connects various parts of the entire device through various interfaces and lines;

[0101] The above-mentioned memory can be used to store the above-mentioned computer programs and / or modules. The above-mentioned processor realizes various functions of the above-mentioned device by running or executing the computer programs and / or modules stored in the above-mentioned memory, and by calling the data stored in the memory. The above-mentioned memory mainly includes a program storage area and a data storage area. Among them, the program storage area can store an operating system, application programs required for at least one function, etc.; in addition, the memory can include high-speed random access memory, and can also include non-volatile memory, such as a hard disk, memory, plug-in hard disk, smart media card (Smart Media Card, SMC), secure digital (Secure Digital, SD) card, flash card (Flash Card), at least one magnetic disk storage device, flash memory device, or other volatile solid-state storage devices.

[0102] Based on the above method embodiment, the present invention correspondingly provides a storage medium embodiment.

[0103] Another embodiment of the present invention provides a storage medium. The above storage medium includes a stored computer program, wherein when the above computer program runs, it controls the device where the above storage medium is located to execute the configuration method of a Prism ink screen special-shaped image in any one of the above embodiments of the present invention.

[0104] In this embodiment, the above storage medium is a computer-readable storage medium, and the above computer program includes computer program code, which can be in the form of source code, object code, executable file or some intermediate form, etc. The above computer-readable medium can include: any entity or device capable of carrying the above computer program code, recording medium, USB flash drive, mobile hard disk, magnetic disk, optical disk, computer memory, read-only memory (ROM), random access memory (RAM), electrical carrier signal, telecommunication signal, and software distribution medium, etc.

[0105] Compared with the prior art, by implementing the above various embodiments of the present invention, color adjustment can be performed only on the section that needs to be configured, without the need to re-customize and develop the entire Prism ink screen. And when adjusting this section, only one pixel point within this section needs to be arbitrarily selected, and adjusting the color of this pixel point completes the color adjustment of the section where it is located, making the entire configuration process simpler and more convenient.

[0106] The above is the preferred embodiment of the present invention. It should be noted that for those of ordinary skill in the art, without departing from the principle of the present invention, several improvements and refinements can be made, and these improvements and refinements are also regarded as the protection scope of the present invention.

Claims

1. A method for configuring a Prism ink screen special-shaped image, characterized in that: include: Obtaining an outline pattern description file of the Prism ink screen to be configured; wherein the outline pattern description file includes: a target configuration pattern of the Prism ink screen to be configured, and a number and RGB value of each pixel in the target configuration pattern; a one-to-one correspondence between the position of each pixel in the target configuration pattern and the position of each pixel in the Prism ink screen to be configured; According to the RGB values, the Prism ink screen to be configured is segmented to obtain a plurality of segments, and a mapping library is generated according to the numbers of the pixel points and the segments; wherein the RGB values ​​of the pixel points in the same segment are the same; Randomly select a target pixel point in the target segment that needs to be color configured, and adjust the color of the target pixel point to the target color; Obtain a target number for the target pixel, determine the numbers of the remaining pixels in the target segment where the target pixel is located according to the target number and the mapping library, and adjust the remaining pixels in the target segment to the target color according to the numbers of the remaining pixels and the target color.

2. A method for configuring a Prism ink screen special-shaped image according to claim 1, characterized in that: After obtaining the appearance pattern description file of the Prism ink screen to be configured, the method further includes: Obtain the file name of the shape pattern description file; Calculate a first hash value of the shape pattern description file; Extracting the actual hash value corresponding to the file name from a preset file library according to the file name; The actual hash value is compared with the first hash value, and if the actual hash value is different from the first hash value, the appearance pattern description file is retrieved.

3. A method for configuring a Prism ink screen special-shaped image according to claim 2, characterized in that: According to the RGB values, the Prism ink screen to be configured is segmented to obtain a plurality of segments, including: Pixels with the same RGB value in the target configuration pattern are regarded as pixels in the same segment; According to the positions of the pixels in the same section, the corresponding pixels in the same section of the Prism ink screen to be configured are obtained, and then a plurality of sections are obtained.

4. A method for configuring a Prism ink screen special-shaped image according to claim 3, characterized in that: The determination of the target segment includes: For each segment, obtaining a first RGB value of any pixel in the segment; Comparing the first RGB value with the RGB value of a pixel at a corresponding position in the target configuration pattern; If the first RGB value is different from the RGB value of the pixel at the corresponding position in the target configuration pattern, the segment where the pixel corresponding to the first RGB value is located is used as the target segment; otherwise, the segment where the pixel corresponding to the first RGB value is located is not used as the target segment.

5. A device for configuring special-shaped images on a Prism ink screen, characterized in that: include: A file acquisition module, a segment division module, a target pixel color adjustment module, and a remaining pixel color adjustment module; The file acquisition module is used to acquire an appearance pattern description file of the Prism ink screen to be configured; wherein the appearance pattern description file includes: a target configuration pattern of the Prism ink screen to be configured, and a number and an RGB value of each pixel in the target configuration pattern; and a one-to-one correspondence between the position of each pixel in the target configuration pattern and the position of each pixel in the Prism ink screen to be configured; The segment division module is used to segment the Prism ink screen to be configured according to the RGB value to obtain a plurality of segments, and generate a mapping library according to the number of the pixel points and the segments; wherein the RGB values ​​of the pixels in the same segment are the same; The target pixel color adjustment module is used to select a target pixel at random in the target section that needs to be color configured, and adjust the color of the target pixel to the target color; The remaining pixel color adjustment module is used to obtain the target number of the target pixel, determine the number of the remaining pixels in the target segment where the target pixel is located according to the target number and the mapping library, and adjust the remaining pixels in the target segment to the target color according to the remaining pixel number and the target color.

6. A device for configuring a Prism ink screen special-shaped image according to claim 5, characterized in that: Also includes: Hash value comparison module; The hash value comparison module is used to obtain the file name of the shape pattern description file; Calculate a first hash value of the shape pattern description file; Extracting the actual hash value corresponding to the file name from a preset file library according to the file name; The actual hash value is compared with the first hash value, and if the actual hash value is different from the first hash value, the appearance pattern description file is retrieved.

7. The device for configuring a Prism ink screen special-shaped image according to claim 6, characterized in that: The segment division module comprises: Pixel point division unit and segment acquisition unit; The pixel point division unit is used to treat the pixel points with the same RGB value in the target configuration pattern as the pixel points in the same segment; The segment acquisition unit is used to obtain the corresponding pixel points in the same segment in the Prism ink screen to be configured according to the positions of the pixel points in the same segment, and then obtain a plurality of segments.

8. The device for configuring a Prism ink screen special-shaped image according to claim 7, characterized in that: The target pixel color adjustment module includes: RGB value acquisition unit, RGB value comparison unit and target segment determination unit; The RGB value acquisition unit is used to acquire, for each segment, a first RGB value of any pixel point in the segment; The RGB value comparison unit is used to compare the first RGB value with the RGB value of the pixel point at the corresponding position in the target configuration pattern; The target segment determination unit is used to, if the first RGB value is different from the RGB value of the pixel at the corresponding position in the target configuration pattern, use the segment where the pixel corresponding to the first RGB value is located as the target segment; otherwise, the segment where the pixel corresponding to the first RGB value is located is not used as the target segment.

9. A terminal device, characterized in that: The invention comprises a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, wherein when the processor executes the computer program, a method for configuring a Prism ink screen special-shaped image is implemented as described in any one of claims 1 to 4.

10. A storage medium, characterized in that: The storage medium includes a stored computer program, wherein when the computer program is executed, the device where the storage medium is located is controlled to execute a method for configuring a Prism ink screen special-shaped image as described in any one of claims 1 to 4.

Citation Information

Patent Citations

  • Image display processing method and image display processing device

    CN114513650A

  • Display device and color filling method

    CN115129214A

  • Image display method and device of ink screen, equipment and storage medium

    CN117037724A

  • Color adjusting method, color adjusting device, electronic equipment and readable medium

    CN119071406A

  • Varying effective resolution by screen location by changing active color sample count within multiple render targets

    US20210272348A1