Image processing chip, electronic device, image processing method and storage medium

By using multiple sets of convolution circuits and pixel reorganization circuits in the image processing chip to perform convolution calculation and reorganization of image data, the problem of low super-resolution processing efficiency of traditional chips is solved, and efficient image processing and resource saving are achieved.

CN113674153BActive Publication Date: 2024-10-22GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202110912356.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-08-10
Publication Date
2024-10-22
Estimated Expiration
2041-08-10

AI Technical Summary

Technical Problem

Traditional general-purpose chips are inefficient when performing image super-resolution processing and need to handle other functions, resulting in low efficiency.

Method used

Design an image processing chip that contains multiple sets of convolution circuits and multiple sets of pixel reorganization circuits, which are used to perform pixel convolution calculations and reorganization of image data to achieve rapid generation and transmission of super-resolution image data and avoid the use of super-resolution processing. Independent functions to improve data storage and channel transmission efficiency.

Benefits of technology

Efficient image super-resolution processing is achieved, which improves the efficiency of image processing. The utilization rate of system computing power reaches more than 90%, saving system computing power and computer resources.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113674153B_ABST
    Figure CN113674153B_ABST
Patent Text Reader

Abstract

The present application relates to an image processing chip, an electronic device, an image processing method and a computer-readable storage medium. The image processing chip includes a first data receiving module, a super-resolution module and a data sending module; wherein the first data receiving module is used to receive first image data; the super-resolution module is connected to the first data receiving module, the super-resolution module includes multiple groups of convolution circuits and multiple groups of pixel recombination circuits, the multiple groups of convolution circuits are used to perform pixel convolution calculations on the first image data to obtain intermediate data; the multiple groups of pixel recombination circuits are used to perform pixel comparison and recombination on the intermediate data to obtain super-resolution image data; the data sending module is connected to the super-resolution module, the data sending module is used to send the super-resolution image data, which can improve the efficiency of super-resolution processing.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to computer technology, and in particular to an image processing chip, an electronic device, an image processing method and a computer-readable storage medium. Background Art

[0002] With the advent of the mobile Internet era, the popularity of smart electronic devices has become a major trend. The emergence of such smart electronic devices has changed the lifestyles of many people and their demand for traditional communication tools. People are no longer satisfied with the appearance and basic functions of smart electronic devices, but are beginning to pursue smart electronic devices that can bring more, stronger and more personalized functional services to people. Smart electronic devices have almost become an indispensable representative configuration of this era. Nowadays, more and more consumers are targeting the entertainment, Internet access, news and service application functions of smart electronic devices when purchasing mobile phones. Being able to better meet consumers' ultimate experience of functions has also become the goal of mobile phone manufacturers, and the image resolution displayed by smart electronic devices is a very important part of it.

[0003] Traditional electronic devices usually perform super-resolution processing on images based on general-purpose chips such as GPU (graphics processing unit) / CPU (central processing unit). However, when performing super-resolution processing, traditional general-purpose chips also need to process other functions, resulting in low super-resolution processing efficiency. Summary of the invention

[0004] The embodiments of the present application provide an image processing chip, an electronic device, an image processing method and a computer-readable storage medium, which can improve the efficiency of super-resolution processing.

[0005] An image processing chip, comprising:

[0006] A first data receiving module, used for receiving first image data;

[0007] A super-resolution module connected to the first data receiving module, the super-resolution module comprising a plurality of groups of convolution circuits and a plurality of groups of pixel reorganization circuits, the plurality of groups of convolution circuits being used to perform pixel convolution calculations on the first image data to obtain intermediate data; the plurality of groups of pixel reorganization circuits being used to perform pixel comparison and reorganization on the intermediate data to obtain super-resolution image data;

[0008] A data sending module is connected to the super-resolution module, and is used to send the super-resolution image data.

[0009] In one of the embodiments, the first image data includes an image size; and the plurality of groups of convolution circuits are further configured to perform pixel convolution calculation on the first image data to obtain intermediate data when it is determined that the image size matches a preset input image size.

[0010] In one of the embodiments, the multiple groups of convolution circuits are also used to adjust the image size to the preset input image size to obtain second image data when it is determined that the image size does not match the preset input image size, and perform pixel convolution calculation on the second image data to obtain intermediate data.

[0011] In one embodiment, the image processing chip further includes:

[0012] A model storage module is connected to the super-resolution module. The model storage module is used to store the super-resolution model, train the super-resolution model, and send the super-resolution model to the super-resolution module after the super-resolution model training is completed; the super-resolution module is also used to use the trained super-resolution model to perform super-resolution processing on the image data.

[0013] In one embodiment, the trained super-resolution model includes a multi-operator set, each operator in the multi-operator set represents a processing algorithm, and the operators of the multi-operator set include at least a multi-object detection operator, a sub-pixel filling operator, an image quality enhancement operator, a high dynamic range image restoration operator, a multi-frame denoising operator, a fast effect removal operator, a picture dehazing operator and a transparency enhancement operator.

[0014] In one embodiment, the image processing chip further includes:

[0015] The second data receiving module is connected to the super-resolution module, and is used to receive the first image data and control and process the first image data in a screen menu adjustment manner.

[0016] In one embodiment, the image processing chip further includes:

