Image processing circuit, image processing method, device, electronic device and chip

By using gyroscope sensors and image processing chips in the image processing circuit, detecting jitter information and rendering processing, the problem of large power consumption and delay when rendering the picture by mobile terminals is solved, and lower power consumption and faster rendering are achieved time.

CN114338955BActive Publication Date: 2024-11-05VIVO MOBILE COMM CO LTD
View PDF 9 Cites 0 Cited by

Patent Information

Application Number
CN202111635930.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-12-28
Publication Date
2024-11-05
Estimated Expiration
2041-12-28

AI Technical Summary

Technical Problem

The mobile terminal consumes a large power consumption and has a delay when rendering the picture, so the prior art is difficult to effectively reduce it.

Method used

The gyroscope sensor and image processing chip are introduced into the image processing circuit. The gyroscope sensor detects jitter information and renders the image data based on the jitter information and control parameters, reducing the rendering burden of the main control chip, reducing power consumption and delay .

Benefits of technology

It effectively reduces the latency of image rendering and the power consumption of the main control chip, and improves the gaming experience and battery life of electronic devices.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114338955B_ABST
    Figure CN114338955B_ABST
Patent Text Reader

Abstract

The present application discloses an image processing circuit, an image processing method, a device, and a chip, which belong to the field of data processing technology. The image processing circuit includes a gyroscope sensor, a main control chip, and an image processing chip, wherein the gyroscope sensor is connected to the image processing chip, and the main control chip is connected to the image processing chip; the gyroscope sensor is used to detect jitter information when outputting first image data; the main control chip is used to send the first image data and the control parameters corresponding to the first image data to the image processing chip; the image processing chip is used to obtain the first image data sent by the main control chip and the control parameters corresponding to the first image data, and obtain the jitter information through the gyroscope sensor, and render the first image data according to the control parameters and the jitter information, and output the second image data.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application belongs to the field of data processing technology, and specifically relates to an image processing circuit, an image processing method, a device, an electronic device and a chip. Background Art

[0002] Whether the application screen is smooth depends mainly on the computing power of the graphics processor of the main control chip. A powerful graphics processor can perform huge computing tasks for complex scene screens and render amazing effects.

[0003] Although the computing power of the main control chip in the current mobile terminal is already very powerful, the power consumption of the mobile terminal is relatively high when rendering the picture, and there is a certain delay. Summary of the invention

[0004] The purpose of the embodiments of the present application is to provide an image processing circuit, an image processing method, an apparatus, an electronic device and a chip, which can reduce the power consumption and delay of rendering images in a mobile terminal.

[0005] In a first aspect, an embodiment of the present application provides an image processing circuit, characterized in that it includes a gyroscope sensor, a main control chip and an image processing chip, wherein the gyroscope sensor is connected to the image processing chip, and the main control chip is connected to the image processing chip;

[0006] The gyro sensor is used to detect shaking information when outputting the first image data;

[0007] The main control chip is used to send the first image data and the control parameters corresponding to the first image data to the image processing chip;

[0008] The image processing chip is used to obtain the first image data sent by the main control chip and the control parameters corresponding to the first image data, and obtain the jitter information through the gyroscope sensor, and render the first image data according to the control parameters and the jitter information to output second image data.

[0009] In a second aspect, an embodiment of the present application provides an image processing device, which includes the image processing circuit as described in the first aspect.

[0010] In a third aspect, an embodiment of the present application provides an image processing method, which is applied to the image processing device as described in the second aspect, and the method includes:

[0011] The image processing chip obtains the first image data sent by the main control chip and the control parameters corresponding to the first image data, and obtains the jitter information through the gyroscope sensor;

[0012] The image processing chip performs rendering processing on the first image data according to the jitter information and the control parameters, and outputs second image data.

[0013] In a fourth aspect, an embodiment of the present application provides an electronic device, comprising an image processing circuit, a processor and a memory as described in any one of the first aspects, wherein the memory stores programs or instructions that can be run on the processor, and when the program or instructions are executed by the processor, the steps of the method described in the third aspect are implemented.

[0014] In a fifth aspect, an embodiment of the present application provides an image processing chip, which includes a processor and a communication interface, wherein the communication interface is coupled to the processor, the communication interface is used to transmit image data, and the processor is used to run programs or instructions to implement the steps performed by the image processing chip in the image processing method described in any one of the third aspects.

[0015] In the sixth aspect, an embodiment of the present application provides a processor chip, characterized in that the processor chip includes a processor and a communication interface, the communication interface is coupled to the processor, the communication interface is used to transmit image data, and the processor is used to run programs or instructions to implement the steps executed by the main control chip in the image processing method described in any one of the third aspects.

[0016] In a seventh aspect, an embodiment of the present application provides a computer program product, which is stored in a storage medium and is executed by at least one processor to implement the method described in the third aspect.

