Image processing system, method and device

By configuring the RAW8 format and adjusting the resolution data, the data format incompatibility between the AVM decoding chip and the RVC camera is solved, achieving high-quality image output and saving hardware costs.

CN115190250BActive Publication Date: 2025-05-09SHANGHAI PATEO INTERNET TECH SERVICE CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202110374564.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-04-07
Publication Date
2025-05-09
Estimated Expiration
2041-04-07

AI Technical Summary

Technical Problem

In the prior art, there is a problem of incompatibility between the decoding chip used by AVM and the RVC camera, which leads to a large amount of blank data being mixed into the image data and cannot be played normally.

Method used

By configuring the RAW8 format, the image data in YUV422 format output by the RVC camera is converted to RAW8 format, and the width value of the resolution data is adjusted in the image processing module to expand it N times to match the input format of the AVM decoding chip, thereby achieving compatibility of the data format.

Benefits of technology

The data format compatibility between the decoding chip used by AVM and the RVC camera is achieved, avoiding the situation of blank data being mixed into the image data, improving the RVC image quality, and saving hardware costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115190250B_ABST
    Figure CN115190250B_ABST
Patent Text Reader

Abstract

The embodiments of the present application provide an image processing system, method and device. The image processing system includes: an upstream decoding module, an image processing module and a memory module. The upstream decoding module is used to receive the original image data of the first image frame, and input the original image data into the image processing module in a first target data format; the first target data format includes a RAW8 format; the image processing module is used to adjust the width value in the resolution data of the first image frame in the original image data to N times the original width value, and write the adjusted target image data into the memory module. The embodiments of the present application solve the problem of incompatible data formats between the decoding chip used by the AVM and the RVC camera in the prior art.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of vehicle computer technology, and in particular to an image processing system, method and device. Background Art

[0002] As the in-vehicle parking image system becomes more and more popular, the functional requirements for the parking image system are also increasing, and the requirements for image quality are also getting higher and higher. In the prior art, the in-vehicle parking image system is usually divided into two types: one is a single camera parking image (Rear View Camera, RVC); the other is a panoramic parking image system (Around View Monitor, AVM).

[0003] Compared with RVC, AVM usually has four cameras, which can view the surrounding area of ​​the car body in 360 degrees without blind spots; while RVC usually has only one camera, which is set at the rear of the car, so the viewing angle supported by RVC only includes the rear of the car. In addition, the image input data types of the two are different, resulting in different decoding chips used for the two-way image input. For the final resolution presented, AVM is usually higher than RVC, so in order to improve performance and reduce costs, the RVC camera is also replaced with a high resolution and uses the same decoding chip as AVM. This not only improves the image quality of RVC, but also eliminates the corresponding decoding chip and peripheral circuits of RVC in the prior art. However, because the decoding chip used by AVM is different from the decoding chip used by RVC, there is a problem of data format incompatibility between the decoding chip used by AVM and the RVC camera. Summary of the invention

[0004] The embodiments of the present application provide an image processing system, method and device to solve the problem of incompatibility of data formats between the decoding chip used in the AVM and the RVC camera in the prior art.

[0005] On the one hand, an embodiment of the present application provides an image processing system, including: an upstream decoding module, an image processing module and a memory module, wherein the upstream decoding module is used to receive raw image data of a first image frame, and input the raw image data into the image processing module in a first target data format; the first target data format includes a RAW8 format;

[0006] The image processing module is used to adjust the width value in the resolution data of the first image frame in the original image data to N times the original width value, and write the adjusted target image data into the memory module.

[0007] On the other hand, an embodiment of the present application further provides an image processing method, the method comprising:

[0008] Receive the raw image data of the first image frame

[0009] Inputting the raw image data into an image processing module in a first target data format; the first target data format includes a RAW8 format;

[0010] The image processing module is controlled to adjust the width value in the resolution data of the first image frame in the original image data to N times the original width value, and the adjusted target image data is written into the memory module.

[0011] On the other hand, an embodiment of the present application further provides an image processing device, the device comprising:

[0012] A first control module, configured to receive raw image data of a first image frame;

[0013] A data input module, used for inputting the raw image data into the image processing module in a first target data format; the first target data format includes a RAW8 format;

[0014] The second control module is used to control the image processing module to adjust the width value in the resolution data of the first image frame in the original image data to N times the original width value, and write the adjusted target image data into the memory module.

[0015] On the other hand, an embodiment of the present application also provides a vehicle, including the above-mentioned image processing system.

[0016] On the other hand, an embodiment of the present application further provides an electronic device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps in the image processing method as described above when executing the computer program.

[0017] On the other hand, an embodiment of the present application further provides a computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the steps in the image processing method as described above are implemented.

[0018] In an embodiment of the present application, an upstream decoding module receives raw image data of a first image frame, and inputs the raw image data into the image processing module in a first target data format to achieve compatibility with the encoding chip UB921; the image processing module adjusts the width value in the resolution data of the first image frame in the raw image data to N times the original width value, and writes the adjusted target image data into the memory module to avoid a large amount of blank data being mixed into the data restored by the downstream decoding chip UB940; through existing hardware equipment, YUV format data images are transmitted through the RAW8 format configuration, achieving data format compatibility between the decoding chip used by the AVM and the RVC camera; and improving the RVC image quality, removing the corresponding RVC decoding chip and peripheral circuits, and saving hardware costs. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the description of the embodiments of the present application 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 any creative labor.

[0020] Figure 1 A block diagram of an image processing system provided in an embodiment of the present application;

[0021] Figure 2 One of the schematic diagrams of an example of an embodiment of the present application;

[0022] Figure 3 This is a second schematic diagram of an example of an embodiment of the present application;

[0023] Figure 4 A flowchart of the steps of the image processing method provided in the embodiment of the present application;

[0024] Figure 5 A block diagram of an image processing device provided in an embodiment of the present application;

[0025] Figure 6 A structural block diagram of an electronic device provided in 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 and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0027] It should be understood that the references to "one embodiment" or "an embodiment" throughout the specification mean that the specific features, structures, or characteristics associated with the embodiment are included in at least one embodiment of the present application. Therefore, the references to "in one embodiment" or "in an embodiment" appearing throughout the specification do not necessarily refer to the same embodiment. In addition, these specific features, structures, or characteristics may be combined in any suitable manner in one or more embodiments.

[0028] In the various embodiments of the present application, it should be understood that the size of the serial numbers of the following processes does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.

[0029] In the prior art, there is a problem of incompatibility of data formats between the decoding chip used by AVM and the RVC camera. The decoding chip used by AVM is usually UB940, and the encoding chip corresponding to UB940 is UB921. Taking the example of AVM collecting image data through four cameras, AVM processes and synthesizes the image through the internal digital signal processor (DSP), and finally outputs it to the encoding chip UB921 in the format of RGB888. The hardware interface used is a parallel 24-pin (PIN) LVCMOS input interface; after receiving the data, the encoding chip UB921 serializes the data and sends it to the downstream decoding chip UB940 through a low-voltage differential signal (LVDS). The downstream decoding chip UB940 deserializes it, and by configuring its video output format to YUV422, the video data in YUV format can be obtained from the downstream decoding chip UB940, and then subsequent data processing is performed.

[0030] The video format output by the RVC camera is YUV. The applicant found that the RVC has only one camera, but the hardware interface connecting it to the encoding chip UB921 has only 8 pins, so the remaining 16 pins of the encoding chip UB921 can only be left hanging. If the existing software configuration is used, the data restored by the downstream decoding chip UB940 will be mixed with a large amount of blank data, making the video data unable to play normally.

[0031] Therefore, the image processing system provided in the embodiment of the present application transmits the data image in YUV format through the configuration of RAW8 format.

[0032] like Figure 1 As shown, the image processing system provided by the embodiment of the present application includes: an upstream decoding module, an image processing module and a memory module;

[0033] The upstream decoding module is used to receive the original image data of the first image frame, and input the original image data into the image processing module in a first target data format; the first target data format includes a RAW8 format.