[0017] a display effect processing module connected to the super-resolution module, the display effect processing module being used to receive the super-resolution image data transmitted by the super-resolution module, and perform display effect processing on the super-resolution image data to obtain third image data, and return the third image data to the super-resolution module;

[0018] The super-resolution module is further used to send the third image data to the data sending module.

[0019] In one of the embodiments, the data sending module is further used to transmit the super-resolution image data to a display link so as to display the super-resolution image data on a display screen.

[0020] In one embodiment, the first data receiving module is further used to sequentially perform decoding, frame buffering, two-dimensional enlargement processing and high dynamic range image synthesis processing on the first image data to obtain fourth image data, and send the fourth image data to the super-resolution module;

[0021] The multiple groups of convolution circuits in the super-resolution module are also used to perform pixel convolution calculation on the fourth image data to obtain intermediate data.

[0022] An electronic device comprises the above-mentioned image processing chip.

[0023] An image processing method, comprising:

[0024] receiving first image data;

[0025] Perform pixel convolution calculation on the first image data through multiple groups of convolution circuits to obtain intermediate data, and perform pixel comparison and reorganization on the intermediate data through multiple groups of pixel reorganization circuits to obtain super-resolution image data;

[0026] The super-resolution image data is sent.

[0027] In one embodiment, the first image data includes an image size; performing pixel convolution calculation on the first image data by multiple groups of convolution circuits to obtain intermediate data includes:

[0028] When it is determined that the image size matches the preset input image size, performing pixel convolution calculation on the first image data through a plurality of groups of convolution circuits to obtain intermediate data;

[0029] When it is determined that the image size does not match the preset input image size, the image size is adjusted to the preset input image size through multiple groups of convolution circuits to obtain second image data, and pixel convolution calculation is performed on the second image data to obtain intermediate data.

[0030] In one embodiment, the method further comprises:

[0031] Training the super-resolution model to obtain a trained super-resolution model, and using the trained super-resolution model to perform pixel convolution calculations on the first image data through multiple groups of convolution circuits to obtain intermediate data, and performing pixel comparison and reorganization on the intermediate data through multiple groups of pixel reorganization circuits to obtain super-resolution image data;

[0032] Among them, the trained super-resolution model includes a multi-operator set, each operator in the multi-operator set represents a processing algorithm, and the operators of the multi-operator set include at least a multi-object detection operator, a sub-pixel filling operator, an image quality enhancement operator, a high dynamic range image restoration operator, a multi-frame denoising operator, a fast effect removal operator, a picture dehazing operator and a transparency enhancement operator.

[0033] A computer-readable storage medium stores a computer program, which implements the steps of the above method when executed by a processor.

[0034] The above-mentioned image processing chip, electronic device, image processing method and computer-readable storage medium, the image processing chip includes a first data receiving module, a super-resolution module and a data sending module, wherein the first data receiving module is used to receive the first image data; the super-resolution module includes multiple groups of convolution circuits and multiple groups of pixel reorganization circuits, the multiple groups of convolution circuits are used to perform pixel convolution calculations on the first image data to obtain intermediate data, and then the multiple groups of pixel reorganization circuits compare and reorganize the intermediate data pixels, so that the super-resolution image data can be quickly obtained, and the super-resolution image data is sent through the data sending module. The above-mentioned image processing chip can be used exclusively for super-resolution processing of image data, avoiding the use of other functions unrelated to super-resolution processing, and can improve the efficiency of data storage and channel transmission, thereby improving the efficiency of super-resolution processing. In addition, the super-resolution module in the above-mentioned image processing chip is designed with multiple groups of convolution circuits and multiple groups of pixel reorganization circuits, and the first image data is convoluted and then compared and reorganized, so that the super-resolution processing can be accurately realized. BRIEF DESCRIPTION OF THE DRAWINGS

[0035] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0036] Figure 1 is a schematic diagram of the structure of an electronic device in one embodiment;

[0037] Figure 2 is a schematic diagram of the structure of an image processing chip in one embodiment;

[0038] Figure 3 A schematic diagram of the structure of a super-resolution module in an embodiment;

[0039] Figure 4 is a schematic diagram of the structure of an image processing chip in another embodiment;

[0040] Figure 5 A schematic diagram of a process flow of super-resolution processing in one embodiment;

[0041] Figure 6 is a schematic diagram of the structure of an image processing chip in another embodiment;

[0042] Figure 7 is a schematic diagram of the structure of an image processing chip in another embodiment;

[0043] Figure 8 is a schematic diagram of the structure of an image processing chip in another embodiment;

[0044] Fig. 9 is a schematic diagram of the structure of an image processing chip in another embodiment;

[0045] Fig.10 A schematic diagram of a process flow of super-resolution processing in another embodiment;

[0046] Fig.11 FIG. 4 is a flowchart of an image processing method in one embodiment. DETAILED DESCRIPTION

[0047] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0048] It is understood that the terms "first", "second", etc. used in this application may be used herein to describe various elements, but these elements are not limited by these terms. These terms are only used to distinguish a first element from another element. For example, without departing from the scope of this application, the first image data may be referred to as the second image data, and similarly, the second image data may be referred to as the first image data. Both the first image data and the second image data are image data, but they are not the same image data.