[0017] In an embodiment of the present application, a gyroscope sensor, a main control chip and an image processing chip are arranged in an image processing circuit, the gyroscope sensor is connected to the image processing chip, and the main control chip is connected to the image processing chip; the gyroscope sensor is used to detect jitter information when outputting the first image data; the main control chip is used to send the first image data and the control parameters corresponding to the first image data to the image processing chip; the image processing chip is used to obtain the first image data sent by the main control chip and the control parameters corresponding to the first image data, and obtain the jitter information through the gyroscope sensor, and render the first image data according to the control parameters and the jitter information, and output the second image data. In this way, the image processing chip performs the rendering process of the first image data originally completed in the main control chip, which can reduce the delay of image rendering and reduce the power consumption of the main control chip. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] Figure 1 is a flowchart of an image processing circuit according to an embodiment of the present application;

[0019] Figure 2 is a flowchart of another image processing circuit according to an embodiment of the present application;

[0020] Figure 3 is a flowchart of another image processing circuit according to an embodiment of the present application;

[0021] Figure 4 is a flowchart of another image processing circuit according to an embodiment of the present application;

[0022] Figure 5 is a structural schematic diagram of an image processing device according to an embodiment of the present application;

[0023] Figure 6 is a flowchart of an image processing method according to an embodiment of the present application;

[0024] Figure 7 is a schematic diagram of the structure of an electronic device according to an embodiment of the present application;

[0025] Figure 8 A schematic diagram of the hardware structure of an electronic device to implement an embodiment of the present application. DETAILED DESCRIPTION

[0026] The following will be combined with the drawings in the embodiments of the present application to clearly describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, rather than all the embodiments. All other embodiments obtained by ordinary technicians in this field based on the embodiments in the present application belong to the scope of protection of this application.

[0027] The terms "first", "second", etc. in the specification and claims of this application are used to distinguish similar objects, rather than to describe a specific order or sequence. It should be understood that the terms used in this way can be interchanged where appropriate, so that the embodiments of this application can be used in other ways than those illustrated or described herein. The objects distinguished by "first", "second", etc. are usually of the same type, and the number of objects is not limited. For example, the first object can be one or more. In addition, "and / or" in the specification and claims means at least one of the connected objects, and the character " / " generally means that the related objects are in an "or" relationship.

[0028] The image processing method provided in the embodiment of the present application is described in detail below through specific embodiments and their application scenarios in conjunction with the accompanying drawings.

[0029] Figure 1 Schematic diagram of the principle of the image processing circuit of the embodiment of the present application. Figure 1As shown, the image processing circuit 10 includes a gyroscope sensor 11, a main control chip 12 and an image processing chip 13, the gyroscope sensor 11 is connected to the image processing chip 13, and the main control chip 12 is connected to the image processing chip 13; the gyroscope sensor 11 is used to detect jitter information when outputting first image data; the main control chip 12 is used to send the first image data and the control parameters corresponding to the first image data to the image processing chip 13; the image processing chip 13 is used to obtain the first image data sent by the main control chip 12 and the control parameters corresponding to the first image data, and obtain the jitter information through the gyroscope sensor 11, and render the first image data according to the control parameters and the jitter information, and output second image data.

[0030] The control parameter includes at least one of the following: image size parameter, vertex coordinate parameter, normal vector parameter, texture coordinate parameter, texture parameter, and layer information; the jitter information includes at least one of the following: angular momentum parameter, zero bias parameter, and temperature drift parameter. The layer information is information for representing different layers of the first image data.

[0031] In one embodiment, after acquiring the jitter information, the image processing chip 13 is further used to: pre-process the jitter information; wherein the pre-processing includes at least one of the following: noise identification processing, error calibration processing and filtering processing.

[0032] Exemplarily, after acquiring the jitter information through the gyro sensor 11, the image processing chip 13 performs noise identification processing, error calibration processing and filtering processing on the jitter information, and then renders the first image data based on the processed jitter information and the control parameters to output the second image data.

[0033] In this embodiment, by performing pre-processing such as noise identification processing, error calibration processing and filtering processing on the jitter information, and rendering processing on the first image data based on the control parameters and the pre-processed jitter information, and outputting the second image data, an image with a better rendering effect can be obtained.

[0034] In one embodiment, Figure 2 As shown, the main control chip 12 includes a graphics processor 121, and the main control chip 12 is also used to turn off the graphics processor 121 to start a low power consumption mode.

[0035] In this embodiment, since the main control chip 12 sends the control parameters to the image processing chip 13 for processing and the graphics processor is no longer needed for processing, the graphics processor on the main control chip 12 side is turned off, so that the main control chip 12 enters a low power consumption mode, which can save power consumption.

[0036] In one embodiment, Figure 3 As shown, the image processing chip 13 includes a second image processing module 131 and a digital signal processor 132; the second image processing module 131 is connected to the digital signal processor 132; the second image processing module 131 is used to render the first image data based on the control parameters and the jitter information; the digital signal processor 132 performs image drawing based on the first image data after rendering to generate second image data; the second image data is sent to the display unit for display; wherein the rendering process includes at least one of the following: transformation processing, projection processing.

[0037] Exemplarily, the second image processing module 131 can perform vertex coordinate transformation processing, cropping processing, rotation processing, projection processing, etc. on the first image data based on the control parameters and the jitter information, and obtain the image size parameters, vertex coordinate parameters, normal vector parameters, texture coordinate parameters, texture parameters, and layer information after transformation and projection processing, and then the digital signal processor 132 performs image drawing to generate the second image data.

