Image enhancement method, image processing chip and image enhancement video system
The neural network processor classifies and optimizes video images, which solves the problem in the existing technology that cannot be optimized according to the characteristics of each frame, realizes real-time optimization and partitioned backlight processing of video images, and significantly improves image quality.
Patent Information
- Application Number
- CN202311421604.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-10-31
- Publication Date
- 2024-09-27
- Estimated Expiration
- 2043-10-31
AI Technical Summary
In the existing technology, video image enhancement methods cannot be optimized according to the specific characteristics of each frame of image, and the manually set image quality adjustment parameters require manual intervention, resulting in poor optimization effects.
Use the neural network processor for image classification training, optimize and adjust the image parameters of each category, and perform real-time optimization of each frame of image through AI algorithms, including image quality and color optimization, and use partition calculation to obtain backlight parameters to achieve adaptive images. Enhance.
It improves the image quality of video displayed on the screen, realizes real-time optimization and partitioned backlight processing of each frame of image, and improves the effect of image display.
Smart Images

Figure CN117437163B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of image processing technology, and in particular to an image enhancement method, an image processing chip and an image enhancement video system. Background Art
[0002] The video image signal is transmitted from the video source output chip to the display screen through the LVDS, VBO, eDP or MIPI interface. The image quality of the video displayed on the screen is highly correlated with the video source output chip. Optimizing the image output by the video source output chip can improve the image quality displayed on the display screen.
[0003] Currently, the image quality can be optimized by adjusting the picture quality (PQ) adjustment parameters of the local or overall image. The picture quality adjustment parameters can be manually set and the picture quality can be optimized according to the manually set picture quality adjustment parameters. However, the picture quality optimization by manual means requires manual intervention and the optimization effect is poor.
[0004] In addition, traditional video image enhancement uses one or several sets of parameters corresponding to all image scenes, and cannot be optimized and enhanced according to the specific characteristics of each frame. Summary of the invention
[0005] In order to solve at least part of the above problems in the prior art, the present invention provides an image enhancement method, comprising:
[0006] Use the calibrated images for classification training and build a neural network processor;
[0007] Optimize and adjust the parameters of each category of images to obtain the best image quality, and save the corresponding optimal parameter values in the neural network processor;
[0008] Using a neural network processor to classify each frame of the input image, and calling the optimal parameter value of the corresponding category to optimize the image; and
[0009] Perform partition calculation on each input frame image to obtain the backlight parameters of each partition.
[0010] Furthermore, the neural network processor is used to classify each frame of the input image, and the optimal parameter value of the corresponding category is called to optimize the image, including:
[0011] Intercepting each frame of the image on the display path, using a neural network processor to classify each frame of the image, and calling the optimal image quality parameter value of the corresponding category to optimize the image quality; and
[0012] A neural network processor is used to classify each frame of the image, and the image adaptive 3DLUT further optimizes the image color according to the optimal image color parameter value of the corresponding classification.
[0013] Furthermore, a neural network processor is used to classify each frame of the image, and the scene and object of each frame of the image are identified to obtain content-related weights;
[0014] fusing multiple base 3D LUTs into an image-adaptive 3D LUT using weights; and
[0015] Image adaptive 3DLUT automatically adjusts color parameters according to the optimal image color parameter values of the corresponding category to enhance image color.
[0016] Furthermore, before classifying the image, the image captured on the display path is degraded.
[0017] Furthermore, each input frame image is partitioned and the backlight parameters of each partition are obtained, including:
[0018] Each frame of the image is captured on the video path, and the circuit is used to perform partition calculations on each frame of the image. The calculated backlight brightness value of each partition is transmitted to the display, and the image of each partition is optimized accordingly.
[0019] Furthermore, the image quality parameters include the image color parameters, and the image quality parameters include: color saturation, brightness, noise, clarity, contrast, sharpening and color balance.
[0020] Furthermore, the image color parameters include color saturation, brightness and clarity.
[0021] The present invention also provides an image processing chip, comprising:
[0022] A neural network processor configured to use an AI algorithm to calculate each frame of the input video data to obtain optimal parameters for each frame of the image; and
[0023] An image quality processor is communicatively connected to the neural network processor and is configured to optimize and enhance image quality according to optimal parameters calculated by the neural network processor.
[0024] Furthermore, it also includes:
[0025] a video input interface, which is communicatively connected to the neural network processor, and the video input interface is configured to receive video data and transmit it to the neural network processor; and
[0026] A video output interface is communicatively connected to the image quality processor and is configured to output video data after image quality optimization and enhancement.
[0027] The present invention also provides an image enhancement video system, comprising:
[0028] A video source output chip configured to provide video data to the image processing chip;
[0029] The above-mentioned image processing chip; and
[0030] A display system is connected to the image processing chip for communication, and the display system includes:
[0031] a display interface chip configured to convert video data into screen display signals; and
[0032] Backlight control is configured to control the brightness and switch of the backlight control light of the screen according to the brightness information of the backlight light transmitted by the image processing chip.
[0033] The present invention has at least the following beneficial effects: (1) In the image enhancement method and image enhancement video system disclosed in the present invention, an image processing chip with AI function is used on the display path, and an AI algorithm is adopted to calculate each frame of the input video and perform real-time optimization of the image quality of each frame, thereby effectively improving the image quality of the video displayed on the screen; (2) The partition backlight optimization disclosed in the present invention provides a solution for realizing real-time partition backlight for chips that do not have partition backlight processing capabilities. BRIEF DESCRIPTION OF THE DRAWINGS
[0034] In order to further clarify the above and other advantages and features of various embodiments of the present invention, a more specific description of various embodiments of the present invention will be presented with reference to the accompanying drawings. It will be understood that these drawings only depict typical embodiments of the present invention and are therefore not to be considered as limiting the scope thereof.
[0035] Figure 1 A schematic diagram of a general video system is shown;
[0036] Figure 2 A schematic diagram of an image enhancement video system according to an embodiment of the present invention is shown;
[0037] Figure 3 A schematic diagram of an image processing chip according to an embodiment of the present invention is shown;
[0038] Figure 4 A schematic diagram showing real-time classification optimization of image quality according to an embodiment of the present invention is shown;
[0039] Figure 5A schematic diagram showing image color optimization according to an embodiment of the present invention; and
[0040] Figure 6 A schematic diagram of backlight partition enhancement according to an embodiment of the present invention is shown. DETAILED DESCRIPTION
[0041] It should be noted that various components in the various drawings may be shown exaggeratedly for illustrative purposes and are not necessarily correct to scale.
[0042] In the present invention, each embodiment is only intended to illustrate the aspects of the present invention and should not be construed as limiting.
[0043] In the present invention, unless otherwise specified, the quantifiers "a", "an" and "an" do not exclude the presence of a plurality of elements.
[0044] It should also be pointed out that in the embodiments of the present invention, for the sake of clarity and simplicity, only a portion of the parts or components may be shown, but a person of ordinary skill in the art will understand that under the teachings of the present invention, required parts or components may be added as needed in specific scenarios.
[0045] It should also be pointed out that within the scope of the present invention, the terms "same", "equal", "equal to" and the like do not mean that the two values are absolutely equal, but allow a certain reasonable error, that is, the terms also cover "substantially the same", "substantially equal", and "substantially equal to".
[0046] It should also be pointed out that in the description of the present invention, the terms "center", "longitudinal", "lateral", "up", "down", "front", "back", "left", "right", "vertical", "horizontal", "top", "bottom", "inside", "outside" and the like indicate positions or positional relationships based on the positions or positional relationships shown in the accompanying drawings, and are only for the convenience of describing the present invention and simplifying the description, rather than explicitly or implicitly indicating that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as limiting the present invention. In addition, the terms "first" and "second" are used for descriptive purposes only and cannot be understood as explicitly or implicitly indicating relative importance.
[0047] In addition, the numbering of the steps of the methods of the present invention does not limit the execution order of the method steps. Unless otherwise specified, the method steps can be executed in different orders.
[0048] Figure 1 A schematic diagram of a general video system is shown in FIG. Figure 1As shown, video data is transmitted from the video source output chip 101 to the display interface chip 103 (TCON-Timing Controller) in the display system 102. The display interface chip 103 directly converts the received video data into a screen display signal. The backlight control 104 controls the brightness and switch of the backlight control lamp of the screen to display the video.
[0049] The image quality of the video displayed on the screen is highly correlated with the video data output by the video source output chip. To improve the quality of the displayed video image, the image quality of the video output by the video source output chip needs to be optimized.
[0050] Figure 2 A schematic diagram of an image enhancement video system according to an embodiment of the present invention is shown.
[0051] like Figure 2 As shown, the video data is transmitted from the video source output chip 201 to the image processing chip 202. The image processing chip 202 optimizes and enhances the image quality and backlight of each frame of the video, and transmits the optimized video data to the display interface chip 204 in the display system 203. The display interface chip 204 directly converts the video data into a screen display signal. At the same time, the image processing chip 202 transmits the brightness information of the backlight to the backlight control module 205. The backlight control module 205 controls the brightness and switch of the backlight control lamp of the screen according to the received information.
[0052] Figure 3 A schematic diagram of an image processing chip according to an embodiment of the present invention is shown.
[0053] like Figure 3 As shown, the image processing chip mainly includes: a video input interface 301, a neural network processor (AI-NPU) 302, an image quality processor 303 and a video output interface 304.
[0054] Image processing chip workflow:
[0055] The image processing chip receives video data through the video input interface 301 and transmits the video data to the neural network processor 302. The neural network processor 302 processes each frame of the input video data through AI algorithm operation, obtains the optimal parameters for the input image, and transmits the optimal parameters to the image quality processor 303. The image quality processor 303 uses the optimal parameters to optimize and enhance the quality of the received video data, and then outputs the video data with optimized quality through the video output interface 304.
[0056] Image optimization can be roughly divided into three parts: 1. Optimization and enhancement of image quality; 2. Further optimization of image color; 3. Zoning enhancement of backlight.
[0057] Before image optimization, a neural network processor needs to be trained, and then a neural network processor (AI-NPU) is used for optimization.
[0058] Use convolutional neural networks to classify and train the calibrated images and build a neural network processor. Manually optimize and adjust multiple parameters of each category of images to obtain the best image quality, and save the corresponding optimal parameter values in the neural network processor.
[0059] Figure 4 A schematic diagram of a process of real-time classification optimization of image quality according to an embodiment of the present invention is shown.
[0060] like Figure 4 As shown in the figure, each frame of video image is intercepted on the display path, and after the operation of the neural network processor, each frame of image is mapped to the corresponding image category according to the calculation result, and then the image quality parameters of the corresponding image category are automatically called to optimize the image quality and enhance the image. Image quality parameters include color saturation, brightness, noise, clarity, contrast, etc. All image quality parameters including color parameters are optimized, and the image color will be refined separately in the future. The captured image is a high-resolution HR image, which needs to be reduced for convolution operation for classification, which can reduce the amount of calculation, so the high-resolution HR image needs to be degraded to a low-resolution LR image before classification.
[0061] Unlike traditional image optimization processing, the present invention makes full use of the computing power of the neural network processor to perform targeted optimization and enhancement on each frame of the image in real time. Traditional video image enhancement uses one or several sets of parameters to correspond to all image scenes and cannot perform optimization and enhancement according to the specific characteristics of each frame.
[0062] Figure 5 A schematic diagram of image color optimization according to an embodiment of the present invention is shown.
[0063] like Figure 5 As shown, the neural network processor model calculates according to each frame of the intercepted video input to obtain the weight values corresponding to multiple basic 3DLUTs (RGB mapping lookup tables), and then multiple basic 3DLUTs are fused according to the weight values to generate an image adaptive 3DLUT. This image adaptive 3DLUT is combined with the hardware circuit to optimize the RGB of each frame of the video, generate the expected image in real time, achieve the best display effect, and give the audience the best visual experience.
[0064] Specifically, the input high-resolution high-definition (HR) image is degraded to obtain a low-resolution LR image. The input is an HR image, and the HR image needs to be reduced for classification convolution operations to reduce the amount of calculation, so the high-resolution HR image needs to be degraded to a low-resolution LR image. The neural network processor classifies each frame of the degraded image, maps the image to the corresponding image category, and identifies the scene and object of each frame of the image to obtain content-related weights. Multiple basic 3DLUTs (RGB mapping lookup tables) are fused into an image adaptive 3DLUT using weight values. Then the image adaptive 3DLUT automatically adjusts color saturation, brightness, clarity and other parameters according to the optimal image color parameter value (RGB) of the corresponding category to enhance the image color. The optimized video works together with the hardware to give viewers the best visual experience.
[0065] If the image classification is correct during optimization, the loss in the RGB optimization adjustment calculation process is the loss of the image when the classification is correct and the expected image. If the image classification is wrong during optimization, the loss in the RGB optimization adjustment calculation process is the loss of the image when the classification is wrong and the expected image.
[0066] Features of this technology: 1. Real-time processing of video frames; 2. Use AI models to perform detailed processing of each frame.
[0067] Figure 6 A schematic diagram of backlight partition enhancement according to an embodiment of the present invention is shown.
[0068] like Figure 6 As shown, each frame of the image is captured on the video path, and the circuit is used to perform partition calculation for each frame of the image. The calculated backlight brightness value of each partition is sent to the display through the display's dedicated interface, and at the same time, the image of each partition is optimized accordingly (such as brightness compensation, boundary balance, etc.), ultimately obtaining real-time optimal visual effects.
[0069] The characteristics of this technology are: 1. Real-time calculation of more partitions; 2. This method provides a solution for implementing real-time partition backlighting for chips that do not have the ability to process partition backlighting.
[0070] Although some embodiments of the present invention have been described in this application document, it will be appreciated by those skilled in the art that these embodiments are merely shown as examples. Those skilled in the art may conceive of numerous variations, alternatives, and improvements under the teachings of the present invention without departing from the scope of the present invention. The appended claims are intended to define the scope of the present invention and to cover methods and structures within the scope of these claims themselves and their equivalents.
Claims
1. An image enhancement method, characterized in that: Applied to vehicle driving, an image enhancement video system is used to optimize images in real time. The image enhancement video system includes a video source output chip, an image processing chip and a display system in sequence. The display system includes a display interface chip and a backlight control module. The image processing chip includes a neural network processor and an image quality processor. Video data is transmitted from the video source output chip to the image processing chip. The image processing chip optimizes and enhances the image quality and backlight of each frame of the video, and transmits the optimized video data to the display interface chip in the display system. The display interface chip directly converts the video data into a screen display signal. At the same time, the image processing chip transmits the brightness information of the backlight to the backlight control module. The backlight control module controls the brightness and switch of the backlight control lamp of the screen according to the received information. The image enhancement method comprises: Use the calibrated images for classification training and build a neural network processor; Manually optimize and adjust the parameters of each category of images to obtain the best image quality, and save the corresponding optimal parameter values in the neural network processor; Use the neural network processor to classify each frame of the input image and call the optimal parameter value of the corresponding category to optimize the image, including: Intercepting each frame of the image on the display path, using a neural network processor to classify each frame of the image, and calling the optimal image quality parameter value of the corresponding category to optimize the image quality; and Using a neural network processor to classify each frame of the image, the image adaptive 3DLUT further optimizes the image color according to the optimal image color parameter value of the corresponding classification; and Perform partition calculation on each input frame image to obtain the backlight parameters of each partition.
2. The image enhancement method according to claim 1, characterized in that: Use a neural network processor to classify each frame of the image, and identify the scene and object of each frame of the image to obtain content-related weights; Multiple basic 3DLUTs are fused into image-adaptive 3DLUTs using weights; as well as Image adaptive 3DLUT automatically adjusts color parameters according to the optimal image color parameter values of the corresponding category to enhance image color.
3. The image enhancement method according to claim 2, characterized in that: Before classifying the image, the image captured on the display path is degraded.
4. The image enhancement method according to claim 1, characterized in that: Partition calculation is performed on each input frame image to obtain the backlight parameters of each partition, and the image of each partition is optimized accordingly, including: Each frame of the image is captured on the video path, and the circuit is used to perform partition calculations on each frame of the image. The calculated backlight brightness value of each partition is transmitted to the display, and the image of each partition is optimized accordingly.
5. The image enhancement method according to claim 1, characterized in that: The image quality parameters include the image color parameters, and the image quality parameters include: color saturation, brightness, noise, clarity, contrast, sharpening and color balance.
6. The image enhancement method according to claim 1, characterized in that: The image color parameters include color saturation, brightness and clarity.
7. An image enhancement video system, characterized in that: The image is optimized in real time using an image enhancement video system, the image enhancement video system comprising: A video source output chip configured to provide video data to the image processing chip; Image processing chip, including: A neural network processor is configured to use an AI algorithm to calculate each frame of the input video data to obtain optimal parameters for each frame of the image, wherein the establishment of the neural network processor includes: Use the calibrated images for classification training and build a neural network processor; Manually optimizing and adjusting the parameters of each category of images to obtain the best image quality, and saving the corresponding optimal parameter values in the neural network processor; and An image quality processor, which is in communication with the neural network processor and is configured to optimize and enhance image quality according to the optimal parameters calculated by the neural network processor; intercept each frame of image on the display path, classify each frame of image using the neural network processor, and call the optimal image quality parameter value of the corresponding category to optimize the image quality; and classify each frame of image using the neural network processor, and the image adaptive 3DLUT further optimizes the image color according to the optimal image color parameter value of the corresponding category; a video input interface, which is communicatively connected to the neural network processor, and the video input interface is configured to receive video data and transmit it to the neural network processor; and a video output interface, which is communicatively connected to the image quality processor and is configured to output video data with optimized and enhanced image quality; and A display system is connected to the image processing chip for communication, and the display system includes: a display interface chip configured to convert video data into screen display signals; and Backlight control, which is configured to control the brightness and switch of the backlight control lamp of the screen according to the brightness information of the backlight lamp transmitted by the image processing chip; The video data is transmitted from the video source output chip to the image processing chip. The image processing chip optimizes and enhances the image quality and backlight of each frame of the video, and transmits the optimized video data to the display interface chip in the display system. The display interface chip directly converts the video data into a screen display signal. At the same time, the image processing chip transmits the brightness information of the backlight to the backlight control module. The backlight control module controls the brightness and switching of the screen backlight control lamp according to the received information.