[0049] refer to Figure 1, the electronic device 10 includes a camera 100 and a display screen 200, the camera 100 is arranged in the housing, and the camera 100 can be used to perform a shooting function to obtain image data. For example, in some embodiments, the camera 100 can perform the function of a front camera, and the user can use the camera 100 to take selfies, make video calls, and other operations. In other embodiments, the camera 100 can perform the function of a rear camera, and the user can use the camera 100 to perform macro photography, video recording, and other operations. The camera 100 sends the acquired image data to the image processing chip, and the image processing chip can perform super-resolution processing on the image data to obtain super-resolution image data, and then send the super-resolution image data to the display screen 200 for display. In some embodiments, the electronic device 10 can be a smart phone. In other embodiments, the electronic device 10 can also be a tablet computer, a laptop computer, a wearable device, and the like. The wearable device can be a smart watch, a VR (Virtual Reality) device, an AR (Augmented Reality) device, and the like.

[0050] Combination Figure 2 The image processing chip 20 includes a first data receiving module 202, a super-resolution module 206 and a data sending module 204; wherein the first data receiving module 202 is used to receive first image data; the super-resolution module 206 is connected to the first data receiving module 202, and the super-resolution module 206 includes multiple groups of convolution circuits and multiple groups of pixel reorganization circuits, the multiple groups of convolution circuits are used to perform pixel convolution calculations on the first image data to obtain intermediate data; the multiple groups of pixel reorganization circuits are used to compare and reorganize pixels on the intermediate data to obtain super-resolution image data; the data sending module 204 is connected to the super-resolution module 206, and the data sending module 204 is used to send super-resolution image data.

[0051] The first data receiving module 202 is a first module for receiving data. The super-resolution module 206 is a module for performing super-resolution (SR) processing on an image. The data sending module 204 is a module for sending data. The interface for receiving the first image data in the first data receiving module 202 can be a mobile industry processor interface (MIPI) or other interfaces, which are not limited here. The interface for sending super-resolution image data in the data sending module 204 can be a mobile industry processor interface (MIPI) or other interfaces, which are not limited here.

[0052] The first image data is image data received by the first data receiving module 202. The first image data may include at least RGB data of the image itself, image shooting time, exposure parameters and other data.

[0053] The super-resolution module 206 includes multiple groups of convolution circuits and multiple groups of pixel reorganization circuits. The number of convolution circuits and pixel reorganization circuits can be set as needed. For example, the super-resolution module 206 includes 4 groups of convolution circuits and 5 groups of pixel reorganization circuits; the super-resolution module 206 includes 6 groups of convolution circuits and 6 groups of pixel reorganization circuits.

[0054] The convolution circuit is a circuit that performs convolution processing on image data. The pixel reorganization circuit is a circuit that compares and reorganizes data.

[0055] Super-resolution image data is image data obtained after super-resolution processing. Super-resolution is to improve the resolution of the original image by hardware or software methods. The process of obtaining a high-resolution image through a series of low-resolution images is super-resolution reconstruction. It can be understood that the resolution of the super-resolution image data obtained after super-resolution processing is higher than the resolution of the first image data before super-resolution processing, so the super-resolution image data contains more image information and the image is clearer.

[0056] In one implementation, after the data transmission module 204 acquires the super-resolution image data, it can transmit the super-resolution image data transmission module 204 to the display link to display the super-resolution image data on the display screen. The display link can perform encoding and decoding processing on the super-resolution image data.

[0057] It should be noted that the super-resolution module can be set at the front end of the display link or at the back end of the display link, which can be applied more flexibly for the entire display link.

[0058] In another embodiment, after the data sending module 204 obtains the super-resolution image data, it can send the super-resolution image data to the processor to process the super-resolution image data accordingly. The processor can be a central processing unit (CPU) or a graphics processing unit (GPU), but is not limited thereto.

[0059] In another implementation, after the data sending module 204 acquires the super-resolution image data, it may send the super-resolution image data to a memory to store the super-resolution image data.

[0060] In one embodiment, the first data receiving module can also be used to receive the first image data in real time; the multiple groups of convolution circuits are also used to perform pixel convolution calculation on the first image data in real time to obtain intermediate data; the multiple groups of pixel reorganization circuits are also used to compare and reorganize pixels of the intermediate data in real time to obtain super-resolution image data; the data sending module is also used to send the super-resolution image data in real time. The image processing chip can perform super-resolution processing on the received first image data in real time, thereby improving the efficiency of image processing.

[0061] In this embodiment, the image processing chip 20 includes a first data receiving module 202, a super-resolution module 206 and a data sending module 204, wherein the first data receiving module 202 is used to receive the first image data; the super-resolution module 206 includes multiple groups of convolution circuits and multiple groups of pixel reorganization circuits, the multiple groups of convolution circuits are used to perform pixel convolution calculations on the first image data to obtain intermediate data, and then the multiple groups of pixel reorganization circuits compare and reorganize the pixels of the intermediate data, so that the super-resolution image data can be quickly obtained, and the super-resolution image data is sent through the data sending module 204. The above-mentioned image processing chip 20 can be dedicated to super-resolution processing of image data, avoiding the use of other functions unrelated to super-resolution processing, and can improve the efficiency of data storage and channel transmission, thereby improving the efficiency of super-resolution processing. In addition, the super-resolution module 206 in the above-mentioned image processing chip 20 is designed with multiple groups of convolution circuits and multiple groups of pixel reorganization circuits, and the first image data is convoluted and then compared and reorganized, so that the super-resolution processing can be accurately realized.