[0038] Exemplarily, the working principle of the image processing circuit 10 of this embodiment is described by taking rendering of a game screen as an example.

[0039] An image processing chip 13 is added between the main control chip 12 and the display screen to improve the gaming experience of somatosensory games, reduce game delays and optimize power consumption. The image processing chip 13 is connected to a gyroscope sensor, which is used to monitor the jitter information of electronic devices. The image processing chip 13 renders the first image data based on the jitter information obtained by the gyroscope sensor, the control information obtained by the main control chip 12, and the first image data of the game screen, which can greatly improve the performance of the game. At the same time, the graphics processor in the main control chip 12 is turned off and enters a low power consumption mode, which can effectively save the power consumption of electronic devices.

[0040] Specifically, the game is started on the electronic device, and the game mode is entered. The electronic device starts the main control chip 12 and the image processing chip 13. The main control chip 12 obtains the first image data corresponding to the current game screen, and the control parameters corresponding to the first image data, wherein the control parameters may include image size parameters, vertex coordinate parameters, normal vector parameters, texture coordinate parameters, texture parameters and layer information. After obtaining the above control parameters, the main control chip 12 sends the control parameters to the image processing chip 13. At the same time, the main control chip 12 turns off the graphics processor 121 and turns on the low power consumption mode.

[0041] The gyro sensor 11 obtains the current jitter information of the electronic device and sends it to the image processing chip 13. The jitter information includes at least one of the following: angular momentum parameter, zero bias parameter, and temperature drift parameter.

[0042] After acquiring the jitter information, control parameters and the first image data, the second image processing module 131 of the image processing chip 13 first performs pre-processing such as noise identification processing, error calibration processing and filtering processing on the jitter information, and performs vertex coordinate transformation processing, cropping processing, rotation processing and projection processing on the first image data.

[0043] The second image processing module 131 renders the first image data after vertex coordinate transformation, cropping, rotation and projection based on the control parameters and the pre-processed jitter information, and sends the rendered first image data to the digital signal processor 132 for image drawing to generate second image data.

[0044] It can be understood that when the electronic device currently has no physical movement, the jitter information obtained by the gyroscope sensor 11 is unchanged relative to the rendering of the previous frame of the game screen. The second image processing module 131 can render the first image data that has undergone vertex coordinate transformation, cropping, rotation, and projection processing based on the jitter information of the previous frame and the control parameters obtained when rendering the game screen this time, and send the rendered first image data to the digital signal processor 132 for image drawing to generate second image data.

[0045] After the second image data is generated, the second image data is sent to a display unit for display.

[0046] In this embodiment, the image processing chip 13 obtains the control parameters and the first image data sent by the main control chip 12, and obtains the jitter information sent by the gyroscope sensor 11. After rendering the first image data based on the control parameters and the jitter information, the first image data is drawn to generate the second image data. The image processing chip 13 executes the rendering process of the first image data originally completed in the main control chip 12, which can effectively reduce the frame processing delay and enhance the user's gaming experience. On the other hand, it can also further reduce the overall power consumption of the electronic device and increase the battery life.

[0047] In one embodiment, Figure 4 As shown, in order to further reduce the amount of data processed by the image processing chip 13 and reduce the processing delay, the main control chip 12 can also pre-process the control parameters to separate the data that requires a large amount of calculation and the data with a small amount of calculation or no calculation required. In this way, the image processing chip 13 only needs to process the data with a large amount of calculation, and after processing, it can be synthesized with the data with a small amount of calculation or no calculation required to complete the rendering of the target image.

[0048] Specifically, in this embodiment, the first image data includes at least two frames of images. The main control chip 12 includes a first output interface 123, a second output interface 124 and a first image processing module 122; the first output interface 123 and the second output interface 124 are both connected to the first image processing module 122.

[0049] The first image processing module 122 is used to perform layer separation processing on each frame of the first image data to obtain a moving sub-image and a still sub-image, wherein the moving sub-image includes a moving object, and the still sub-image includes a still object; the first output interface 123 is used to send the moving sub-image to the second image processing module 131; the second output interface 124 is used to send the still sub-image to the second image processing module 131; wherein the control parameters include layer information of the moving sub-image and the still sub-image.

[0050] When performing layer separation processing on each frame of the first image data, the first image processing module 122 first performs a time domain pre-analysis on any at least two frames of the first image data to obtain motion information; wherein the motion information includes at least one of the following: inter-frame variance, motion vector. Then, for each frame of the first image data, based on the motion information, layer separation is performed on each frame of the first image data to obtain the motion sub-image and the static sub-image.

[0051] The layer information of the moving sub-image is a control parameter that needs to be rendered by the second image processing module 131 , and the layer information of the static sub-image is a control parameter that does not need to be rendered by the second image processing module 131 .

[0052] After the moving sub-image is sent to the second image processing module 131 through the first output interface 123, and the still sub-image is sent to the second image processing module 131 through the second output interface 124, the second image processing module 131 may specifically render the moving sub-image based on the control parameter and the jitter information, and synthesize the still sub-image and the rendered moving sub-image to obtain the second image data. The rendering process may at least include transformation processing and projection processing.

