Image color processing device, method and system
By using the FPGA chip parallel acceleration architecture and color space conversion algorithm in the image color processing device, the problem of excessive skin color processing and high system load in high-resolution videos is solved, achieving efficient image color processing and improving user perception.
Patent Information
- Application Number
- CN202210723434.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-06-24
- Publication Date
- 2024-10-29
- Estimated Expiration
- 2042-06-24
AI Technical Summary
When existing technology processes video signals, especially high-resolution videos such as 4K and 8K, it can easily lead to over-processing of skin tones and color distortion. At the same time, the CPU processing load is heavy, resulting in video freezes and reduced frame rates.
An image color processing device is designed, which uses FPGA chips to implement a parallel acceleration architecture. It processes frame image data in parallel through multiple processing modules. It uses color space conversion and weight adjustment algorithms to automatically identify the target color and suppress its color enhancement to avoid over-processing. , combine multiple color spaces (such as YCbCr and HSV) for processing to improve processing efficiency.
It achieves compatible processing of videos with multiple resolutions, improves image color processing efficiency, avoids excessive skin color enhancement, improves user perception, reduces system load, and avoids video freezes.
Smart Images

Figure CN115100989B_ABST
Abstract
Description
Technical Field
[0001] The present disclosure belongs to the field of display technology, and specifically relates to an image color processing device, method and system. Background Art
[0002] Optimizing the color of the video signal in the display terminal and enhancing its display effect can improve the user's viewing experience. There are deficiencies in the implementation of color optimization in related technologies. For example, the algorithm is prone to over-processing when processing skin and other colors, causing color distortion. Alternatively, the execution of the algorithm in the central processing unit (CPU) will bring additional load to the system, which is easy to cause video freezes and reduce frame rates. Summary of the invention
[0003] The present disclosure aims to solve at least one of the technical problems existing in the prior art and to provide an image color processing device, method and system.
[0004] In a first aspect, an embodiment of the present disclosure provides an image color processing device, which includes a video input module, a first processing module, at least one second processing module, a video output module and a control module; one of the second processing modules is communicatively connected to the first processing module via a data path;
[0005] The video input module is configured to acquire and parse the video stream to obtain frame image data and video timing information; the video timing information includes video resolution;
[0006] The first processing module is configured to determine a frame image data block according to the video resolution and the frame image data;
[0007] The control module is configured to transmit the frame image data block to the corresponding second processing module through the corresponding data path;
[0008] The second processing module is configured to perform a first color space conversion on each pixel point corresponding to the received frame image data block, determine the first color data of each pixel point in the first color space, and determine the target pixel point according to the first color data; and perform a second color space conversion on each pixel point corresponding to the received frame image data block, determine the second color data of each pixel point in the second color space; obtain a reference weight of each pixel point using a first preset algorithm according to the second color data of each pixel point in the second color space and a predetermined initial weight; adjust the reference weight of the target pixel point to obtain a target weight of the target pixel point; perform color adjustment on each target pixel point according to the target weight corresponding to each target pixel point, and perform color adjustment on other pixels according to their respective reference weights to obtain data to be displayed;
[0009] The video output module is configured to output the data to be displayed to a display device.
[0010] In some embodiments, there are multiple second processing modules; one second processing module is configured to process one frame image data block, and different second processing modules are configured to process different frame image data blocks.
[0011] In some embodiments, the first processing module is specifically configured to process the frame image data according to a preset segmentation rule and the video resolution to obtain at least one frame image data block.
[0012] In some embodiments, the second processing module includes a first conversion unit, a target determination unit, a second conversion unit, a color adjustment unit, and a third conversion unit;
[0013] The first conversion unit is configured to perform a first color space conversion on each pixel point corresponding to the received frame image data block, and determine first color data of each pixel point in the first color space;
[0014] The target determination unit is configured to determine a target pixel point according to the first color data;
[0015] The second conversion unit is configured to perform a second color space conversion on each pixel corresponding to the received frame image data block to determine second color data of each pixel in the second color space;
[0016] The color adjustment unit is configured to obtain a reference weight of each pixel point using a first preset algorithm according to the second color data of each pixel point in the second color space and a predetermined initial weight; adjust the reference weight of the target pixel point to obtain a target weight of the target pixel point; perform color adjustment on each target pixel point according to the target weight corresponding to each target pixel point, and perform color adjustment on other pixels according to their respective reference weights corresponding to each pixel point to obtain third color data of each pixel point after color adjustment in the second color space;
[0017] The third conversion unit is configured to perform a second color space inverse conversion on the third color data of each pixel to determine the to-be-displayed data after the color of each pixel is adjusted.
[0018] In some embodiments, the control module includes a parameter adjustment unit; the parameter adjustment unit is configured to send a predetermined first conversion factor of the pixel to the first color space to a first conversion unit in the second processing module;
[0019] The first conversion unit is specifically configured to perform a first color space conversion on each pixel point corresponding to the frame image data block according to the received first conversion factor, and determine the first color data of each pixel point in the first color space.
[0020] In some embodiments, the first color space is a YCbCr color space, and the first color data includes a luminance component, a blue chrominance component, and a red chrominance component;
[0021] The control module includes a parameter adjustment unit; the parameter adjustment unit is configured to send a predetermined component correction coefficient under different brightness ranges to the target determination unit;
[0022] The target determination unit is specifically configured to correct the blue chromaticity component and the red chromaticity component in the first color data respectively according to the brightness component in each of the first color data and the component correction coefficients under different brightness ranges; when the corrected blue chromaticity component is within the first preset component range and the corrected red chromaticity component is within the second preset component range, determine that the pixel point corresponding to the first color data is the target pixel point.
[0023] In some embodiments, the second conversion unit is specifically configured to determine the first intermediate data based on the maximum sub-pixel and the minimum sub-pixel of each pixel; based on the first intermediate data, perform a second color space conversion on each pixel corresponding to the frame image data block to determine the second color data of each pixel in the second color space.
[0024] In some embodiments, the second color space is an HSV color space; the second color data includes a first hue, a first saturation, and a first brightness;
[0025] The control module includes a parameter adjustment unit; the parameter adjustment unit is configured to send a predetermined initial weight to the color adjustment unit;
[0026] The color adjustment unit is specifically configured to determine the baseline weight of each pixel based on the received initial weight, the maximum sub-pixel of each pixel and the first saturation in the second color data of each pixel, using the first preset algorithm; adjust the baseline weight of the target pixel according to the preset color enhancement rule to obtain the target weight of the target pixel; adjust the color of each target pixel according to the target weight and the first saturation corresponding to each target pixel to obtain the second saturation of the target pixel; adjust the color of the other pixels according to the baseline weights and the first saturation corresponding to each of the other pixels to obtain the second saturation of the other pixels; use the first hue, second saturation and first brightness of the target pixel as the third color data of the target pixel; and use the first hue, second saturation and first brightness of the other pixels as the third color data of the other pixels.
[0027] In some embodiments, the second color space is an HSV color space; the third color data includes a first hue, a second saturation, and a first brightness;
[0028] The third conversion unit is specifically configured to determine the second intermediate data according to the first hue, the second saturation and the first brightness in the third color data using a second preset algorithm; and to determine the data to be displayed according to the second intermediate data, the first brightness and the first hue using a third preset algorithm.
[0029] In some embodiments, the video timing information further includes a video frame rate; the control module includes a timing generation unit and a control unit;
[0030] The timing generation unit is configured to generate a timing transmission signal of the data path according to the video resolution, the video frame rate and the video source clock;
[0031] The control unit is configured to transmit the frame image data block to the corresponding second processing module through the corresponding data path according to the timing transmission signal.
[0032] In some embodiments, the video output module is configured to convert the data to be displayed into display data corresponding to a preset video protocol interface, and transmit the display data to the display terminal for display.
[0033] In some embodiments, the control module includes a reset unit;
[0034] The reset unit is configured to send a reset instruction to the second processing module when detecting that the second processing module is in an idle state;
[0035] The second processing module is further configured to execute a reset operation in response to a received reset instruction.
[0036] In a second aspect, the embodiments of the present disclosure further provide an image color processing method, which is applied to the image color processing device as described in any one of the first aspects; wherein the method comprises:
[0037] Acquire and parse the video stream to obtain frame image data and video timing information; the video timing information includes video resolution;
[0038] Determine a frame image data block according to the video resolution and the frame image data, and transmit the frame image data block to a corresponding data path;
[0039] Performing a first color space conversion on each pixel point corresponding to the frame image data block received from the data path, determining first color data of each pixel point in the first color space, and determining a target pixel point according to the first color data; and performing a second color space conversion on each pixel point corresponding to the received frame image data block, determining second color data of each pixel point in the second color space;
[0040] Obtaining a reference weight for each pixel using a first preset algorithm according to the second color data of each pixel in the second color space and a predetermined initial weight;
[0041] Adjusting the reference weight of the target pixel to obtain the target weight of the target pixel;
[0042] According to the target weight corresponding to each of the target pixels, the color of each of the target pixels is adjusted, and according to the reference weights corresponding to each of the other pixels, the color of the other pixels is adjusted to obtain data to be displayed;
[0043] The data to be displayed is output to a display device.
[0044] In a third aspect, an embodiment of the present disclosure further provides an image color processing system, which includes a display device and an image color processing apparatus as described in any one of the first aspects. BRIEF DESCRIPTION OF THE DRAWINGS
[0045] Figure 1 A schematic diagram of an image color processing device provided by an embodiment of the present disclosure;
[0046] Figure 2 A schematic diagram of a method for segmenting frame image data at different video resolutions provided by an embodiment of the present disclosure;
[0047] Figure 3 A flowchart of an image color processing method provided by an embodiment of the present disclosure;
[0048] Figure 4 A schematic diagram of the structure of an image color processing system provided in an embodiment of the present disclosure. DETAILED DESCRIPTION
[0049] In order to enable those skilled in the art to better understand the technical solution of the present disclosure, the present disclosure is further described in detail below in conjunction with the accompanying drawings and specific implementation methods.
[0050] Unless otherwise defined, the technical terms or scientific terms used in the present disclosure should be understood by people with ordinary skills in the field to which the present disclosure belongs. The "first", "second" and similar words used in the present disclosure do not indicate any order, quantity or importance, but are only used to distinguish different components. Similarly, similar words such as "one", "one" or "the" do not indicate quantity restrictions, but indicate that there is at least one. Similar words such as "include" or "comprise" mean that the elements or objects appearing before the word cover the elements or objects listed after the word and their equivalents, without excluding other elements or objects. Similar words such as "connect" or "connected" are not limited to physical or mechanical connections, but can include electrical connections, whether direct or indirect. "Up", "down", "left", "right" and the like are only used to indicate relative positional relationships. When the absolute position of the described object changes, the relative positional relationship may also change accordingly.
[0051] The following is a detailed description of some special terms provided in the embodiments of the present disclosure:
[0052] 1. Field Programmable Gate Array, FPGA, is a product further developed on the basis of programmable devices such as PAL (Programmable Array Logic) and GAL (General Array Logic). It appears as a semi-custom circuit in the field of Application Specific Integrated Circuit (ASIC), which not only solves the shortcomings of custom circuits, but also overcomes the shortcomings of the limited number of gate circuits of the original programmable devices.
[0053] 2. 2K resolution is a general term that refers to a resolution level where the horizontal resolution of a screen or content reaches about 2000 pixels. Because the 16:9 ratio is the international standard for high-definition video specifications, the common format of 2K resolution in the fields of video production and display screens is 1080P (FullHD). The 2K resolution provided in the embodiments of the present disclosure is 1920×1080 pixels.
[0054] 3. 4K resolution (4K, resolution) is an ultra-high-definition resolution. 4K resolution means that the pixel value per horizontal line reaches or approaches 4096, regardless of the aspect ratio. Depending on the scope of use, 4K resolution also has various derivative resolutions, such as Full Aperture 4K's 4096×3112, Academy 4K's 3656×2664, and UHDTV standard's 3840×2160, all of which belong to the category of 4K resolution. The resolution of 4K is 4 times that of 2K (the length and width are both 2 times). The 4K resolution provided in the present disclosed embodiment is 3840×2160 pixels.
[0055] 4. 8K resolution (8K, resolution) is an experimental digital video standard. The 7680×4320 resolution recommended by Japan's NHK TV station is used as the international 8K ultra-high-definition television (SHV) standard. The resolution of 8K is 4 times the resolution of 4K (the length and width are both 2 times). The 8K resolution provided in the embodiment of the present disclosure is 7680×4320 pixels.
[0056] 5. VBO (V-by-One) is a high-speed video interface.
[0057] 6. Low-Voltage Differential Signaling (LVDS) is a differential signal technology with low power consumption, low bit error rate, low crosstalk and low radiation. This transmission technology can reach more than 155Mbps. The core of LVDS technology is the use of extremely low voltage swing high-speed differential transmission data, which can realize point-to-point or point-to-multipoint connection.
[0058] 7. YCbCr is sometimes written as: YCBCR, which is a color space, usually used in continuous image processing in movies or digital photography systems. Y represents luminance, that is, the brightness component; Cb represents the blue concentration offset component, that is, the blue chroma component; Cr represents the red concentration offset component, that is, the red chroma component. The human eye is more sensitive to the Y component of the video, so after reducing the chroma component by subsampling the chroma component, the naked eye will not be able to perceive the change in image quality.
[0059] 8. HSV (Hue, Saturation, Value), also known as hue, saturation, and brightness. HSV is a color space, also known as the Hexcone Model. The color parameters in this model are hue (H), saturation (S), and brightness (V). It is measured in angles, ranging from 0° to 360°, starting from red and counting in a counterclockwise direction, with red being 0°, green being 120°, and blue being 240°. Saturation S indicates how close the color is to the spectral color. Brightness indicates how bright the color is, and usually ranges from 0% (black) to 100% (white).
[0060] 9. RGB color mode is a color standard in the industry. It obtains various colors by changing the three color channels of red (R), green (G), and blue (B) and superimposing them on each other. RGB represents the colors of the three channels of red, green, and blue. This standard includes almost all colors that human vision can perceive and is one of the most widely used color systems. A pixel includes pixel RGB, including sub-pixel R, sub-pixel G, and sub-pixel B.
[0061] In the display scenario of the display terminal, color optimization of the input video signal can enhance the display effect and improve the user's viewing experience. However, in the related art, when the algorithm processes the face, due to the influence of environmental factors such as background color, it is easy to cause excessive processing of the skin, such as excessive enhancement of skin brightness, causing skin color distortion. In addition, in the related art, the CPU is usually used as the processor of the image color processing device, and the execution of the algorithm in the CPU will bring additional load to the system, causing video freezes and low frame rates, especially when processing videos with 4K resolution and 8K resolution. The above defects are more obvious. Therefore, in the related art, there are still some challenges to overcome when optimizing the color of skin color.
[0062] The disclosed embodiment provides an image color processing device, which can automatically identify the target color and optimize its color, for example, it can automatically identify the skin color and suppress its color enhancement to avoid excessive color enhancement. In addition, the image color processing device provided by the disclosed embodiment can be implemented based on the algorithm architecture of the FPGA chip, specifically by using the FPGA chip to deploy the algorithm in a parallel acceleration architecture. For videos with 4K resolution and 8K resolution, the parallel acceleration architecture can be used to synchronously process frame image data to improve the image color processing efficiency. At the same time, the parallel processing module (that is, the second processing module) can be flexibly called to achieve compatible processing of videos with multiple resolutions.
[0063] Figure 1 A schematic diagram of an image color processing device provided by an embodiment of the present disclosure, see Figure 1 As shown, the image processing device includes a video input module, a first processing module, at least one second processing module, a video output module and a control module; a second processing module is communicatively connected with the first processing module via a data path.
[0064] The video input module is configured to acquire and parse the video stream to obtain frame image data and video timing information; the video timing information includes video resolution.
[0065] For example, the video stream may be a video pre-broadcasted by a TV channel, or an online short video, a live video stream, etc.
[0066] The control module sends a video stream receiving instruction to the video data module, and the receiving instruction includes information of the video input interface, etc. The video input module receives the externally transmitted video stream (i.e., video signal) through the video input interface, analyzes the parameters of the video signal and the encoding method of the image color, obtains the frame image data, analyzes the video timing, and obtains the video timing information. The video timing information includes the video resolution.
[0067] The first processing module is configured to determine a frame image data block according to the video resolution and the frame image data.
[0068] The video resolution may include 2K, 4K or 8K, etc. The video input module sends the frame image data obtained by parsing to the first processing module, and feeds back the video timing information to the control module. The control module sends the video timing information to the first processing module, and the first processing module is configured to rearrange the format of the frame image data according to different video resolutions and determine the frame image data block. The frame image data block is at least part of the frame image data. For example, under different video resolutions, each frame image data block includes 2K frame image data.
[0069] The control module is configured to transmit the frame image data block to the corresponding second processing module through the corresponding data path.
[0070] The control module is responsible for the main control functions of the image color processing device, including calling the data path to realize data transmission. One end of the data path is connected to the first processing module for communication, and the other end is connected to the second processing module for communication. The frame image data block obtained by the first processing module can be transmitted to the second data module through the data path, and the color enhancement processing is completed in the second data module.
[0071] The image color processing device includes at least one second processing module and at least one data path. A second processing module is connected to the first processing module through a data path. The control module can realize data transmission through one data path, and can also synchronously control multiple data paths to realize data transmission.
[0072] The second processing module is configured to perform a first color space conversion on each pixel point corresponding to the received frame image data block, determine the first color data of each pixel point in the first color space, and determine the target pixel point according to the first color data; and perform a second color space conversion on each pixel point corresponding to the received frame image data block, determine the second color data of each pixel point in the second color space; obtain a reference weight of each pixel point using a first preset algorithm according to the second color data of each pixel point in the second color space and a predetermined initial weight; adjust the reference weight of the target pixel point to obtain a target weight of the target pixel point; adjust the color of each target pixel point according to the target weight corresponding to each target pixel point, and adjust the color of other pixels according to the reference weights corresponding to each other pixel point to obtain data to be displayed.
[0073] like Figure 1 As shown, the control module calls the corresponding second processing module, and the second processing module is configured to perform color space conversion on the received frame image data blocks respectively, perform target color detection on the first color data converted to the first color space, and determine the target pixel points belonging to the target color; then, the second processing module uses the second color data converted to the second color space to adjust the color of the target pixel points, and finally obtains the color-adjusted data to be displayed.
[0074] Here, the target color can be any selected color in the application scenario. The embodiment of the present disclosure is described in detail by taking the skin color as the target color for enhancement and suppression as an example. However, it should be noted that the embodiment of the present disclosure is not limited to the enhancement and suppression of the skin color. For specific scenarios, the enhancement suppression of the target color (such as other colors except the skin color) is also applicable to the embodiment of the present disclosure, and the embodiment of the present disclosure is not specifically limited to this.
[0075] The video output module is configured to output the data to be displayed to the display device.
[0076] Specifically, the video output module is configured to convert the data to be displayed into display data corresponding to a preset video protocol interface, and transmit the display data to the display terminal for display.
[0077] The pre-set video protocol interface may include, for example, a video protocol interface such as VBO or LVDS.
[0078] In some embodiments, there are multiple second processing modules; one second processing module is configured to process one frame image data block, and different second processing modules are configured to process different frame image data blocks.
[0079] Here, the image color processing device uses an FPGA chip to deploy a parallel acceleration architecture for the algorithm, and uses the parallel acceleration architecture (that is, multiple second processing modules) to synchronously perform color enhancement processing on multiple frame image data blocks. Specifically, when multiple frame image data blocks are obtained, multiple data paths are used to synchronously transmit each frame image data block, and one second processing module is configured to process one frame image data block, and multiple second processing modules are called to synchronously process different frame image data blocks, thereby improving the image color processing efficiency while realizing flexible processing of frame image data of multiple different video resolutions.
[0080] In some examples, different video resolutions have different ways of rearranging the frame image data. The first processing module is specifically configured to process the frame image data according to a preset segmentation rule and video resolution to obtain at least one frame image data block.
[0081] The preset segmentation rule specifically includes, firstly, determining whether the video resolution of the frame image data is less than or equal to a preset threshold value (for example, 2K). If it is determined that the video resolution of the frame image data is less than or equal to the preset threshold value, the frame image data is not segmented. At this time, a frame image data block can be obtained, that is, the frame image data originally obtained. If it is determined that the video resolution of the frame image data is greater than the preset threshold value, the frame image data can be segmented according to the video resolution. For example, if the video resolution of the frame image data is 4K, the frame image data is segmented into 4 frame image data blocks; if the video resolution of the frame image data is 8K, the frame image data is segmented into 8 frame image data blocks.
[0082] The preset segmentation rule can be set according to actual application scenarios and experience, and is not specifically limited in the embodiment of the present disclosure. In the embodiment of the present disclosure, the preset threshold can be set to 2K.
[0083] Figure 2Schematic diagram of the segmentation method of frame image data under different video resolutions provided by the embodiment of the present disclosure. Figure 2 As shown, the frame image data of 2K resolution can be used as a frame image data block alone. Since the 4K resolution is four times the 2K resolution, the frame image data of 4K resolution can be divided into four frame image data blocks, wherein one division method, for example, can be to keep the width unchanged and divide the length into four equal parts to obtain four frame image data blocks; or, a division method, for example, can also be to divide the length and width into two parts each to obtain four frame image data blocks. Alternatively, in specific scenarios, it can also be divided according to preset rules, which are not specifically limited in the embodiments of the present disclosure. Since the 8K resolution is four times the 4K resolution and 16 times the 2K resolution, the frame image data of 8K resolution can be divided into sixteen frame image data blocks, and the division method can refer to the division method of 4K resolution, and the repeated parts will not be repeated.
[0084] In some embodiments, Figure 1 As shown, the second processing module includes a first conversion unit, a target determination unit, a second conversion unit, a color adjustment unit and a third conversion unit. Among them, the first conversion unit is configured to convert the frame image data block into a first color space. The target determination unit is configured to detect the target pixel points of the target color in the first color data, for example, to detect the skin color of the first color data converted into the first color space, and determine the target pixel points of the skin color. The second conversion unit is configured to convert the frame image data block into a second color space. The color adjustment unit is configured to perform color adjustment on the target pixel points, for example, when performing color enhancement on the target pixel points of the skin color, suppressing the enhancement weights thereof, so as to avoid distortion of the target pixel points caused by excessive enhancement of the skin color. The third conversion unit is configured to perform spatial restoration on the color-adjusted data, and restore it to the data to be displayed. The specific implementation is as follows:
[0085] The first conversion unit is configured to perform a first color space conversion on each pixel point corresponding to the received frame image data block, and determine first color data of each pixel point in the first color space.
[0086] The first color space may be a YCbCr color space. The first conversion unit is configured to convert the pixel RGB of each pixel point corresponding to the frame image data block into the YCbCr color space.
[0087] In some embodiments, the control module includes a parameter adjustment unit; the parameter adjustment unit is configured to send a predetermined first conversion factor of the pixel to the first color space to the first conversion unit in the second processing module.
[0088] The first conversion factor is predetermined and stored in the control module. When the first color space is the YCbCr color space, the first conversion factor of the pixel RGB to the first color space YCbCr includes the conversion factor μ of the sub-pixel R to the brightness component Y. ry ; Conversion factor μ from sub-pixel R to blue chromaticity component Cb rCb ; Conversion factor μ from sub-pixel R to red chromaticity component Cr rCr ; Conversion factor μ from sub-pixel G to brightness component Y gy ; Conversion factor μ from sub-pixel G to blue chromaticity component Cb gCb ; Conversion factor μ from sub-pixel G to red chromaticity component Cr gCr ; Conversion factor μ from sub-pixel B to brightness component Y by ; Conversion factor μ from sub-pixel B to blue chromaticity component Cb bCb ; Conversion factor μ from sub-pixel B to red chromaticity component Cr bCr .
[0089] The first conversion unit is specifically configured to perform a first color space conversion on each pixel corresponding to the frame image data block according to the received first conversion factor, and determine the first color data of each pixel in the first color space. Exemplarily, the first conversion unit can determine the first color data of each pixel in the first color space according to Formula 1, including a brightness component Y, a blue chromaticity component Cb, and a red chromaticity component Cr.
[0090] Y=μ ry ×R+μ gy ×G+μ by ×B
[0091] Cb=μ rCb ×R+μ gCb ×G+μ bCb ×B............Formula 1
[0092] Cr=μ rCr ×R+μ gCr ×G+μ bCr ×B
[0093] The target determination unit is configured to determine the target pixel point according to the first color data. The first color space is a YCbCr color space, and the first color data includes a brightness component Y, a blue chromaticity component Cb, and a red chromaticity component Cr.
[0094] In one embodiment, if the blue chromaticity component Cb in the first color data is within the first preset component range, and the red chromaticity component Cr is within the second preset component range, the color indicated by the first color data can be determined to be the target color, and the pixel point can be determined to be the target pixel point. If the blue chromaticity component Cb and the red chromaticity component Cr in the first color data are not within the preset chromaticity range, it can be determined that the color indicated by the first color data is not the target color, and the pixel point is a pixel point other than the target pixel point.
[0095] Taking skin color as an example, the first preset component range is 77≤Cb≤127, and the second preset component range is 133≤Cr≤173. According to formula 2, the target pixel point is determined:
[0096]
[0097] Skin=1 indicates that the color of the pixel is skin color, so the pixel is determined to be the target pixel.
[0098] According to formula 3, determine other pixels:
[0099]
[0100] Skin=0 indicates that the color of the pixel is not skin color, and thus the pixel is determined to be other pixel.
[0101] In another embodiment, when performing target color detection, color correction can be performed on other components (blue chromaticity component Cb and red chromaticity component Cr) according to the brightness component Y. The corrected blue chromaticity component Cb′ and the corrected red chromaticity component Cr′ can be used to more accurately detect the target color and thus accurately determine the target pixel.
[0102] Specifically, the control module includes a parameter adjustment unit; the parameter adjustment unit is configured to send a predetermined component correction coefficient under different brightness ranges to the target determination unit. The target determination unit is specifically configured to correct the blue chromaticity component and the red chromaticity component in the first color data respectively according to the brightness component in each first color data and the component correction coefficient under different brightness ranges; when the corrected blue chromaticity component is within the first preset component range, and the modified red chromaticity component is within the second preset component range, the pixel point corresponding to the first color data is determined as the target pixel point.
[0103] First, determine the brightness range of the brightness component. If the brightness component is moderate, no component correction is required. If the brightness component is high, reduce the blue chromaticity component Cb and the red chromaticity component Cr respectively. If the brightness component is low, increase the blue chromaticity component Cb and the red chromaticity component Cr respectively.
[0104] Taking the detection of whether the target color is skin color as an example, if the brightness component Y is less than 125, it is determined that the brightness component is low; if the brightness component Y is greater than 188, it is determined that the brightness component is high; if the brightness component is 125≤Y≤188, it is determined that the brightness component is moderate. The modified formulas 4-I, 4-II and 4-III are as follows:
[0105]
[0106]
[0107]
[0108] Among them, all the coefficients in the correction formula 4-I, formula 4-II and formula 4-III are component correction coefficients issued by the parameter adjustment module, such as 0.19176, 0.15008, 0.26376, 0.23008, etc.
[0109] If the corrected blue chromaticity component Cb′ is within the first preset component range, and the corrected red chromaticity component Cr′ is within the second preset component range, it can be determined that the color indicated by the first color data is skin color, and the pixel point is determined to be the target pixel point. If the corrected blue chromaticity component Cb′ is not within the first preset component range, and the corrected red chromaticity component Cr′ is not within the second preset component range, it can be determined that the color indicated by the first color data is not skin color, and the pixel point is a pixel point other than the target pixel point. According to Formula 5, the target pixel point is determined; according to Formula 6, the other pixel points are determined:
[0110]
[0111] Skin=1 indicates that the color of the pixel is skin color, so the pixel is determined to be the target pixel.
[0112]
[0113] Skin=0 indicates that the color of the pixel is not skin color, and thus the pixel is determined to be other pixel.
[0114] The second conversion unit is configured to perform a second color space conversion on each pixel point corresponding to the received frame image data block, and determine second color data of each pixel point in the second color space.
[0115] Specifically, the second conversion unit is specifically configured to determine the first intermediate data based on the maximum sub-pixel and the minimum sub-pixel of each pixel; based on the first intermediate data, perform a second color space conversion on each pixel corresponding to the frame image data block to determine the second color data of each pixel in the second color space.
[0116] The second color space is the HSV color space, and the second color data includes a first brightness V, a first saturation S, and a first hue H. The maximum sub-pixel of a pixel is MAX(R, G, B), and the minimum sub-pixel of a pixel is MIN(R, G, B). The first intermediate data is calculated as shown in the following formula 7:
[0117]
[0118] The calculation formula of the first brightness V is as follows:
[0119] V=ΔC.....................................Formula 8 The calculation formula of the first saturation S is as follows:
[0120]
[0121] The calculation formula of the first color tone H is as follows:
[0122]
[0123] The color adjustment unit is configured to obtain a baseline weight for each pixel point based on the second color data of each pixel point in the second color space and a predetermined initial weight, using a first preset algorithm; adjust the baseline weight of the target pixel point to obtain the target weight of the target pixel point; perform color adjustment on each target pixel point according to the target weight corresponding to each target pixel point, and perform color adjustment on other pixels according to their respective corresponding baseline weights to obtain third color data of each pixel point after color adjustment in the second color space.
[0124] Specifically, the second color data of the pixel in the second color space includes brightness V, saturation S and hue. In some examples, the parameter adjustment unit is configured to send a predetermined initial weight to the color adjustment unit; the color adjustment unit is specifically configured to determine the base weight of each pixel using a first preset algorithm based on the received initial weight, the largest sub-pixel of each pixel and the first saturation in the second color data of each pixel; and adjust the base weight of the target pixel according to the preset color enhancement rule to obtain the target weight of the target pixel.
[0125] The predetermined initial weight is recorded as α. The calculation of the reference weight α′, that is, the first preset algorithm is as shown in the following formula 11:
[0126] α′=α×S×MAX(R,G,B)................................Formula 11
[0127] Afterwards, the benchmark weight of the target pixel is adjusted according to whether it is the target color and the enhancement rule of the target color. For example, if skin color needs to be suppressed, the weight value is reduced based on the original benchmark weight to achieve the purpose of color enhancement and suppression. For skin color, the embodiment of the present disclosure can set the target weight of the target pixel to half of the benchmark weight, that is, the target weight α″=1 / 2α′.
[0128] It should be noted that, for different target colors, the target weight for target pixel color enhancement can be determined based on color enhancement rules preset according to experience.
[0129] Afterwards, the color adjustment unit is configured to perform color adjustment on each target pixel according to the target weight and the first saturation corresponding to each target pixel to obtain the second saturation of the target pixel; perform color adjustment on other pixels according to the reference weights and the first saturation corresponding to other pixels to obtain the second saturation of other pixels; use the first hue, the second saturation and the first brightness of the target pixel as the third color data of the target pixel; and use the first hue, the second saturation and the first brightness of other pixels as the third color data of other pixels.
[0130] The third conversion unit is configured to perform inverse conversion of the third color data of each pixel in the second color space to determine the to-be-displayed data after the color of each pixel is adjusted.
[0131] Specifically, if the pixel is a target pixel, the target weight is used to enhance the first saturation of the target pixel to obtain the adjusted second saturation S′ of the target pixel; if the pixel is another pixel, the reference weight can be used to enhance the first saturation of the other pixel to obtain the adjusted second saturation S′ of the other pixel. The second saturation S′ of each pixel is calculated as shown in the following formula 12:
[0132]
[0133] The third color data includes a first hue H, a second saturation S′ and a first brightness V. The third conversion unit is specifically configured to determine the second intermediate data using a second preset algorithm according to the first hue, the second saturation and the first brightness in the third color data; and determine the data to be displayed using a third preset algorithm according to the second intermediate data, the first brightness and the first hue.
[0134] The second preset algorithm is as shown in the following formula 13, which determines the second intermediate data P1, P2 and P3:
[0135]
[0136] Among them, the floor() function rounds down, and floor(H) rounds H down.
[0137] The third preset algorithm is as shown in the following formula 14, which determines the data to be displayed (R′, G′, B′) after spatial restoration:
[0138]
[0139] Among them, mod is the modulo calculation, and mod6 is expressed as modulo 6.
[0140] In some embodiments, the control module synchronizes data transmission of the control data path and color enhancement processing of the second processing module by generating a timing transmission signal.
[0141] Specifically, the video timing information also includes the video frame rate; the control module includes a timing generation unit and a control unit; the timing generation unit is configured to generate a timing transmission signal of the data path according to the video resolution, the video frame rate and the video source clock; the control unit is configured to transmit the frame image data block to the corresponding second processing module through the corresponding data path according to the timing transmission signal.
[0142] The timing transmission signal includes the transmission time of each frame image data block (video frame rate), the data transmission time of each row in the frame image data block (for example, the data transmission time of the first pixel in the first row, the data transmission time of the next row of pixels), and whether the current pixel is valid.
[0143] The video source clock can be selected as 148.5MHz.
[0144] In the case where the frame image data blocks include multiple ones, the control unit is configured to transmit signals in a time sequence, synchronously control multiple data paths, and transmit each frame image data block to the corresponding second processing module respectively.
[0145] In some embodiments, the control module includes a reset unit; the reset unit is configured to send a reset instruction to the second processing module when it detects that the second processing module is in an idle state; the second processing module is also configured to respond to the received reset instruction and perform a reset operation, thereby reducing the system loss of the entire image color processing device.
[0146] In some embodiments, the control module further includes a clock unit, and the clock unit is configured to send a timing transmission signal of the current frame image data block to the second processing module when it is detected that the second processing unit is in a working state.
[0147] Based on the same inventive concept, an image color processing method corresponding to the image color processing device is also provided in the embodiment of the present disclosure. Since the principle of solving the problem by the method in the embodiment of the present disclosure is similar to that of the above-mentioned image color processing device in the embodiment of the present disclosure, the implementation of the method can refer to the implementation of the device, and the repeated parts will not be repeated.
[0148] Figure 3 This is a flow chart of an image color processing method provided by an embodiment of the present disclosure, which is applied to the image color processing device described in the above embodiment, and the image color processing method is executed by the image color processing device. The specific implementation is as follows: Steps S301 to S307:
[0149] S301, acquiring and parsing a video stream to obtain frame image data and video timing information; the video timing information includes video resolution.
[0150] S302: Determine a frame image data block according to the video resolution and the frame image data, and transmit the frame image data block to a corresponding data path.
[0151] S303, performing a first color space conversion on each pixel point corresponding to the frame image data block received from the data path, determining the first color data of each pixel point in the first color space, and determining the target pixel point according to the first color data; and performing a second color space conversion on each pixel point corresponding to the received frame image data block, determining the second color data of each pixel point in the second color space.
[0152] S304 : Obtain a reference weight for each pixel using a first preset algorithm according to the second color data of each pixel in the second color space and a predetermined initial weight.
[0153] S305 , adjusting the reference weight of the target pixel to obtain the target weight of the target pixel.
[0154] S306 , adjusting the color of each target pixel according to the target weight corresponding to each target pixel, and adjusting the color of other pixels according to the reference weights corresponding to other pixels, to obtain data to be displayed.
[0155] S307: Output the data to be displayed to the display device.
[0156] The disclosed embodiment can automatically identify the target color and optimize its color. For example, it can automatically identify skin color and suppress its color enhancement to avoid excessive color enhancement. In addition, the execution subject of the image color processing method provided by the disclosed embodiment can be implemented based on the algorithm architecture of the FPGA chip. Specifically, the FPGA chip is used to deploy the algorithm in a parallel acceleration architecture. For videos with 4K resolution and 8K resolution, the parallel acceleration architecture can be used to synchronously process frame image data, improve the image color processing efficiency, and at the same time, achieve compatible processing of videos with multiple resolutions.
[0157] In some embodiments, with respect to S102, the first processing module is specifically configured to process the frame image data according to a preset segmentation rule and video resolution to obtain at least one frame image data block; thereafter, the frame image data block is transmitted to a corresponding data path.
[0158] S302 can be processed by the first processing module in the above embodiment, and the repeated parts are not repeated here.
[0159] For multiple frame image data blocks, synchronous processing can be performed according to the instruction of the timing transmission signal. For details, please refer to the implementation process of the second processing module above, and the repeated parts will not be repeated here.
[0160] In some embodiments, for S306, each target pixel is color-adjusted according to the target weight corresponding to each target pixel, and other pixels are color-adjusted according to the reference weights corresponding to each other pixel, to obtain third color data of each pixel after color adjustment in the second color space.
[0161] Here, in the process of adjusting the color of each pixel, reference may be made to the processing process of the color adjustment unit in the above embodiment, and the repeated parts will not be repeated here.
[0162] Afterwards, the third color data of each pixel is inversely converted into the second color space to determine the to-be-displayed data after the color of each pixel is adjusted.
[0163] Here, the process of inverse conversion of the second color space can refer to the processing process of the third conversion unit in the above embodiment, and the repeated parts will not be repeated here.
[0164] In some embodiments, with respect to the conversion of the first color space in S303, specifically, the first color space conversion is performed on each pixel corresponding to the frame image data block according to the received first conversion factor to determine the first color data of each pixel in the first color space.
[0165] For detailed description, please refer to the specific configuration process of the first conversion unit mentioned above, and the repeated parts will not be repeated here.
[0166] In some embodiments, for the target pixel corresponding to the target color detected in S303, specifically, the first color space is a YCbCr color space, and the first color data includes a brightness component, a blue chromaticity component, and a red chromaticity component. According to the brightness component in each first color data, and the brightness correction coefficient component correction coefficient received under different brightness ranges, it is determined that the blue chromaticity component and the red chromaticity component in the first color data are respectively corrected; when the corrected blue chromaticity component is within the first preset component range, and the corrected red chromaticity component is within the second preset component range, the pixel corresponding to the first color data is determined to be the target pixel.
[0167] For detailed description, please refer to the specific configuration process of the target determination unit mentioned above, and the repeated parts will not be repeated here.
[0168] In some embodiments, for the conversion to the second color space in S303, specifically, first intermediate data is determined based on the maximum sub-pixel data and the minimum sub-pixel data in the pixel data of each pixel point; based on the first intermediate data, the second color space conversion is performed on each pixel point corresponding to the frame image data block to determine the second color data of each pixel point in the second color space.
[0169] For detailed description, please refer to the specific configuration process of the second conversion unit mentioned above, and the repeated parts will not be repeated here.
[0170] In some embodiments, for the color adjustment of the target pixel in S303, specifically, the second color space is the HSV color space; the second color data includes a first hue, a first saturation and a first brightness; according to the received initial weight, the maximum sub-pixel of each pixel and the first saturation in the second color data of each pixel, a first preset algorithm is used to determine the baseline weight of each pixel; according to the preset color enhancement rule, the baseline weight of the target pixel is adjusted to obtain the target weight of the target pixel; according to the target weight and the first saturation corresponding to each target pixel, the color of each target pixel is adjusted to obtain the second saturation of the target pixel; according to the respective baseline weights and the first saturation corresponding to other pixels, the color of other pixels is adjusted to obtain the second saturation of other pixels; the first hue, the second saturation and the first brightness of the target pixel are used as the third color data of the target pixel; and the first hue, the second saturation and the first brightness of other pixels are used as the third color data of other pixels.
[0171] For detailed description, please refer to the specific configuration process of the color adjustment unit mentioned above, and the repeated parts will not be repeated here.
[0172] In some embodiments, for the spatial inversion of the third color data, specifically, the second color space is the HSV color space; the third color data includes a first hue, a second saturation and a first brightness; the third conversion unit is specifically configured to determine the second intermediate data according to the first hue, the second saturation and the first brightness in the third color data using a second preset algorithm; and determine the data to be displayed according to the second intermediate data, the first brightness and the first hue using a third preset algorithm.
[0173] For detailed description, please refer to the specific configuration process of the third conversion unit mentioned above, and the repeated parts will not be repeated here.
[0174] In some embodiments, for S302 and S303, the video timing information also includes a video frame rate; the control module includes a timing generation unit and a control unit; and a timing transmission signal of a data path is generated according to the video resolution, the video frame rate, and the video source clock. Here, the detailed description can refer to the specific configuration process of the timing generation unit above, and the repeated parts will not be repeated here.
[0175] According to the time sequence transmission signal, the frame image data block is transmitted to the corresponding second processing module through the corresponding data path. Here, the detailed description can refer to the specific configuration process of the above control unit, and the repeated parts are not repeated here.
[0176] In some embodiments, for S307, the data to be displayed is converted into display data corresponding to the preset video protocol interface, and the display data is transmitted to the display terminal for display. Here, the detailed description can refer to the specific configuration process of the above video output module, and the repeated part is not repeated here.
[0177] Those skilled in the art will appreciate that, in the above method of specific implementation, the order in which the steps are written does not imply a strict execution order and does not constitute any limitation on the implementation process. The specific execution order of the steps should be determined by their functions and possible internal logic.
[0178] Based on the same inventive concept, an image color processing system corresponding to the image color processing device is also provided in the embodiment of the present disclosure. Since the principle of solving the problem by the system in the embodiment of the present disclosure is similar to that of the above-mentioned image color processing device in the embodiment of the present disclosure, the implementation of the system can refer to the implementation of the device, and the repeated parts will not be repeated.
[0179] Figure 4 A structural schematic diagram of an image color processing system provided in an embodiment of the present disclosure includes a display device and an image color processing apparatus as described in the above embodiment.
[0180] Among them, the display device can be a terminal display device, such as a user equipment (UE), a mobile device, a user terminal, a terminal, a handheld device, a computing device, a vehicle-mounted device, a wearable device, etc.
[0181] For a detailed introduction to the image color processing device, please refer to the implementation of the above device, and the repeated parts will not be repeated.
[0182] The image color processing system provided by the embodiment of the present disclosure can automatically identify the target color and optimize its color. For example, it can automatically identify skin color and suppress its color enhancement to avoid excessive color enhancement. It can display the image after accurate color optimization on the display device to improve the user's viewing experience. In addition, the image color processing device provided by the embodiment of the present disclosure can be implemented based on the algorithm architecture of the FPGA chip. Specifically, the FPGA chip is used to deploy the algorithm in a parallel acceleration architecture. For videos with 4K resolution and 8K resolution, the parallel acceleration architecture can be used to synchronously process frame image data, improve the efficiency of image color processing, and at the same time, achieve compatible processing of videos with multiple resolutions.
[0183] It is to be understood that the above embodiments are merely exemplary embodiments used to illustrate the principles of the present disclosure, but the present disclosure is not limited thereto. For those of ordinary skill in the art, various modifications and improvements can be made without departing from the spirit and substance of the present disclosure, and these modifications and improvements are also considered to be within the scope of protection of the present disclosure.
Claims
1. An image color processing device, wherein: It includes a video input module, a first processing module, at least one second processing module, a video output module and a control module; one of the second processing modules is connected to the first processing module through a data path; The video input module is configured to acquire and parse the video stream to obtain frame image data and video timing information; the video timing information includes video resolution; The first processing module is configured to determine a frame image data block according to the video resolution and the frame image data; The control module is configured to transmit the frame image data block to the corresponding second processing module through the corresponding data path; The second processing module is configured to perform a first color space conversion on each pixel point corresponding to the received frame image data block, determine the first color data of each pixel point in the first color space, and determine the target pixel point according to the first color data; and perform a second color space conversion on each pixel point corresponding to the received frame image data block, determine the second color data of each pixel point in the second color space; and obtain a reference weight of each pixel point using a first preset algorithm according to the second color data of each pixel point in the second color space and a predetermined initial weight; Adjusting the reference weight of the target pixel to obtain the target weight of the target pixel; According to the target weight corresponding to each of the target pixels, the color of each of the target pixels is adjusted, and according to the reference weights corresponding to each of the other pixels, the color of the other pixels is adjusted to obtain data to be displayed; The video output module is configured to output the data to be displayed to a display device.
2. The image color processing device according to claim 1, wherein: There are multiple second processing modules; one second processing module is configured to process one frame image data block, and different second processing modules are configured to process different frame image data blocks.
3. The image color processing device according to claim 1, wherein: The first processing module is specifically configured to process the frame image data according to a preset segmentation rule and the video resolution to obtain at least one frame image data block.
4. The image color processing device according to claim 1, wherein: The second processing module includes a first conversion unit, a target determination unit, a second conversion unit, a color adjustment unit and a third conversion unit; The first conversion unit is configured to perform a first color space conversion on each pixel point corresponding to the received frame image data block, and determine first color data of each pixel point in the first color space; The target determination unit is configured to determine a target pixel point according to the first color data; The second conversion unit is configured to perform a second color space conversion on each pixel corresponding to the received frame image data block to determine second color data of each pixel in the second color space; The color adjustment unit is configured to obtain a reference weight of each pixel point using a first preset algorithm according to the second color data of each pixel point in the second color space and a predetermined initial weight; Adjusting the reference weight of the target pixel to obtain the target weight of the target pixel; According to the target weight corresponding to each of the target pixels, color adjustment is performed on each of the target pixels, and according to the reference weights corresponding to other pixels, color adjustment is performed on the other pixels, so as to obtain third color data of each pixel after color adjustment in the second color space; The third conversion unit is configured to perform a second color space inverse conversion on the third color data of each pixel to determine the to-be-displayed data after the color of each pixel is adjusted.
5. The image color processing device according to claim 4, wherein: The control module comprises a parameter adjustment unit; the parameter adjustment unit is configured to send a predetermined first conversion factor of a pixel to the first color space to a first conversion unit in the second processing module; The first conversion unit is specifically configured to perform a first color space conversion on each pixel point corresponding to the frame image data block according to the received first conversion factor, and determine the first color data of each pixel point in the first color space.
6. The image color processing device according to claim 4, wherein: The first color space is a YCbCr color space, and the first color data includes a brightness component, a blue chrominance component, and a red chrominance component; The control module includes a parameter adjustment unit; the parameter adjustment unit is configured to send a predetermined component correction coefficient under different brightness ranges to the target determination unit; The target determination unit is specifically configured to respectively correct the blue chromaticity component and the red chromaticity component in the first color data according to the brightness component in each of the first color data and the component correction coefficients under different brightness ranges; When the corrected blue chromaticity component is within the first preset component range, and the corrected red chromaticity component is within the second preset component range, the pixel point corresponding to the first color data is determined to be the target pixel point.
7. The image color processing device according to claim 4, wherein: The second conversion unit is specifically configured to determine the first intermediate data based on the maximum sub-pixel and the minimum sub-pixel of each pixel; based on the first intermediate data, perform a second color space conversion on each pixel corresponding to the frame image data block to determine the second color data of each pixel in the second color space.
8. The image color processing device according to claim 4, wherein: The second color space is an HSV color space; the second color data includes a first hue, a first saturation and a first brightness; The control module includes a parameter adjustment unit; the parameter adjustment unit is configured to send a predetermined initial weight to the color adjustment unit; The color adjustment unit is specifically configured to determine a reference weight of each pixel using the first preset algorithm according to the received initial weight, the maximum sub-pixel of each pixel and the first saturation in the second color data of each pixel; According to a preset color enhancement rule, the reference weight of the target pixel is adjusted to obtain a target weight of the target pixel; According to the target weight corresponding to each target pixel and the first saturation, color adjustment is performed on each target pixel to obtain the second saturation of the target pixel; according to the reference weights corresponding to the other pixels and the first saturation, color adjustment is performed on the other pixels to obtain the second saturation of the other pixels; the first hue, second saturation and first brightness of the target pixel are used as the third color data of the target pixel; and the first hue, second saturation and first brightness of the other pixels are used as the third color data of the other pixels.
9. The image color processing device according to claim 4, wherein: The second color space is an HSV color space; the third color data includes a first hue, a second saturation and a first brightness; The third conversion unit is specifically configured to determine the second intermediate data according to the first hue, the second saturation and the first brightness in the third color data using a second preset algorithm; and to determine the data to be displayed according to the second intermediate data, the first brightness and the first hue using a third preset algorithm.
10. The image color processing device according to claim 1, wherein: The video timing information also includes a video frame rate; the control module includes a timing generation unit and a control unit; The timing generation unit is configured to generate a timing transmission signal of the data path according to the video resolution, the video frame rate and the video source clock; The control unit is configured to transmit the frame image data block to the corresponding second processing module through the corresponding data path according to the timing transmission signal.
11. The image color processing device according to claim 1, wherein: The video output module is configured to convert the data to be displayed into display data corresponding to a preset video protocol interface, and transmit the display data to a display terminal for display.
12. The image color processing device according to claim 1, wherein: The control module includes a reset unit; The reset unit is configured to send a reset instruction to the second processing module when detecting that the second processing module is in an idle state; The second processing module is further configured to execute a reset operation in response to a received reset instruction.
13. An image color processing method, applied to the image color processing device according to any one of claims 1 to 12; wherein: include: Acquire and parse the video stream to obtain frame image data and video timing information; The video timing information includes video resolution; Determine a frame image data block according to the video resolution and the frame image data, and transmit the frame image data block to a corresponding data path; Performing a first color space conversion on each pixel point corresponding to the frame image data block received from the data path, determining first color data of each pixel point in the first color space, and determining a target pixel point according to the first color data; and performing a second color space conversion on each pixel point corresponding to the received frame image data block, determining second color data of each pixel point in the second color space; Obtaining a reference weight for each pixel using a first preset algorithm according to the second color data of each pixel in the second color space and a predetermined initial weight; Adjusting the reference weight of the target pixel to obtain the target weight of the target pixel; According to the target weight corresponding to each of the target pixels, the color of each of the target pixels is adjusted, and according to the reference weights corresponding to each of the other pixels, the color of the other pixels is adjusted to obtain data to be displayed; The data to be displayed is output to a display device.
14. An image color processing system, comprising a display device and the image color processing apparatus according to any one of claims 1 to 12.
Citation Information
Patent Citations
360-degree panoramic video mosaicing system
CN105141920A
Video foreground image extraction method and device
CN106504264A