[0062] In addition, by logically arranging the modules in the above-mentioned image processing chip, the utilization rate of the system computing power can be increased to more than 90%, which greatly saves the system computing power and computer resources.

[0063] In one embodiment, the first data receiving module 202 is also used to perform decoding, frame buffering, two-dimensional enlargement processing and high dynamic range image synthesis processing on the first image data in sequence to obtain fourth image data, and send the fourth image data to the super-resolution module 206; the multiple groups of convolution circuits in the super-resolution module 206 are also used to perform pixel convolution calculations on the fourth image data to obtain intermediate data.

[0064] The fourth image data is image data obtained after the first data receiving module 202 sequentially decodes (DSCDecoder0), performs frame buffering (frame buffering), performs two-dimensional magnification processing (H / V Scalar), and performs high dynamic range image synthesis processing (SDR2HDR) on the first image data. The high dynamic range image synthesis processing can also convert a standard dynamic range image (Standard Dynamic Range, SDR) into a high dynamic range image (High Dynamic Range, HDR).

[0065] In another embodiment, a picture quality enhancement submodule may also be designed in the first data receiving module 202. Since the picture quality enhancement submodule and the high dynamic range image synthesis processing submodule have the same network structure, they can be shared, and no additional hardware consumption is required, which can improve the reuse rate and utilization rate of the hardware. For example, the high dynamic range image synthesis processing submodule and the picture quality enhancement submodule require a total of 10 layers of hardware architecture. If a shared approach is adopted, the three-layer network architecture required by the picture quality enhancement submodule can be omitted, which can improve the reuse rate and utilization rate of the hardware.

[0066] In one embodiment, Figure 3 As shown, the first image data is sent to the super-resolution module 206, which includes multiple groups of convolution circuits and multiple groups of pixel reorganization circuits. In this embodiment, the super-resolution module 206 includes 6 groups of convolution circuits and 5 groups of pixel reorganization circuits. The 6 groups of convolution circuits perform pixel convolution calculations on the first image data to obtain intermediate data; and the 5 groups of pixel reorganization circuits perform pixel comparison and reorganization on the intermediate data to obtain super-resolution image data.

[0067] In one embodiment, the first image data includes an image size; and the plurality of groups of convolution circuits are further configured to perform pixel convolution calculation on the first image data to obtain intermediate data when it is determined that the image size matches a preset input image size.

[0068] The preset input image size is a preset image size for super-resolution processing by the super-resolution module 206. For example, the preset input image size may be 500*800 pixels, 400*400 pixels, or 600*200 pixels.

[0069] In one implementation, if the image size is inconsistent with the preset input image size, the image size does not match the preset input image size; if the image size is consistent with the preset input image size, the image size matches the preset input image size.

[0070] In another embodiment, if the area difference between the image size and the preset input image size exceeds a preset range, the image size does not match the preset input image size; if the area difference between the image size and the preset input image size is within a preset range, the image size matches the preset input image size.

[0071] After receiving the first image data, multiple groups of convolution circuits determine whether the image size in the first image data matches the preset input image size, which can ensure that the image size of the first image data input to the super-resolution module 206 matches the preset input image size, and can accurately perform pixel convolution calculation on the first image data, thereby accurately super-resolution the image.

[0072] In one embodiment, the multiple groups of convolution circuits are also used to adjust the image size to the preset input image size when it is determined that the image size does not match the preset input image size, obtain second image data, and perform pixel convolution calculation on the second image data to obtain intermediate data.

[0073] The second image data is image data obtained after adjusting the image size of the first image data to a preset input image size.

[0074] The way in which multiple groups of convolution circuits adjust the image size may include stretching, scaling, pixel interpolation, pixel deletion, etc., which are not limited here.

[0075] In the case where it is determined that the image size does not match the preset input image size, the multiple groups of convolution circuits adjust the image size of the first image data to the preset input image size. Specifically, if the image size of the first image data is smaller than the preset input image size, the multiple groups of convolution circuits upsample the first image data and adjust the image size of the first image data to the preset input image size; if the image size of the first image data is larger than the preset input image size, the multiple groups of convolution circuits upsample the first image data and adjust the image size of the first image data to the preset input image size.

[0076] Among them, downsampling refers to the extraction of the signal. Upsampling is the reverse process of downsampling, also known as upsampling or interpolating.

[0077] In this embodiment, when it is determined that the image size does not match the preset input image size, the image size is adjusted to the preset input image size, which can ensure that the image size of the second image data input to the super-resolution module 206 matches the preset input image size, and pixel convolution calculation can be accurately performed on the second image data, thereby accurately super-resolution processing of the image.

[0078] In one embodiment, Figure 4 As shown, the image processing chip 20 also includes: a model storage module 208, which is connected to the super-resolution module 206. The model storage module 208 is used to store the super-resolution module 206, and to train the super-resolution model, and send it to the super-resolution module 206 after the super-resolution model training is completed; the super-resolution module 206 is also used to use the trained super-resolution model to perform super-resolution processing on the image data.