[0053] Illustratively, in this embodiment, the working principle of the image processing circuit 10 of this embodiment is explained by taking rendering of a game screen as an example.

[0054] An image processing chip 13 is added between the main control chip 12 and the display screen to improve the gaming experience of somatosensory games, reduce game delays and optimize power consumption. The image processing chip 13 is connected to a gyroscope sensor, which is used to monitor the jitter information of electronic devices. The image processing chip 13 renders the first image data based on the jitter information obtained by the gyroscope sensor, the control information obtained by the main control chip 12, and the first image data of the game screen, which can greatly improve the performance of the game. At the same time, the graphics processor in the main control chip 12 is turned off and enters a low power consumption mode, which can effectively save the power consumption of electronic devices.

[0055] In this embodiment, the difference from the above-mentioned embodiment is that the main control chip 12 pre-processes the control parameters to perform layer separation, pre-analyzes the specific content of the game, and sends the layer information that requires a lot of calculations and the layer information with little or no calculation to the image processing chip 13 through two display interfaces (Display Serial Interface, DSI). The image processing chip 13 renders the layer information that requires a lot of calculations, and after processing, it is synthesized with the layer information with little or no calculation to generate second image data.

[0056] Specifically, the game is started on the electronic device to enter the game mode, and the electronic device starts the main control chip 12 and the image processing chip 13. The main control chip 12 obtains the first image data corresponding to the current game screen, and the control parameters corresponding to the first image data, wherein the control parameters may include image size parameters, vertex coordinate parameters, normal vector parameters, texture coordinate parameters, texture parameters and layer information.

[0057] After acquiring the above control parameters, the main control chip 12 performs time domain pre-analysis on any at least two frames of the first image data to obtain motion information including at least one of inter-frame variance and motion vector, and then performs layer separation based on the motion information for each frame of the first image data to obtain the motion sub-image and the static sub-image. The motion sub-image includes a motion object, and the static sub-image includes a static object.

[0058] After obtaining the motion sub-image and the static sub-image, the motion sub-image is sent to the second image processing module 131 through the first output interface 123, and the static sub-image is sent to the second image processing module 131 through the second output interface 124, and the control parameters include the layer information of the motion sub-image and the static sub-image. The layer information of the motion sub-image is the control parameter that needs to be rendered by the second image processing module 131, and the layer information of the static sub-image is the control parameter that does not need to be rendered by the second image processing module 131.

[0059] The gyro sensor 11 obtains the current jitter information of the electronic device and sends it to the image processing chip 13. The jitter information includes at least one of the following: angular momentum parameter, zero bias parameter, and temperature drift parameter.

[0060] After acquiring the control parameters, the jitter information, the moving sub-image and the static sub-image, the second image processing module 131 of the image processing chip 13 first performs pre-processing such as noise identification processing, error calibration processing and filtering processing on the jitter information, and performs vertex coordinate transformation processing, cropping processing, rotation processing and projection processing on the moving sub-image.

[0061] The second image processing module 131 performs rendering processing on the motion sub-image that has undergone vertex coordinate transformation processing, cropping processing, rotation processing, and projection processing based on the control parameters and the pre-processed jitter information, and synthesizes the static sub-image with the motion sub-image after rendering processing to obtain second image data. The rendering processing may at least include transformation processing and projection processing.

[0062] After the second image data is obtained, the second image data is sent to a display unit for display.

[0063] In this embodiment, the main control chip 12 first performs layer separation processing on each frame of the first image data to obtain a motion sub-image and a static sub-image, and then sends the motion sub-image to the second image processing module 131 in the image processing chip 13 through the first output interface 123, and sends the static sub-image to the second image processing module 131 in the image processing chip 13 through the second output interface 124. Then, the second image processing module 131 in the image processing chip 13 renders the motion sub-image based on the control parameters and the jitter information, and then synthesizes the static sub-image and the rendered motion sub-image to obtain the second image data. In this way, the image processing chip 13 only needs to process data with a large amount of computing data, which can further reduce the frame processing delay and improve the user's gaming experience. On the other hand, it can also further reduce the overall power consumption of the electronic device and increase the battery life.

[0064] Alternatively, if Figure 5 As shown, the image processing device 20 of this embodiment may include the image processing circuit 10 as described in the above embodiment.

[0065] In one embodiment, the image processing device 20 may further include an image sensor and a display unit; the main control chip is connected to the image sensor, and the display unit is connected to the main control chip.

[0066] The image processing device of this embodiment can reduce the delay of image rendering and reduce the power consumption of the main control chip.

[0067] The image processing device in the embodiment of the present application can be an electronic device, or a component in the electronic device, such as an integrated circuit or a chip. The electronic device can be a terminal, or other devices other than a terminal. Exemplarily, the electronic device can be a mobile phone, a tablet computer, a laptop computer, a PDA, a vehicle-mounted electronic device, a mobile Internet device (Mobile Internet Device, MID), an augmented reality (augmented reality, AR) / virtual reality (virtual reality, VR) device, a robot, a wearable device, an ultra-mobile personal computer (ultra-mobile personal computer, UMPC), a netbook or a personal digital assistant (personal digital assistant, PDA), etc., and can also be a server, a network attached storage (Network Attached Storage, NAS), a personal computer (personal computer, PC), a television (television, TV), a teller machine or a self-service machine, etc., which is not specifically limited in the embodiment of the present application.

