Image color enhancement method, system, related devices and computer program product
By calculating the chromaticity values of the new primary colors and adjusting the brightness compensation, a new primary color channel image aligned with the RGB image space is generated, solving the problem of insufficient color gamut coverage in traditional RGB display systems and achieving a high-precision color enhancement effect.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- HEFEI FULL COLOR LIGHT DISPLAY TECH CO LTD
- Filing Date
- 2026-04-27
- Publication Date
- 2026-07-21
AI Technical Summary
Traditional RGB three-primary-color display systems have limited color gamut coverage and cannot achieve accurate and lossless reproduction of high-saturation colors. Existing multi-primary-color display technologies cannot make adaptive adjustments according to the characteristics of image content, resulting in color reproduction distortion and poor user viewing experience.
By calculating the new primary color chromaticity value of each pixel, a new primary color channel image aligned with the spatial position of the RGB image is generated. A multi-primary color mixing system is used for color enhancement, and brightness compensation adjustment is combined to achieve image fusion, avoiding color distortion and misalignment.
It enables customized color control based on image content, improving the accuracy and flexibility of color control, avoiding local distortion caused by global control, and enhancing color enhancement effects.
Smart Images

Figure CN122434799A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the fields of image processing and image display technology, and more specifically, to an image color enhancement method, system, related equipment, and computer program product. Background Technology
[0002] With the rapid iteration and upgrading of the ultra-high-definition display industry, color fidelity has become a core indicator for measuring the overall performance of a display system. Among these indicators, color gamut coverage is a key factor determining the upper limit of a display system's color reproduction capability. Traditional red, green, and blue (RGB) three-primary-color display systems, constrained by the theoretical boundaries of additive color mixing principles, cannot achieve accurate and lossless reproduction of high-saturation colors across the entire visible spectrum, making it difficult to meet the rigid demands for high-fidelity color presentation in professional film and television production, medical imaging diagnosis, and high-end consumer electronics.
[0003] To address the issues of limited color gamut coverage and distortion in high-saturation color reproduction in traditional three-primary-color display systems, existing technologies generally employ multi-primary-color display solutions. This involves introducing a fourth or more characteristic wavelength primary colors into the traditional red, green, and blue three-primary-color system, thereby breaking through the color gamut boundary limitations of the traditional RGB three-primary-color mixing system.
[0004] However, most existing multi-primary-color display technologies focus only on maximizing the expansion of the color gamut boundary of the display hardware, or adopt fixed color gamut mapping rules or preset empirical parameters. They can only achieve passive color reproduction within a fixed color gamut space and cannot make adaptive adjustments according to the content characteristics of the input image. This leads to problems such as mismatch between the image's native color gamut and the target display color gamut, color shift, color reproduction distortion, and color layering. The color enhancement effect is limited, which seriously restricts the application effect of multi-primary-color display technology in real image scenarios and the user viewing experience. Summary of the Invention
[0005] In view of the above problems, this application is made to provide an image color enhancement method, system, related equipment, and computer program product to enhance color enhancement effects. The specific solution is as follows:
[0006] In a first aspect, this application provides an image color enhancement method, including:
[0007] Obtain the RGB image to be processed;
[0008] Based on the difference between the hue attribute of each pixel in the RGB image to be processed and the hue attribute of the preset new primary color, the chromaticity value of the new primary color of each pixel is calculated, and the chromaticity value represents the intensity of color enhancement of the pixel using the new primary color;
[0009] Based on the chromaticity value of the new primary color corresponding to each pixel, a new primary color channel image is generated that is aligned with the spatial position of the RGB image to be processed. The new primary color channel image is used to fuse with the RGB image to be processed to obtain a color-enhanced image.
[0010] In one possible design, in another implementation of the first aspect of the embodiments of this application, the color appearance parameters of each pixel include: lightness, chroma and hue angle;
[0011] The process of calculating the chromaticity value of the new primary color for each pixel based on the difference between the hue attribute of each pixel and the hue attribute of the preset new primary color includes:
[0012] Based on the preset reference hue angle of the new primary color, determine the hue attribute difference value between the hue angle of each pixel and the reference hue angle;
[0013] Determine the hue feature weight corresponding to the preset difference interval where the hue attribute difference value of each pixel is located;
[0014] The chromaticity value of the new primary color of the pixel is calculated based on the brightness, chromaticity, and hue feature weight of the pixel.
[0015] In one possible design, in another implementation of the first aspect of the embodiments of this application, the method further includes:
[0016] The RGB channel signals of the RGB image to be processed are adjusted for brightness compensation to obtain an adjusted RGB channel image; then the new primary color channel image is used to fuse with the adjusted RGB channel image to obtain a color-enhanced image.
[0017] In one possible design, in another implementation of the first aspect of the embodiments of this application, the process of performing brightness compensation adjustment on the RGB channel signals of the RGB image to be processed to obtain the adjusted RGB channel image includes:
[0018] While maintaining the consistency of the total brightness of each pixel in the RGB image to be processed before and after enhancement, the brightness of the RGB image to be processed is adjusted according to the brightness value of each pixel in each new primary color channel image to obtain the adjusted RGB channel image.
[0019] In one possible design, in another implementation of the first aspect of the embodiments of this application, the new primary color includes: cyan.
[0020] Secondly, this application provides an image color enhancement system, including: a first projector, a second projector, a projection screen, a beam combining device, and an image processing module;
[0021] The image processing module is configured to execute the image color enhancement method described in any of the first aspects of this application to obtain an RGB image and a new primary color channel image corresponding to the RGB image; and to transmit the RGB image and the new primary color channel image to the first projector and the second projector respectively for projection;
[0022] After the optical axes of the first projector and the second projector are combined by the beam combining device, the RGB image projected by the first projector and the new primary color channel image projected by the second projector overlap and superimpose on the projection screen to display a color-enhanced image obtained by fusing the RGB image and the new primary color channel image.
[0023] In one possible design, in another implementation of the second aspect of the embodiments of this application, it further includes: a laser module for providing a primary color illumination source that matches the new primary color to the second projector.
[0024] Thirdly, this application provides an electronic device, including: a memory and a processor;
[0025] The memory is used to store programs;
[0026] The processor is configured to execute the program to implement the image color enhancement method described in any of the first aspects of this application.
[0027] Fourthly, this application provides a readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the image color enhancement method described in any of the first aspects of this application.
[0028] Fifthly, this application provides a computer program product, including a computer program that, when executed by a processor, implements the image color enhancement method described in any of the first aspects of this application.
[0029] By employing the aforementioned technical solution, the image color enhancement method proposed in this application first dynamically calculates the chromaticity value of the new primary color pixel-by-pixel based on the difference in hue attributes between each pixel in the RGB image to be processed and the new primary color. This eliminates globally fixed mapping rules and preset empirical parameters, achieving proactive and customized color control based on image content. This effectively avoids local distortion caused by global control and improves the accuracy and flexibility of color control. Subsequently, a new primary color channel image is generated based on the pixel-by-pixel chromaticity value of the new primary color, perfectly aligned with the pixel spatial position of the original RGB image, avoiding color crosstalk and distortion caused by fusion misalignment. Finally, the new primary color channel image and the RGB image to be processed are fused pixel-by-pixel, realizing color enhancement of the RGB image through a multi-primary-color mixing system. Attached Figure Description
[0030] Various other advantages and benefits will become apparent to those skilled in the art upon reading the following detailed description of preferred embodiments. The accompanying drawings are for illustrative purposes only and are not intended to limit the scope of this application. Furthermore, the same reference numerals denote the same parts throughout the drawings. In the drawings:
[0031] Figure 1 A schematic diagram of an implementation system architecture for the image color enhancement method provided in this application embodiment;
[0032] Figure 2 A flowchart illustrating an image color enhancement method provided in an embodiment of this application;
[0033] Figure 3 A flowchart illustrating the computational process provided in this application embodiment;
[0034] Figure 4 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. Detailed Implementation
[0035] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0036] This application provides an image color enhancement method, and the image color enhancement method of this application embodiment will be described in detail below with reference to the accompanying drawings.
[0037] See Figure 1 , Figure 1A schematic diagram of a system architecture is shown. The system may include a terminal 100 and a server 200, wherein the server 200 may include one or more servers (…). Figure 1 (This example uses a server as an illustration).
[0038] Either terminal 100 or server 200 can be used independently to execute the image color enhancement method provided in the embodiments of this application. Alternatively, terminal 100 and server 200 can also be used collaboratively to execute the question-and-answer method provided in the embodiments of this application.
[0039] In this application embodiment, the terminal 100 can be a mobile phone, tablet computer, teaching large screen, wearable device, vehicle-mounted device, conference terminal, augmented reality (AR) / virtual reality (VR) device, laptop computer, ultra-mobile personal computer (UMPC), netbook, personal digital assistant (PDA), etc., and this application embodiment does not impose any restrictions on it.
[0040] This application provides an image color enhancement method, which is illustrated by applying the method to a computer device. Specifically, the computer device may be... Figure 1 The system consists of terminal 100 or a combination of terminal 100 and server 200. (Refer to...) Figure 2 The present application provides a schematic flowchart of an image color enhancement method, which may include steps S110 to S130, and these steps are described in detail below.
[0041] Step S110: Obtain the RGB image to be processed.
[0042] This step acquires the RGB image to be processed through image acquisition devices (such as cameras, webcams), network transmission, and storage devices (such as hard drives, servers, and mobile storage media). Simultaneously, it analyzes the basic parameters of the RGB image, such as the pixel matrix, resolution, and color channels, converting the image data into a digital signal format that can be recognized and processed in subsequent steps.
[0043] In this process, each pixel of the RGB image to be processed is represented by a combination of the brightness values of the three channels: red (R), green (G), and blue (B), thus presenting different colors. Optionally, the attribute information of the RGB image to be processed can be obtained by using a colorimeter's measured parameter table.
[0044] Step S120: Calculate the chromaticity value of the new primary color for each pixel based on the difference between the hue attribute of each pixel in the RGB image to be processed and the hue attribute of the preset new primary color.
[0045] The preset new primary color is a target primary color pre-set according to the color enhancement requirements. For example, if cyan needs to be enhanced, the preset new primary color is cyan, and its hue value, also known as the hue angle value Hc, is preset to 172°. The hue value of the preset new primary color can be generated through system parameter configuration, manual user input, or adaptive algorithm generation. This step quantifies the difference between the hue of each pixel in the RGB image to be processed and the hue of the preset new primary color, and then calculates the chromaticity value of the new primary color corresponding to each pixel, achieving accurate differentiation of the color enhancement intensity of different pixels.
[0046] For details, please refer to Figure 3 The flowchart shown illustrates the implementation process of this step in detail. First, a color space conversion algorithm is used to convert the RGB values of each pixel (...). In a uniform color space intermediate conversion The color and appearance parameters are further obtained by converting them to polar coordinates. Among them, brightness ( ), chroma ( The color angle (H) is used to characterize the color category of a pixel.
[0047] For example, the RGB color value of a pixel p in the RGB image to be processed is [R, G, B], the color depth of the image acquisition device or image display device is 8-bit, and the gamma value of the three channels is (γ). R γ G ,γ B If the tristimulus value of that pixel is... Specifically, refer to equation (1) below. Convert each pixel's tristimulus values to polar coordinates to obtain... .
[0048] (1)
[0049] Furthermore, based on the preset reference hue angle of the new primary color, the hue attribute difference value between the hue angle of each pixel and the reference hue angle is determined; the hue feature weight corresponding to the preset difference interval where the hue attribute difference value of each pixel is located is determined; and the chroma value of the new primary color of the pixel is calculated based on the brightness, saturation and hue feature weight of the pixel.
[0050] The hue attribute difference value is the hue angle value H of the pixel. p Angle H of reference hue with the new base colorc The difference between them, i.e., ΔH=H p -H c Based on the preset difference range where ΔH corresponds to each pixel, the hue feature weight value f(H) of each pixel is determined.
[0051] In this embodiment, the new primary color hue angle value Hc is used as the hue reference center. If the hue angle of a pixel is related to Hc... c Color scheme (H) p =H c (ΔH=0), indicating that this pixel does not require color enhancement processing based on this new primary color dimension, and the corresponding hue feature weight value is f(H). p )=f(H c If ΔH = 0, the final calculated chromaticity value of the new primary color for that pixel is also 0. Conversely, if there is a deviation between the pixel's hue angle and the new primary color reference hue, i.e., ΔH ≠ 0, it indicates that the pixel needs targeted color enhancement at the new primary color level. At the same time, based on the preset difference range in which ΔH falls, the enhancement type (reverse enhancement or forward enhancement) and the color enhancement magnitude of the pixel can be further determined. The specific hue feature weight calculation can be referred to the following formula (2).
[0052] (2)
[0053] In the embodiments of this application, (H) l H r ) is based on H c The central color gradation range, with an example value of H. l =H c -60°, H r =H c +60°, where "60°" is only an example value and the actual application can be customized according to the color correction requirements.
[0054] Based on this, if H p <H l Or H p >H r If |ΔH|>60°, it indicates that the hue of pixel p deviates significantly from the hue of the new primary color. Performing hue adjustment on such pixels can easily cause image color distortion. Therefore, the hue feature weight value corresponding to such pixels is assigned to 0, and no color enhancement is performed on this new primary color dimension. If H l ≤H p ≤H c or H c ≤H p ≤H rIf |ΔH| < 60°, it means that the original hue of the pixel is similar to the hue of the new primary color, and using the new primary color for hue correction can achieve an effective color enhancement effect; at this time, combined with the pixel hue angle H... p The tonal feature weight value of the corresponding pixel is calculated based on its position relative to the boundary of the interval.
[0055] After determining the hue feature weight value corresponding to each pixel, the chromaticity value of the new primary color of each pixel is calculated according to the following formula (3). The chromaticity value represents the intensity of color enhancement for that pixel using the new primary color.
[0056] (3)
[0057] Where k0=1 / A is the normalization coefficient, and A is the normalization coefficient found in the original RGB color gamut. The largest value.
[0058] Step S130: Generate a new primary color channel image that is aligned with the spatial position of the RGB image to be processed, based on the chromaticity value of the new primary color corresponding to each pixel.
[0059] This step generates a new primary color channel image that corresponds one-to-one with the spatial location of the original image based on the chromaticity value of each pixel, and clarifies that the purpose of this channel image is to be fused with the RGB image to be processed, ultimately achieving color enhancement.
[0060] Specifically, the size of the new primary color channel image can be determined based on the resolution and pixel arrangement of the RGB image to be processed, ensuring that it is perfectly aligned with the spatial position of the RGB image to be processed. It can be understood that the position of each pixel in the new primary color channel image corresponds one-to-one with the spatial position of the RGB image to be processed. Further, based on the intensity of color enhancement using the new primary color, represented by the chromaticity value of each pixel obtained in step S120, the pixel is enhanced with the new primary color to obtain the new primary color channel image. ,like Figure 3 The image in the C channel is used to enhance the image of all pixels in the entire image under the new primary color of cyan.
[0061] For example, γC represents the gamma value of the new primary color channel. The pixel can be enhanced with the new primary color using the following formula (4) to obtain the signal value C of pixel p in the new primary color channel. p By integrating the signal values of all pixels in the new primary color channel, the new primary color channel image corresponding to the RGB image to be processed is obtained.
[0062] (4)
[0063] In addition, the new primary color channel image can be optimized. For example, smoothing processing (such as mean filtering) can be used to eliminate noise caused by abrupt changes in chroma values, ensuring a smooth transition of pixel values in the new primary color channel image and avoiding problems such as color banding and patches after subsequent fusion.
[0064] Finally, the new primary color channel image is fused with the RGB image to be processed. During the fusion process, the colors of the corresponding pixels in the RGB image to be processed are adjusted according to the chromaticity values of the new primary color channel image, so as to achieve accurate color enhancement based on the preset new primary color and finally obtain the color-enhanced image.
[0065] Before fusing the new primary color channel image with the RGB image to be processed, the RGB channel signal of the RGB image to be processed can be adjusted for brightness compensation to obtain the adjusted RGB channel image; then the adjusted RGB channel image is fused with the new primary color channel image to obtain the color-enhanced image.
[0066] Understandably, compensatory optimization and adjustment are performed on the original brightness signals of the red, green, and blue channels of the RGB image to be processed, generating a brightness-adapted RGB channel image. This provides a balanced base image for subsequent fusion with the new primary color channel image, avoiding brightness anomalies after color enhancement and improving the visual naturalness of color enhancement.
[0067] In one optional brightness compensation implementation, the independent brightness signals of the R, G, and B channels of the RGB image to be processed can be extracted first to obtain the original brightness values of the three channels for each pixel. Next, the chromaticity distribution characteristics of the new primary color channel image generated in step S130 are combined to determine the baseline parameters for brightness compensation. Then, the brightness compensation of the RGB three-channel signals is adjusted independently or collaboratively, with the compensation rules matching the enhancement intensity of the new primary color to avoid sudden changes in brightness in a single channel. Finally, the adjusted three-channel signals are recombined to generate an adjusted RGB channel image that is completely aligned with the size and spatial position of the original RGB image to be processed, for use in subsequent fusion steps.
[0068] In another alternative brightness compensation implementation, under the constraint of keeping the total brightness of each pixel in the RGB image to be processed consistent before and after enhancement, the brightness of the RGB image to be processed is adjusted according to the brightness value of each pixel in each new primary color channel image to obtain the adjusted RGB channel image.
[0069] This embodiment, under the constraint of constant total pixel brightness, that is, consistent total brightness before and after brightness compensation, uses the pixel value of the new primary color channel image as a basis to perform fine brightness adjustment on the original image, so as to achieve color enhancement while ensuring that the overall and local brightness of the image does not shift.
[0070] Specifically, it can be implemented in ( Indicates the brightness of the new primary color. Under the constraint of (representing the brightness of pixel p in the RGB image), the color adjustment coefficient of each pixel in the RGB image to be processed is calculated with reference to the following formula (5). This leads to the adjusted RGB channel image. .
[0071] (5)
[0072] Finally, the adjusted RGB channel image With new primary color channel image The images are blended to obtain a color-enhanced RGB2 image: .
[0073] This application also provides an image color enhancement system for implementing the image color enhancement method proposed above. The system includes a first projector, a second projector, a projection screen, a beam combiner, and an image processing module. Essentially, this image color enhancement system is a multi-primary-color laser projection display system, where the type and number of primary colors used can be determined according to actual needs. In this embodiment, cyan is selected as the new primary color, and R, G, and B are the original three primary colors, constructing a four-primary-color laser projection display system with wavelengths of 460, 504, 518, and 640 nm.
[0074] The image processing module can be implemented as a computer device, an embedded processing board, or a dedicated image processing chip, etc. Specifically, the computer device can be... Figure 1 The terminal 100 or a system consisting of the terminal 100 and the server 200 is included. The image processing module integrates features such as an image acquisition interface and an HDMI signal output interface, and has built-in preset image color enhancement methods, enabling it to quickly complete image processing and signal transmission.
[0075] Understandably, the image processing module is the core of the entire system's control and computation. It is responsible for executing any of the image color enhancement methods described above, completing image acquisition, processing, and channel image generation to obtain the RGB image and the corresponding new primary color channel image. Then, through different HDMI signal output interfaces, it transmits the RGB image and the new primary color channel image to the first and second projectors for projection, respectively.
[0076] The first projector receives the RGB image signal or the adjusted RGB channel image signal transmitted by the image processing module, and projects the RGB image clearly and accurately onto the beam combiner, providing the projection basis of the original RGB image for the final image fusion. The second projector receives the new primary color channel image signal transmitted by the image processing module, and projects the new primary color channel image as a light signal onto the beam combiner. This new primary color channel image, combined with the RGB image light signal projected by the first projector, provides the light signal basis for color enhancement for image fusion. Additionally, the system may include a laser module to provide a primary color illumination source (such as a cyan laser) for the second projector, ensuring the accurate color of the projected new primary color channel image.
[0077] The two light signals (RGB image light signal and new primary color channel image light signal) projected by the first projector and the second projector are combined in the beam combining device to ensure that the optical axes of the two light signals coincide, thereby enabling the two images to be accurately superimposed.
[0078] The beam combining device can employ optical components such as a semi-transparent mirror and a polarizing beam combiner. Its core structure must be compatible with the projection direction and optical axis angle of the two projectors. When the RGB image light signal from the first projector and the new primary color channel image light signal from the second projector are projected onto the beam combining device, the beam combining device calibrates and combines the two light signals through the principles of optical reflection and refraction, adjusting the propagation direction of the two light beams so that the optical axes of the two light beams are completely aligned, and the intensity and phase of the light signals are kept matched to avoid problems such as superposition, misalignment, and ghosting. The combined light signal will be projected onto the projection screen along a unified optical axis direction.
[0079] Finally, the projection screen receives the combined light signal projected by the beam combining device, and reflects or transmits the light signal after superimposing the RGB image and the new primary color channel image to form a visualized color-enhanced image for the user to observe.
[0080] This application also provides an electronic device in its embodiments. (See reference...) Figure 4 The diagram illustrates a structural schematic suitable for implementing the electronic device in the embodiments of this application. The electronic device in the embodiments of this application may include, but is not limited to, fixed terminals such as mobile phones, tablets, large-screen teaching displays, wearable devices, etc. Figure 4 The electronic device shown is merely an example and should not impose any limitation on the functionality and scope of use of the embodiments of this application.
[0081] like Figure 4As shown, the electronic device may include a processing unit (e.g., a central processing unit, a graphics processing unit, etc.) 1, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 2 or a program loaded from a storage device 8 into a random access memory (RAM) 3, to implement the image color enhancement method of the foregoing embodiments of this application. When the electronic device is powered on, the RAM 3 also stores various programs and data required for the operation of the electronic device. The processing unit 1, ROM 2, and RAM 3 are interconnected via a bus 4. An input / output (I / O) interface 5 is also connected to the bus 4.
[0082] Typically, the following devices can be connected to I / O interface 5: input devices 6 including, for example, touchscreens, touchpads, keyboards, mice, cameras, microphones, accelerometers, gyroscopes, etc.; output devices 7 including, for example, liquid crystal displays (LCDs), speakers, vibrators, etc.; storage devices 8 including, for example, memory cards, hard drives, etc.; and communication devices 9. Communication device 9 allows electronic devices to communicate wirelessly or wiredly with other devices to exchange data. Although Figure 4 Electronic devices with various devices are shown, but it should be understood that it is not required to implement or have all of the devices shown. More or fewer devices may be implemented or have alternatively.
[0083] This application also provides a computer program product including computer-readable instructions, which, when executed on an electronic device, cause the electronic device to implement any of the image color enhancement methods provided in this application.
[0084] This application also provides a computer-readable storage medium that carries one or more computer programs. When the one or more computer programs are executed by an electronic device, the electronic device can implement any of the image color enhancement methods provided in this application.
[0085] It should also be noted that the device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate, and the components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the modules can be selected to achieve the purpose of this embodiment according to actual needs. In addition, in the device embodiment drawings provided in this application, the connection relationship between modules indicates that they have a communication connection, which can be implemented as one or more communication buses or signal lines.
[0086] Through the above description of the embodiments, those skilled in the art can clearly understand that this application can be implemented by means of software plus necessary general-purpose hardware, or it can be implemented by special-purpose hardware including application-specific integrated circuits, special-purpose CPUs, special-purpose memory, special-purpose components, etc. Generally, any function performed by a computer program can be easily implemented by corresponding hardware, and the specific hardware structure used to implement the same function can also be diverse, such as analog circuits, digital circuits, or special-purpose circuits. However, for this application, software program implementation is more often the preferred implementation method. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product is stored in a readable storage medium, such as a computer floppy disk, USB flash drive, mobile hard disk, ROM, RAM, magnetic disk, or optical disk, etc., and includes several instructions to cause a computer device (which may be a personal computer, training equipment, or network device, etc.) to execute the methods described in the various embodiments of this application.
[0087] In the above embodiments, implementation can be achieved, in whole or in part, through software, hardware, firmware, or any combination thereof. When implemented in software, it can be implemented, in whole or in part, as a computer program product.
[0088] The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, all or part of the processes or functions described in the embodiments of this application are generated. The computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions may be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another. For example, the computer instructions may be transmitted from one website, computer, training device, or data center to another website, computer, training device, or data center via wired (e.g., coaxial cable, fiber optic, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) means. The computer-readable storage medium may be any available medium that a computer can store or a data storage device such as a training device or data center that integrates one or more available media. The available media may be magnetic media (e.g., floppy disks, hard disks, magnetic tapes), optical media (e.g., DVDs), or semiconductor media (e.g., solid-state drives (SSDs)).
[0089] The various embodiments in this specification are described in a progressive manner. Each embodiment focuses on the differences from other embodiments. The various embodiments can be combined as needed, and the same or similar parts can be referred to each other.
Claims
1. An image color enhancement method, characterized in that, include: Obtain the RGB image to be processed; Based on the difference between the hue attribute of each pixel in the RGB image to be processed and the hue attribute of the preset new primary color, the chromaticity value of the new primary color of each pixel is calculated, and the chromaticity value represents the intensity of color enhancement of the pixel using the new primary color; Based on the chromaticity value of the new primary color corresponding to each pixel, a new primary color channel image is generated that is aligned with the spatial position of the RGB image to be processed. The new primary color channel image is used to fuse with the RGB image to be processed to obtain a color-enhanced image.
2. The image color enhancement method according to claim 1, characterized in that, The color appearance parameters of each pixel include: lightness, chroma, and hue angle; The process of calculating the chromaticity value of the new primary color for each pixel based on the difference between the hue attribute of each pixel and the hue attribute of the preset new primary color includes: Based on the preset reference hue angle of the new primary color, determine the hue attribute difference value between the hue angle of each pixel and the reference hue angle; Determine the hue feature weight corresponding to the preset difference interval where the hue attribute difference value of each pixel is located; The chromaticity value of the new primary color of the pixel is calculated based on the brightness, chromaticity, and hue feature weight of the pixel.
3. The image color enhancement method according to claim 1, characterized in that, The method further includes: The RGB channel signals of the RGB image to be processed are adjusted for brightness compensation to obtain an adjusted RGB channel image; then the new primary color channel image is used to fuse with the adjusted RGB channel image to obtain a color-enhanced image.
4. The image color enhancement method according to claim 3, characterized in that, The process of adjusting the brightness of the RGB channel signals of the RGB image to obtain the adjusted RGB channel image includes: While maintaining the consistency of the total brightness of each pixel in the RGB image to be processed before and after enhancement, the brightness of the RGB image to be processed is adjusted according to the brightness value of each pixel in each new primary color channel image to obtain the adjusted RGB channel image.
5. The image color enhancement method according to any one of claims 1-4, characterized in that, The new primary colors include: cyan.
6. An image color enhancement system, characterized in that, include: First projector, second projector, projection screen, beam combiner and image processing module; The image processing module is configured to execute the image color enhancement method as described in any one of claims 1-5 to obtain an RGB image and a new primary color channel image corresponding to the RGB image; The RGB image and the new primary color channel image are then transmitted to the first projector and the second projector, respectively, for projection. After the optical axes of the first projector and the second projector are combined by the beam combining device, the RGB image projected by the first projector and the new primary color channel image projected by the second projector overlap and superimpose on the projection screen to display a color-enhanced image obtained by fusing the RGB image and the new primary color channel image.
7. The image color enhancement system according to claim 6, characterized in that, Also includes: A laser module is used to provide the second projector with a primary color illumination source that matches the new primary color.
8. An electronic device, characterized in that, include: Memory and processor; The memory is used to store programs; The processor is configured to execute the program to implement each step of the image color enhancement method as described in any one of claims 1 to 5.
9. A readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by the processor, it implements each step of the image color enhancement method as described in any one of claims 1 to 5.
10. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by the processor, it implements the various steps of the image color enhancement method as described in any one of claims 1 to 5.