[0079] Optionally, the model storage module 208 may be a static random access memory (SRAM), a dynamic random access memory (DRAM), or other memories, but is not limited thereto.

[0080] The model storage module 208 stores the super-resolution model and may also store other data, such as the first image data, the super-resolution image data, etc.

[0081] The model storage module 208 is also used to train the super-resolution model and send it to the super-resolution module 206 after the super-resolution model training is completed. The super-resolution module 206 uses the trained super-resolution model to perform super-resolution processing on the image data, that is, multiple groups of convolution circuits are used to perform pixel convolution calculations on the first image data to obtain intermediate data; multiple groups of pixel recombination circuits are used to compare and recombine pixels of the intermediate data to obtain super-resolution image data.

[0082] In this embodiment, the image processing chip 20 also includes a model storage module 208, which can train the super-resolution model to obtain a trained super-resolution model. The trained super-resolution model can then perform super-resolution processing on image data more accurately.

[0083] In one embodiment, the trained super-resolution model includes a multi-operator set, each operator in the multi-operator set represents a processing algorithm, and the operators of the multi-operator set include at least a multi-object detection operator, a sub-pixel filling operator, a picture quality enhancement (PQ enhancement) operator, a high dynamic range image (High-Dynamic Range, HDR) restoration operator, a multi-frame denoising operator, a fast effect removal operator, a picture dehazing operator and a transparency enhancement operator.

[0084] In a broad sense, any function that performs a certain operation can be considered an operator. Each operator in the multi-operator set represents a processing algorithm, and the super-resolution model can be trained for each operator, so that the trained operator can accurately perform the corresponding processing.

[0085] It should be noted that the trained super-resolution model includes a multi-operator set, and each operator in the multi-operator set can be further trained, and the trained operators can be used to replace the original operators for updating.

[0086] In this embodiment, the trained super-resolution model includes a multi-operator set, and multiple operators, that is, multiple processing algorithms, can be used to process the image, thereby achieving super-resolution processing of the image.

[0087] In one embodiment, Figure 5 As shown, after the super-resolution module obtains the first image data, it determines whether the image size of the first image data matches the preset input image size. If it is judged as no, the image size of the first image data is adjusted, and then multiple groups of convolution circuits are used to perform feature extraction, sub-pixel partitioning and multi-layer sub-pixel convolution calculations in sequence to obtain intermediate data, and then multiple groups of sub-pixel recombination circuits are used to compare and reorganize the intermediate data, and the super-resolution image data can be output; if it is judged as yes, multiple groups of convolution circuits are directly used to perform feature extraction, sub-pixel partitioning and multi-layer sub-pixel convolution calculations in sequence to obtain intermediate data, and then multiple groups of sub-pixel recombination circuits are used to compare and reorganize the intermediate data, and the super-resolution image data can be output.

[0088] The image processing chip also includes a model storage module, and the module storage module includes a super-resolution model training system, which can train the super-resolution model to obtain a trained super-resolution model. Then, the super-resolution module can use the trained super-resolution model to more accurately perform feature extraction, sub-pixel partitioning, multi-layer sub-pixel convolution calculation, sub-pixel comparison and sub-pixel reconstruction processing on the first image data. Among them, the super-resolution model training system can use an artificial intelligence (AI) algorithm to train the super-resolution model. The artificial intelligence algorithm includes at least a global / local residual learning algorithm, a recursive learning algorithm, a multi-path learning algorithm, etc.

[0089] The trained super-resolution model can be calculated through multi-layer sub-pixel convolution to obtain a multi-operator set. The operators of the multi-operator set include at least a multi-object detection operator, a sub-pixel filling operator, an image quality enhancement operator, a high dynamic range image restoration operator, a multi-frame denoising operator, a fast effect removal operator, a picture defogging operator, and a transparency enhancement operator.

[0090] In one embodiment, Figure 6 As shown, the image processing chip 20 further includes: a second data receiving module 210 connected to the super-resolution module 206, the second data receiving module 210 is used to receive the first image data, and control and process the first image data in a screen menu adjustment manner.

[0091] The second data receiving module 210 is a second module for receiving data. The interface for receiving the first image data in the first data receiving module 210 can be a Mobile Industry Processor Interface (MIPI) or other interfaces, which are not limited here.

[0092] The on-screen display (OSD) is a method of generating some special fonts or graphics on the screen of the display so that the user can obtain some information. For example, the on-screen display may be used to insert bullet screens or specific patterns during the playback of the first image data.

[0093] In this embodiment, the image processing chip 20 also includes a second data receiving module 210, which can control and process the first image data in a screen menu-type adjustment manner, realize layered processing of the first image data and separate differentiation processing of some fixed display contents, and send the processed image data to the super-resolution module 206. The super-resolution module 206 can superimpose the image data sent by the first data receiving module 202 and the image data sent by the second data receiving module 210, and then send them to the data sending module 204. The data sending module 204 can send the processed image data to the display screen for display. For example, sending content such as barrage to the display screen for display can improve the efficiency and accuracy of controlling and processing the first image data in a screen menu-type adjustment manner.

[0094] In another embodiment, the second data receiving module 210 may also serve as an auxiliary module of the first data receiving module 202 to increase transmission efficiency.