[0068] The image processing device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android operating system, an iOS operating system, or other possible operating systems, which are not specifically limited in the embodiment of the present application.

[0069] The image processing device provided in the embodiment of the present application can achieve Figure 1 To avoid repetition, the various processes implemented by the circuit embodiment are not described here.

[0070] Figure 6 1 is a flow chart of an image processing method according to an embodiment of the present application. The image processing method according to this embodiment is applied to the image processing device as described in the above embodiment.

[0071] Specifically, the image processing method of this embodiment may include the following steps 6100 to 6200:

[0072] Step 6100: The image processing chip obtains first image data sent by the main control chip and control parameters corresponding to the first image data, and obtains jitter information through a gyroscope sensor.

[0073] The control parameter includes at least one of the following: image size parameter, vertex coordinate parameter, normal vector parameter, texture coordinate parameter, texture parameter, and layer information; the jitter information includes at least one of the following: angular momentum parameter, zero bias parameter, and temperature drift parameter. The layer information is information for representing different layers of the first image data.

[0074] Since the main control chip 12 sends the control parameters to the image processing chip 13 for processing, and the graphics processor is no longer needed for processing, in one embodiment, in order to further save power consumption, the main control chip can turn off the graphics processor to turn on the low power consumption mode.

[0075] After acquiring the first image data, the control parameters corresponding to the first image data, and the jitter information, proceed to step 6200:

[0076] Step 6200: The image processing chip renders the first image data according to the jitter information and the control parameters, and outputs second image data.

[0077] In this step, the second image processing module of the image processing chip can specifically render the first image data based on the control parameters and the jitter information; the digital signal processor of the image processing chip can specifically perform image drawing based on the first image data after rendering to generate second image data; the digital signal processor of the image processing chip sends the second image data to the display unit for display; wherein the rendering process includes at least one of the following: transformation processing, projection processing.

[0078] Exemplarily, the second image processing module of the image processing chip can perform vertex coordinate transformation processing, cropping processing, rotation processing, projection processing, etc. on the first image data based on the control parameters and the jitter information, and obtain the image size parameters, vertex coordinate parameters, normal vector parameters, texture coordinate parameters, texture parameters, and layer information after transformation and projection processing. Then, the digital signal processor of the image processing chip performs image drawing based on the image size parameters, vertex coordinate parameters, normal vector parameters, texture coordinate parameters, texture parameters, and layer information after transformation and projection processing to generate the second image data.

[0079] In this way, the image processing chip performs the rendering process of the first image data originally completed in the main control chip, which can reduce the delay of image rendering and reduce the power consumption of the main control chip.

[0080] In one embodiment, in order to further reduce the amount of data processed by the image processing chip and reduce processing delays, the main control chip can also pre-process the control parameters to separate data that requires a large amount of processing from data with a small amount of processing or no processing required. In this way, the image processing chip only needs to process data with a large amount of processing, and after processing, it can be synthesized with data with a small amount of processing or no processing required to complete the rendering of the target image.

[0081] Specifically, before the above step 6100, the first image processing module of the main control chip can first perform layer separation processing on each frame image in the first image data to obtain a moving sub-image and a still sub-image, wherein the moving sub-image includes a moving object, and the still sub-image includes a still object.

[0082] Among them, the first image data includes at least two frames of images. When the first image processing module of the main control chip performs layer separation processing on the first image data to obtain a moving sub-image and a still sub-image, it can specifically perform time domain pre-analysis on the first image data to obtain motion information; for each frame of the first image data, the first image processing module performs layer separation on each frame of the image based on the motion information to obtain the moving sub-image and the still sub-image; the motion information includes at least one of the following: inter-frame variance, motion vector.

[0083] After obtaining the moving sub-image and the still sub-image, the main control chip sends the moving sub-image to the second image processing module of the image processing chip through the first output interface, and sends the still sub-image to the second image processing module of the image processing chip through the second output interface; wherein the control parameters include the layer information of the moving sub-image and the still sub-image.

[0084] Accordingly, when the image processing chip renders the first image data according to the jitter information and the control parameters and outputs the second image data, the second image processing module of the image processing chip may render the motion sub-image based on the control parameters and the jitter information, and then synthesize the static sub-image and the rendered motion sub-image to obtain the second image data. The rendering process may at least include transformation processing and projection processing.

[0085] In this embodiment, the main control chip first performs layer separation processing on each frame of the first image data to obtain a moving sub-image and a static sub-image, and then sends the moving sub-image to the second image processing module in the image processing chip through the first output interface, and sends the static sub-image to the second image processing module in the image processing chip through the second output interface, and then the second image processing module in the image processing chip renders the moving sub-image based on the control parameters and the jitter information, and then synthesizes the static sub-image and the rendered moving sub-image to obtain the second image data. In this way, the image processing chip only needs to process data with a large amount of computational data, which can further reduce the amount of data processed by the image processing chip, significantly improve the processing efficiency of the image processing chip, and further reduce the processing delay under low power consumption.