[0034] Among them, the first image frame can be an image or an image frame in a video file; the first image frame can be an image captured by a camera of a parking image system, such as an RVC camera or an AVM camera; taking the first image frame from an RVC camera as an example, after the upstream decoding module receives the first image frame, it inputs the raw image data into the image processing unit (IPU) in a first target data format, that is, the upstream decoding module configures the format of the output data to the RAW8 format; wherein, in the RAW8 format, the serially input 8-bit image data (0th to 7th bits) is used as the original image data, which can meet the requirement of the encoding chip UB921 to use only 8PIN as data input, thereby avoiding the situation where blank data is mixed in the image data.

[0035] It is understandable that for the system-on-chip (SOC) of the image processing system, SOC, as the input end of the mobile industry processor interface (MIPI), also needs to comply with the MIPI protocol, so the MIPI format of the SOC needs to be synchronously set to RAW8, which will not be repeated in the embodiments of the present application.

[0036] For the RVC camera, the raw image data it inputs is in YUV422 format, and each pixel occupies 2 bytes, but each pixel in RAW8 format occupies 1 Byte. In order to avoid reading invalid data, the format of the data collected by the image processing module should be adjusted to match the IPU format of RAW8, such as V4L2_PIX_FMT_GENERIC, which also occupies 1 Byte for each pixel. However, the raw image data input by the RVC camera to the upstream decoding module is still YUV422. According to the difference between the number of bytes occupied by each pixel in RAW8 and the number of bytes occupied by each pixel in YUV422, after configuring RAW8, the total amount of data collected by the image processing module for one frame of image is half less than before. In order to read a complete frame of image, the image processing module adjusts the width value in the resolution data of the first image frame in the raw image data to N times the original width value, and writes the adjusted target image data to the memory module; where N is a natural number. Taking N=2 as an example, the resolution data is usually in the form of A*B (A>B), where A represents width, i.e., width value; B represents height, i.e., height value; for example, the resolution of an RVC camera is usually 1280*960, 1280 is the width value, and 960 is the height value. Then, after being configured in RAW8 format, the width is doubled, i.e., the resolution data is 2560*960. Based on the original acquisition resolution, the image processing module doubles the width to compensate for the insufficient data volume, so that a complete frame of image data can be obtained, and the obtained data format is YUV422.

[0037] In the embodiment of the present application, the upstream decoding module receives the original image data of the first image frame, and inputs the original image data into the image processing module in the first target data format to achieve compatibility with the encoding chip UB921; the image processing module adjusts the width value in the resolution data of the first image frame in the original image data to N times the original width value, and writes the adjusted target image data into the memory module to avoid a large amount of blank data being mixed into the data restored by the downstream decoding chip UB940; through the existing hardware equipment, the YUV format data image is transmitted through the RAW8 format configuration, and the data format compatibility between the decoding chip used by the AVM and the RVC camera is achieved; and the RVC image quality is improved, the corresponding decoding chip and peripheral circuits of the RVC are removed, and the hardware cost is saved. The embodiment of the present application solves the problem of incompatible data formats between the decoding chip used by the AVM and the RVC camera in the prior art.

[0038] In an optional embodiment, adjusting the width value in the resolution data of the first image frame in the original image data to N times the original width value includes:

[0039] The width value in the resolution data of the first image frame in the original image data is adjusted to twice the original width value; based on the original acquisition resolution, the image processing module doubles the width to compensate for the insufficient data volume to obtain a complete frame of image data, and its data format is YUV422.

[0040] In an optional embodiment, writing the adjusted target image data into the memory module includes:

[0041] The adjusted target image data is written into the memory module in a second target data format.

[0042] Among them, the second target data format matches the IPU format of RAW8, such as V4L2_PIX_FMT_GENERIC; in order to avoid reading invalid data, the image processing module writes the adjusted target image data to the memory module as V4L2_PIX_FMT_GENERIC, so that the data written to the memory module also occupies 1 Byte for each pixel.

