Signal conversion system and signal conversion method
By designing a signal conversion system, using the combination of storage unit and readout unit, the problem of serial data conversion into parallel data in CameraLink camera is solved, real-time switching of interface mode and rapid data processing is realized, and different interface channels are adapted to number of demand.
Patent Information
- Application Number
- CN202111051921.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-09-08
- Publication Date
- 2024-11-26
- Estimated Expiration
- 2041-09-08
AI Technical Summary
Prior Art In CameraLink cameras, the serial data of the CMOS image sensor cannot be effectively converted into parallel data during the FPGA process, and due to the number of camera interface channels, it is impossible to realize the real-time switching of signal conversion and interface mode.
Design a signal conversion system to store K copies of image pixel data through the storage unit, and use the readout unit to read and output X consecutive pixel data from the storage unit according to the interface mode value X to realize signal conversion and interface Real-time switching of mode.
It realizes the rapid reading and storage of image pixel data, ensuring real-time signal conversion and flexibility in interface mode, and adapting to the needs of different interface channels.
Smart Images

Figure CN113965710B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of signal conversion, and in particular to a signal conversion system and a signal conversion method. Background Art
[0002] The data transmission speed of CameraLink cameras is very fast, which can reach 6gbit / s, 8gbit / s, 10gbit / s, or even higher. During the image acquisition process, the image processing needs to be completed quickly, and the serial signal of the CMOS image sensor (CIS) needs to be converted into a parallel signal that complies with the camera interface (CameraLink Interaface) and sent out. The serial-to-parallel conversion process needs to be completed within one line of time.
[0003] The number of channels of CIS data is 16, while the number of channels of the camera interface can be 2, 3, 4, 6, 8 or 10. When the number of channels of the camera interface is 3 or 6, due to the limitations of the number of channels of CIS data and the number of channels of the camera interface, when the field programmable gate array (FPGA) processes a row of serial data, it cannot effectively convert the serial data into parallel data.
[0004] The Chinese invention patent with publication number CN107426551A discloses a full-mode Cameralink digital image optical terminal receiver and transmitter based on FPGA. The technical solution in the specification is that the asynchronous FIFO data cache module 34 communicates with the Cameralink decoding module 31 and the GTX serial transceiver IP core respectively. The asynchronous FIFO data cache module 34 receives the pixel clock signal from the Cameralink decoding module 31 as the write input clock of the FIFO, and writes the image data into the two FIFOs according to the odd and even lines respectively; when outputting, the clock of the GTX high-speed serial transceiver IP core is used as the read clock of the FIFO, and the image data is read by the clock, and then new lines, fields and image signals are generated according to the line and field control signals of the input image, completing the caching of the image data and crossing the clock domain. The asynchronous FIFO data cache module 34 can also set the image data format as needed to convert the image signal into a digital image signal in a unified format. The function of the asynchronous FIFO data buffer module 34 can realize the pixel clock frequency of the adaptive Cameralink digital image, which supports up to 80MHz, and can convert the image signal of any pixel clock into a digital image signal of a unified format. The GTX serial transceiver IP core receives the parallel digital image signal decoded by the Cameralink decoding module 31 and adjusted by the asynchronous FIFO data buffer module 34, and converts the parallel digital image signal into a series of serial data streams for transmission to the SFP optical module 4. In this technical solution, due to the limitation of the number of channels of the camera interface, it is not possible to effectively realize signal conversion and real-time switching of the interface mode.
[0005] Therefore, it is necessary to provide a new signal conversion system and a signal conversion method to solve the above problems existing in the prior art. Summary of the invention
[0006] The object of the present invention is to provide a signal conversion system and a signal conversion method to achieve real-time switching of signal conversion and interface modes.
[0007] To achieve the above object, the signal conversion system of the present invention comprises:
[0008] A storage unit, used to store K copies of pixel data of the image simultaneously; and
[0009] A readout unit is used to read and output X pieces of the pixel data from any X pieces of the pixel data in the K pieces of the pixel data in the storage unit based on an interface mode value X each time reading is performed, and the X pieces of the pixel data respectively provide one piece of the pixel data, and the X pieces of the pixel data read and output are continuous pixel data in a row of pixel data of the image; wherein X is a natural number greater than 0, and K is a natural number greater than or equal to X.
[0010] The beneficial effect of the signal conversion system is that: the storage unit is used to store K portions of pixel data of the image at the same time, and the readout unit is used to read and output X pieces of pixel data from any X pieces of pixel data among the K pieces of pixel data in the storage unit based on the interface mode value X each time reading, and the X pieces of pixel data respectively provide one piece of pixel data, and the X pieces of pixel data read and output are continuous pixel data in a row of pixel data of the image, and the reading of the pixel data is based on the K pieces of pixel data stored in the storage unit and the interface mode value X, so as to realize signal conversion and real-time switching of the interface mode.
[0011] Preferably, the storage unit includes a first storage module and a second storage module in a ping-pong structure, the first storage module and the second storage module are both used to store K copies of a row of pixel data of the image, and a row of pixel data stored in the first storage module and a row of pixel data stored in the second storage module are two adjacent rows of pixel data of the image. The beneficial effect is that it is easy to implement ping-pong reading and writing, and improves the speed of data storage and reading.
[0012] Further preferably, the first storage module and the second storage module each include M×N storage submodules, the storage submodules are used to store continuous pixel data located in the same row of the image, M is a natural number greater than or equal to K, and N is a natural number greater than 0. Its beneficial effect is that it facilitates simultaneous storage and reading of data, and improves the speed of data storage and reading.
[0013] Further preferably, the signal conversion system also includes a writing unit, the writing unit includes N channels, the N channels are used to jointly transmit pixel data of the same row of the image, and the pixel data transmitted by each channel is continuous within the same row of the image when located in the same row of the image, and each storage submodule is used to store continuous pixel data transmitted by one channel and located in the same row of the image.
[0014] Further preferably, the writing unit further includes an image sensing module, and the image sensing module is used to collect and output raw data of the image.
[0015] Further preferably, the writing unit further includes a data decoding module, and the data decoding module is used to decode the original data of the image output by the data decoding module to obtain pixel data of the image, and transmit it through the N channels.
[0016] Further preferably, the readout unit is further used for:
[0017] All pixel data of the image are read from the storage unit according to the order of the pixel data in the image, and each pixel data of the image is read and output only once.
[0018] Further preferably, the readout unit is further used for:
[0019] When X pixel data cannot be read from the X storage submodules storing the same pixel data, part of the pixel data is read from the other X storage subunits storing the same pixel data to ensure output of the X pixel data. The beneficial effect is that it is easy to implement pixel data padding and ensure the integrity of the output pixel data.
[0020] Further preferably, the readout unit is further used for:
[0021] When the interface mode value X cannot be divided by the number A of pixel data in a row of the image, B pixel data at the end of the row of the image are discarded, where A is a natural number greater than 0, and B is the remainder obtained by dividing A by X.
[0022] Further preferably, the readout unit is further used for:
[0023] When the interface mode value X cannot be divided by the number A of pixel data in a row of the image, the B pixel data at the end of the row of the image are output by padding with XB pixel data, where A is a natural number greater than 0, and B is the remainder obtained by dividing A by X.
[0024] The present invention also provides a signal conversion method, comprising the following steps:
[0025] Store K copies of the image's pixel data simultaneously;
[0026] During each reading, based on the interface mode value X, X pieces of the pixel data are read and output from any X pieces of the pixel data among the K pieces of the pixel data, and each of the X pieces of the pixel data provides one pixel data, and the X pieces of the pixel data read and output are continuous pixel data in a row of pixel data of the image; wherein X is a natural number greater than 0, and K is a natural number greater than or equal to X.
[0027] The beneficial effect of the signal conversion method is that K portions of pixel data of the image are stored simultaneously, and each time the pixel data is read, based on the interface mode value X, X pieces of pixel data are read and output from any X pieces of pixel data among the K pieces of pixel data, and the X pieces of pixel data respectively provide one piece of pixel data, and the X pieces of pixel data read and output are continuous pixel data in a row of pixel data of the image, and the pixel data are read out based on the K pieces of pixel data and the interface mode value X, so that signal conversion and real-time switching of the interface mode can be realized. BRIEF DESCRIPTION OF THE DRAWINGS
[0028] Figure 1 is a schematic diagram of a signal conversion system of the present invention;
[0029] Figure 2 is a flow chart of the signal conversion method of the present invention;
[0030] Figure 3 Schematic diagram of a channel of a writing unit transmitting pixel data in some embodiments of the present invention. DETAILED DESCRIPTION
[0031] In order to make the purpose, technical solutions and advantages of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, rather than all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention. Unless otherwise defined, the technical terms or scientific terms used herein should be understood by people with general skills in the field to which the present invention belongs. "Including" and similar words used in this article mean that the elements or objects appearing before the word include the elements or objects listed after the word and their equivalents, without excluding other elements or objects.
[0032] In view of the problems existing in the prior art, an embodiment of the present invention provides a signal conversion system, which is applied to a CameraLink camera and is used to convert CIS serial data into parallel data that complies with the camera interface. Figure 1The signal conversion system 100 includes a storage unit 101 and a reading unit 102, wherein the storage unit 101 is used to store K portions of pixel data of an image at the same time, and the reading unit 102 is used to read and output X pieces of pixel data from any X pieces of pixel data among the K pieces of pixel data in the storage unit 101 based on an interface mode value X each time when reading, and the X pieces of pixel data respectively provide one piece of pixel data, and the X pieces of pixel data read and output are continuous pixel data in a row of pixel data of the image; wherein X is a natural number greater than 0, and K is a natural number greater than or equal to X.
[0033] Figure 2 Flow chart of the signal conversion method of the present invention. Figure 2 , the signal conversion method comprises the following steps:
[0034] S1: Store K copies of the image pixel data simultaneously;
[0035] S2: During each reading, based on the interface mode value X, X pieces of the pixel data are read and output from any X pieces of the pixel data among the K pieces of the pixel data, and each of the X pieces of the pixel data provides one piece of the pixel data, and the X pieces of the pixel data read and output are continuous pixel data in a row of pixel data of the image; wherein X is a natural number greater than 0, and K is a natural number greater than or equal to X.
[0036] In some embodiments, the interface mode value X is the number of channels of the camera interface, and the number of channels of the camera interface includes but is not limited to 2, 3, 4, 6, 8 and 10.
[0037] In some embodiments, K changes with the change of X, and K is equal to X. For example, the number of channels of the camera interface is 3, that is, X is 3, and K is 3 at this time. The storage unit stores 3 copies of the pixel data of the image at the same time. The readout unit reads and outputs 3 pixel data from the 3 copies of the pixel data in the storage unit each time, and the 3 copies of the pixel data respectively provide one pixel data, and the 3 pixel data read and output are continuous pixel data in a row of pixel data of the image. For another example, the number of channels of the camera interface is 8, that is, X is 8, and K is 8 at this time. The storage unit stores 8 copies of the pixel data of the image at the same time. The readout unit reads and outputs 8 pixel data from the 8 copies of the pixel data in the storage unit each time, and the 8 copies of the pixel data respectively provide one pixel data, and the 8 pixel data read and output are continuous pixel data in a row of pixel data of the image.
[0038] In some other embodiments, K is a fixed value greater than or equal to the maximum value of X. For example, X includes but is not limited to 2, 3, 4, 6, 8, and 10. When X only includes 2, 3, 4, 6, 8, and 10, the maximum value of X is 10, and K can be set to 10, 11, 12, 13, etc. Preferably, K is equal to the maximum value of X, that is, K is 10.
[0039] For example, the storage unit stores 10 copies of the pixel data of the image at the same time. At this time, the number of channels of the camera interface is 3, that is, X is 3. The readout unit reads and outputs 3 pixel data from any 3 of the 10 pixel data in the storage unit each time, and the 3 pixel data respectively provide one pixel data, and the 3 pixel data read and output are continuous pixel data in a row of pixel data of the image. When the number of channels of the camera interface becomes 6, that is, X becomes 6, the readout unit reads and outputs 6 pixel data from any 6 of the 10 pixel data in the storage unit each time, and the 6 pixel data respectively provide one pixel data, and the 6 pixel data read and output are continuous pixel data in a row of pixel data of the image. When the number of channels of the camera interface becomes 10, that is, X becomes 10, the readout unit reads and outputs 10 pixel data from the 10 copies of the pixel data in the storage unit each time reading, and the 10 copies of the pixel data respectively provide one pixel data, and the 10 pixel data read and output are continuous pixel data in a row of pixel data of the image.
[0040] Reference Figure 1 The storage unit 101 includes a first storage module 1011 and a second storage module 1012 which are ping-pong structures with each other. The first storage module 1011 and the second storage module 1012 are both used to store K copies of a row of pixel data of the image, and a row of pixel data stored in the first storage module 1011 and a row of pixel data stored in the second storage module 1012 are two adjacent rows of pixel data of the image.
[0041] Reference Figure 1, the first storage module 1011 and the second storage module 1012 each include M×N storage submodules, the storage submodule is used to store continuous pixel data located in the same row of the image, M is a natural number greater than or equal to K, and N is a natural number greater than 0. In some embodiments, when X only includes 2, 3, 4, 6, 8, 10, the maximum value of X is 10, and the maximum value of K is 10 at this time, then the minimum value of M is 10, to ensure that there are enough storage submodules to store pixel data. Among them, the specific type of the storage submodule can be set according to actual needs. For example, in a specific implementation of the present application, the storage submodule is a random access memory (Random Access Memory, RAM).
[0042] Reference Figure 1 The signal conversion system 100 further includes a writing unit 103, the writing unit includes N channels 1031, the N channels are used to jointly transmit pixel data of the same row of the image, and the pixel data transmitted by each channel 1031 is continuous in the same row of the image when it is located in the same row of the image, and each storage submodule is used to store pixel data transmitted by one channel 1031 and located in the same row of the image. In some embodiments, the writing unit 103 generally includes 16 channels 1031, but is not limited to 16.
[0043] Reference Figure 1 The writing unit 103 further includes an image sensor module 1032, which is used to collect and output the raw data of the image. The specific type of the image sensor module 1032 can be set according to actual needs. For example, in a specific embodiment of the present application, the image sensor module 1032 can be specifically a CMOS image sensor (CIS).
[0044] Reference Figure 1 , the writing unit 103 further includes a data decoding module 1033, the data decoding module 1033 is connected to the image sensing module 1032 and the N channels 1031, and the data decoding module 1033 is used to decode the original data of the image output by the data sensing module 1032 to obtain the pixel data of the image, and transmit it through the N channels 1031. Among them, the specific type of the data decoding module 1033 can be set according to actual needs. For example, in a specific implementation of the present application, the data decoding module 1033 can be specifically a data decoder based on low-voltage differential signaling (Low-Voltage Differential Signaling, LVDS).
[0045] In some embodiments, reference Figure 1 The signal conversion system 100 is constructed by a field programmable gate array (FPGA).
[0046] Figure 3 Schematic diagram of the channel transmission of pixel data of the writing unit in some embodiments of the present invention. The image includes 2048 rows of pixel data, and each row of pixel data includes 2048 pixel data. Figure 3 , N is 16, that is, the writing unit includes 16 channels, namely channels channel1 to channel16, and each row of pixel data of the image is transmitted by the 16 channels together. For example, channel channel1 sequentially transmits "0-127" of the first row of pixel data 301 of the image, "0-127" of the second row of pixel data 302 of the image, "0-127" of the third row of pixel data 303 of the image, and "0-127" of the 2048th row of pixel data 304 of the image, and channel channel2 sequentially transmits "128-255" of the first row of pixel data 301 of the image, "128-255" of the second row of pixel data 302 of the image, and "0-127" of the third row of pixel data 303 of the image, and "0-127" of the 2048th row of pixel data 304 of the image. The third row of pixel data 303 of the image "128~255"·····and the 2048th row of pixel data 304 of the image, channel channel16 sequentially transmits "1920~2047" of the first row of pixel data 301 of the image, "1920~2047" of the second row of pixel data 302 of the image, "1920~2047" of the third row of pixel data 303 of the image·····and "1920~2047" of the 2048th row of pixel data 304 of the image.
[0047] In some specific embodiments, refer to Figure 1 to Figure 3 , K is 10, N is 16, the first storage module and the second storage module each include 160 storage sub-modules, and every 10 storage sub-modules form a group.
[0048] Specifically, refer to Figure 1 to Figure 3, each storage submodule in the first group of the storage submodules in the first storage module stores a copy of "0-127" of the first row of pixel data of the image transmitted by channel channel1, each storage submodule in the second group of the storage submodules stores a copy of "128-255" of the first row of pixel data of the image transmitted by channel channel2, and the third group of the storage submodules to the 16th group of the storage submodules store the remaining pixel data of the first row of the image in the same storage rule as the first group of the storage submodules and the second group of the storage submodules;
[0049] When reading pixel data from the first storage module, each storage submodule in the first group of storage submodules in the second storage module stores a copy of "0-127" of the second row of pixel data of the image transmitted by channel channel1, each storage submodule in the second group of storage submodules stores a copy of "128-255" of the second row of pixel data of the image transmitted by channel channel2, and the third group of storage submodules to the sixteenth group of storage submodules store the remaining pixel data of the second row of the image in the same storage rule as the first group of storage submodules and the second group of storage submodules;
[0050] After the pixel data stored in the first storage module are read and output once, when reading pixel data from the first storage module, each storage submodule in the first group of storage submodules in the first storage module stores a copy of "0-127" of the third row of pixel data of the image transmitted by channel channel1, each storage submodule in the second group of storage submodules stores a copy of "128-255" of the third row of pixel data of the image transmitted by channel channel2, and the third group of storage submodules to the 16th group of storage submodules store the remaining pixel data of the third row of the image in the same storage rule as the first group of storage submodules and the second group of storage submodules;
[0051] The storage method of the fourth row of pixel data to the 2048th row of pixel data of the image is the same as the storage method of the first row of pixel data, the second row of pixel data and the third row of pixel data, which will not be described in detail here.
[0052] In some embodiments, the readout unit is further used to read all pixel data of the image from the storage unit according to the order of the pixel data in the image, and each pixel data of the image is read and output only once.
[0053] Specifically, refer to Figure 1 to Figure 3, the current interface mode value X is 3, and the manner of reading pixel data from the second storage module is the same as the manner of reading and outputting pixel data from the first storage module, taking the reading and outputting pixel data from the first storage module as an example. The readout unit simultaneously reads pixel data "0" from the first storage submodule of the first group of storage submodules, reads pixel data "1" from the second storage submodule of the first group of storage submodules, and reads pixel data "2" from the third storage submodule of the first group of storage submodules, and then transmits pixel data "0" to the first channel of the camera interface, transmits pixel data "1" to the second channel of the camera interface, and transmits pixel data "2" to the third channel of the camera interface. Then the readout unit simultaneously reads pixel data "3" from the first storage submodule of the first group of storage submodules, reads pixel data "4" from the second storage submodule of the first group of storage submodules, and reads pixel data "5" from the third storage submodule of the first group of storage submodules, and then transmits pixel data "3" to the first channel of the camera interface, transmits pixel data "4" to the second channel of the camera interface, and transmits pixel data "5" to the third channel of the camera interface. The readout unit reads and outputs the remaining pixel data "6-127" from the first group of storage submodules in the same reading and transmission manner as reading pixel data "0-5".
[0054] In some embodiments, the readout unit is further used to read part of the pixel data from another X storage subunits storing the same pixel data when X pixel data cannot be read from the X storage submodules storing the same pixel data, so as to ensure the output of X pixel data.
[0055] Specifically, refer to Figure 1 to Figure 3 When the reading unit reads pixel data "126" from the first storage submodule of the first group of storage submodules and reads pixel data "127" from the second storage submodule of the first group of storage submodules, the reading unit cannot read pixel data "128" from the third storage submodule of the first group of storage submodules, then reads pixel data "128" from the first storage submodule of the second group of storage submodules, and then transmits pixel data "126" to the first channel of the camera interface, transmits pixel data "127" to the second channel of the camera interface, and transmits pixel data "128" to the third channel of the camera interface.
[0056] In some embodiments, the readout unit is further used to discard B pixel data at the end of a row of the image when the interface mode value X cannot be divided by the number A of pixel data in the row of the image, where A is a natural number greater than 0 and B is the remainder obtained by dividing A by X.
[0057] In some other embodiments, the readout unit is further configured to output B pixel data at the end of a row of the image by padding with XB pixel data when the interface mode value X cannot be divided by the number A of pixel data in a row of the image, where A is a natural number greater than 0, and B is a remainder obtained by dividing A by X. Preferably, the padded XB pixel data are "0".
[0058] Specifically, refer to Figure 1 to Figure 3 , the number of pixel data in a row of the image is 2048, and the remainder obtained by dividing 2048 by 3 is 2, so the pixel data "2046" and the pixel data "2047" at the end of the row of the image are discarded, or the pixel data "2046" and the pixel data "2047" at the end of the row of the image are output by padding with a pixel data "0", and the pixel data "2046" is transmitted to the first channel of the camera interface, the pixel data "2047" is transmitted to the second channel of the camera interface, and the pixel data "0" is padded to be transmitted to the third channel of the camera interface.
[0059] Although the embodiments of the present invention are described in detail above, it is obvious to those skilled in the art that various modifications and variations can be made to these embodiments. However, it should be understood that such modifications and variations are within the scope and spirit of the present invention as described in the claims. Moreover, the present invention described herein may have other embodiments and may be implemented or realized in a variety of ways.
Claims
1. A signal conversion system, characterized in that: include: A storage unit, comprising a storage module, wherein the storage module comprises M×N storage submodules, wherein the storage submodules are used to store continuous pixel data in the same row of an image, where M is a natural number greater than or equal to K, and N is a natural number greater than 0; Each of the storage submodules is used to store continuous pixel data transmitted by one channel and located in the same row of the image; every K storage submodules form a group, and each group of storage submodules is used to store the same pixel data, so as to store K copies of the pixel data of the image at the same time; A writing unit, comprising N channels, wherein the N channels are used to transmit pixel data of the same row of the image together, and the pixel data transmitted by each channel is continuous in the same row of the image when it is located in the same row of the image; as well as A readout unit is used to read and output X pieces of the pixel data from any X pieces of the pixel data in the K pieces of the pixel data in the storage unit based on an interface mode value X each time reading is performed, and the X pieces of the pixel data respectively provide one piece of the pixel data, and the X pieces of the pixel data read and output are continuous pixel data in a row of pixel data of the image; wherein X is a natural number greater than 0, and K is a natural number greater than or equal to X.
2. The signal conversion system according to claim 1, characterized in that: The storage unit includes a first storage module and a second storage module in a ping-pong structure, wherein the first storage module and the second storage module are both used to store K copies of a row of pixel data of the image, and a row of pixel data stored in the first storage module and a row of pixel data stored in the second storage module are two adjacent rows of pixel data of the image.
3. The signal conversion system according to claim 2, characterized in that: The first storage module and the second storage module each include M×N storage sub-modules.
4. The signal conversion system according to claim 3, characterized in that: The writing unit further includes an image sensing module, and the image sensing module is used to collect and output the original data of the image.
5. The signal conversion system according to claim 4, characterized in that: The writing unit further includes a data decoding module, which is used to decode the original data of the image output by the data decoding module to obtain pixel data of the image, and transmit the pixel data through the N channels.
6. The signal conversion system according to claim 3, characterized in that: The readout unit is also used for: All pixel data of the image are read from the storage unit according to the order of the pixel data in the image, and each pixel data of the image is read and output only once.
7. The signal conversion system according to claim 6, characterized in that: The readout unit is also used for: When the X pixel data cannot be read from the X storage submodules storing the same pixel data, part of the pixel data is read from the other X storage subunits storing the same pixel data to ensure the output of the X pixel data.
8. The signal conversion system according to claim 7, characterized in that: The readout unit is also used for: When the interface mode value X cannot be divided by the number A of pixel data in a row of the image, B pixel data at the end of the row of the image are discarded, where A is a natural number greater than 0, and B is the remainder obtained by dividing A by X.
9. The signal conversion system according to claim 7, characterized in that: The readout unit is also used to: When the interface mode value X cannot be divided by the number A of pixel data in a row of the image, the B pixel data at the end of the row of the image are output by padding with XB pixel data, where A is a natural number greater than 0, and B is the remainder obtained by dividing A by X.
10. A signal conversion method, characterized in that: Applied to the signal conversion system of claim 1, the method comprises the following steps: Store K copies of the image's pixel data simultaneously; During each reading, based on the interface mode value X, X pieces of the pixel data are read and output from any X pieces of the pixel data among the K pieces of the pixel data, and each of the X pieces of the pixel data provides one pixel data, and the X pieces of the pixel data read and output are continuous pixel data in a row of pixel data of the image; wherein X is a natural number greater than 0, and K is a natural number greater than or equal to X.