[0086] In one embodiment, in order to obtain a better rendering effect, before the above step 6200, the second image processing module of the image processing chip may also pre-process the jitter information to remove noise information in the jitter information, etc. The pre-processing includes at least one of the following: noise identification processing, error calibration processing and filtering processing.

[0087] Exemplarily, after acquiring the jitter information through the gyroscope sensor, the image processing chip performs noise identification processing, error calibration processing and filtering processing on the jitter information, and then renders the first image data based on the processed jitter information and the control parameters, and outputs the second image data.

[0088] In the embodiment of the present application, the image processing chip obtains the first image data sent by the main control chip and the control parameters corresponding to the first image data, and obtains the jitter information through the gyroscope sensor; the image processing chip renders the first image data according to the jitter information and the control parameters, and outputs the second image data. In this way, the image processing chip performs the rendering process of the first image data originally completed in the main control chip, which can reduce the delay of image rendering and reduce the power consumption of the main control chip.

[0089] Alternatively, if Figure 7 As shown, an embodiment of the present application further provides an electronic device 700, including the image processing circuit 10 described in the above embodiment, a processor 701 and a memory 702, the memory 702 stores a program or instruction that can be run on the processor 701, and when the program or instruction is executed by the processor 701, the various steps of the above-mentioned image processing method embodiment are implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.

[0090] Figure 8 A schematic diagram of the hardware structure of an electronic device to implement an embodiment of the present application.

[0091] The electronic device 800 includes but is not limited to: a radio frequency unit 801, a network module 802, an audio output unit 803, an input unit 804, a sensor 805, a display unit 806, a user input unit 807, an interface unit 808, a memory 809, a processor 810, and an image processing chip 811.

[0092] Those skilled in the art will appreciate that the electronic device 800 may also include a power source (such as a battery) for supplying power to various components, and the power source may be logically connected to the processor 810 through a power management system, thereby implementing functions such as managing charging, discharging, and power consumption through the power management system. 8 The electronic device structure shown in the figure does not constitute a limitation on the electronic device. The electronic device may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently, which will not be described in detail here.

[0093] Among them, the image processing chip 811 obtains the first image data sent by the main control chip and the control parameters corresponding to the first image data, and obtains jitter information through the gyroscope sensor; renders the first image data according to the jitter information and the control parameters, and outputs second image data.

[0094] The control parameters include at least one of the following: image size parameter, vertex coordinate parameter, normal vector parameter, texture coordinate parameter, texture parameter, layer information; the jitter information includes at least one of the following: angular momentum parameter, zero bias parameter, temperature drift parameter.

[0095] In one embodiment, the image processing chip 811 is specifically used for: rendering the first image data based on the control parameters and the jitter information; performing image drawing based on the first image data after rendering to generate second image data; and sending the second image data to a display unit for display; wherein the rendering processing includes at least one of the following: transformation processing and projection processing.

[0096] In one embodiment, the image processing chip 811 is specifically used for: rendering the moving sub-image based on the control parameter and the jitter information; and synthesizing the still sub-image and the rendered moving sub-image to obtain the second image data.

[0097] In one embodiment, the image processing chip 811 is further used to: pre-process the jitter information; wherein the pre-processing includes at least one of the following: noise identification processing, error calibration processing and filtering processing.

[0098] In one embodiment, the processor 810 is used to: turn off the graphics processor 8041 to enable a low power consumption mode.

[0099] In one embodiment, the first image data includes at least two frames of images; the processor 810 can also be used to: perform layer separation processing on each frame of the first image data to obtain a moving sub-image and a still sub-image, the moving sub-image includes a moving object, and the still sub-image includes a still object; send the moving sub-image to the second image processing module of the image processing chip through the first output interface, and send the still sub-image to the second image processing module of the image processing chip through the second output interface; wherein the control parameters include layer information of the moving sub-image and the still sub-image.

[0100] In one embodiment, the processor 810 can be specifically used to: perform time domain pre-analysis on the first image data to obtain motion information; for each frame of the first image data, based on the motion information, perform layer separation on each frame of the first image data to obtain the motion sub-image and the static sub-image; the motion information includes at least one of the following: inter-frame variance, motion vector.

[0101] In this embodiment, the image processing chip can perform the operations of determining image rendering parameters and rendering target images that were originally completed in the processor, which can further reduce the frame processing delay and enhance the user's gaming experience. On the other hand, it can also further reduce the overall power consumption of the electronic device and increase battery life.

[0102] It should be understood that in the embodiment of the present application, the input unit 804 may include a graphics processor (Graphics Processing Unit, GPU) 8041 and a microphone 8042, and the graphics processor 8041 processes the image data of the static picture or video obtained by the image capture device (such as a camera) in the video capture mode or the image capture mode. The display unit 806 may include a display panel 8061, and the display panel 8061 may be configured in the form of a liquid crystal display, an organic light emitting diode, etc. The user input unit 807 includes a touch panel 8071 and at least one of other input devices 8072. The touch panel 8071 is also called a touch screen. The touch panel 8071 may include two parts: a touch detection device and a touch controller. Other input devices 8072 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which will not be repeated here.