[0043] In an optional embodiment, the image processing system further includes:

[0044] The graphics processing module is used to adjust the data format of the target image data in the memory module to storage image data in a third target data format, where the third target data format is, for example, RGBA8888 format.

[0045] In an optional embodiment, the image processing system further includes: a downstream encoding module;

[0046] The image processing module is also used to read the stored image data from the memory module and send the stored image data to the downstream encoding module; the IPU reads the stored image data in the memory module that has been formatted by the GPU; optionally, the upstream decoding module includes a UB940 chip, and correspondingly the downstream encoding module includes a UB921 chip, and the downstream encoding module receives the stored image data from the IPU and sends it to the vehicle computer for display.

[0047] Specifically, the downstream encoding module is used to encode the stored image data, and output the encoded stored image data to the vehicle computer in a fourth target data format, the fourth target data format is, for example, a YUV format, and the vehicle computer generally includes an in-vehicle infotainment device installed in the vehicle, which is used to realize information communication between the vehicle and the user, and between the vehicle and external devices. For example, the image collected by the RVC is processed by the image processing system and then displayed to the user through the vehicle computer, which improves the RVC image resolution and makes the image clearer.

[0048] As an example, see Figure 2 , Figure 2 The specific application scenario of the image processing system provided by the embodiment of the present application is shown, which mainly includes the following steps 1 to 9; wherein UB940 is an upstream decoding module, IPU is an image processing module, GPU is an image processing module, UB921 is a downstream encoding module, and DDR (Double Data Rate) is a memory module.

[0049] Step 1: The RVC camera LVDS transmits image data to UB940.

[0050] Step 2: UB940 configures the image data into RAW8 format and transmits it to the IPU interface.

[0051] Step 3: The IPU interface transmits the image data to the IPU.

[0052] Step 4, the IPU adjusts the width value in the resolution data of the image data to twice the original width value, and stores it in DDR in the V4L2_PIX_FMT_GENERIC format.

[0053] Step 5: GPU reads the image data in V4L2_PIX_FMT_GENERIC format.

[0054] Step 6: The GPU adjusts the image data in V4L2_PIX_FMT_GENERIC format to RGBA8888 format and writes it to DDR.

[0055] Step 7, IPU reads the image data in RGBA8888 format from DDR.

[0056] Step 8, IPU transfers the image data in RGBA8888 format to UB921.

[0057] Step 9: UB921 transmits the image data to the vehicle display screen for display.

[0058] In this way, the images collected by the RVC are processed by the image processing system and then displayed to the user through the vehicle computer, thereby improving the RVC image resolution and making the image clearer.

[0059] In this example, the data transmission process is as follows Figure 3 As shown, the image data is collected by the camera of the RVC, and transmitted to the upstream encoding module UB921 via the DSP inside the RVC, and then transmitted to the upstream decoding module UB940 of the vehicle computer. Among them, the upstream encoding module UB921 only uses 8PIN as data input.

[0060] In an embodiment of the present application, an upstream decoding module receives raw image data of a first image frame, and inputs the raw image data into the image processing module in a first target data format to achieve compatibility with the encoding chip UB921; the image processing module adjusts the width value in the resolution data of the first image frame in the raw image data to N times the original width value, and writes the adjusted target image data into the memory module to avoid a large amount of blank data being mixed into the data restored by the downstream decoding chip UB940; through existing hardware equipment, YUV format data images are transmitted through the RAW8 format configuration, achieving data format compatibility between the decoding chip used by the AVM and the RVC camera; and improving the RVC image quality, removing the corresponding RVC decoding chip and peripheral circuits, and saving hardware costs.

[0061] According to another aspect of an embodiment of the present application, a vehicle is also provided, comprising the above-mentioned image processing system.

[0062] In an optional embodiment, the vehicle includes a downstream decoding module, and the downstream decoding module is used to decode the stored image data; optionally, the downstream decoding module includes a UB940 chip;

[0063] If the first target data format includes a standard YUV format, the downstream decoding module includes a chip video format configured as YUV422, so that complete original image data can be obtained without blank data mixing.