[0095] In one embodiment, Figure 7 As shown, the image processing chip 20 also includes: a display effect processing module 212, which is connected to the super-resolution module 206, and the display effect processing module 212 is used to receive the super-resolution image data transmitted by the super-resolution module 206, and perform display effect processing on the super-resolution image data to obtain third image data, and return the third image data to the super-resolution module 206; the super-resolution module 206 is also used to send the third image data to the data sending module 204.

[0096] The third image data is image data obtained by performing display effect processing on the super-resolution image data.

[0097] The display effect processing module 212 performs display effect processing on the super-resolution image data, which may include at least color management, dithering, sharpness, color gamut map, local contrast, color calibration and other functions.

[0098] In this embodiment, the image processing chip 20 further includes a display effect processing module 212, which can perform display effect processing on the super-resolution image data to obtain more accurate and better third image data.

[0099] In one embodiment, Figure 8 As shown, another image processing chip is provided, including a first data receiving module 202, a super-resolution module 206, a data sending module 204, a model storage module 208, a second data receiving module 210 and a display effect processing module 212; wherein the first data receiving module 202, the data sending module 204, the model storage module 208, the second data receiving module 210 and the display effect processing module 212 are all connected to the super-resolution module 206.

[0100] The first data receiving module 202 is used to receive first image data.

[0101] The second data receiving module 210 is used to receive the first image data, and control and process the first image data in a screen menu adjustment manner.

[0102] The model storage module 208 is used to store the super-resolution model, train the super-resolution model, and send it to the super-resolution module after the super-resolution model training is completed.

[0103] The super-resolution module 206 is used to perform super-resolution processing on the image data using the trained super-resolution model. Specifically, the super-resolution module 206 includes multiple groups of convolution circuits and multiple groups of pixel reorganization circuits. The multiple groups of convolution circuits are used to perform pixel convolution calculations on the first image data to obtain intermediate data; the multiple groups of pixel reorganization circuits are used to compare and reorganize pixels on the intermediate data to obtain super-resolution image data.

[0104] The display effect processing module 212 is used to receive the super-resolution image data transmitted by the super-resolution module 206 , perform display effect processing on the super-resolution image data to obtain third image data, and return the third image data to the super-resolution module 206 .

[0105] The super-resolution module 206 is further configured to send the third image data to the data sending module 204 .

[0106] The data sending module 204 is used to send the third image data.

[0107] In one embodiment, Fig. 9 As shown, another image processing chip is provided, including a first data receiving module 202, a super-resolution module 206, a data sending module 204, a model storage module 208, a second data receiving module 210 and a display effect processing module 212; wherein the first data receiving module 202, the data sending module 204, the model storage module 208, the second data receiving module 210 and the display effect processing module 212 are all connected to the super-resolution module 206.

[0108] The image processing chip also includes modules or interfaces such as a low dropout regulator (LDO), a microcontroller (MCU), a power service module (Power Manag), CLK (Clock) & RST (Reset), SPI (Serial Peripheral Interface), blc PWM (backlight control; Pulse width modulation), I2C (Inter Integrated Circuit) and I3C (Improved Inter Integrated Circuit).

[0109] Among them, the first data receiving module 202 has DSC Decoder0 (decoding), amplifier (H / V Scalar), FB2 (frame buffer) and HDR functions. The data sending module 204 has DSC Decoder0 (decoder), amplifier (H / V Scalar) and FB1 (frame buffer). The second data receiving module 210 has DSC Decoder1 (decoder), compression (OSDCompressions), decompression (OSD Decompressions), decoding (OSD Decoding), controller (OSDController) and memory control (OSD Memory Ctrl) functions. The super-resolution module 206 has noise reduction (NoiseReduction), video interpolation (MEMC) and super-resolution (SR) functions. The display effect processing module 212 has color management (ColorManagement), dithering display processing (Dithering), sharpening processing (sharpness), color gamut map processing (colorGamut Map), contrast enhancement (Local Contrast), color calibration (color calibration) and other functions.

[0110] In one embodiment, Fig.10 As shown, the processor (AP platform) in the electronic device is powered on to light up the screen, and the image data is collected through the camera, and the image data is transmitted to the first data receiving module and the second data receiving module in the image processing chip respectively. The first data receiving module uses an amplifier to amplify the image data, then performs frame buffering, and then performs HDR (high dynamic range image) processing, and then sends the processed image data to the super-resolution module. The second data receiving module uses an amplifier to amplify the image data, and then sends the amplified image data to the super-resolution module.

[0111] The super-resolution module performs noise reduction, video frame insertion and super-resolution processing on the acquired image data in sequence to obtain super-resolution image data, and then sends the super-resolution image data to the display effect processing module for color adjustment, and sends the color-adjusted image data to the data sending module. The data sending module sends the image data to the display screen for display.

[0112] In one embodiment, an image processing method is provided, which is applied to an electronic device including an image processing chip, such as Fig.11 As shown, the image processing method includes:

[0113] Step 1102, receiving first image data.

[0114] Step 1104, performing pixel convolution calculation on the first image data through multiple groups of convolution circuits to obtain intermediate data, and performing pixel comparison and reorganization on the intermediate data through multiple groups of pixel reorganization circuits to obtain super-resolution image data.

[0115] Step 1106, sending super-resolved image data.