[0103] The memory 809 can be used to store software programs and various data. The memory 809 may mainly include a first storage area for storing programs or instructions and a second storage area for storing data, wherein the first storage area may store an operating system, an application program or instructions required for at least one function (such as a sound playback function, an image playback function, etc.), etc. In addition, the memory 809 may include a volatile memory or a non-volatile memory, or the memory 809 may include both volatile and non-volatile memories. Among them, the non-volatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory may be a random access memory (RAM), a static random access memory (SRAM), a dynamic random access memory (DRAM), a synchronous dynamic random access memory (SDRAM), a double data rate synchronous dynamic random access memory (DDRSDRAM), an enhanced synchronous dynamic random access memory (ESDRAM), a synchronous link dynamic random access memory (SLDRAM) and a direct memory bus random access memory (DRRAM). The memory 809 in the embodiment of the present application includes but is not limited to these and any other suitable types of memory.

[0104] The processor 810 may include one or more processing units; optionally, the processor 810 integrates an application processor and a modem processor, wherein the application processor mainly processes operations related to an operating system, a user interface, and application programs, and the modem processor mainly processes wireless communication signals, such as a baseband processor. It is understandable that the modem processor may not be integrated into the processor 810.

[0105] An embodiment of the present application also provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, each process of the above-mentioned image processing method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.

[0106] The processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a computer read-only memory ROM, a random access memory RAM, a magnetic disk or an optical disk.

[0107] An embodiment of the present application further provides an image processing chip, which includes a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the various processes performed by the image processing chip in the above-mentioned image processing method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.

[0108] It should be understood that the image processing chip mentioned in the embodiments of the present application can also be called a system-level chip, a system chip, a chip system or a system-on-chip chip, etc.

[0109] An embodiment of the present application further provides a processor chip, which includes a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the various processes executed by the main control chip in the above-mentioned image processing method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.

[0110] It should be understood that the processor chip mentioned in the embodiments of the present application can also be called a system-level chip, a system chip, a chip system or a system-on-chip chip, etc.

[0111] An embodiment of the present application provides a computer program product, which is stored in a storage medium. The program product is executed by at least one processor to implement the various processes of the above-mentioned image processing method embodiment and can achieve the same technical effect. To avoid repetition, it will not be repeated here.

[0112] It should be noted that, in this article, the terms "comprise", "include" or any other variant thereof are intended to cover non-exclusive inclusion, so that the process, method, article or device including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise one..." do not exclude the presence of other identical elements in the process, method, article or device including the element. In addition, it should be pointed out that the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in reverse order according to the functions involved, for example, the described method may be performed in an order different from that described, and various steps may also be added, omitted, or combined. In addition, the features described with reference to certain examples may be combined in other examples.