[0064] The above introduces the image processing system and vehicle provided in the embodiments of the present application. The image processing method and image processing device provided in the embodiments of the present application will be introduced below in conjunction with the accompanying drawings.

[0065] See also Figure 4 , the image processing method provided by the embodiment of the present application comprises:

[0066] Step 401: Receive original image data of a first image frame.

[0067] Taking the method applied to the above-mentioned image processing system as an example, Figure 1 As shown, the image processing system includes: an upstream decoding module, an image processing module and a memory module; the first image frame can be an image or an image frame in a video file; the first image frame can be an image captured by a camera of a parking imaging system, such as an RVC camera or an AVM camera; taking the first image frame from an RVC camera as an example, the upstream decoding module receives the original image data of the first image frame.

[0068] Step 402: input the raw image data into the image processing module in a first target data format; the first target data format includes a RAW8 format.

[0069] The raw image data is input into the image processing module in the first target data format, that is, the upstream decoding module configures the format of the output data to the RAW8 format; wherein, in the RAW8 format, the serially input 8-bit image data (bit 0 to bit 7) is used as the raw image data, which can meet the requirement of the encoding chip UB921 to use only 8PIN as data input, thereby avoiding the mixing of blank data in the image data.

[0070] It is understandable that for the system-level chip of the image processing system, SOC, as the input end of the mobile industry processor interface, also needs to comply with the MIPI protocol, so the MIPI format of the SOC needs to be synchronously set to RAW8, which will not be repeated in the embodiments of the present application.

[0071] For the RVC camera, the raw image data it inputs is in YUV422 format, and each pixel occupies 2 bytes, but each pixel in RAW8 format occupies 1 Byte. In order to avoid reading invalid data, the format of the data collected by the image processing module must be adjusted to match the IPU format of RAW8, such as V4L2_PIX_FMT_GENERIC, which also occupies 1 Byte for each pixel. However, the raw image data input by the RVC camera to the upstream decoding module is still YUV422. According to the difference between the number of bytes occupied by each pixel in RAW8 and the number of bytes occupied by each pixel in YUV422, after configuring RAW8, the total amount of data collected by the image processing module for one frame of image is half less than before. In order to read a complete frame of image, execute step 302.

[0072] Step 403, controlling the image processing module to adjust the width value in the resolution data of the first image frame in the original image data to N times the original width value, and writing the adjusted target image data into the memory module.

[0073] The width value in the resolution data of the first image frame in the original image data is adjusted to N times the original width value, and the adjusted target image data is written to the memory module. The resolution data is usually in the form of A*B (A>B), where A represents width, i.e., the width value; B represents height, i.e., the height value; for example, the resolution of the RVC camera is usually 1280*960, 1280 is the width value, and 960 is the height value. Then, after being configured in RAW8 format, the width is doubled, i.e., the resolution data is 2560*960. Based on the original acquisition resolution, the image processing module doubles the width to make up for the insufficient data volume. Therefore, a complete frame of image data can be obtained, and the obtained data format is YUV422.

[0074] In an optional embodiment, writing the adjusted target image data into the memory module includes:

[0075] The adjusted target image data is written into the memory module in a second target data format.

[0076] In the embodiment of the present application, the upstream decoding module is controlled to receive the raw image data of the first image frame, and the raw image data is input into the image processing module in the first target data format to achieve compatibility with the encoding chip UB921; the image processing module is controlled to adjust the width value in the resolution data of the first image frame in the raw image data to N times the original width value, and the adjusted target image data is written into the memory module to avoid a large amount of blank data being mixed into the data restored by the downstream decoding chip UB940; through the existing hardware equipment, the YUV format data image is transmitted through the RAW8 format configuration, and the data format compatibility between the decoding chip used by the AVM and the RVC camera is achieved; and the RVC image quality is improved, the corresponding decoding chip and peripheral circuits of the RVC are removed, and the hardware cost is saved. The embodiment of the present application solves the problem of incompatible data formats between the decoding chip used by the AVM and the RVC camera in the prior art.

