Image processing system and format conversion method thereof
By setting three conversion units between the image acquisition device and the embedded processor, the format conversion from LVDS signal to MIPI CSI signal is realized, which solves the problems of unsuitable signal conversion and high development difficulty in the existing technology, and improves the adaptability. compatibility and reduced costs.
Patent Information
- Application Number
- CN202410927105.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-11
- Publication Date
- 2024-10-29
AI Technical Summary
In the existing technology, the method of converting LVDS signals output by industrial cameras into MIPI CSI signals has problems such as being unable to fully adapt to the level standards of different camera modules and high development difficulty. Especially when using bridge chips or software conversion, the cost is high. , long development cycle.
Three conversion units are set up between the image acquisition device and the embedded processor: the first conversion unit converts the LVDS signal into a YUV parallel signal, the second conversion unit converts the YUV signal into an RGB parallel signal, and the third conversion unit converts the RGB signal into Convert to MIPI CSI signal to achieve complete conversion of signal format.
It improves the adaptability of signal conversion, reduces costs and development difficulty, and enables flexible adaptation and efficient signal conversion of different camera modules.
Smart Images

Figure CN118869918A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of image processing technology, and in particular to an image processing system and a format conversion method thereof. Background Art
[0002] In the prior art, the main implementation schemes for converting the LVDS signal (Low-Voltage DifferentialSignaling) output by an industrial camera into a mobile industry processor camera serial interface signal (MIPI CSI signal) include: using a dedicated bridge chip to directly convert the LVDS signal into a MIPI CSI signal, but the existing bridge chip has fewer input channels and although the level standards output by different camera modules are all LVDS, the video standards followed by the transmission signal are diverse, and the bridge chip only supports the video formats output by some camera modules; or, using a software algorithm of a high-performance processor to convert the LVDS signal into a MIPI CSI signal, but different MIPI CSI signals have different level standards, and a specific processor is required to be compatible with different level standards, and the software algorithm requires higher computing resources, resulting in higher costs, greater development difficulty, and a long development cycle. Summary of the invention
[0003] In view of this, the purpose of the present application is to at least provide an image processing system and a format conversion method thereof, by setting three conversion units between the image acquisition device and the embedded processor, so that the low voltage differential image signal output by the industrial camera is first converted into a YUV parallel image signal by the first conversion unit, and then the YUV parallel image signal is converted into a first RGB parallel image signal by the second conversion unit, and finally the first RGB parallel image signal is converted into a MIPI CSI signal by the third conversion unit and sent to the embedded processor, so that the LVDS low voltage differential image signal is converted into a MIPI CSI mobile industry processor camera serial interface signal through the combination of the three conversion units, which solves the technical problems in the prior art that the camera module cannot be fully adapted and the software development is difficult due to the conversion through the bridge chip or software, and achieves the technical effect of improving the adaptability of the conversion, reducing the cost and development difficulty.
[0004] This application mainly includes the following aspects:
[0005] In a first aspect, an embodiment of the present application provides a format conversion method for an image processing system, wherein the image processing system includes a first conversion unit, a second conversion unit, and a third conversion unit. The format conversion method includes: the first conversion unit converts a low voltage differential image signal output by an image acquisition device into a YUV parallel image signal; the second conversion unit converts the YUV parallel image signal into a first RGB parallel image signal; the third conversion unit converts the first RGB parallel image signal into a MIPI CSI signal and sends it to an embedded processor to complete the format conversion of the low voltage differential image signal.
[0006] Optionally, the image processing system also includes an interface chip and an image display device, the second conversion unit converts the YUV parallel image signal into an image signal adapted to the image display device, and the interface chip sends the image signal adapted to the image display device to the image display device, so that the image display device displays the image captured by the image acquisition device.
[0007] Optionally, the image display device further includes an image acquisition card, a host and a screen, wherein the image acquisition card is disposed in a card slot of the host, and the image acquisition card sends an image signal adapted for the image display device to the screen through the host, so that the screen displays the image captured by the image acquisition device.
[0008] Optionally, the second conversion unit converts the YUV parallel image signal into a second RGB parallel image signal adapted to the image display device.
[0009] Optionally, the second conversion unit performs UART interaction with the image acquisition device to perform parameter configuration on the image acquisition device.
[0010] Optionally, the second conversion unit performs IIC interaction with the third conversion unit to perform parameter configuration on the third conversion unit.
[0011] In a second aspect, an embodiment of the present application further provides an image processing system, which includes a first conversion unit, a second conversion unit and a third conversion unit, wherein one end of the first conversion unit is connected to an image acquisition device, the other end of the first conversion unit is connected to one end of the second conversion unit, the other end of the second conversion unit is connected to one end of the third conversion unit, and the other end of the third conversion unit is connected to an embedded processor, the first conversion unit is used to convert a low-voltage differential image signal output by the image acquisition device into a YUV parallel image signal; the second conversion unit is used to convert the YUV parallel image signal into a first RGB parallel image signal; the third conversion unit is used to convert the first RGB parallel image signal into a MIPI CSI signal and send it to the embedded processor to complete the format conversion of the low-voltage differential image signal.
[0012] Optionally, the image processing system also includes an interface chip and an image display device, the interface chip is arranged between the second conversion unit and the image display device, the second conversion unit is used to convert the YUV parallel image signal into an image signal adapted to the image display device, and the interface chip is used to send the image signal adapted to the image display device to the image display device, so that the image display device displays the image captured by the image acquisition device.
[0013] Optionally, the image display device also includes an image acquisition card, a host and a screen, the image acquisition card is arranged in a card slot of the host, and the image acquisition card is used to send an image signal adapted by the image display device to the screen through the host, so that the screen displays the image captured by the image acquisition device.
[0014] Optionally, the second conversion unit is further used to convert the YUV parallel image signal into a second RGB parallel image signal adapted to the image display device.
[0015] An embodiment of the present application provides an image processing system and a format conversion method thereof. The image processing system includes a first conversion unit, a second conversion unit and a third conversion unit. The format conversion method includes: the first conversion unit converts a low voltage differential image signal output by an image acquisition device into a YUV parallel image signal; the second conversion unit converts the YUV parallel image signal into a first RGB parallel image signal; the third conversion unit converts the first RGB parallel image signal into a MIPI CSI signal and sends it to an embedded processor to complete the format conversion of the low voltage differential image signal. By setting three conversion units between the image acquisition device and the embedded processor, the low-voltage differential image signal output by the industrial camera is first converted into a YUV parallel image signal by the first conversion unit, and then the YUV parallel image signal is converted into a first RGB parallel image signal by the second conversion unit. Finally, the first RGB parallel image signal is converted into a MIPI CSI signal by the third conversion unit and sent to the embedded processor. Thus, the LVDS low-voltage differential image signal is converted into a MIPI CSI mobile industry processor camera serial interface signal through the combination of the three conversion units, which solves the technical problems of the inability to fully adapt to the camera module and the difficulty of software development caused by the conversion through the bridge chip or software in the prior art, and achieves the technical effect of improving the adaptability of the conversion, reducing the cost and development difficulty.
[0016] In order to make the above-mentioned objects, features and advantages of the present application more obvious and easy to understand, preferred embodiments are specifically cited below and described in detail with reference to the attached drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments will be briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present application and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.
[0018] Figure 1 A schematic diagram of the structure of an image processing system provided in an embodiment of the present application is shown.
[0019] Figure 2 A flow chart of a format conversion method provided in an embodiment of the present application is shown.
[0020] Figure 3 A pin diagram of the first conversion unit provided in an embodiment of the present application is shown.
[0021] Figure 4A timing diagram showing the conversion of the first conversion unit provided in an embodiment of the present application into a YUV parallel image signal is shown.
[0022] Figure 5 A schematic diagram of the structure of another image processing system provided in an embodiment of the present application is shown. DETAILED DESCRIPTION
[0023] To make the purpose, technical scheme and advantages of the embodiments of the present application clearer, the technical scheme in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. It should be understood that the drawings in the present application only serve the purpose of explanation and description and are not used to limit the scope of protection of the present application. In addition, it should be understood that the schematic drawings are not drawn in real proportion. The flowchart used in this application shows the operations implemented according to some embodiments of the present application. It should be understood that the operations of the flowchart can be implemented out of sequence, and the steps without logical context can be reversed in order or implemented simultaneously. In addition, those skilled in the art, under the guidance of the content of the present application, can add one or more other operations to the flowchart, or remove one or more operations from the flowchart.
[0024] In addition, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. The components of the embodiments of the present application described and shown in the drawings here can be arranged and designed in various configurations. Therefore, the following detailed description of the embodiments of the present application provided in the drawings is not intended to limit the scope of the application claimed for protection, but merely represents the selected embodiments of the present application. Based on the embodiments of the present application, all other embodiments obtained by those skilled in the art without making creative work belong to the scope of protection of the present application.
[0025] In the prior art, there are two main implementation schemes for converting the LVDS signal output by an industrial camera into a signal adapted to the MIPI (Mobile Industry Processor Interface) CSI (Camera Serial Interface) interface.
[0026] The first method is to use a dedicated bridge chip, such as LT9211 from Longxun. However, the bridge chip supports a maximum of 2 input channels, which cannot meet the demand for more input channels. In addition, although different industrial cameras all output LVDS signals, the LVDS signals include different level standards. The dedicated bridge chip only supports the LVDS signals output by some industrial cameras, and thus has poor flexibility and scalability.
[0027] The second method is to use a high-performance processor to achieve conversion through software algorithms. The LVDS signal is input to the high-performance processor for algorithm conversion and then output as a MIPI CSI signal. However, the MIPI CSI signal has two working modes: high speed and low power consumption. Different working modes correspond to different level standards. Therefore, a high-performance processor needs to be selected so that the processor interface can adapt to different level standards. If all conversions are achieved using software algorithms, the algorithm operation has high requirements on the processor's performance and computing resources due to the complexity of the MIPI protocol. This solution is costly, difficult to develop, and has a long development cycle.
[0028] Among them, LVDS is a low-voltage, differential signal transmission scheme, mainly used for high-speed data transmission. According to the definition in the ANSI / TIA / EIA-644 specification, it is the most common differential interface. The standard only specifies the electrical characteristics of the driver and receiver suitable for LVDS applications, and is often used as its interface or physical layer by some more advanced protocol standards. LVDS is designed for point-to-point signal transmission and uses a simple termination scheme. A single 100-ohm resistor installed at the receiving end terminates the differential pair to eliminate reflections. The LVDS differential amplitude is 350mV and the common-mode voltage is 1.2V.
[0029] Among them, MIPI is a serial communication interface designed for mobile devices and embedded systems, developed by the MIPI Alliance. The MIPI interface is a high-performance, low-power, low-cost interface, and has become one of the main interfaces in mobile devices and embedded systems. MIPI is a relatively new standard, and its specifications are constantly being revised and improved. Currently, the more mature interface applications are DSI (display interface) and CSI (camera interface). CSI / DSI refers to the fact that it carries applications for cameras or displays, respectively, and both have complex protocol structures. CSI-2 is a single or bidirectional differential serial interface that contains clock and data signals. CSI-2 hierarchy: CSI-2 consists of application layer, protocol layer, and physical layer.
[0030] Based on this, the embodiment of the present application provides an image processing system and a format conversion method thereof. By setting three conversion units between the image acquisition device and the embedded processor, the low voltage differential image signal output by the industrial camera is first converted into a YUV parallel image signal by the first conversion unit, and then the YUV parallel image signal is converted into a first RGB parallel image signal by the second conversion unit. Finally, the first RGB parallel image signal is converted into a MIPI CSI signal by the third conversion unit and sent to the embedded processor. Thus, the LVDS low voltage differential image signal is converted into a MIPI CSI mobile industry processor camera serial interface signal through the combination of the three conversion units, which solves the technical problems of the inability to fully adapt to the camera module and the difficulty of software development caused by the conversion through the bridge chip or software in the prior art, and achieves the technical effects of improving the adaptability of the conversion, reducing the cost and development difficulty, as follows:
[0031] See also Figure 1 , Figure 1 This is a schematic diagram of the structure of an image processing system provided by an embodiment of the present application. Figure 1 As shown, the image processing system provided by the embodiment of the present application includes a first conversion unit U1, a second conversion unit U2, a third conversion unit U3, an image acquisition device 101 and an embedded processor 102, one end of the first conversion unit is connected to the image acquisition device, the other end of the first conversion unit is connected to one end of the second conversion unit, the other end of the second conversion unit is connected to one end of the third conversion unit, and the other end of the third conversion unit is connected to the embedded processor.
[0032] See also Figure 2 , Figure 2 This is a flow chart of the format conversion method provided in the embodiment of the present application. Figure 2 As shown, the format conversion method includes the following steps:
[0033] S101: The first conversion unit converts the low voltage differential image signal output by the image acquisition device into a YUV parallel image signal.
[0034] That is, the image acquisition device is used to capture images and output low voltage differential image signals (LVDS signals), and send the low voltage differential image signals to the first conversion unit. Furthermore, after receiving the low voltage differential image signals, the first conversion unit converts the low voltage differential image signals into YUV parallel image signals. The image acquisition device can be understood as an industrial camera, and the first conversion unit can be understood as a chip having the function of converting low voltage differential image signals into YUV parallel image signals.
[0035] Among them, YUV is a color encoding method. "Y" represents brightness (Luminance or Luma), that is, the grayscale value, and "U" and "V" represent chrominance (Chrominance or Chroma), which is used to describe the color and saturation of the image and is used to specify the color of the pixel. There are three mainstream sampling methods: YUV 4:4:4 sampling, YUV 4:2:2 sampling, and YUV 4:2:0 sampling. YUV 4:4:4 sampling is full sampling, and the Y, U, and V components of each pixel are sampled. For example, YUV 4:2:2 sampling is partial sampling, and the U and V components are half of the Y component sampling, and the Y component and the U and V components are sampled at a ratio of 2:1. Among them, every time a pixel is sampled, its Y component will be sampled, and the U and V components will be sampled one by one. It can save 1 / 3 of the storage space and 1 / 3 of the data transmission volume. Among them, YUV includes many types, the most common one is YCbCr, Cb in YCbCr refers to the blue chrominance component, and Cr refers to the red chrominance component.
[0036] The image acquisition device includes an LVDS interface, and the first conversion unit includes an LVDS interface and a TTL interface (Transistor Transistor Logic). That is, the image acquisition device sends the low voltage differential image signal to the LVDS interface of the first conversion unit through the LVDS interface, and converts the low voltage differential image signal inside the first conversion unit and outputs the YUV parallel image signal through the TTL interface.
[0037] In addition, the image acquisition device further includes a clock signal transmission interface, and the first conversion unit includes a first clock signal transmission interface. When the image acquisition device sends the low voltage differential image signal to the first conversion unit, the image acquisition device also sends a clock signal to the first clock signal transmission interface of the first conversion unit through the clock signal transmission interface to synchronize the clock.
[0038] For example, see Figure 3 and Figure 4 , Figure 3 A pin diagram of the first conversion unit provided in an embodiment of the present application, Figure 4 The timing diagram of the first conversion unit provided in the embodiment of the present application converting into a YUV parallel image signal. Figure 3As shown, the first conversion unit includes five LVDS interfaces (RA+ / -, RB+ / -, RC+ / -, RD+ / -, RE+ / -), one first clock signal transmission interface (RCLK+ / -), five TTL parallel interfaces (RA6-RA0, RB6-RB0, RC6-RC 0, RD6-RD0, RE6-RE0) and a second clock signal transmission interface (CLKOUT). As shown in the figure, it supports the input of 5 LVDS signals and one clock signal at the same time. The highest supported LVDS signal rate is 854Mbps. After internal serial-to-parallel conversion, each serial LVDS signal is converted into 7 parallel TTL signals. The rate of each parallel TTL signal is one seventh of the serial LVDS signal. Figure 4 As shown, the period t of a clock signal RCLK+ / - RCIP The LVDS signal of one RA+ / - interface is converted into seven parallel TTL signals of RA6-RA0.
[0039] S102: The second conversion unit converts the YUV parallel image signal into a first RGB parallel image signal.
[0040] The first conversion unit further includes a second clock signal transmission interface, and the second conversion unit includes a TTL interface and a first clock signal transmission interface. The first clock signal transmission interface of the second conversion unit is connected to the second clock signal transmission interface of the first conversion unit, and further, while the TTL interface of the first conversion unit sends the YUV parallel image signal to the TTL interface of the second conversion unit, the second clock signal transmission interface of the first conversion unit also sends a clock signal to the first clock signal transmission interface of the second conversion unit to synchronize the clock.
[0041] The second conversion unit can be understood as a chip that has the function of converting the YUV parallel image signal into the RGB parallel image signal. In addition, after converting the second conversion unit into the RGB parallel image signal, it is also necessary to adapt the format of the third conversion unit. In other words, the first RGB parallel image signal is a signal of the video format adapted to the third conversion unit.
[0042] That is, the second conversion unit includes an RGB format interface, and after converting the YUV parallel image signal into a first RGB parallel image signal, the first RGB parallel image signal is sent to the third conversion unit through the RGB format interface.
[0043] RGB is a standard for representing colors in the digital field, also known as a color space, which represents a specific color by combining different brightness values of the three primary colors red R, green G, and blue B. In practical applications, there are many RGB formats, such as RGB 565, RGB 555, and RGB 888. The present invention uses the RGB 888 format, where each pixel is represented by 24 bits, and each RGB component uses 8 bits.
[0044] Among them, YUV is divided into digital signal and analog signal. There are many ways to convert YUV to RGB, which can be roughly divided into analog and digital. In each way, the conversion formula for different resolutions is also different. BT601 defines the color space of standard-definition TV. In the color space of standard-definition TV, the formula for converting the RGB digital signal of each pixel to YUV (YCbCr) is as follows:
[0045]
[0046] In formula (1), R refers to the red component of a pixel, G refers to the green component of a pixel, B refers to the blue component of a pixel, Y refers to the brightness of a pixel, Cr refers to the red chrominance component of a pixel, and Cb refers to the blue chrominance component of a pixel.
[0047] Among them, the second conversion unit can modify the internal logic program of the parallel data conversion of the second conversion unit according to the characteristics of the image format output by different industrial camera modules, that is, use different calculation formulas to convert it into the corresponding RGB parallel image signal, which has strong flexibility and scalability.
[0048] S103: The third conversion unit converts the first RGB parallel image signal into a MIPI CSI signal and sends it to the embedded processor to complete the format conversion of the low voltage differential image signal.
[0049] That is to say, the third conversion unit includes an RGB format interface and a MIPI CSI format interface, and the embedded processor includes a MIPI CSI format interface. The RGB format interface of the third conversion unit is connected to the RGB format interface of the second conversion unit, and the MIPI CSI format interface of the third conversion unit is connected to the MIPI CSI format interface of the embedded processor. The RGB format interface of the third conversion unit receives the first RGB parallel image signal sent by the RGB format interface of the second conversion unit, and after the third conversion unit converts the first RGB parallel image signal into a MIPI CSI signal, the MIPI CSI signal is sent to the MIPI CSI format interface of the embedded processor through the MIPI CSI format interface of the third conversion interface. Then, the processing of converting the LVDS signal into a MIPI CSI signal is completed.
[0050] The second conversion unit further includes a second clock signal transmission interface, and the third conversion unit further includes a first clock signal transmission interface, and the second clock signal transmission interface of the second conversion unit is connected to the first clock signal transmission interface of the third conversion unit. While the second conversion unit sends the first RGB parallel image signal to the third conversion unit, it also sends a clock signal to the first clock signal transmission interface of the third conversion unit through the second clock signal transmission interface to synchronize the clock.
[0051] The embedded processor is used to process and display the received MIPI CSI signal.
[0052] The second conversion unit performs UART interaction with the image acquisition device to configure parameters of the image acquisition device. The second conversion unit performs IIC interaction with the third conversion unit to configure parameters of the third conversion unit.
[0053] That is to say, the second conversion unit also includes a UART interface (Universal Asynchronous Receiver / Transmitter interface), and the image acquisition device also includes a UART interface. Furthermore, the UART interface of the second conversion unit sends a parameter configuration signal to the UART interface of the image acquisition device to achieve control of the industrial camera module, including adjusting its output image frequency, gain, zoom mode, etc., and the UART interface of the image acquisition device sends signals such as the state parameters of the image acquisition device to the UART interface of the second conversion unit.
[0054] The second conversion unit also includes an IIC interface (Inter-Integrated Circuit, integrated circuit bus), and the third conversion unit also includes an IIC interface. The IIC interface of the second conversion unit sends a parameter configuration signal to the IIC interface of the third conversion unit to configure the internal register of the third conversion unit, and the IIC interface of the third conversion unit sends signals such as state parameters of the third conversion unit to the IIC interface of the second conversion unit. And / or, the second conversion unit also includes an SPI interface (Serial Peripheral Interface, serial peripheral interface), and the third conversion unit also includes an SPI interface. The SPI interface of the second conversion unit is connected to the SPI interface of the third conversion unit to send a parameter configuration signal to the SPI interface of the third conversion unit through the SPI interface of the second conversion unit to configure the internal register of the third conversion unit.
[0055] Exemplarily, the model of the first conversion unit is THC63LVD104C. The model of the second conversion unit is an FPGA processor, model XC6SLX75-2CSG484I, and the second conversion unit can also be an ARM processor, a PowerPC processor, etc. In other words, processors of different architecture types can be selected according to differences in signal rate, signal conversion time, complexity of conversion algorithm, etc. The model of the third conversion unit can be a chip of TC358748, which supports the first RGB parallel image signal and clock signal of up to 166MHz.
[0056] Exemplarily, interface circuits are correspondingly arranged between the devices in a connected relationship in the image processing system, so as to convert the level of the output signal into a level adapted by the interface of the received signal through the interface circuit.
[0057] For example, see Figure 5 , Figure 5 This is a schematic diagram of the structure of another image processing system provided in an embodiment of the present application. Figure 5 As shown, the image processing system further includes an interface chip U4 and an image display device 201 , and the interface chip U4 is arranged between the second conversion unit U2 and the image display device 201 .
[0058] Among them, the second conversion unit converts the YUV parallel image signal into an image signal adapted to the image display device, and the interface chip sends the image signal adapted to the image display device to the image display device, so that the image display device displays the image captured by the image acquisition device.
[0059] Specifically, the second conversion unit converts the YUV parallel image signal into a second RGB parallel image signal adapted by the image display device, and sends the second RGB parallel image signal to the image display device through the interface chip, so that the image display device displays the second RGB parallel image signal. In addition, the second conversion unit sends a clock signal to the interface chip while sending the second RGB parallel image signal for clock synchronization.
[0060] The second RGB parallel image signal and the first RGB parallel image signal may be RGB parallel image signals with different bits. The second RGB parallel image signal is an RGB parallel image signal adapted by the interface chip, and the first RGB parallel image signal is an RGB parallel image signal adapted by the third conversion unit.
[0061] Exemplarily, the interface chip is a Cameralink interface chip of model DS90CR287, and the second conversion unit outputs a 28-bit second RGB parallel image signal and a clock signal to the Cameralink interface chip.
[0062] like Figure 5 As shown, the image display device 201 also includes an image acquisition card 2011, a host 2012 and a screen 2013. The image acquisition card is arranged in a card slot of the host. The image acquisition card sends the image signal adapted by the image display device to the screen through the host, so that the screen displays the image captured by the image acquisition device.
[0063] The host can be understood as a screen host, one end of the image acquisition card is connected to the interface chip, the other end of the image acquisition card is connected to one end of the host, and the other end of the host is connected to the screen, so that the image acquisition card sends the second RGB parallel image signal forwarded by the interface chip to the screen through the host, so as to display the image captured by the image acquisition device on the screen. Therefore, it is convenient to compare the display screen with the subsequent display screen of the MIPI CSI signal by the embedded processor to verify the correctness of the conversion of the LVDS signal into the MIPI CSI signal.
[0064] The screen host can also store the received second RGB parallel image signal.
[0065] The present application reduces the development difficulty of converting LVDS signals into MIPI CSI signals through software and reduces the performance requirements for processors by setting a first conversion unit for converting LVDS signals into YUV signals, a second conversion unit for converting YUV signals into RGB signals, and a third conversion unit for converting RGB signals into MIPI CSI signals. At the same time, since the first conversion unit is a dedicated chip for converting LVDS signals into YUV signals, the first conversion unit can adapt to LVDS signals output by different industrial cameras, and the YUV signal output by the first conversion signal is also a YUV signal that can be flexibly adapted by the second conversion unit. The detection and storage of camera output signals are realized by setting a Cameralink interface chip to connect an image display device. Compared with the prior art, the present application has the technical effects of reducing costs, reducing development difficulty and cycle, and increasing flexibility and scalability.
[0066] Based on the same application concept, an image processing system corresponding to the format conversion method provided in the above embodiment is also provided in the embodiment of the present application. Since the principle of solving the problem by the image processing system in the embodiment of the present application is similar to the format conversion method in the above embodiment of the present application, the implementation of the image processing system can refer to the implementation of the method, and the repeated parts will not be repeated.
[0067] The image processing system includes a first conversion unit, a second conversion unit and a third conversion unit. One end of the first conversion unit is connected to an image acquisition device, the other end of the first conversion unit is connected to one end of the second conversion unit, the other end of the second conversion unit is connected to one end of the third conversion unit, and the other end of the third conversion unit is connected to an embedded processor. The first conversion unit is used to convert a low voltage differential image signal output by the image acquisition device into a YUV parallel image signal; the second conversion unit is used to convert the YUV parallel image signal into a first RGB parallel image signal; the third conversion unit is used to convert the first RGB parallel image signal into a MIPI CSI signal and send it to the embedded processor to complete the format conversion of the low voltage differential image signal.
[0068] Specifically, the image processing system also includes an interface chip and an image display device. The second conversion unit is used to convert the YUV parallel image signal into an image signal adapted to the image display device. The interface chip is used to send the image signal adapted to the image display device to the image display device so that the image display device displays the image captured by the image acquisition device.
[0069] Specifically, the image display device also includes an image acquisition card, a host and a screen. The image acquisition card is arranged in a card slot of the host. The image acquisition card is used to send an image signal adapted by the image display device to the screen through the host, so that the screen displays the image captured by the image acquisition device.
[0070] Specifically, the second conversion unit is further used to convert the YUV parallel image signal into a second RGB parallel image signal adapted to the image display device.
[0071] Those skilled in the art can clearly understand that, for the convenience and simplicity of description, the specific working process of the system and device described above can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here. In the several embodiments provided in the present application, it should be understood that the disclosed system, device and method can be implemented in other ways. The device embodiments described above are merely schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some communication interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0072] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0073] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
[0074] The above are only specific implementations of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
Claims
1. A format conversion method for an image processing system, characterized in that: The image processing system includes a first conversion unit, a second conversion unit and a third conversion unit, and the format conversion method includes: The first conversion unit converts the low voltage differential image signal output by the image acquisition device into a YUV parallel image signal; The second conversion unit converts the YUV parallel image signal into a first RGB parallel image signal; The third conversion unit converts the first RGB parallel image signal into a MIPI CSI signal and sends it to the embedded processor to complete the format conversion of the low voltage differential image signal.
2. The format conversion method according to claim 1, characterized in that: The image processing system also includes an interface chip and an image display device. The second conversion unit converts the YUV parallel image signal into an image signal adapted to the image display device. The interface chip sends the image signal adapted by the image display device to the image display device, so that the image display device displays the image captured by the image acquisition device.
3. The format conversion method according to claim 2, characterized in that: The image display device further comprises an image acquisition card, a host and a screen, wherein the image acquisition card is arranged in a card slot of the host. The image acquisition card sends the image signal adapted by the image display device to the screen through the host, so that the screen displays the image captured by the image acquisition device.
4. The format conversion method according to claim 2 or 3, characterized in that: The second conversion unit converts the YUV parallel image signal into a second RGB parallel image signal adapted to the image display device.
5. The format conversion method according to claim 1, characterized in that: The second conversion unit performs UART interaction with the image acquisition device to perform parameter configuration on the image acquisition device.
6. The format conversion method according to claim 1, characterized in that: The second conversion unit performs IIC interaction with the third conversion unit to perform parameter configuration on the third conversion unit.
7. An image processing system, characterized in that: The image processing system comprises a first conversion unit, a second conversion unit and a third conversion unit, wherein one end of the first conversion unit is connected to an image acquisition device, the other end of the first conversion unit is connected to one end of the second conversion unit, the other end of the second conversion unit is connected to one end of the third conversion unit, and the other end of the third conversion unit is connected to an embedded processor. The first conversion unit is used to convert the low voltage differential image signal output by the image acquisition device into a YUV parallel image signal; The second conversion unit is used to convert the YUV parallel image signal into a first RGB parallel image signal; The third conversion unit is used to convert the first RGB parallel image signal into a MIPI CSI signal and send it to the embedded processor to complete the format conversion of the low voltage differential image signal.
8. The image processing system according to claim 7, characterized in that: The image processing system further comprises an interface chip and an image display device, wherein the interface chip is arranged between the second conversion unit and the image display device. The second conversion unit is used to convert the YUV parallel image signal into an image signal adapted to the image display device, The interface chip is used to send the image signal adapted by the image display device to the image display device, so that the image display device displays the image captured by the image acquisition device.
9. The image processing system according to claim 8, characterized in that: The image display device further comprises an image acquisition card, a host and a screen, wherein the image acquisition card is arranged in a card slot of the host. The image acquisition card is used to send the image signal adapted by the image display device to the screen through the host, so that the screen displays the image captured by the image acquisition device.
10. The image processing system according to claim 8 or 9, characterized in that: The second conversion unit is further used to convert the YUV parallel image signal into a second RGB parallel image signal adapted to the image display device.