[0116] In this embodiment, the electronic device receives first image data; performs pixel convolution calculation on the first image data through multiple groups of convolution circuits to obtain intermediate data; performs pixel comparison and reorganization on the intermediate data through multiple groups of pixel reorganization circuits, so as to quickly obtain super-resolution image data and send the super-resolution image data. The above-mentioned image processing method avoids using other functions unrelated to super-resolution processing during the image processing process, which can improve the efficiency of data storage and channel transmission, thereby improving the efficiency of super-resolution processing. In addition, the above-mentioned image processing method designs multiple groups of convolution circuits and multiple groups of pixel reorganization circuits, performs pixel comparison and reorganization after performing convolution calculation on the first image data, and can accurately realize super-resolution processing.

[0117] In one embodiment, the first image data includes an image size; pixel convolution calculation is performed on the first image data through multiple groups of convolution circuits to obtain intermediate data, including: when it is determined that the image size matches the preset input image size, pixel convolution calculation is performed on the first image data through multiple groups of convolution circuits to obtain intermediate data; when it is determined that the image size does not match the preset input image size, the image size is adjusted to the preset input image size through multiple groups of convolution circuits to obtain second image data, and pixel convolution calculation is performed on the second image data to obtain intermediate data.

[0118] In this embodiment, when it is determined that the image size matches the preset input image size, pixel convolution calculation is performed on the first image data through multiple groups of convolution circuits to obtain intermediate data, that is, when it is determined that the image size matches the preset input image size, the first image data is super-resolution processed. When it is determined that the image size does not match the preset input image size, the image size is adjusted to the preset input image size, which can ensure that the image size of the second image data matches the preset input image size, accurately perform pixel convolution calculation on the second image data, and thus accurately perform super-resolution processing on the image.

[0119] In one embodiment, the method further includes: training the super-resolution model to obtain a trained super-resolution model, and using the trained super-resolution model to perform pixel convolution calculations on the first image data through multiple groups of convolution circuits to obtain intermediate data, and performing pixel comparison and reorganization on the intermediate data through multiple groups of pixel reorganization circuits to obtain super-resolution image data; wherein the trained super-resolution model includes a set of multiple operators, each operator in the set of multiple operators represents a processing algorithm, and the operators of the set of multiple operators include at least a multi-object detection operator, a sub-pixel filling operator, an image quality enhancement operator, a high dynamic range image restoration operator, a multi-frame denoising operator, a fast effect removal operator, a picture dehazing operator, and a transparency enhancement operator.

[0120] In this embodiment, the super-resolution model is trained to obtain a trained super-resolution model, and the trained super-resolution model can perform super-resolution processing on image data more accurately.

[0121] In one embodiment, the first image data is received by the first receiving module; the method further includes: receiving the first image data by the second receiving module, controlling and processing the first image data in a screen menu adjustment manner to obtain processed image data; superimposing the processed image data and the first received data to obtain superimposed image data; performing pixel convolution calculation on the superimposed image data by multiple groups of convolution circuits to obtain intermediate data, comparing and recombining the intermediate data by multiple groups of pixel recombining circuits to obtain super-resolution image data; and sending the super-resolution image data. The superimposed image data is the data obtained by superimposing the first received data obtained by the first receiving module and the processed image data obtained by the second receiving module.

[0122] In one embodiment, after obtaining the super-resolved image data, the method further includes: performing display effect processing on the super-resolved image data to obtain third image data; and sending the super-resolved image data includes: sending the third image data.

[0123] In one embodiment, sending the super-resolution image data includes: transmitting the super-resolution image data to a display link to display the super-resolution image data on a display screen.

[0124] In one embodiment, after receiving the first image data, it also includes: decoding, frame caching, two-dimensional enlargement processing and high dynamic range image synthesis processing on the first image data in sequence to obtain fourth image data; performing pixel convolution calculation on the first image data through multiple groups of convolution circuits to obtain intermediate data, including: performing pixel convolution calculation on the fourth image data through multiple groups of convolution circuits to obtain intermediate data.

[0125] It should be understood that although Figure 5 , Fig.10 and Fig.11 The steps in the flowchart are shown in sequence as indicated by the arrows, but these steps are not necessarily executed in the order indicated by the arrows. Unless otherwise specified in this document, there is no strict order restriction for the execution of these steps, and these steps can be executed in other orders. Moreover, Figure 5 , Fig.10 and Fig.11 At least part of the steps may include multiple sub-steps or multiple stages. These sub-steps or stages are not necessarily executed at the same time, but can be executed at different times. The execution order of these sub-steps or stages is not necessarily sequential, but can be executed in turn or alternately with other steps or at least part of the sub-steps or stages of other steps.

[0126] The embodiment of the present application further provides a computer-readable storage medium, one or more non-volatile computer-readable storage media containing computer-executable instructions, which, when executed by one or more processors, enable the processors to perform the steps of the image processing method.

[0127] An embodiment of the present application also provides a computer program product including instructions, which, when executed on a computer, enables the computer to execute the image processing method.