[0077] See also Figure 5 , the embodiment of the present application further provides an image processing device, the device comprising:

[0078] The first control module 501 is configured to receive original image data of a first image frame.

[0079] The data input module 502 is used to input the original image data into the image processing module in a first target data format; the first target data format includes a RAW8 format.

[0080] The second control module 503 is used to control the image processing module to adjust the width value in the resolution data of the first image frame in the original image data to N times the original width value, and write the adjusted target image data into the memory module.

[0081] Taking the device applied to the above-mentioned image processing system as an example, Figure 1 As shown, the image processing system includes: an upstream decoding module, an image processing module and a memory module; the first image frame can be an image or an image frame in a video file; the first image frame can be an image captured by a camera of a parking image system, such as an RVC camera or an AVM camera; taking the first image frame from an RVC camera as an example, after the upstream decoding module of the first control module 401 receives the first image frame, it inputs the original image data into the image processing module in a first target data format, that is, the upstream decoding module configures the format of the output data to the RAW8 format; wherein, in the RAW8 format, the serially input 8-bit image data (0th to 7th bits) is used as the original image data, which can meet the requirement that the encoding chip UB921 only uses 8PIN as data input, thereby avoiding the situation where blank data is mixed in the image data.

[0082] It is understandable that for the system-level chip of the image processing system, SOC, as the input end of the mobile industry processor interface, also needs to comply with the MIPI protocol, so the MIPI format of the SOC needs to be synchronously set to RAW8, which will not be repeated in the embodiments of the present application.

[0083] For the RVC camera, the raw image data input is in the YUV422 format, and each pixel occupies 2 bytes, but each pixel in the RAW8 format occupies 1 Byte. In order to avoid reading invalid data, the format of the data collected by the image processing module should be adjusted to match the IPU format of RAW8, such as V4L2_PIX_FMT_GENERIC, which also occupies 1 Byte for each pixel. However, the raw image data input by the RVC camera to the upstream decoding module is still YUV422. According to the difference between the number of bytes occupied by each pixel in RAW8 and the number of bytes occupied by each pixel in YUV422, after configuring RAW8, the total amount of data collected by the image processing module for one frame of image is half less than before. In order to read a complete frame of image, the second control module 402 controls the image processing module to adjust the width value in the resolution data of the first image frame in the raw image data to N times the original width value, and write the adjusted target image data to the memory module. The resolution data is usually in the form of A*B (A>B), where A represents width, i.e., width value; B represents height, i.e., height value; for example, the resolution of an RVC camera is usually 1280*960, 1280 is the width value, and 960 is the height value. Then, after being configured in RAW8 format, the width is doubled, i.e., the resolution data is 2560*960. Based on the original acquisition resolution, the image processing module doubles the width to compensate for the insufficient data volume, so that a complete frame of image data can be obtained, and the obtained data format is YUV422.

[0084] The image processing device provided in the embodiment of the present application can achieve Figures 1 to 3 In order to avoid repetition, the various processes implemented by the image processing method in the method embodiment will not be described again here.

[0085] In the embodiment of the present application, the first control module 501 controls the upstream decoding module to receive the original image data of the first image frame, and the data input module 502 inputs the original image data into the image processing module in the first target data format to achieve compatibility with the encoding chip UB921; the second control module 503 controls the image processing module to adjust the width value in the resolution data of the first image frame in the original image data to N times the original width value, and writes the adjusted target image data into the memory module to avoid mixing a large amount of blank data into the data restored by the downstream decoding chip UB940; through the existing hardware equipment, the YUV format data image is transmitted through the RAW8 format configuration, and the data format compatibility between the decoding chip used by the AVM and the RVC camera is achieved; and the RVC image quality is improved, the corresponding decoding chip and peripheral circuits of the RVC are removed, and the hardware cost is saved. The embodiment of the present application solves the problem of incompatible data formats between the decoding chip used by the AVM and the RVC camera in the prior art.

[0086] On the other hand, an embodiment of the present application further provides an electronic device, comprising a memory, a processor, a bus, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps in the above-mentioned image processing method when executing the program.