[0113] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM / RAM, a disk, or an optical disk), and includes a number of instructions for a terminal (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods described in each embodiment of the present application.

[0114] The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of the present application, ordinary technicians in this field can also make many forms without departing from the purpose of the present application and the scope of protection of the claims, all of which are within the protection of the present application.

Claims

1. An image processing circuit, characterized in that: It includes a gyroscope sensor, a main control chip and an image processing chip, wherein the gyroscope sensor is connected to the image processing chip, and the main control chip is connected to the image processing chip; The gyro sensor is used to detect shaking information when outputting the first image data; The main control chip is used to send the first image data and the control parameters corresponding to the first image data to the image processing chip; The image processing chip is used to obtain the first image data sent by the main control chip and the control parameters corresponding to the first image data, and obtain the jitter information through the gyroscope sensor, and render the first image data according to the control parameters and the jitter information, and output second image data; Wherein, the control parameter includes at least one of the following: image size parameter, vertex coordinate parameter, normal vector parameter, texture coordinate parameter, texture parameter, layer information; The jitter information includes at least one of the following: an angular momentum parameter, a zero bias parameter, and a temperature drift parameter.

2. The image processing circuit according to claim 1, characterized in that: The main control chip includes a graphics processor; The main control chip is also used to shut down the graphics processor to start a low power consumption mode.

3. The image processing circuit according to claim 1, characterized in that: The image processing chip includes a second image processing module and a digital signal processor; the second image processing module is connected to the digital signal processor; The second image processing module is used for rendering the first image data based on the control parameter and the jitter information; The digital signal processor performs image drawing based on the first image data after rendering to generate second image data; and sends the second image data to a display unit for display; The rendering process includes at least one of the following: transformation process and projection process.

4. The image processing circuit according to claim 3, characterized in that: The first image data includes at least two frames of images; The main control chip includes a first output interface, a second output interface and a first image processing module; The first output interface and the second output interface are both connected to the first image processing module; The first image processing module is used to perform layer separation processing on each frame of the first image data to obtain a moving sub-image and a static sub-image, wherein the moving sub-image includes a moving object and the static sub-image includes a static object; The first output interface is used to send the motion sub-image to the second image processing module; The second output interface is used to send the still sub-image to the second image processing module; The control parameters include layer information of the moving sub-image and the static sub-image.

5. The image processing circuit according to claim 4, characterized in that: The second image processing module is specifically used for: Based on the control parameter and the jitter information, the moving sub-image is rendered; and the still sub-image and the rendered moving sub-image are synthesized to obtain the second image data.

6. The image processing circuit according to claim 4, characterized in that: The first image processing module is specifically used for: Performing time domain pre-analysis on the first image data to obtain motion information; For each frame of the first image data, based on the motion information, performing layer separation on each frame of the image to obtain the motion sub-image and the static sub-image; The motion information includes at least one of the following: inter-frame variance and motion vector.

7. The image processing circuit according to claim 1, characterized in that: The image processing chip is also used to: pre-process the jitter information; The preprocessing includes at least one of the following: noise identification processing, error calibration processing and filtering processing.

8. An image processing device, characterized in that: The invention comprises the image processing circuit according to any one of claims 1 to 7.

9. The image processing device according to claim 8, characterized in that: The image processing device also includes an image sensor and a display unit; The main control chip is connected to the image sensor; the display unit is connected to the main control chip.

10. An image processing method, applied to the image processing device according to claim 8 or 9, characterized in that: The method comprises: The image processing chip obtains the first image data sent by the main control chip and the control parameters corresponding to the first image data, and obtains the jitter information through the gyroscope sensor; The image processing chip performs rendering processing on the first image data according to the jitter information and the control parameters, and outputs second image data; Wherein, the control parameter includes at least one of the following: image size parameter, vertex coordinate parameter, normal vector parameter, texture coordinate parameter, texture parameter, layer information; The jitter information includes at least one of the following: an angular momentum parameter, a zero bias parameter, and a temperature drift parameter.

11. The method according to claim 10, characterized in that The method further comprises: The main control chip turns off the graphics processor to start a low power consumption mode.

12. The method according to claim 10, characterized in that The image processing chip performs rendering processing on the first image data according to the jitter information and the control parameter, and outputs second image data, including: The second image processing module of the image processing chip performs rendering processing on the first image data based on the control parameter and the jitter information; The digital signal processor of the image processing chip performs image drawing based on the first image data after rendering processing to generate second image data; The digital signal processor of the image processing chip sends the second image data to the display unit for display; The rendering process includes at least one of the following: transformation process and projection process.

13. The method according to claim 10, characterized in that The first image data includes at least two frames of images; Before the image processing chip obtains the first image data sent by the main control chip and the control parameters corresponding to the first image data, and obtains the jitter information through the gyroscope sensor, the method further includes: The first image processing module of the main control chip performs layer separation processing on each frame of the first image data to obtain a moving sub-image and a static sub-image, wherein the moving sub-image includes a moving object and the static sub-image includes a static object; The main control chip sends the moving sub-image to the second image processing module of the image processing chip through the first output interface, and sends the still sub-image to the second image processing module of the image processing chip through the second output interface; The control parameters include layer information of the moving sub-image and the static sub-image.

14. The method according to claim 13, characterized in that The image processing chip performs rendering processing on the first image data according to the jitter information and the control parameter, and outputs second image data, including: The second image processing module performs rendering processing on the motion sub-image based on the control parameter and the jitter information; The still sub-image and the rendered moving sub-image are synthesized to obtain the second image data.

15. The method according to claim 13, characterized in that The first image processing module of the main control chip performs layer separation processing on the first image data to obtain a motion sub-image and a static sub-image, including: The first image processing module of the main control chip performs time domain pre-analysis on the first image data to obtain motion information; For each frame of the first image data, the first image processing module performs layer separation on each frame of the image based on the motion information to obtain the motion sub-image and the static sub-image; The motion information includes at least one of the following: inter-frame variance and motion vector.

16. The method according to claim 10, characterized in that The image processing chip performs rendering processing on the first image data according to the jitter information and the control parameter, and before outputting the second image data, the method further includes: The second image processing module of the image processing chip pre-processes the jitter information; The preprocessing includes at least one of the following: noise identification processing, error calibration processing and filtering processing.

17. An electronic device, characterized in that: The invention comprises an image processing circuit as described in any one of claims 1 to 7, a processor and a memory, wherein the memory stores a program or instruction that can be run on the processor, and when the program or instruction is executed by the processor, the steps of the image processing method as described in any one of claims 10 to 16 are implemented.

18. An image processing chip, characterized in that: The image processing chip includes a processor and a communication interface, the communication interface is coupled to the processor, the communication interface is used to transmit image data, and the processor is used to run programs or instructions to implement the steps performed by the image processing chip in the image processing method as described in any one of claims 10 to 16.

19. A processor chip, characterized in that: The processor chip includes a processor and a communication interface, the communication interface is coupled to the processor, the communication interface is used to transmit image data, and the processor is used to run programs or instructions to implement the steps performed by the main control chip in the image processing method as described in any one of claims 10 to 16.

Citation Information

Patent Citations

  • Image generation method, application processor AP and third party image processing chip

    CN108012084A

  • Image data processing method and related device

    CN108495043A

  • Image processing method and system and computer readable storage medium

    CN109286753A

  • Camera anti-shake system and method, electronic equipment and computer readable storage medium

    CN110035228A

  • Data processing method and related product

    CN111083496A