[0128] Any reference to memory, storage, database or other medium used in this application may include non-volatile and / or volatile memory. Non-volatile memory may include ROM (Read-Only Memory), PROM (Programmable Read-only Memory), EPROM (Erasable Programmable Read-Only Memory), EEPROM (Electrically Erasable Programmable Read-only Memory) or flash memory. Volatile memory may include RAM (Random Access Memory), which is used as an external cache memory. By way of illustration and not limitation, RAM is available in many forms, such as SRAM (Static Random Access Memory), DRAM (Dynamic Random Access Memory), SDRAM (Synchronous Dynamic Random Access Memory), Double Data Rate DDRSDRAM (Double Data Rate Synchronous Dynamic Random Access memory), ESDRAM (Enhanced Synchronous Dynamic Random Access memory), SLDRAM (Sync Link Dynamic Random Access Memory), RDRAM (Rambus Dynamic Random Access Memory), and DRDRAM (Direct Rambus Dynamic Random Access Memory).

[0129] The technical features of the above-described embodiments may be arbitrarily combined. To make the description concise, not all possible combinations of the technical features in the above-described embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0130] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be construed as limiting the scope of the patent application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the patent application shall be subject to the attached claims.

Claims

1. An image processing chip, characterized in that: include: A first data receiving module, configured to receive first image data; the first image data includes an image size; a super-resolution module connected to the first data receiving module, the super-resolution module comprising a plurality of groups of convolution circuits and a plurality of groups of pixel reorganization circuits, the plurality of groups of convolution circuits being used to perform pixel convolution calculations on the first image data to obtain intermediate data when it is determined that the image size matches the preset input image size; the plurality of groups of convolution circuits being used to adjust the image size to the preset input image size to obtain second image data when it is determined that the image size does not match the preset input image size, and perform pixel convolution calculations on the second image data to obtain intermediate data; the plurality of groups of pixel reorganization circuits being used to perform pixel comparison and reorganization on the intermediate data to obtain super-resolution image data; a display effect processing module connected to the super-resolution module, the display effect processing module being used to receive the super-resolution image data transmitted by the super-resolution module, and perform display effect processing on the super-resolution image data to obtain third image data, and return the third image data to the super-resolution module; The super-resolution module is also used to send the third image data to the data sending module; A data sending module is connected to the super-resolution module, and is used to send the third image data.

2. The image processing chip according to claim 1, characterized in that: The image processing chip also includes: A model storage module is connected to the super-resolution module. The model storage module is used to store the super-resolution model, train the super-resolution model, and send the super-resolution model to the super-resolution module after the super-resolution model training is completed; the super-resolution module is also used to use the trained super-resolution model to perform super-resolution processing on the image data.

3. The image processing chip according to claim 2, characterized in that: The trained super-resolution model includes a multi-operator set, each operator in the multi-operator set represents a processing algorithm, and the operators of the multi-operator set include at least a multi-object detection operator, a sub-pixel filling operator, an image quality enhancement operator, a high dynamic range image restoration operator, a multi-frame denoising operator, a fast effect removal operator, a picture defogging operator and a transparency enhancement operator.

4. The image processing chip according to claim 1, characterized in that: The image processing chip also includes: The second data receiving module is connected to the super-resolution module, and is used to receive the first image data and control and process the first image data in a screen menu adjustment manner.

5. The image processing chip according to any one of claims 1 to 4, characterized in that: The data sending module is further used to transmit the super-resolution image data to a display link so as to display the super-resolution image data on a display screen.

6. The image processing chip according to any one of claims 1 to 4, characterized in that: The first data receiving module is further used to sequentially perform decoding, frame buffering, two-dimensional enlargement processing and high dynamic range image synthesis processing on the first image data to obtain fourth image data, and send the fourth image data to the super-resolution module; The multiple groups of convolution circuits in the super-resolution module are also used to perform pixel convolution calculation on the fourth image data to obtain intermediate data.

7. An electronic device, characterized in that: An image processing chip comprising any one of claims 1 to 6.

8. An image processing method, characterized in that: include: receiving first image data; the first image data comprising an image size; When it is determined that the image size matches the preset input image size, performing pixel convolution calculation on the first image data through a plurality of groups of convolution circuits to obtain intermediate data; When it is determined that the image size does not match the preset input image size, the image size is adjusted to the preset input image size through a plurality of groups of convolution circuits to obtain second image data, and pixel convolution calculation is performed on the second image data to obtain intermediate data; Comparing and reorganizing pixels of the intermediate data through multiple groups of pixel reorganization circuits to obtain super-resolution image data; Performing display effect processing on the super-resolution image data to obtain third image data, The third image data is sent.

9. The image processing method according to claim 8, characterized in that: The method further comprises: Training the super-resolution model to obtain a trained super-resolution model, and using the trained super-resolution model to perform pixel convolution calculations on the first image data through multiple groups of convolution circuits to obtain intermediate data, and performing pixel comparison and reorganization on the intermediate data through multiple groups of pixel reorganization circuits to obtain super-resolution image data; Among them, the trained super-resolution model includes a multi-operator set, each operator in the multi-operator set represents a processing algorithm, and the operators of the multi-operator set include at least a multi-object detection operator, a sub-pixel filling operator, an image quality enhancement operator, a high dynamic range image restoration operator, a multi-frame denoising operator, a fast effect removal operator, a picture dehazing operator and a transparency enhancement operator.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 8 to 9 are implemented.

11. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 8 to 9 are implemented.