[0087] Here is an example: Figure 6 A schematic diagram of the physical structure of an electronic device is shown.

[0088] like Figure 6 As shown, the electronic device may include: a processor 610, a communication interface 620, a memory 630 and a communication bus 640, wherein the processor 610, the communication interface 620 and the memory 630 communicate with each other through the communication bus 640. The processor 610 may call the logic instructions in the memory 630 to execute the following method:

[0089] Receiving raw image data of a first image frame, and inputting the raw image data into the image processing module in a first target data format; the first target data format includes a RAW8 format;

[0090] The image processing module is controlled to adjust the width value in the resolution data of the first image frame in the original image data to N times the original width value, and the adjusted target image data is written into the memory module.

[0091] In addition, the logic instructions in the above-mentioned memory 630 can be implemented in the form of a software functional unit and can be stored in a computer-readable storage medium when it is sold or used as an independent product. Based on this understanding, the technical solution of the present application can be essentially or partly embodied in the form of a software product that contributes to the prior art, and the computer software product is stored in a storage medium, including several instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a disk or an optical disk.

[0092] On the other hand, the embodiments of the present application further provide a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the image processing method provided by the above embodiments is implemented, for example, including:

[0093] Receiving raw image data of a first image frame;

[0094] Inputting the raw image data into the image processing module in a first target data format; the first target data format includes a RAW8 format;

[0095] The image processing module is controlled to adjust the width value in the resolution data of the first image frame in the original image data to N times the original width value, and the adjusted target image data is written into the memory module.

[0096] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without paying creative labor.

[0097] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.

[0098] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit it. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application.

Claims

1. An image processing system, comprising: The upstream decoding module, image processing module and memory module are characterized in that: The upstream decoding module is used to receive the original image data of the first image frame, and input the original image data into the image processing module in a first target data format; the first target data format includes a RAW8 format; The image processing module is used to adjust the width value in the resolution data of the first image frame in the original image data to N times the original width value, and write the adjusted target image data into the memory module.

2. The image processing system according to claim 1, wherein: The step of adjusting the width value in the resolution data of the first image frame in the original image data to N times the original width value includes: The width value in the resolution data of the first image frame in the original image data is adjusted to twice the original width value.

3. The image processing system according to claim 1, wherein: The step of writing the adjusted target image data into the memory module comprises: The adjusted target image data is written into the memory module in a second target data format.

4. The image processing system according to claim 3, wherein: The image processing system further comprises: The graphics processing module is used to adjust the data format of the target image data in the memory module to store image data in a third target data format.

5. The image processing system according to claim 4, wherein: The image processing system further comprises: a downstream encoding module; The image processing module is further used to read the stored image data from the memory module and send the stored image data to the downstream encoding module; The downstream encoding module is used to encode the stored image data and output the encoded stored image data in a fourth target data format.

6. The image processing system according to claim 5, wherein: The upstream decoding module includes a UB940 chip; The downstream encoding module includes a UB921 chip.

7. An image processing method, characterized in that: The method comprises: Receiving raw image data of a first image frame; Inputting the raw image data into an image processing module in a first target data format; the first target data format includes a RAW8 format; The image processing module is controlled to adjust the width value in the resolution data of the first image frame in the original image data to N times the original width value, and the adjusted target image data is written into the memory module.

8. The image processing method according to claim 7, wherein writing the adjusted target image data into the memory module comprises: The adjusted target image data is written into the memory module in a second target data format.

9. A vehicle, characterized in that: The invention comprises the image processing system as claimed in any one of claims 1 to 6.

10. The vehicle according to claim 9, wherein: The vehicle includes a downstream decoding module, the downstream decoding module is used to decode the stored image data; If the first target data format includes a standard YUV format, the downstream decoding module includes a chip video format configured as YUV422.

Citation Information

Patent Citations

  • Image processing method, mobile terminal and computer readable storage medium

    CN112135053A

  • Vehicle-mounted video data processing method, device and system

    CN112135189A