WO2020215220A1 - Interface timing conversion device, image data processing method, transmission method and system, and storage medium - Google Patents

Interface timing conversion device, image data processing method, transmission method and system, and storage medium Download PDF

Info

Publication number
WO2020215220A1
WO2020215220A1 PCT/CN2019/083949 CN2019083949W WO2020215220A1 WO 2020215220 A1 WO2020215220 A1 WO 2020215220A1 CN 2019083949 W CN2019083949 W CN 2019083949W WO 2020215220 A1 WO2020215220 A1 WO 2020215220A1
Authority
WO
WIPO (PCT)
Prior art keywords
data packet
exposure value
value data
image data
image
Prior art date
Application number
PCT/CN2019/083949
Other languages
French (fr)
Chinese (zh)
Inventor
黄帅凯
谢骞
Original Assignee
深圳市大疆创新科技有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 深圳市大疆创新科技有限公司 filed Critical 深圳市大疆创新科技有限公司
Priority to CN201980005509.6A priority Critical patent/CN111373736A/en
Priority to PCT/CN2019/083949 priority patent/WO2020215220A1/en
Publication of WO2020215220A1 publication Critical patent/WO2020215220A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N25/00Circuitry of solid-state image sensors [SSIS]; Control thereof
    • H04N25/50Control of the SSIS exposure
    • H04N25/57Control of the dynamic range
    • H04N25/58Control of the dynamic range involving two or more exposures
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/80Camera processing pipelines; Components thereof
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/76Television signal recording
    • H04N5/765Interface circuits between an apparatus for recording and another apparatus

Definitions

  • This application relates to the technical field of image data processing and transmission, and in particular to an interface timing conversion device and an image data processing method thereof, an image data transmission method and an image data transmission system, and a storage medium.
  • the SLVS-EC interface protocol mainly defines the physical layer (data serial transmission specification, electrical characteristics of the sender and receiver), protocol layer (image data sending format and packetization protocol) and system topology.
  • the first system topology is the single-port mode (Basic Topology).
  • the working principle of the main control chip docking the SLVS-EC interface image sensor includes: the image sensor sends the pixels stored in the pixel array in order.
  • the end circuit is transmitted to the receiving end circuit of the main control chip, and the receiving end circuit parses the data according to the format specified by the SLVS-EC protocol, and converts it into VBUS interface timing (private transmission protocol defined in the main control chip) and transmits it to the subsequent module image signal Processor (Image Signal Processor, ISP).
  • Figure 1 shows a typical application scenario of the SLVS-EC interface.
  • the SLVS-EC interface protocol stipulates that a port has a maximum of 8 digital channels, and the bandwidth brought by 8 data channels can basically meet the typical application requirements in the camera market.
  • Multiple I/F Topology Multiple I/F Topology
  • HDR High Dynamic Range
  • HDR is a technology commonly used in photography, which can overcome the shortcomings of most camera sensors with limited dynamic range. Multiple images with different exposure values are superimposed and processed to synthesize a high-contrast image, thereby bringing higher image quality.
  • the HDR function of the image sensor of the SLVS-EC interface will produce two images with different exposure values in one exposure, referred to as long exposure frame and short exposure frame.
  • HDR 1Stream there are two different image transmission methods, called HDR 1Stream and HDR 2Stream.
  • the two HDR modes can cooperate with the packet format of the protocol layer to complete the image transmission.
  • the existing image receiving modules in FIGS. 1 to 3 only support single port and dual port modes.
  • the existing image receiving modules cannot support it.
  • the existing image receiving module sends the data packets interleaved with long and short exposure frames to the ISP through the same port (such as VBUS), but the ISP cannot deal with such data packets with different exposure values and interleaved together. Processing, ISP can effectively handle the transmission of only one complete frame of image on the same VBUS port (that is, the exposure value needs to be the same). Therefore, the existing technology system topology can no longer meet the needs of technological development, affecting the quality of image transmission and System performance.
  • this application provides an interface timing conversion device, image data processing method, transmission method and system, and storage medium, aiming to solve the technical problem that the existing system topology cannot meet the needs of image technology development and ensure the quality of image transmission , Improve system performance.
  • this application provides an image data processing method, including:
  • the first exposure value data packet is allocated to a first transmission path
  • the second exposure value data packet is allocated to a second transmission path, so as to compare the first exposure value data packet and the second exposure value
  • the data packets perform different timing conversion processing.
  • this application also provides an interface timing conversion device, including a storage circuit and a processing circuit;
  • the storage circuit is used to store a computer program:
  • the processing circuit is used to execute the computer program and, when the computer program is executed, implement the following steps:
  • the first exposure value data packet is allocated to a first transmission path
  • the second exposure value data packet is allocated to a second transmission path, so as to compare the first exposure value data packet and the second exposure value
  • the data packets perform different timing conversion processing.
  • this application also provides an image data transmission method, including:
  • the image sensor sends image data
  • the interface timing conversion device obtains image data from the image sensor
  • the interface timing conversion device extracts the first exposure value data packet and the second exposure value data packet in the image data
  • the interface timing conversion device allocates the first exposure value data packet to a first transmission path, and allocates the second exposure value data packet to a second transmission path;
  • the interface timing conversion device performs different timing conversion processing on the first exposure value data packet and the second exposure value data packet;
  • the interface timing conversion device is transmitted to the subsequent image signal processing device through different interfaces.
  • this application also provides an image data transmission system, including an image sensor, an interface timing conversion device, and an image signal processing device:
  • the image sensor is used to send image data
  • the interface timing conversion device is used to obtain image data from the image sensor
  • the interface timing conversion device is used to extract a first exposure value data packet and a second exposure value data packet in the image data;
  • the interface timing conversion device is configured to allocate the first exposure value data packet to a first transmission path, and allocate the second exposure value data packet to a second transmission path;
  • the interface timing conversion device is configured to perform different timing conversion processing on the first exposure value data packet and the second exposure value data packet;
  • the interface timing conversion device is used to transmit to the image signal processing device through different interfaces.
  • the present application also provides a storage medium that stores a computer program, and when the computer program is executed by the processing circuit, the processing circuit realizes:
  • the first exposure value data packet is allocated to a first transmission path
  • the second exposure value data packet is allocated to a second transmission path, so as to compare the first exposure value data packet and the second exposure value
  • the data packets perform different timing conversion processing.
  • the embodiment of the application provides an interface timing conversion device, an image data processing method, a transmission method and system, and a storage medium, by extracting a first exposure value data packet and a second exposure value data packet in the image data, and respectively Allocate to the first transmission path and the second transmission path to perform different timing conversion processing, which can solve the transmission and timing conversion problems of HDR images, ensure image transmission quality, and improve system performance.
  • FIG. 1 is a schematic diagram of the image transmission principle in the single-port mode in the prior art
  • FIG. 2 is a schematic diagram of the image transmission principle in the dual-port mode in the prior art
  • FIG. 3 is a schematic diagram of the image transmission principle in the dual sensor mode in the prior art
  • FIG. 4 is a schematic flowchart of steps of an image data processing method provided by an embodiment of the present application.
  • Figure 5 is a schematic diagram of the basic format of the SLVS-EC interface data packet
  • FIG. 6 is a schematic diagram of the principle of sending/receiving data packets in the first HDR mode according to an embodiment of the present application
  • Fig. 7 is a schematic diagram of the principle of sending/receiving data packets in the second HDR mode according to an embodiment of the present application.
  • FIG. 8 is a schematic flowchart of steps in a specific embodiment of extracting a first exposure value data packet and a second exposure value data packet in the image data shown in FIG. 4;
  • FIG. 9 is a schematic flowchart of steps of a specific embodiment of extracting a first exposure value data packet and a second exposure value data packet in the image data shown in FIG. 4;
  • FIG. 10 is a schematic flowchart of steps of a specific embodiment of extracting a first exposure value data packet and a second exposure value data packet in the image data shown in FIG. 4;
  • FIG. 11 is a schematic flowchart of steps of a specific embodiment of extracting a first exposure value data packet and a second exposure value data packet in the image data shown in FIG. 4;
  • FIG. 12 is a schematic flowchart of steps of a specific embodiment of extracting a first exposure value data packet and a second exposure value data packet in the image data shown in FIG. 4;
  • FIG. 13 is a schematic diagram of functional modules of an interface timing conversion device provided by an embodiment of the present application.
  • FIG. 14 is a schematic diagram of the circuit connection of a specific embodiment of the interface timing conversion device shown in FIG. 13, in which the image sensor and the ISP are also shown;
  • FIG. 15 is a schematic flowchart of steps of an image data transmission method provided by an embodiment of the present application.
  • FIG. 16 is a schematic diagram of functional modules of a specific embodiment of an image data transmission system provided by an embodiment of the present application.
  • FIG. 17 is a schematic flowchart of steps implemented when a computer program stored in a storage medium is executed by a processing circuit according to an embodiment of the present application.
  • FIG. 4 is a schematic flowchart of steps of an image data processing method provided by an embodiment of the present application.
  • the image data processing method of this embodiment can be applied to various terminal devices for automatic image post-processing .
  • terminal equipment includes mobile phones, tablets, laptops and drones.
  • the image data processing method may include step S101 to step S103.
  • the image may be an original picture taken by the terminal device, or one or more pictures selected by the user in the graphics library of the terminal device.
  • S102 Extract a first exposure value data packet and a second exposure value data packet in the image data.
  • this embodiment can be applied to the processing of the existence of the first exposure value data packet and/or the second exposure value data packet.
  • the following three cases can be handled: the first exposure value data packet and the second exposure value data packet exist simultaneously.
  • the first exposure value and the second exposure value are relative terms, and the specific exposure time value is not limited.
  • different transmission paths can be used to transmit different exposure value data packets. When one of them is zero, it means that there is no corresponding exposure value data packet. When both of them exist, then two All transmission paths are used to transmit data packets. It should be pointed out that the two transmission paths in this embodiment are only an example. With the development of technology, if there are multiple exposure value data packets in the same image, this embodiment can correspond to multiple transmission paths. And can perform a variety of sequential conversion processes.
  • this embodiment can implement two additional system topologies.
  • the first one is defined as HDR 1Stream mode (or as the first HDR mode), which corresponds to The image sensor set in the previous stage is an HDR 1Stream mode image sensor;
  • the second is defined as HDR 2Stream mode (or defined as the second HDR mode), which corresponds to an HDR 2Stream mode set in the previous stage
  • the image sensor; both modes can be implemented based on the three system structures of Figures 1 to 3 of the prior art with the packet format of the protocol layer to improve the compatibility of this application.
  • this embodiment can implement at least five system topology functions.
  • Figure 5 is the packet format of the protocol layer.
  • the SLVS-EC interface protocol one line of pixel data of a frame of image is used as the basic element of a data packet.
  • the SLVS-EC interface transmitter circuit will add header information to the data packet.
  • the information mainly includes some key image synchronization information, and the receiving circuit used in the SLVS-EC interface can correctly obtain and parse the image related information.
  • the HDR 1Stream mode of this embodiment is based on the single-port mode similar to the above-mentioned Figure 1, but the difference is that the data packets transmitted at this time are in the form of interleaving long exposure frames and short exposure frames, as shown in Figure 6 Example.
  • the SLVS-EC interface transmitter circuit can use different data ID identification bits to distinguish the data packets of the long exposure frame and the short exposure frame.
  • the HDR 2Stream of this embodiment is similar to the dual-port mode shown in Figure 2, but the difference is that the two SLVS-EC interface transmitter circuits transmit independent long
  • the pixels of the exposure frame and the short exposure frame are not the pixels of the odd and even columns of the single frame image.
  • the receiving end of the SLVS-EC interface of this embodiment can complete the conversion of the SLVS-EC standard serial data stream to parallel data, and can complete the analysis of the data packet according to the protocol layer specification, and then convert it to the ISP.
  • VBUS interface timing that can be received.
  • this application solves the problems of HDR image transmission and timing conversion, guarantees image transmission quality, and improves system performance.
  • the extraction of the first exposure value data packet and the second exposure value data packet in the image data described in the embodiment of the present application may specifically include steps S1021 and S1022.
  • S1022 If it is determined that the working mode is the first HDR mode, split the image data to extract the first exposure value data packet and the second exposure value data packet respectively, wherein the first exposure The value data packet is a long exposure value data packet, and the second exposure value data packet is a short exposure value data packet.
  • the data packet readout time of the short exposure frame will be later than that of the long exposure frame. During this interval, the image sensor will send padding packets, and these padding packets are not valid. These useless filling data packets will affect the processing efficiency of the subsequent ISP. Therefore, this embodiment can remove these filling data packets in the previous stage in advance.
  • the allocating the second exposure value data packet to the second transmission path may further include: removing the padding data packet in the second exposure value data packet; wherein, the padding data packet is located in The fixed frame position in the short exposure value data packet or the specified frame position where the filling data packet is marked in the header information of the short exposure value data packet, so as to correspond according to a preset rule in the first HDR mode Remove the padding data packet at the fixed frame position or the designated frame position.
  • the preset rules can be set in advance, or during the transmission of HDR images, when a short exposure value data packet is detected, the header information is automatically identified, and when it is identified that there is padding When the packet is marked, the padding packet is automatically removed.
  • acquiring the image data in this embodiment may specifically include: acquiring the first exposure value data packet and the second exposure value data packet through the same input path.
  • this embodiment can obtain the first exposure value data packet and the second exposure value data packet through the same SLVS-EC interface receiving end circuit, where the long exposure value data packet and the all The image data constructed by the short exposure value data packet is high dynamic range HDR image data.
  • this application can be connected to an image sensor in HDR 1Stream mode, which is processed by the receiving end circuit of the SLVS-EC interface and converted into a data packet interleaved with long/short exposure frames, and then through the data packet header data ID
  • the analysis of the flag bit completes the shunt operation of the long exposure frame and the short exposure frame data packet.
  • the long exposure frame data packet will enter a VBUS IF GEN circuit for processing, and then output through a VBUS port, while the short exposure data packet You can remove the invalid stuffing packet first, then send it to another VBUS IF GEN circuit for processing, and finally output it to the subsequent ISP through another VBUS port for processing.
  • the extraction of the first exposure value data packet and the second exposure value data packet in the image data also includes steps S1021 and S1023.
  • the first exposure value data packet in this embodiment is a long exposure value data packet
  • the second exposure value data packet is a short exposure value data packet
  • the long exposure value data packet and the short exposure value data packet are
  • the image data constructed by the data package is high dynamic range HDR image data.
  • the HDR 2Stream of this embodiment is similar to the dual-port mode shown in Figure 2, but the difference is that at this time, the two SLVS-EC interface transmitter circuits transmit independent long exposure frames and short exposures. Frame pixels instead of pixels in odd and even columns of a single frame image.
  • This application obtains the first exposure value data packet through the first input path, and obtains the second exposure value data packet through the second input path, which can effectively implement image data processing in the HDR 2Stream mode.
  • this application can be connected to an HDR 2Stream mode image sensor, and the long exposure frame/short exposure frame data passes through two SLVS-EC interface receiving end circuits (first input path, second input Path) transmission, complete the timing conversion through, for example, two VBUS IF GEN circuits, and finally output to the subsequent ISP for processing through two VBUS ports.
  • two SLVS-EC interface receiving end circuits first input path, second input Path
  • the extraction of the first exposure value data packet and the second exposure value data packet in the image data in the embodiment of the present application may further include steps S1021 and S1024.
  • this embodiment is aimed at mode selection in the case of single-port mode, and accordingly can be understood as a special scene in which the exposure value data packet is zero.
  • this application can be connected to an image sensor in single-port mode, and an SLVS-EC interface receiver circuit (same input path) parses high-speed serial data into basic pixel data packets and transmits them Give the interface timing conversion circuit, and then the data packet can be processed by, for example, the VBUS IF GEN circuit, converted into the VBUS interface timing, and finally sent to the subsequent ISP through the VBUS port for processing.
  • an SLVS-EC interface receiver circuit (same input path) parses high-speed serial data into basic pixel data packets and transmits them Give the interface timing conversion circuit, and then the data packet can be processed by, for example, the VBUS IF GEN circuit, converted into the VBUS interface timing, and finally sent to the subsequent ISP through the VBUS port for processing.
  • the extraction of the first exposure value data packet and the second exposure value data packet in the image data may further include steps S1021, S1025, and S1026.
  • S1025 If it is determined that the working mode is the dual-port mode, obtain the odd-numbered column serial data in the image data through the first input path, and obtain the even-numbered column serial data in the image data through the second input path.
  • S1026 Splicing the odd column serial data and the even column serial data to restore the first exposure value data packet and the second exposure value data packet extracted from the image data, wherein the first exposure value data packet in the image data One of the one exposure value data packet and the second exposure value data packet is zero.
  • this application can be connected to an image sensor in dual port mode, and the two SLVS-EC interface receiving end circuits (first input path and second input path) will respectively connect the serial numbers of the odd and even columns.
  • the data is parsed into corresponding pixel data packets and transmitted to the interface timing conversion circuit.
  • the two-way data packet is spliced, the odd and even pixels are spliced back to a complete line of pixels, and then converted into VBUS interface timing, and finally sent to the subsequent ISP processing through a VBUS port.
  • the extraction of the first exposure value data packet and the second exposure value data packet in the image data may further include steps S1021 and S1027.
  • first exposure value data packet and the second exposure value data packet in this embodiment are a short exposure value data packet, a long exposure value data packet or a combination of both.
  • this application can interface with two image sensors in single-port mode.
  • the data packet of one image sensor is processed by one of the SLVS-EC interface receiving end circuits and one of the VBUSIF GEN circuits.
  • One of the VBUS ports is output to the ISP; and the data packet of the other image sensor is processed by another SLVS-EC interface receiving end circuit, and another VBUS IF GEN circuit is processed and output to the ISP through the other VBUS port.
  • the execution of different time sequence conversion processing on the first exposure value data packet and the second exposure value data packet in this application may include: using a first interface time sequence conversion module to convert the first exposure value data packet The timing of the data packet is converted into a VBUS interface timing, and the second interface timing conversion module is used to convert the timing of the second exposure value data packet into a VBUS interface timing to transmit to the subsequent image signal processing device through different VBUS interfaces.
  • this application can avoid the problems of too many interface receiving circuits occupying resources and area and system consumption under the premise of using only two SLVS-EC interface receiving end circuits.
  • the image receiving module can work correctly in five modes: single port, dual port, HDR1Stream, HDR 2Stream, dual sensor, etc., and transmit complete image data packets to the ISP, especially in HDR 1Stream mode. Packet header analysis, divide long and short exposure frames into different VBUS interfaces for output, and discard padding packets before short exposure frames, thereby improving ISP processing efficiency.
  • FIG. 13 is a schematic diagram of modules of an interface timing conversion device used to implement one of the embodiments of the above-mentioned image data processing method.
  • the interface timing conversion device described in this embodiment may include a storage circuit 21 and a processing circuit 22.
  • the storage circuit 21 is used to store computer programs.
  • processing circuit 22 is used to execute the computer program, and when the computer program is executed, the following steps are implemented:
  • the first exposure value data packet is allocated to a first transmission path
  • the second exposure value data packet is allocated to a second transmission path, so as to compare the first exposure value data packet and the second exposure value
  • the data packets perform different timing conversion processing.
  • the processing circuit 22 when the processing circuit 22 implements the extraction of the first exposure value data packet and the second exposure value data packet in the image data, it is used to implement: judging the current working mode; If it is determined that the working mode is the first HDR mode, the image data is split to extract the first exposure value data packet and the second exposure value data packet respectively, wherein the first exposure value data The packet is a long exposure value data packet, and the second exposure value data packet is a short exposure value data packet.
  • the processing circuit 22 when the processing circuit 22 implements the allocation of the second exposure value data packet to the second transmission path, it is also used to implement: remove the padding in the second exposure value data packet data pack.
  • the padding data packet is located at a fixed frame position in the short exposure value data packet, or the specified frame position where the padding data packet is located is marked in the header information of the short exposure value data packet to In the first HDR mode, the padding data packet at the fixed frame position or the designated frame position is correspondingly removed according to a preset rule.
  • the preset rules can be set in advance, or in the process of HDR image transmission, when a short exposure value data packet is detected, the header information is automatically identified, and when it is identified When filling the mark of the data packet, the filling data packet is automatically removed.
  • the number of rows n of the padding packet may be recorded and sent to the picture trimming circuit, that is, the PictureClip circuit, and the PictureClip circuit removes the n rows of padding packets.
  • each row of the padding packet generated by the sensor there is a special header file to indicate that the packet is a data row of the data padding packet, and the Picture Clip circuit can remove the data row of the padding packet according to the header file.
  • the data stuffing packet can be removed in the PictureClip circuit by recording the number of rows of the stuffing packet and the header file of the data stuffing packet.
  • the processing circuit 22 when the processing circuit 22 realizes the acquisition of image data, it is used to realize: acquiring the first exposure value data packet and the second exposure value data packet through the same input path.
  • the image data constructed by the long exposure value data packet and the short exposure value data packet are high dynamic range HDR image data.
  • the processing circuit 22 when the processing circuit 22 implements the extraction of the first exposure value data packet and the second exposure value data packet in the image data, it is used to implement: judging the current working mode; If it is determined that the working mode is the second HDR mode, the first exposure value data packet is acquired through the first input path, and the second exposure value data packet is acquired through the second input path.
  • the first exposure value data packet is a long exposure value data packet
  • the second exposure value data packet is a short exposure value data packet
  • the long exposure value data packet and the short exposure value data packet are constructed
  • the image data is high dynamic range HDR image data.
  • the processing circuit 22 when the processing circuit 22 implements the extraction of the first exposure value data packet and the second exposure value data packet in the image data, it is used to implement: judging the current working mode; If it is determined that the working mode is the single-port mode, the image data is obtained through the same input path to extract the first exposure value data packet and the second exposure value data packet, wherein the first exposure value data packet and the second exposure value data packet One of the packets is zero.
  • the processing circuit 22 when the processing circuit 22 implements the extraction of the first exposure value data packet and the second exposure value data packet in the image data, it is used to implement: judging the current working mode; If it is determined that the working mode is the dual-port mode, obtain the odd-numbered column serial data in the image data through the first input path, and obtain the even-numbered column serial data in the image data through the second input path; The odd column serial data and the even column serial data are used to restore the first exposure value data packet and the second exposure value data packet extracted from the image data, wherein the first exposure value data packet in the image data And one of the second exposure value data packets is zero.
  • the processing circuit 22 when the processing circuit 22 implements the extraction of the first exposure value data packet and the second exposure value data packet in the image data, it is used to implement: judging the current working mode; If it is determined that the working mode is the dual sensor mode, the first exposure value data packet is acquired through the first input path, and the second exposure value data packet is acquired through the second input path.
  • the first exposure value data packet and the second exposure value data packet are a short exposure value data packet, a long exposure value data packet or a combination of both.
  • the processing circuit 22 realizes the acquisition of image data, it is used to realize: acquiring image data through a low-voltage signal SLVS-EC interface with an expandable embedded clock.
  • the processing circuit 22 when the processing circuit 22 implements different time sequence conversion processing on the first exposure value data packet and the second exposure value data packet, it is used to implement:
  • the module converts the timing of the first exposure value data packet into a VBUS interface timing, and uses a second timing conversion module to convert the timing of the second exposure value data packet into a VBUS interface timing, so as to be transmitted through different VBUS interfaces. To the subsequent image signal processing device.
  • FIG. 14 is a schematic diagram of the circuit connection of a specific implementation of the interface timing conversion device shown in FIG. 13.
  • the first image sensor, the second image sensor and the ISP of the image data transmission system are also shown.
  • the interface timing conversion device of this embodiment may specifically include a first SLVS-EC interface receiving module, a second SLVS-EC interface receiving module, a setting circuit module, a pixel mosaic circuit Pixel Merge, and a data distribution circuit Packet Distribute, the first MUX circuit module, the second MUX circuit module, the image trimming circuit PictureClip, the first VBUS IF GEN circuit module, the second VBUS IF GEN circuit module, the first VBUS port, and the second VBUS port.
  • a first SLVS-EC interface receiving module may specifically include a first SLVS-EC interface receiving module, a second SLVS-EC interface receiving module, a setting circuit module, a pixel mosaic circuit Pixel Merge, and a data distribution circuit Packet Distribute, the first MUX circuit module, the second MUX circuit module, the image trimming circuit PictureClip, the first VBUS IF GEN circuit module, the second VBUS IF GEN circuit module, the first VBUS port, and the second
  • the Setting circuit module is used to store various parameters configured by the processing circuit 22, and control which mode the interface timing conversion device specifically works in.
  • the pixel splicing circuit is used to splice odd and even pixels back into a complete row of pixels, and it can take effect in dual-port mode.
  • the data distribution circuit is used to distinguish the data packets interleaved with long and short exposure frames according to the data ID flag in the packet header, which can be effective in HDR 1Stream mode.
  • the image trimming circuit can be used to remove the useless padding data packets before the short exposure frame, and it can take effect in HDR 1Stream mode.
  • the padding data packet is located at a fixed frame position in the short exposure value data packet, or the specified frame position where the padding data packet is located is marked in the header information of the short exposure value data packet to In the HDR 1Stream mode, correspondingly remove the padding data packet at the fixed frame position or the designated frame position according to the preset rule.
  • the preset rules can be set in advance, or in the process of HDR image transmission, when a short exposure value data packet is detected, the header information is automatically identified, and when it is identified When filling the mark of the data packet, the filling data packet is automatically removed.
  • the number of rows of padding packets n may be recorded and sent to the image trimming circuit, and the image trimming circuit removes n rows of padding packets.
  • each row of the padding packet generated by the sensor there will be a special header file to indicate that the packet is a data row of the data padding packet, and the image trimming circuit can remove the data row of the padding packet according to the header file .
  • the data padding packet can be removed in the image trimming circuit by recording the number of rows of the padding packet and the header file of the data padding packet.
  • the first MUX circuit module and the second MUX circuit module may be multiple data stream selectors.
  • the first VBUS IF GEN circuit module and the second VBUS IF GEN circuit module are used to convert the timing of the input data packet into a standard VBUS interface timing.
  • this application can be connected to a first image sensor in single port mode, and the first SLVS-EC interface receiving module parses high-speed serial data into basic pixel data packets, and then the data packets can be After processing such as the data distribution circuit, the first MUX circuit module, and the first VBUS IF GEN circuit module, it is converted into a VBUS interface sequence, and finally sent to the subsequent ISP for processing through the first VBUS port.
  • Dual port mode In this scenario, this application can be connected to a first image sensor and a second image sensor in dual port mode.
  • the first SLVS-EC interface receiving module and the second SLVS-EC interface receiving module will be respectively Analyze the serial data of the odd and even column into corresponding pixel data packets.
  • the two data packets are spliced by the pixel splicing circuit, and the odd and even pixels are spliced back into a complete row of pixels, and then converted into VBUS interface timing, and finally passed through the first MUX circuit module ,
  • the first VBUS IF GEN circuit module and the first VBUS port are sent to the subsequent ISP processing.
  • the dual sensor mode is the 2 Sensor mode.
  • this application can interface with the first image sensor and the second image sensor in two single-port modes, where the data packets of the first image sensor are received through the first SLVS-EC interface
  • the module, data distribution circuit, first MUX circuit module, and first VBUS IF GEN circuit module are processed and output to the ISP through the first VBUS port; and the data packet of the second image sensor passes through the second SLVS-EC interface receiving module and the second
  • the MUX circuit module and the second VBUS IF GEN circuit module process the output to the ISP through the second VBUS port.
  • the first HDR mode is HDR 1Stream mode.
  • this application can be connected to a first image sensor in HDR 1Stream mode, which is processed by the first SLVS-EC interface receiving module and converted into long/short exposure frame interleaved data Then, the data distribution circuit analyzes the ID flag of the packet header to complete the shunt operation of the long exposure frame and the short exposure frame data packet.
  • the long exposure frame data packet will enter the first MUX circuit module and the first VBUS IF
  • the GEN circuit module performs processing and then outputs it through the first VBUS port.
  • the short-exposure data packets can be first removed by the image trimming circuit to remove invalid filling data packets, and then sent to the second MUX circuit module and the second VBUSIF GEN circuit module for processing , And finally output to the subsequent ISP for processing through the second VBUS port.
  • the second HDR mode is HDR 2Stream mode.
  • this application can interface with a first image sensor and a second image sensor in HDR 2Stream mode, and the long exposure frame/short exposure frame data passes through the first SLVS-EC interface respectively
  • the receiving module and the second SLVS-EC interface receiving module transmit, after passing through the first VBUS IF GEN circuit module and the second VBUS IF GEN circuit module to complete the timing conversion, and finally output to the subsequent ISP through the first VBUS port and the second VBUS port To process.
  • this application can not only avoid the problems of too many interface receiving circuits occupying resources and area and system consumption under the premise of using only two SLVS-EC interface circuits, but also by improving the way of interface timing conversion , So that the image receiving module can work correctly in five modes: single port, dual port, HDR 1Stream, HDR 2Stream, dual sensor, etc., and transmit complete image data packets to the ISP, especially in HDR 1Stream mode.
  • the packet header is analyzed, the long and short exposure frames are divided and output on different VBUS interfaces, and the padding data packets before the short exposure frames are discarded, thereby improving the processing efficiency of the ISP.
  • FIG. 15 is a schematic flowchart of steps of an image data transmission method according to an embodiment of the present application.
  • the image data transmission method of this embodiment can be applied to various terminal devices for automatic image post-processing.
  • terminal equipment includes mobile phones, tablets, laptops and drones.
  • the image data transmission method in this embodiment may include step S201 to step S206.
  • S201 The image sensor sends image data.
  • the interface timing conversion device obtains image data from the image sensor.
  • the interface timing conversion device extracts a first exposure value data packet and a second exposure value data packet in the image data.
  • the interface timing conversion device allocates the first exposure value data packet to a first transmission path, and allocates the second exposure value data packet to a second transmission path.
  • the interface timing conversion device performs different timing conversion processing on the first exposure value data packet and the second exposure value data packet.
  • the interface timing conversion device transmits to a subsequent image signal processing device through a different interface.
  • the interface timing conversion device extracting the first exposure value data packet and the second exposure value data packet in the image data may include: judging the current working mode; if it is judged that the working mode is In the first HDR mode, the image data is split by a data packet distribution circuit to extract the first exposure value data packet and the second exposure value data packet respectively, wherein the first exposure value data packet Is a long exposure value data packet, and the second exposure value data packet is a short exposure value data packet.
  • the interface timing conversion device of this embodiment allocates the second exposure value data packet to the second transmission path, and further includes: removing the second exposure allocated by the data packet distribution circuit through an image trimming circuit The padding packet in the value packet.
  • the interface timing conversion apparatus of this embodiment obtains image data from the image sensor, including: obtaining the first exposure value data packet and the second exposure value data packet through the input path of the same interface receiving module.
  • the image data constructed by the long exposure value data packet and the short exposure value data packet in this embodiment are high dynamic range HDR image data.
  • the interface timing conversion device extracting the first exposure value data packet and the second exposure value data packet in the image data may include: judging the current working mode; if it is judged that the working mode is In the second HDR mode, the first exposure value data packet is acquired through the input path of the first interface receiving module, and the second exposure value data packet is acquired through the input path of the second interface receiving module.
  • the first exposure value data packet in this embodiment is a long exposure value data packet
  • the second exposure value data packet is a short exposure value data packet
  • the image data constructed by the package is high dynamic range HDR image data.
  • the interface timing conversion device extracting the first exposure value data packet and the second exposure value data packet in the image data may include: judging the current working mode; if it is judged that the working mode is In single port mode, the image data is acquired through the input path of the receiving module of the same interface to extract the first exposure value data packet and the second exposure value data packet, wherein the first exposure value data packet and the second exposure value data packet are One of them is zero.
  • the interface timing conversion device extracting the first exposure value data packet and the second exposure value data packet in the image data may include: judging the current working mode; if it is judged that the working mode is In the dual-port mode, the odd-numbered serial data in the image data is acquired through the input path of the first interface receiving module, and the even-numbered serial data in the image data is acquired through the input path of the second interface receiving module; The pixel stitching circuit stitches the odd column serial data of the first interface receiving module and the even column serial data of the second interface receiving module to restore the first exposure value data packet and the second exposure extracted from the image data A value data packet, wherein one of the first exposure value data packet and the second exposure value data packet in the image data is zero.
  • the interface timing conversion device extracting the first exposure value data packet and the second exposure value data packet in the image data includes: judging the current working mode; if it is judged that the working mode is dual In the sensor mode, the first exposure value data packet is acquired through the input path of the first interface receiving module, and the second exposure value data packet is acquired through the input path of the second interface receiving module.
  • the first exposure value data packet and the second exposure value data packet in this embodiment are a short exposure value data packet, a long exposure value data packet or a combination of both.
  • the interface timing conversion device of this embodiment obtains image data from the image sensor, which may include: obtaining image data through a low-voltage signal SLVS-EC interface receiving module with an expandable embedded clock.
  • the interface timing conversion device performs different timing conversion processing on the first exposure value data packet and the second exposure value data packet, including: using a first interface timing conversion module to convert the second The timing of an exposure value data packet is converted into a VBUS interface timing, and the second interface timing conversion module is used to convert the timing of the second exposure value data packet into a VBUS interface timing, so as to be transmitted to the subsequent stage through different VBUS interfaces.
  • Image signal processing device uses a first interface timing conversion module to convert the second The timing of an exposure value data packet into a VBUS interface timing
  • the second interface timing conversion module is used to convert the timing of the second exposure value data packet into a VBUS interface timing, so as to be transmitted to the subsequent stage through different VBUS interfaces.
  • This application provides an image data transmission system.
  • it may include an image sensor 31, an interface timing conversion device 32, and an image signal processing device 33 (ie ISP).
  • ISP image signal processing device
  • the image sensor 31 is used to send image data
  • the interface timing conversion device 32 is configured to obtain image data from the image sensor 31;
  • the interface timing conversion device 32 is configured to extract a first exposure value data packet and a second exposure value data packet in the image data;
  • the interface timing conversion device 32 is configured to allocate the first exposure value data packet to a first transmission path, and allocate the second exposure value data packet to a second transmission path;
  • the interface timing conversion device 32 is configured to perform different timing conversion processing on the first exposure value data packet and the second exposure value data packet;
  • the interface timing conversion device 32 is configured to transmit to the image signal processing device 33 through different interfaces.
  • the interface timing conversion device 32 includes a processing circuit and a data distribution circuit.
  • the processing circuit is used to determine The current working mode; if it is determined that the working mode is the first HDR mode, the data packet distribution circuit is configured to split the image data to extract the first exposure value data packet and the The second exposure value data packet, wherein the first exposure value data packet is a long exposure value data packet, and the second exposure value data packet is a short exposure value data packet.
  • the interface timing conversion device 32 includes an image trimming circuit, when the second exposure value data packet is allocated to the second transmission path: the image trimming circuit is used to remove the data packet distribution circuit allocated The padding data packet in the second exposure value data packet.
  • the interface timing conversion device 32 includes an interface receiving module.
  • the processing circuit acquires the first exposure through the input path of the same interface receiving module. Value data packet and the second exposure value data packet.
  • the image data constructed by the long exposure value data packet and the short exposure value data packet are high dynamic range HDR image data.
  • the interface timing conversion device 32 includes a processing circuit, a first interface receiving module, and a second interface receiving module.
  • the processing circuit is used to determine the current working mode; if it is determined that the working mode is the second HDR mode, the processing circuit obtains the first exposure value data through the input path of the first interface receiving module And obtain the second exposure value data packet through the input path of the second interface receiving module.
  • first interface receiving module and the second interface receiving module may correspond to the first SLVS-EC interface receiving module and the second SLVS-EC interface receiving module described in the previous embodiment.
  • the first exposure value data packet is a long exposure value data packet
  • the second exposure value data packet is a short exposure value data packet
  • the long exposure value data packet and the short exposure value data packet are constructed
  • the image data is high dynamic range HDR image data.
  • the interface timing conversion device 32 includes a processing circuit and an interface receiving module.
  • the processing circuit When extracting the first exposure value data packet and the second exposure value data packet in the image data: the processing circuit is used for Determine the current working mode; if it is determined that the working mode is single-port mode, the processing circuit is used to obtain the image data through the input path of the same interface receiving module to extract the first exposure value data packet and the first Two exposure value data packets, wherein one of the first exposure value data packet and the second exposure value data packet is zero.
  • the interface timing conversion device 32 includes a processing circuit, a first interface receiving module, a second interface receiving module, and a pixel stitching circuit.
  • the first exposure value data packet and the second exposure data packet in the image data are extracted.
  • Value data packet the processing circuit is used to determine the current working mode; if it is determined that the working mode is the dual-port mode, the processing circuit is used to obtain the input path of the first interface receiving module The odd-numbered column of serial data in the image data, and the even-numbered column of serial data in the image data is obtained through the input path of the second interface receiving module; the processing circuit is used for splicing all the data through the pixel splicing circuit
  • the odd column serial data of the first interface receiving module and the even column serial data of the second interface receiving module are used to restore the first exposure value data packet and the second exposure value data packet extracted from the image data, wherein , One of the first exposure value data packet and the second exposure value data packet in the image data is zero.
  • the interface timing conversion device 32 includes a processing circuit, a first interface receiving module, and a second interface receiving module.
  • the processing circuit is used to determine the current operating mode; if it is determined that the operating mode is the dual sensor mode, the processing circuit is used to obtain the first exposure value through the input path of the first interface receiving module Data packet, and obtain the second exposure value data packet through the input path of the second interface receiving module.
  • the first exposure value data packet and the second exposure value data packet are a short exposure value data packet, a long exposure value data packet or a combination of both.
  • the interface timing conversion device 32 includes a low-voltage signal SLVS-EC interface receiving module with an expandable embedded clock for acquiring image data from the image sensor 31.
  • the interface timing conversion device 32 is configured to use a first interface timing conversion module to convert the timing of the first exposure value data packet into a VBUS interface timing, and use a second interface timing conversion module to convert the second exposure
  • the time sequence of the value data packet is converted into the VBUS interface time sequence to be transmitted to the subsequent image signal processing device 33 through different VBUS interfaces.
  • This application also provides a storage medium that stores a computer program, and when the computer program is executed by a processing circuit, the processing circuit implements steps S301 to S303.
  • S302 Extract a first exposure value data packet and a second exposure value data packet in the image data.
  • processing circuit implements the extraction of the first exposure value data packet and the second exposure value data packet in the image data, it is used to implement:
  • the image data is split to extract the first exposure value data packet and the second exposure value data packet respectively, wherein the first exposure value data
  • the packet is a long exposure value data packet
  • the second exposure value data packet is a short exposure value data packet.
  • processing circuit when the processing circuit implements the allocation of the second exposure value data packet to the second transmission path, it is also used to implement: remove the padding data packet in the second exposure value data packet.
  • the padding data packet is located at a fixed frame position in the short exposure value data packet, or the specified frame position where the padding data packet is located is marked in the header information of the short exposure value data packet, so as to be in the first HDR In the mode, the padding data packet at the fixed frame position or the designated frame position is correspondingly removed according to the preset rule.
  • the preset rules can be set in advance, or during the transmission of HDR images, when a short exposure value data packet is detected, the packet header information is automatically identified, and when it is identified When filling the mark of the data packet, the filling data packet is automatically removed.
  • the processing circuit when the processing circuit implements the acquisition of image data, it is used to implement: acquiring the first exposure value data packet and the second exposure value data packet through the same input path.
  • the image data constructed by the long exposure value data packet and the short exposure value data packet are high dynamic range HDR image data.
  • processing circuit implements the extraction of the first exposure value data packet and the second exposure value data packet in the image data, it is used to implement:
  • the working mode is the second HDR mode
  • the first exposure value data packet is acquired through the first input path
  • the second exposure value data packet is acquired through the second input path.
  • the first exposure value data packet is a long exposure value data packet
  • the second exposure value data packet is a short exposure value data packet
  • the long exposure value data packet and the short exposure value data packet are constructed
  • the image data is high dynamic range HDR image data.
  • processing circuit implements the extraction of the first exposure value data packet and the second exposure value data packet in the image data, it is used to implement:
  • the image data is obtained through the same input path to extract the first exposure value data packet and the second exposure value data packet, wherein the first exposure value data packet and the second exposure value data packet One of the packets is zero.
  • processing circuit implements the extraction of the first exposure value data packet and the second exposure value data packet in the image data, it is used to implement:
  • the working mode is the dual-port mode, obtain the odd-numbered serial data in the image data through the first input path, and obtain the even-numbered serial data in the image data through the second input path;
  • processing circuit implements the extraction of the first exposure value data packet and the second exposure value data packet in the image data, it is used to implement:
  • the first exposure value data packet is acquired through the first input path, and the second exposure value data packet is acquired through the second input path.
  • the first exposure value data packet and the second exposure value data packet are a short exposure value data packet, a long exposure value data packet or a combination of both.
  • the processing circuit when the processing circuit realizes the acquisition of image data, it is used to realize the acquisition of image data through the low-voltage signal SLVS-EC interface of the expandable embedded clock.
  • the processing circuit when it implements different time sequence conversion processing on the first exposure value data packet and the second exposure value data packet, it is used to implement: adopting a first time sequence conversion module The time sequence of the first exposure value data packet is converted into the VBUS interface time sequence, and the second time sequence conversion module is used to convert the time sequence of the second exposure value data packet into the VBUS interface time sequence, so as to be transmitted to the VBUS interface through different VBUS interfaces.
  • the subsequent image signal processing device when the processing circuit implements different time sequence conversion processing on the first exposure value data packet and the second exposure value data packet, it is used to implement: adopting a first time sequence conversion module The time sequence of the first exposure value data packet is converted into the VBUS interface time sequence, and the second time sequence conversion module is used to convert the time sequence of the second exposure value data packet into the VBUS interface time sequence, so as to be transmitted to the VBUS interface through different VBUS interfaces.
  • the subsequent image signal processing device when the processing circuit implements different time sequence conversion processing on the first exposure
  • the storage medium may be a computer-readable storage medium, which may be an internal storage unit of the apparatus/device described in any of the foregoing embodiments, such as a hard disk or a memory.
  • the computer-readable storage medium may also be an external storage device, such as a plug-in hard disk equipped on the device, a smart memory card (Smart Media Card, SMC), a Secure Digital (SD) card, and a flash card (Flash Card). )Wait.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Studio Devices (AREA)

Abstract

Provided by the embodiments of the present application are an interface timing conversion device, an image data processing method, a transmission method and system, and a storage medium. The present invention may solve problems in HDR image transmission and timing conversion, ensure image transmission quality and improve system performance by means of extracting a first exposure value data packet and a second exposure value data packet from image data, and allocating same to a first transmission path and a second transmission path respectively to perform different timing conversion processing.

Description

接口时序转化装置、图像数据处理方法、传输方法及系统、存储介质Interface timing conversion device, image data processing method, transmission method and system, and storage medium 技术领域Technical field
本申请涉及图像数据处理和传输技术领域,尤其涉及一种接口时序转化装置及其图像数据处理方法,一种图像数据传输方法及图像数据传输系统、以及一种存储介质。This application relates to the technical field of image data processing and transmission, and in particular to an interface timing conversion device and an image data processing method thereof, an image data transmission method and an image data transmission system, and a storage medium.
背景技术Background technique
目前,随着图像传感器市场对高帧率和高分辨率的需求越来越强烈,Sony公司推出新一代图像数据传输接口标准“可扩展内嵌时钟的低电压信号”(Scalable Low Voltage Signaling With Embedded Clock,SLVS-EC)。SLVS-EC接口协议主要定义了物理层(数据串行传输规范、发送端和接收端的电器特性)、协议层(图像数据的发送格式和组包协议)和系统拓扑结构。At present, with the growing demand for high frame rate and high resolution in the image sensor market, Sony has introduced a new generation of image data transmission interface standard "Scalable Low Voltage Signaling With Embedded Clock" (Scalable Low Voltage Signaling). Clock, SLVS-EC). The SLVS-EC interface protocol mainly defines the physical layer (data serial transmission specification, electrical characteristics of the sender and receiver), protocol layer (image data sending format and packetization protocol) and system topology.
SLVS-EC接口协议中定义了三种典型的系统拓扑结构(即传输模式),具体如下。Three typical system topologies (ie, transmission modes) are defined in the SLVS-EC interface protocol, as follows.
如图1所示,第一种系统拓扑结构为单端口模式(Basic Topology),主控芯片对接SLVS-EC接口图像传感器的工作原理包括:图像传感器将像素阵列中存储的像素按顺序依次通过发送端电路传输给主控芯片的接收端电路,接收端电路按SLVS-EC协议规定的格式解析数据,并转化为VBUS接口时序(主控芯片内定义的私有传输协议)传给后级模块图像信号处理器(Image Signal Processor,ISP)。图1展现了SLVS-EC接口一个典型的应用场景,SLVS-EC接口协议规定一个端口最多有8条数字通道,8条数据通道带来的带宽基本能够满足相机市场上典型的应用需求。As shown in Figure 1, the first system topology is the single-port mode (Basic Topology). The working principle of the main control chip docking the SLVS-EC interface image sensor includes: the image sensor sends the pixels stored in the pixel array in order. The end circuit is transmitted to the receiving end circuit of the main control chip, and the receiving end circuit parses the data according to the format specified by the SLVS-EC protocol, and converts it into VBUS interface timing (private transmission protocol defined in the main control chip) and transmits it to the subsequent module image signal Processor (Image Signal Processor, ISP). Figure 1 shows a typical application scenario of the SLVS-EC interface. The SLVS-EC interface protocol stipulates that a port has a maximum of 8 digital channels, and the bandwidth brought by 8 data channels can basically meet the typical application requirements in the camera market.
但在高端的相机市场上,需要更大的带宽(超过8个数据通道)来满足客户的需求,所以第二种系统拓扑结构“双端口模式”(Multiple I/F Topology)应运而生,如图2所示,单个图像传感器通过2个SLVS-EC发送端口来发送图像数据,其中一行中奇数列和偶数列像素被区分开来传输。However, in the high-end camera market, a larger bandwidth (more than 8 data channels) is required to meet customer needs, so the second system topology "Multiple I/F Topology" (Multiple I/F Topology) came into being. As shown in Figure 2, a single image sensor sends image data through two SLVS-EC sending ports, in which odd-numbered columns and even-numbered columns of pixels in a row are distinguished for transmission.
另外,在一些应用场合,存在需要同时对接两个图像传感器的场景,也就是第三种系统拓扑结构“双传感器模式”(Multiple CIS Topology),或叫2 Sensor模式,如图3所示。In addition, in some applications, there are scenarios where two image sensors need to be connected at the same time, that is, the third system topology "Multiple CIS Topology" (Multiple CIS Topology), or 2 Sensor mode, as shown in Figure 3.
然而,随着对图像品质的高度追求,高动态范围成像(High Dynamic Range,HDR)得到快速发展,HDR是在摄影中常用到的一种技术,可以克服多数相机传感器动态范围有限的缺点,通过多张曝光值不同的图像叠加处理,合成一张高对比度的图像,由此带来更高的图像质量。SLVS-EC接口的图像传感器的HDR功能会在一次曝光中会产生两张曝光值不同的图像,简称长曝光帧和短曝光帧。在图像传感器的HDR模式下,有两种不同的图像传输方式,称为HDR 1Stream和HDR 2Stream,两种HDR模式可以配合协议层的组包格式完成图像的传输。但是现有图1-图3的图像接收模块仅支持单端口和双端口模式,如果图像的传输HDR,现有的图像接收模块都无法支持。比如,对于HDR 1Stream模式,现有的图像接收模块会将长短曝光帧交织的数据包通过同一个端口(比如VBUS)送给ISP,但ISP对于这种不同曝光值和交织在一起的数据包无法处理,ISP能有效处理的是同一个VBUS端口上只传输完整的一帧图像(即曝光值需要相同),因此,现有技术的系统拓扑结构已经无法满足技术发展的需求,影响图像传输质量和系统性能。However, with the high pursuit of image quality, High Dynamic Range (HDR) has developed rapidly. HDR is a technology commonly used in photography, which can overcome the shortcomings of most camera sensors with limited dynamic range. Multiple images with different exposure values are superimposed and processed to synthesize a high-contrast image, thereby bringing higher image quality. The HDR function of the image sensor of the SLVS-EC interface will produce two images with different exposure values in one exposure, referred to as long exposure frame and short exposure frame. In the HDR mode of the image sensor, there are two different image transmission methods, called HDR 1Stream and HDR 2Stream. The two HDR modes can cooperate with the packet format of the protocol layer to complete the image transmission. However, the existing image receiving modules in FIGS. 1 to 3 only support single port and dual port modes. If the image is transmitted in HDR, the existing image receiving modules cannot support it. For example, for the HDR 1Stream mode, the existing image receiving module sends the data packets interleaved with long and short exposure frames to the ISP through the same port (such as VBUS), but the ISP cannot deal with such data packets with different exposure values and interleaved together. Processing, ISP can effectively handle the transmission of only one complete frame of image on the same VBUS port (that is, the exposure value needs to be the same). Therefore, the existing technology system topology can no longer meet the needs of technological development, affecting the quality of image transmission and System performance.
发明内容Summary of the invention
基于此,本申请提供了一种接口时序转化装置、图像数据处理方法、传输方法及系统、存储介质,旨在解决现有系统拓扑结构无法满足图像技术发展的需求的技术问题,保证图像传输质量,改善系统性能。Based on this, this application provides an interface timing conversion device, image data processing method, transmission method and system, and storage medium, aiming to solve the technical problem that the existing system topology cannot meet the needs of image technology development and ensure the quality of image transmission , Improve system performance.
第一方面,本申请提供了一种图像数据处理方法,包括:In the first aspect, this application provides an image data processing method, including:
获取图像数据;Obtain image data;
提取所述图像数据中的第一曝光值数据包和第二曝光值数据包;Extracting the first exposure value data packet and the second exposure value data packet in the image data;
将所述第一曝光值数据包分配至第一传输路径,并将所述第二曝光值数据包分配至第二传输路径,以对所述第一曝光值数据包和所述第二曝光值数据包执行不同的时序转化处理。The first exposure value data packet is allocated to a first transmission path, and the second exposure value data packet is allocated to a second transmission path, so as to compare the first exposure value data packet and the second exposure value The data packets perform different timing conversion processing.
第二方面,本申请还提供了一种接口时序转化装置,包括存储电路和处理 电路;In the second aspect, this application also provides an interface timing conversion device, including a storage circuit and a processing circuit;
所述存储电路用于存储计算机程序:The storage circuit is used to store a computer program:
所述处理电路,用于执行所述计算机程序并在执行所述计算机程序时,实现如下步骤:The processing circuit is used to execute the computer program and, when the computer program is executed, implement the following steps:
获取图像数据;Obtain image data;
提取所述图像数据中的第一曝光值数据包和第二曝光值数据包;Extracting the first exposure value data packet and the second exposure value data packet in the image data;
将所述第一曝光值数据包分配至第一传输路径,并将所述第二曝光值数据包分配至第二传输路径,以对所述第一曝光值数据包和所述第二曝光值数据包执行不同的时序转化处理。The first exposure value data packet is allocated to a first transmission path, and the second exposure value data packet is allocated to a second transmission path, so as to compare the first exposure value data packet and the second exposure value The data packets perform different timing conversion processing.
第三方面,本申请还提供了一种图像数据传输方法,包括:In the third aspect, this application also provides an image data transmission method, including:
图像传感器发送图像数据;The image sensor sends image data;
接口时序转化装置从所述图像传感器获取图像数据;The interface timing conversion device obtains image data from the image sensor;
所述接口时序转化装置提取所述图像数据中的第一曝光值数据包和第二曝光值数据包;The interface timing conversion device extracts the first exposure value data packet and the second exposure value data packet in the image data;
所述接口时序转化装置将所述第一曝光值数据包分配至第一传输路径,并将所述第二曝光值数据包分配至第二传输路径;The interface timing conversion device allocates the first exposure value data packet to a first transmission path, and allocates the second exposure value data packet to a second transmission path;
所述接口时序转化装置对所述第一曝光值数据包和所述第二曝光值数据包执行不同的时序转化处理;The interface timing conversion device performs different timing conversion processing on the first exposure value data packet and the second exposure value data packet;
所述接口时序转化装置通过不同的接口传输给后级的图像信号处理装置。The interface timing conversion device is transmitted to the subsequent image signal processing device through different interfaces.
第四方面,本申请还提供了一种图像数据传输系统,包括图像传感器、接口时序转化装置和图像信号处理装置:In a fourth aspect, this application also provides an image data transmission system, including an image sensor, an interface timing conversion device, and an image signal processing device:
所述图像传感器,用于发送图像数据;The image sensor is used to send image data;
所述接口时序转化装置,用于从所述图像传感器获取图像数据;The interface timing conversion device is used to obtain image data from the image sensor;
所述接口时序转化装置,用于提取所述图像数据中的第一曝光值数据包和第二曝光值数据包;The interface timing conversion device is used to extract a first exposure value data packet and a second exposure value data packet in the image data;
所述接口时序转化装置,用于将所述第一曝光值数据包分配至第一传输路径,并将所述第二曝光值数据包分配至第二传输路径;The interface timing conversion device is configured to allocate the first exposure value data packet to a first transmission path, and allocate the second exposure value data packet to a second transmission path;
所述接口时序转化装置,用于对所述第一曝光值数据包和所述第二曝光值数据包执行不同的时序转化处理;The interface timing conversion device is configured to perform different timing conversion processing on the first exposure value data packet and the second exposure value data packet;
所述接口时序转化装置,用于通过不同的接口传输给所述图像信号处理装 置。The interface timing conversion device is used to transmit to the image signal processing device through different interfaces.
第五方面,本申请还提供了一种存储介质,所述存储介质存储有计算机程序,所述计算机程序被处理电路执行时使所述处理电路实现:In a fifth aspect, the present application also provides a storage medium that stores a computer program, and when the computer program is executed by the processing circuit, the processing circuit realizes:
获取图像数据;Obtain image data;
提取所述图像数据中的第一曝光值数据包和第二曝光值数据包;Extracting the first exposure value data packet and the second exposure value data packet in the image data;
将所述第一曝光值数据包分配至第一传输路径,并将所述第二曝光值数据包分配至第二传输路径,以对所述第一曝光值数据包和所述第二曝光值数据包执行不同的时序转化处理。The first exposure value data packet is allocated to a first transmission path, and the second exposure value data packet is allocated to a second transmission path, so as to compare the first exposure value data packet and the second exposure value The data packets perform different timing conversion processing.
本申请实施例提供了一种接口时序转化装置、图像数据处理方法、传输方法及系统、存储介质,通过提取所述图像数据中的第一曝光值数据包和第二曝光值数据包,并分别分配至第一传输路径和第二传输路径,以执行不同的时序转化处理,能够解决HDR图像的传输、时序转化问题,保证图像传输质量,改善系统性能。The embodiment of the application provides an interface timing conversion device, an image data processing method, a transmission method and system, and a storage medium, by extracting a first exposure value data packet and a second exposure value data packet in the image data, and respectively Allocate to the first transmission path and the second transmission path to perform different timing conversion processing, which can solve the transmission and timing conversion problems of HDR images, ensure image transmission quality, and improve system performance.
应当理解的是,以上的一般描述和后文的细节描述仅是示例性和解释性的,并不能限制本申请。It should be understood that the above general description and the following detailed description are only exemplary and explanatory, and cannot limit the application.
附图说明Description of the drawings
为了更清楚地说明本申请实施例技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to explain the technical solutions of the embodiments of the present application more clearly, the following will briefly introduce the drawings needed in the description of the embodiments. Obviously, the drawings in the following description are some embodiments of the present application. Ordinary technicians can obtain other drawings based on these drawings without creative work.
图1是现有技术中单端口模式下的图像传输原理示意图;FIG. 1 is a schematic diagram of the image transmission principle in the single-port mode in the prior art;
图2是现有技术中双端口模式下的图像传输原理示意图;FIG. 2 is a schematic diagram of the image transmission principle in the dual-port mode in the prior art;
图3是现有技术中双传感器模式下的图像传输原理示意图;3 is a schematic diagram of the image transmission principle in the dual sensor mode in the prior art;
图4是本申请一实施例提供的一种图像数据处理方法的步骤流程示意图;4 is a schematic flowchart of steps of an image data processing method provided by an embodiment of the present application;
图5是SLVS-EC接口数据包的基本格式示意图;Figure 5 is a schematic diagram of the basic format of the SLVS-EC interface data packet;
图6是本申请一实施例提供的第一HDR模式下的发送/接收数据包的原理示意图;6 is a schematic diagram of the principle of sending/receiving data packets in the first HDR mode according to an embodiment of the present application;
图7是本申请一实施例提供的第二HDR模式下的发送/接收数据包的原理示 意图;Fig. 7 is a schematic diagram of the principle of sending/receiving data packets in the second HDR mode according to an embodiment of the present application;
图8是图4所示提取所述图像数据中的第一曝光值数据包和第二曝光值数据包一具体实施例的步骤流程示意图;FIG. 8 is a schematic flowchart of steps in a specific embodiment of extracting a first exposure value data packet and a second exposure value data packet in the image data shown in FIG. 4;
图9是图4所示提取所述图像数据中的第一曝光值数据包和第二曝光值数据包一具体实施例的步骤流程示意图;9 is a schematic flowchart of steps of a specific embodiment of extracting a first exposure value data packet and a second exposure value data packet in the image data shown in FIG. 4;
图10是图4所示提取所述图像数据中的第一曝光值数据包和第二曝光值数据包一具体实施例的步骤流程示意图;FIG. 10 is a schematic flowchart of steps of a specific embodiment of extracting a first exposure value data packet and a second exposure value data packet in the image data shown in FIG. 4;
图11是图4所示提取所述图像数据中的第一曝光值数据包和第二曝光值数据包一具体实施例的步骤流程示意图;11 is a schematic flowchart of steps of a specific embodiment of extracting a first exposure value data packet and a second exposure value data packet in the image data shown in FIG. 4;
图12是图4所示提取所述图像数据中的第一曝光值数据包和第二曝光值数据包一具体实施例的步骤流程示意图;FIG. 12 is a schematic flowchart of steps of a specific embodiment of extracting a first exposure value data packet and a second exposure value data packet in the image data shown in FIG. 4;
图13是本申请一实施例提供的一种接口时序转化装置的功能模块示意图;FIG. 13 is a schematic diagram of functional modules of an interface timing conversion device provided by an embodiment of the present application;
图14是图13所示接口时序转化装置一具体实施例的电路连接示意图,其中,还显示了图像传感器和ISP;14 is a schematic diagram of the circuit connection of a specific embodiment of the interface timing conversion device shown in FIG. 13, in which the image sensor and the ISP are also shown;
图15是本申请一实施例提供的一种图像数据传输方法的步骤流程示意图;FIG. 15 is a schematic flowchart of steps of an image data transmission method provided by an embodiment of the present application;
图16是本申请一实施例提供的一种图像数据传输系统一具体实施例的功能模块示意图;FIG. 16 is a schematic diagram of functional modules of a specific embodiment of an image data transmission system provided by an embodiment of the present application;
图17是本申请一实施例提供的一种存储介质所存储的计算机程序被处理电路执行时所实现的步骤流程示意图。FIG. 17 is a schematic flowchart of steps implemented when a computer program stored in a storage medium is executed by a processing circuit according to an embodiment of the present application.
具体实施方式Detailed ways
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。The technical solutions in the embodiments of the present application will be described clearly and completely in conjunction with the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, rather than all of them. Based on the embodiments in this application, all other embodiments obtained by those of ordinary skill in the art without creative work shall fall within the protection scope of this application.
附图中所示的流程图仅是示例说明,不是必须包括所有的内容和操作/步骤,也不是必须按所描述的顺序执行。例如,有的操作/步骤还可以分解、组合或部分合并,因此实际执行的顺序有可能根据实际情况改变。The flowchart shown in the drawings is merely an illustration, and does not necessarily include all contents and operations/steps, nor does it have to be executed in the described order. For example, some operations/steps can also be decomposed, combined or partially combined, so the actual execution order may be changed according to actual conditions.
下面结合附图,对本申请的一些实施方式作详细说明。在不冲突的情况下, 下述的实施例及实施例中的特征可以相互组合。Hereinafter, some embodiments of the application will be described in detail with reference to the drawings. In the case of no conflict, the following embodiments and the features in the embodiments can be combined with each other.
请参阅图4,图4是本申请一实施例提供的一种图像数据处理方法的步骤示意流程图,本实施例的图像数据处理方法可以应用在各种终端设备中,用于图像自动化后期处理。其中终端设备包括手机、平板、笔记本电脑和无人机等。Please refer to FIG. 4, which is a schematic flowchart of steps of an image data processing method provided by an embodiment of the present application. The image data processing method of this embodiment can be applied to various terminal devices for automatic image post-processing . Among them, terminal equipment includes mobile phones, tablets, laptops and drones.
具体地,如图4所示,该图像数据处理方法可以包括步骤S101至步骤S103。Specifically, as shown in FIG. 4, the image data processing method may include step S101 to step S103.
S101,获取图像数据。S101. Acquire image data.
其中,该图像可以为通过终端设备拍摄的原始图片,或用户在终端设备的图形库选择的一张或多张图片。The image may be an original picture taken by the terminal device, or one or more pictures selected by the user in the graphics library of the terminal device.
S102,提取所述图像数据中的第一曝光值数据包和第二曝光值数据包。S102: Extract a first exposure value data packet and a second exposure value data packet in the image data.
需要特别说明的是,本实施例可以适用于存在第一曝光值数据包和/或第二曝光值数据包的处理,比如可以处理以下三种情况:同时存在第一曝光值数据包和第二曝光值数据包,或仅存在第一曝光值数据包,或仅存在第二曝光值数据包。此外,第一曝光值和第二曝光值是相对而言的,具体的曝光时间值不作限定。It should be particularly noted that this embodiment can be applied to the processing of the existence of the first exposure value data packet and/or the second exposure value data packet. For example, the following three cases can be handled: the first exposure value data packet and the second exposure value data packet exist simultaneously. The exposure value data packet, or only the first exposure value data packet, or only the second exposure value data packet. In addition, the first exposure value and the second exposure value are relative terms, and the specific exposure time value is not limited.
S103,将所述第一曝光值数据包分配至第一传输路径,并将所述第二曝光值数据包分配至第二传输路径,以对所述第一曝光值数据包和所述第二曝光值数据包执行不同的时序转化处理。S103. Allocate the first exposure value data packet to a first transmission path, and allocate the second exposure value data packet to a second transmission path, so as to compare the first exposure value data packet and the second transmission path. The exposure value data packet executes different timing conversion processing.
如前面所述,本实施例可以采用不同的传输路径传输不同的曝光值数据包,当其中一种为零时,则表示不存在对应的曝光值数据包,当两种都存在时,则两条传输路径都用于传输数据包。需要指出的是,本实施例的两条传输路径仅是一种示例,随着技术的发展,若同一图像中存在多种曝光值数据包,则本实施例可以对应增加到多条传输路径,并能执行多种时序转化处理的过程。As mentioned above, in this embodiment, different transmission paths can be used to transmit different exposure value data packets. When one of them is zero, it means that there is no corresponding exposure value data packet. When both of them exist, then two All transmission paths are used to transmit data packets. It should be pointed out that the two transmission paths in this embodiment are only an example. With the development of technology, if there are multiple exposure value data packets in the same image, this embodiment can correspond to multiple transmission paths. And can perform a variety of sequential conversion processes.
在此需要详细说明的是,相对于现有技术而言,本实施例对应地可以实现额外两种系统拓扑结构,第一种定义为HDR 1Stream模式(或定义为第一HDR模式),其对应的是在前级中设置的是一个HDR 1Stream模式的图像传感器;第二种定义为HDR 2Stream模式(或定义为第二HDR模式),其对应的是在前级中设置的是一个HDR 2Stream模式的图像传感器;两种模式均可以基于现有技术的图1~图3三种系统结构配合协议层的组包格式来实现,以提高本申请的兼容性。换而言之,本实施例可以实现至少五种的系统拓扑结构功能。It needs to be explained in detail here that compared with the prior art, this embodiment can implement two additional system topologies. The first one is defined as HDR 1Stream mode (or as the first HDR mode), which corresponds to The image sensor set in the previous stage is an HDR 1Stream mode image sensor; the second is defined as HDR 2Stream mode (or defined as the second HDR mode), which corresponds to an HDR 2Stream mode set in the previous stage The image sensor; both modes can be implemented based on the three system structures of Figures 1 to 3 of the prior art with the packet format of the protocol layer to improve the compatibility of this application. In other words, this embodiment can implement at least five system topology functions.
具体而言,其具体配合传输的工作原理如图5所示示例,为协议层的组包 格式。首先需要说明的是,在SLVS-EC接口协议中,一帧图像的一行像素数据作为一个数据包的基本元素,在此基础上,SLVS-EC接口发送端电路会给数据包添加包头信息,包头信息主要包括一些关键的图像同步信息,用于SLVS-EC接口的接收端电路能够正确地获取和解析图像的相关信息。Specifically, the working principle of its specific cooperation transmission is shown in Figure 5, which is the packet format of the protocol layer. The first thing to note is that in the SLVS-EC interface protocol, one line of pixel data of a frame of image is used as the basic element of a data packet. On this basis, the SLVS-EC interface transmitter circuit will add header information to the data packet. The information mainly includes some key image synchronization information, and the receiving circuit used in the SLVS-EC interface can correctly obtain and parse the image related information.
其中,本实施例的HDR 1Stream模式是基于类似上述图1的单端口模式,但不同的是,此时传输的数据包是以长曝光帧和短曝光帧交织的形式,具体如图6所示示例。SLVS-EC接口发送端电路可以采用不同的数据ID标识位来区分长曝光帧和短曝光帧的数据包。Among them, the HDR 1Stream mode of this embodiment is based on the single-port mode similar to the above-mentioned Figure 1, but the difference is that the data packets transmitted at this time are in the form of interleaving long exposure frames and short exposure frames, as shown in Figure 6 Example. The SLVS-EC interface transmitter circuit can use different data ID identification bits to distinguish the data packets of the long exposure frame and the short exposure frame.
类似地,具体如图7所示示例,本实施例的HDR 2Stream则类似图2所示的双端口模式,但不同的是,此时两个SLVS-EC接口发送端电路传输的是独立的长曝光帧和短曝光帧的像素而不是单帧图像奇、偶列的像素。Similarly, as shown in Figure 7, the HDR 2Stream of this embodiment is similar to the dual-port mode shown in Figure 2, but the difference is that the two SLVS-EC interface transmitter circuits transmit independent long The pixels of the exposure frame and the short exposure frame are not the pixels of the odd and even columns of the single frame image.
不难理解的是,本实施例SLVS-EC接口接收端可以完成SLVS-EC标准的串行数据流到并行数据的转化,而且可以依据协议层的规范完成数据包的解析,然后转化为ISP所能接收的VBUS接口时序。It is not difficult to understand that the receiving end of the SLVS-EC interface of this embodiment can complete the conversion of the SLVS-EC standard serial data stream to parallel data, and can complete the analysis of the data packet according to the protocol layer specification, and then convert it to the ISP. VBUS interface timing that can be received.
通过本实施例,本申请解决了HDR图像的传输、时序转化问题,保证图像传输质量,改善系统性能。Through this embodiment, this application solves the problems of HDR image transmission and timing conversion, guarantees image transmission quality, and improves system performance.
请结合上述实施例参阅图8,为实现对HDR图像的传输,本申请实施例所述提取所述图像数据中的第一曝光值数据包和第二曝光值数据包,具体可以包括步骤S1021和S1022。Please refer to FIG. 8 in conjunction with the above embodiment. In order to realize the transmission of HDR images, the extraction of the first exposure value data packet and the second exposure value data packet in the image data described in the embodiment of the present application may specifically include steps S1021 and S1022.
S1021,判断当前所处的工作模式。S1021: Determine the current working mode.
S1022,若判断到工作模式为第一HDR模式,将所述图像数据进行拆分以分别提取到所述第一曝光值数据包和所述第二曝光值数据包,其中,所述第一曝光值数据包为长曝光值数据包,所述第二曝光值数据包为短曝光值数据包。S1022: If it is determined that the working mode is the first HDR mode, split the image data to extract the first exposure value data packet and the second exposure value data packet respectively, wherein the first exposure The value data packet is a long exposure value data packet, and the second exposure value data packet is a short exposure value data packet.
进一步而言,由于图像传感器在HDR模式下时,短曝光帧的数据包读出时间会晚于长曝光帧,这段间隔时间内,图像传感器会发送填充数据包,而这些填充数据包不是有效的图像数据,这些无用的填充数据包会影响后级的ISP的处理效率,因此,本实施例可以提前在前级内移除这些填充数据包。具体来说,所述将所述第二曝光值数据包分配至第二传输路径,还可以包括:移除所述第二曝光值数据包中的填充数据包;其中,所述填充数据包位于所述短曝光值数据包中的固定帧位置、或在短曝光值数据包的包头信息中标记所述填充数据包 所处的指定帧位置,以在第一HDR模式时,根据预设规则对应移除所述固定帧位置或者指定帧位置上的填充数据包。Furthermore, when the image sensor is in HDR mode, the data packet readout time of the short exposure frame will be later than that of the long exposure frame. During this interval, the image sensor will send padding packets, and these padding packets are not valid. These useless filling data packets will affect the processing efficiency of the subsequent ISP. Therefore, this embodiment can remove these filling data packets in the previous stage in advance. Specifically, the allocating the second exposure value data packet to the second transmission path may further include: removing the padding data packet in the second exposure value data packet; wherein, the padding data packet is located in The fixed frame position in the short exposure value data packet or the specified frame position where the filling data packet is marked in the header information of the short exposure value data packet, so as to correspond according to a preset rule in the first HDR mode Remove the padding data packet at the fixed frame position or the designated frame position.
需要说明的是,所述预设规则,可以提前设置,也可以在进行HDR图像的传输过程中,当检测到为短曝光值数据包时,自动对包头信息进行识别,并在识别到存在填充数据包的标记时,自动移除填充数据包。It should be noted that the preset rules can be set in advance, or during the transmission of HDR images, when a short exposure value data packet is detected, the header information is automatically identified, and when it is identified that there is padding When the packet is marked, the padding packet is automatically removed.
相应地,本实施例所述获取图像数据,具体可以包括:通过同一输入路径获取所述第一曝光值数据包和所述第二曝光值数据包。换而言之,针对HDR图像,本实施例可以通过同一SLVS-EC接口接收端电路获取第一曝光值数据包和所述第二曝光值数据包,其中,所述长曝光值数据包和所述短曝光值数据包构建的所述图像数据为高动态范围HDR图像数据。Correspondingly, acquiring the image data in this embodiment may specifically include: acquiring the first exposure value data packet and the second exposure value data packet through the same input path. In other words, for HDR images, this embodiment can obtain the first exposure value data packet and the second exposure value data packet through the same SLVS-EC interface receiving end circuit, where the long exposure value data packet and the all The image data constructed by the short exposure value data packet is high dynamic range HDR image data.
举例而言,在这种场景下,本申请可以对接一个HDR 1Stream模式的图像传感器,经过SLVS-EC接口接收端电路处理后转化为长/短曝光帧交织的数据包,然后通过对包头数据ID标示位的解析,完成对长曝光帧和短曝光帧数据包的分流操作,其中长曝光帧的数据包会进入一个VBUS IF GEN电路进行处理,然后通过一个VBUS端口输出,而短曝光的数据包可以先移除无效的填充数据包,再送到另一个VBUS IF GEN电路处理,最后通过另一个VBUS端口输出至后级的ISP进行处理。For example, in this scenario, this application can be connected to an image sensor in HDR 1Stream mode, which is processed by the receiving end circuit of the SLVS-EC interface and converted into a data packet interleaved with long/short exposure frames, and then through the data packet header data ID The analysis of the flag bit completes the shunt operation of the long exposure frame and the short exposure frame data packet. The long exposure frame data packet will enter a VBUS IF GEN circuit for processing, and then output through a VBUS port, while the short exposure data packet You can remove the invalid stuffing packet first, then send it to another VBUS IF GEN circuit for processing, and finally output it to the subsequent ISP through another VBUS port for processing.
请接着参阅图9,本申请实施例所述提取所述图像数据中的第一曝光值数据包和第二曝光值数据包,同时还包括步骤S1021和S1023。Next, referring to FIG. 9, the extraction of the first exposure value data packet and the second exposure value data packet in the image data according to the embodiment of the present application also includes steps S1021 and S1023.
S1021,判断当前所处的工作模式。S1021: Determine the current working mode.
S1023,若判断到工作模式为第二HDR模式,通过第一输入路径获取所述第一曝光值数据包,并通过第二输入路径获取所述第二曝光值数据包。S1023: If it is determined that the working mode is the second HDR mode, obtain the first exposure value data packet through the first input path, and obtain the second exposure value data packet through the second input path.
对应地,本实施例所述第一曝光值数据包为长曝光值数据包,所述第二曝光值数据包为短曝光值数据包,且所述长曝光值数据包和所述短曝光值数据包构建的所述图像数据为高动态范围HDR图像数据。Correspondingly, the first exposure value data packet in this embodiment is a long exposure value data packet, the second exposure value data packet is a short exposure value data packet, and the long exposure value data packet and the short exposure value data packet are The image data constructed by the data package is high dynamic range HDR image data.
不难理解的是,本实施例的HDR 2Stream则类似图2所示的双端口模式,但不同的是,此时两个SLVS-EC接口发送端电路传输的是独立的长曝光帧和短曝光帧的像素而不是单帧图像奇、偶列的像素。本申请通过第一输入路径获取所述第一曝光值数据包,并通过第二输入路径获取所述第二曝光值数据包,可以有效地实现HDR 2Stream模式下的图像数据处理。It is not difficult to understand that the HDR 2Stream of this embodiment is similar to the dual-port mode shown in Figure 2, but the difference is that at this time, the two SLVS-EC interface transmitter circuits transmit independent long exposure frames and short exposures. Frame pixels instead of pixels in odd and even columns of a single frame image. This application obtains the first exposure value data packet through the first input path, and obtains the second exposure value data packet through the second input path, which can effectively implement image data processing in the HDR 2Stream mode.
举例而言,在这种场景下,本申请可以对接一个HDR 2Stream模式的图像传感器,长曝光帧/短曝光帧数据分别通过两个SLVS-EC接口接收端电路(第一输入路径、第二输入路径)传输,在经过比如两个VBUS IF GEN电路完成时序转化,最后通过两个VBUS端口输出至后级ISP进行处理。For example, in this scenario, this application can be connected to an HDR 2Stream mode image sensor, and the long exposure frame/short exposure frame data passes through two SLVS-EC interface receiving end circuits (first input path, second input Path) transmission, complete the timing conversion through, for example, two VBUS IF GEN circuits, and finally output to the subsequent ISP for processing through two VBUS ports.
请接着参阅图10,本申请实施例所述提取所述图像数据中的第一曝光值数据包和第二曝光值数据包,还可以包括步骤S1021和S1024。Next, referring to FIG. 10, the extraction of the first exposure value data packet and the second exposure value data packet in the image data in the embodiment of the present application may further include steps S1021 and S1024.
S1021,判断当前所处的工作模式。S1021: Determine the current working mode.
S1024,若判断到工作模式为单端口模式,通过同一输入路径获取所述图像数据,以提取第一曝光值数据包和第二曝光值数据包,其中,第一曝光值数据包和第二曝光值数据包的其中之一为零。S1024. If it is determined that the working mode is the single-port mode, obtain the image data through the same input path to extract the first exposure value data packet and the second exposure value data packet, where the first exposure value data packet and the second exposure value data packet One of the value packets is zero.
容易理解的是,本实施例针对的是单端口模式的情况下的模式选择,相应地可以理解为其中一种曝光值数据包为零的特殊场景。It is easy to understand that this embodiment is aimed at mode selection in the case of single-port mode, and accordingly can be understood as a special scene in which the exposure value data packet is zero.
举例而言,在这种场景下,本申请可以对接一个单端口模式的图像传感器,一个SLVS-EC接口接收端电路(同一输入路径)将高速的串行数据解析为基本的像素数据包,传输给接口时序转化电路,然后数据包可以经过比如VBUS IF GEN电路处理,转化为VBUS接口时序,最后通过VBUS端口送进后级的ISP进行处理。For example, in this scenario, this application can be connected to an image sensor in single-port mode, and an SLVS-EC interface receiver circuit (same input path) parses high-speed serial data into basic pixel data packets and transmits them Give the interface timing conversion circuit, and then the data packet can be processed by, for example, the VBUS IF GEN circuit, converted into the VBUS interface timing, and finally sent to the subsequent ISP through the VBUS port for processing.
请接着参阅图11,本申请实施例所述提取所述图像数据中的第一曝光值数据包和第二曝光值数据包,还可以包括步骤S1021、S1025和S1026。Next, referring to FIG. 11, the extraction of the first exposure value data packet and the second exposure value data packet in the image data according to the embodiment of the present application may further include steps S1021, S1025, and S1026.
S1021,判断当前所处的工作模式。S1021: Determine the current working mode.
S1025,若判断到工作模式为双端口模式,通过第一输入路径获取所述图像数据中的奇数列串行数据,并通过第二输入路径获取所述图像数据中的偶数列串行数据。S1025: If it is determined that the working mode is the dual-port mode, obtain the odd-numbered column serial data in the image data through the first input path, and obtain the even-numbered column serial data in the image data through the second input path.
S1026,拼接所述奇数列串行数据和所述偶数列串行数据以还原提取到所述图像数据的第一曝光值数据包和第二曝光值数据包,其中,所述图像数据中的第一曝光值数据包和第二曝光值数据包的其中之一为零。S1026. Splicing the odd column serial data and the even column serial data to restore the first exposure value data packet and the second exposure value data packet extracted from the image data, wherein the first exposure value data packet in the image data One of the one exposure value data packet and the second exposure value data packet is zero.
举例而言,在这种场景下,本申请可以对接一个双端口模式的图像传感器,两个SLVS-EC接口接收端电路(第一输入路径、第二输入路径)将分别将奇偶列的串行数据解析为对应的像素数据包,传输给接口时序转化电路。两路数据包经过拼接处理,将奇偶像素拼接回完整的一行像素,再转化为VBUS接口时序, 最后通过一个VBUS端口送进后级的ISP处理。For example, in this scenario, this application can be connected to an image sensor in dual port mode, and the two SLVS-EC interface receiving end circuits (first input path and second input path) will respectively connect the serial numbers of the odd and even columns. The data is parsed into corresponding pixel data packets and transmitted to the interface timing conversion circuit. After the two-way data packet is spliced, the odd and even pixels are spliced back to a complete line of pixels, and then converted into VBUS interface timing, and finally sent to the subsequent ISP processing through a VBUS port.
请接着参阅图12,本申请实施例所述提取所述图像数据中的第一曝光值数据包和第二曝光值数据包,还可以包括步骤S1021和S1027。Next, referring to FIG. 12, the extraction of the first exposure value data packet and the second exposure value data packet in the image data according to the embodiment of the present application may further include steps S1021 and S1027.
S1021,判断当前所处的工作模式。S1021: Determine the current working mode.
S1027,若判断到工作模式为双传感器模式,通过第一输入路径获取所述第一曝光值数据包,并通过第二输入路径获取所述第二曝光值数据包。S1027: If it is determined that the working mode is the dual sensor mode, obtain the first exposure value data packet through the first input path, and obtain the second exposure value data packet through the second input path.
需要说明的是,本实施例所述第一曝光值数据包和所述第二曝光值数据包为短曝光值数据包、长曝光值数据包或两者的组合。It should be noted that the first exposure value data packet and the second exposure value data packet in this embodiment are a short exposure value data packet, a long exposure value data packet or a combination of both.
举例而言,在这种场景下,本申请可以对接两个单端口模式的图像传感器,其中一个图像传感器的数据包经过其中一个SLVS-EC接口接收端电路、其中一个VBUS IF GEN电路处理后通过其中一个VBUS端口输出给ISP;而另一个图像传感器的数据包经过另一个SLVS-EC接口接收端电路、另一个VBUS IF GEN电路处理通过另一个VBUS端口输出给ISP。For example, in this scenario, this application can interface with two image sensors in single-port mode. The data packet of one image sensor is processed by one of the SLVS-EC interface receiving end circuits and one of the VBUSIF GEN circuits. One of the VBUS ports is output to the ISP; and the data packet of the other image sensor is processed by another SLVS-EC interface receiving end circuit, and another VBUS IF GEN circuit is processed and output to the ISP through the other VBUS port.
不难看出,本申请实施例所述获取图像数据,均可以通过可扩展内嵌时钟的低电压信号SLVS-EC接口获取图像数据。It is not difficult to see that the image data obtained in the embodiments of the present application can all be obtained through the low-voltage signal SLVS-EC interface of the expandable embedded clock.
同时,本申请所述对所述第一曝光值数据包和所述第二曝光值数据包执行不同的时序转化处理,可以包括:采用第一接口时序转化模块将所述第一曝光值数据包的时序转化为VBUS接口时序,并采用第二接口时序转化模块将所述第二曝光值数据包的时序转化为VBUS接口时序,以分别通过不同的VBUS接口传输给后级的图像信号处理装置。At the same time, the execution of different time sequence conversion processing on the first exposure value data packet and the second exposure value data packet in this application may include: using a first interface time sequence conversion module to convert the first exposure value data packet The timing of the data packet is converted into a VBUS interface timing, and the second interface timing conversion module is used to convert the timing of the second exposure value data packet into a VBUS interface timing to transmit to the subsequent image signal processing device through different VBUS interfaces.
通过上述具体实施例,本申请可以在仅使用2个SLVS-EC接口接收端电路的前提条件下,避免太多接口接收电路占用资源和面积以及系统消耗的问题,通过改进接口时序转化的方式,使得图像接收模块能在单端口、双端口、HDR1Stream、HDR 2Stream、双传感器等五种模式下正确地工作,传输完整的图像数据包给ISP,特别是在HDR 1Stream模式下,通过对数据包的包头解析,将长短曝光帧划分在不同的VBUS接口上输出,并且丢弃短曝光帧前面的填充数据包,从而提升ISP的处理效率。Through the above specific embodiments, this application can avoid the problems of too many interface receiving circuits occupying resources and area and system consumption under the premise of using only two SLVS-EC interface receiving end circuits. By improving the way of interface timing conversion, The image receiving module can work correctly in five modes: single port, dual port, HDR1Stream, HDR 2Stream, dual sensor, etc., and transmit complete image data packets to the ISP, especially in HDR 1Stream mode. Packet header analysis, divide long and short exposure frames into different VBUS interfaces for output, and discard padding packets before short exposure frames, thereby improving ISP processing efficiency.
为使本申请更容易被理解和说明,请参阅图13,是用于实现上述图像数据处理方法的其中一个实施例的接口时序转化装置的模块示意图。In order to make this application easier to understand and explain, please refer to FIG. 13, which is a schematic diagram of modules of an interface timing conversion device used to implement one of the embodiments of the above-mentioned image data processing method.
其中,本实施例所述接口时序转化装置可以包括存储电路21和处理电路 22。Wherein, the interface timing conversion device described in this embodiment may include a storage circuit 21 and a processing circuit 22.
在本实施例中,所述存储电路21用于存储计算机程序。In this embodiment, the storage circuit 21 is used to store computer programs.
在本实施例中,所述处理电路22用于执行所述计算机程序并在执行所述计算机程序时,实现如下步骤:In this embodiment, the processing circuit 22 is used to execute the computer program, and when the computer program is executed, the following steps are implemented:
获取图像数据;Obtain image data;
提取所述图像数据中的第一曝光值数据包和第二曝光值数据包;Extracting the first exposure value data packet and the second exposure value data packet in the image data;
将所述第一曝光值数据包分配至第一传输路径,并将所述第二曝光值数据包分配至第二传输路径,以对所述第一曝光值数据包和所述第二曝光值数据包执行不同的时序转化处理。The first exposure value data packet is allocated to a first transmission path, and the second exposure value data packet is allocated to a second transmission path, so as to compare the first exposure value data packet and the second exposure value The data packets perform different timing conversion processing.
作为其中一种实施例,所述处理电路22在实现所述提取所述图像数据中的第一曝光值数据包和第二曝光值数据包时,用于实现:判断当前所处的工作模式;若判断到工作模式为第一HDR模式,将所述图像数据进行拆分以分别提取到所述第一曝光值数据包和所述第二曝光值数据包,其中,所述第一曝光值数据包为长曝光值数据包,所述第二曝光值数据包为短曝光值数据包。As one of the embodiments, when the processing circuit 22 implements the extraction of the first exposure value data packet and the second exposure value data packet in the image data, it is used to implement: judging the current working mode; If it is determined that the working mode is the first HDR mode, the image data is split to extract the first exposure value data packet and the second exposure value data packet respectively, wherein the first exposure value data The packet is a long exposure value data packet, and the second exposure value data packet is a short exposure value data packet.
在本实施例中,所述处理电路22在实现所述将所述第二曝光值数据包分配至第二传输路径时,还用于实现:移除所述第二曝光值数据包中的填充数据包。In this embodiment, when the processing circuit 22 implements the allocation of the second exposure value data packet to the second transmission path, it is also used to implement: remove the padding in the second exposure value data packet data pack.
在本实施例中,所述填充数据包位于所述短曝光值数据包中的固定帧位置、或在短曝光值数据包的包头信息中标记所述填充数据包所处的指定帧位置,以在第一HDR模式时,根据预设规则对应移除所述固定帧位置或者指定帧位置上的填充数据包。In this embodiment, the padding data packet is located at a fixed frame position in the short exposure value data packet, or the specified frame position where the padding data packet is located is marked in the header information of the short exposure value data packet to In the first HDR mode, the padding data packet at the fixed frame position or the designated frame position is correspondingly removed according to a preset rule.
需要特别说明的是,所述预设规则,可以提前设置,也可以在进行HDR图像的传输过程中,当检测到为短曝光值数据包时,自动对包头信息进行识别,并在识别到存在填充数据包的标记时,自动移除填充数据包。It should be noted that the preset rules can be set in advance, or in the process of HDR image transmission, when a short exposure value data packet is detected, the header information is automatically identified, and when it is identified When filling the mark of the data packet, the filling data packet is automatically removed.
作为一个可选的实施例,在去除填充包的过程中,填充包的行数n可以被记录被发送到图像修剪电路即Picture Clip电路,由Picture Clip电路移除n行填充包。As an optional embodiment, in the process of removing the padding packet, the number of rows n of the padding packet may be recorded and sent to the picture trimming circuit, that is, the PictureClip circuit, and the PictureClip circuit removes the n rows of padding packets.
作为一个可选的实施例,在传感器生成填充包的每一行,均会有特殊的包头文件以指示该包是数据填充包的数据行,Picture Clip电路可以根据包头文件去除填充包的数据行。As an optional embodiment, in each row of the padding packet generated by the sensor, there is a special header file to indicate that the packet is a data row of the data padding packet, and the Picture Clip circuit can remove the data row of the padding packet according to the header file.
作为一个可选的实施例,可以通过记录填充包的行数以及数据填充包的包 头文件在Picture Clip电路移除数据填充包。As an optional embodiment, the data stuffing packet can be removed in the PictureClip circuit by recording the number of rows of the stuffing packet and the header file of the data stuffing packet.
在本实施例中,所述处理电路22在实现所述获取图像数据时,用于实现:通过同一输入路径获取所述第一曝光值数据包和所述第二曝光值数据包。In this embodiment, when the processing circuit 22 realizes the acquisition of image data, it is used to realize: acquiring the first exposure value data packet and the second exposure value data packet through the same input path.
其中,所述长曝光值数据包和所述短曝光值数据包构建的所述图像数据为高动态范围HDR图像数据。Wherein, the image data constructed by the long exposure value data packet and the short exposure value data packet are high dynamic range HDR image data.
作为其中一种实施例,所述处理电路22在实现所述提取所述图像数据中的第一曝光值数据包和第二曝光值数据包时,用于实现:判断当前所处的工作模式;若判断到工作模式为第二HDR模式,通过第一输入路径获取所述第一曝光值数据包,并通过第二输入路径获取所述第二曝光值数据包。As one of the embodiments, when the processing circuit 22 implements the extraction of the first exposure value data packet and the second exposure value data packet in the image data, it is used to implement: judging the current working mode; If it is determined that the working mode is the second HDR mode, the first exposure value data packet is acquired through the first input path, and the second exposure value data packet is acquired through the second input path.
其中,所述第一曝光值数据包为长曝光值数据包,所述第二曝光值数据包为短曝光值数据包,且所述长曝光值数据包和所述短曝光值数据包构建的所述图像数据为高动态范围HDR图像数据。Wherein, the first exposure value data packet is a long exposure value data packet, the second exposure value data packet is a short exposure value data packet, and the long exposure value data packet and the short exposure value data packet are constructed The image data is high dynamic range HDR image data.
作为其中一种实施例,所述处理电路22在实现所述提取所述图像数据中的第一曝光值数据包和第二曝光值数据包时,用于实现:判断当前所处的工作模式;若判断到工作模式为单端口模式,通过同一输入路径获取所述图像数据,以提取第一曝光值数据包和第二曝光值数据包,其中,第一曝光值数据包和第二曝光值数据包的其中之一为零。As one of the embodiments, when the processing circuit 22 implements the extraction of the first exposure value data packet and the second exposure value data packet in the image data, it is used to implement: judging the current working mode; If it is determined that the working mode is the single-port mode, the image data is obtained through the same input path to extract the first exposure value data packet and the second exposure value data packet, wherein the first exposure value data packet and the second exposure value data packet One of the packets is zero.
作为其中一种实施例,所述处理电路22在实现所述提取所述图像数据中的第一曝光值数据包和第二曝光值数据包时,用于实现:判断当前所处的工作模式;若判断到工作模式为双端口模式,通过第一输入路径获取所述图像数据中的奇数列串行数据,并通过第二输入路径获取所述图像数据中的偶数列串行数据;拼接所述奇数列串行数据和所述偶数列串行数据以还原提取到所述图像数据的第一曝光值数据包和第二曝光值数据包,其中,所述图像数据中的第一曝光值数据包和第二曝光值数据包的其中之一为零。As one of the embodiments, when the processing circuit 22 implements the extraction of the first exposure value data packet and the second exposure value data packet in the image data, it is used to implement: judging the current working mode; If it is determined that the working mode is the dual-port mode, obtain the odd-numbered column serial data in the image data through the first input path, and obtain the even-numbered column serial data in the image data through the second input path; The odd column serial data and the even column serial data are used to restore the first exposure value data packet and the second exposure value data packet extracted from the image data, wherein the first exposure value data packet in the image data And one of the second exposure value data packets is zero.
作为其中一种实施例,所述处理电路22在实现所述提取所述图像数据中的第一曝光值数据包和第二曝光值数据包时,用于实现:判断当前所处的工作模式;若判断到工作模式为双传感器模式,通过第一输入路径获取所述第一曝光值数据包,并通过第二输入路径获取所述第二曝光值数据包。As one of the embodiments, when the processing circuit 22 implements the extraction of the first exposure value data packet and the second exposure value data packet in the image data, it is used to implement: judging the current working mode; If it is determined that the working mode is the dual sensor mode, the first exposure value data packet is acquired through the first input path, and the second exposure value data packet is acquired through the second input path.
其中,所述第一曝光值数据包和所述第二曝光值数据包为短曝光值数据包、长曝光值数据包或两者的组合。Wherein, the first exposure value data packet and the second exposure value data packet are a short exposure value data packet, a long exposure value data packet or a combination of both.
值得一提的是,所述处理电路22在实现所述获取图像数据时,用于实现:通过可扩展内嵌时钟的低电压信号SLVS-EC接口获取图像数据。It is worth mentioning that when the processing circuit 22 realizes the acquisition of image data, it is used to realize: acquiring image data through a low-voltage signal SLVS-EC interface with an expandable embedded clock.
在本实施例中,所述处理电路22在实现所述对所述第一曝光值数据包和所述第二曝光值数据包执行不同的时序转化处理时,用于实现:采用第一时序转化模块将所述第一曝光值数据包的时序转化为VBUS接口时序,并采用第二时序转化模块将所述第二曝光值数据包的时序转化为VBUS接口时序,以分别通过不同的VBUS接口传输给后级的图像信号处理装置。In this embodiment, when the processing circuit 22 implements different time sequence conversion processing on the first exposure value data packet and the second exposure value data packet, it is used to implement: The module converts the timing of the first exposure value data packet into a VBUS interface timing, and uses a second timing conversion module to convert the timing of the second exposure value data packet into a VBUS interface timing, so as to be transmitted through different VBUS interfaces. To the subsequent image signal processing device.
请参阅图14,是图13所示接口时序转化装置的一具体实现的电路连接示意图,为便于配合说明,还显示了图像数据传输系统的第一图像传感器、第二图像传感器和ISP。Please refer to FIG. 14, which is a schematic diagram of the circuit connection of a specific implementation of the interface timing conversion device shown in FIG. 13. For ease of description, the first image sensor, the second image sensor and the ISP of the image data transmission system are also shown.
如图14所示,本实施例所述接口时序转化装置具体可以包括第一SLVS-EC接口接收模块、第二SLVS-EC接口接收模块、Setting电路模块、像素拼接电路Pixel Merge、数据分发电路Packet Distribute、第一MUX电路模块、第二MUX电路模块、图像修剪电路Picture Clip、第一VBUS IF GEN电路模块、第二VBUS IF GEN电路模块、第一VBUS端口、第二VBUS端口。As shown in FIG. 14, the interface timing conversion device of this embodiment may specifically include a first SLVS-EC interface receiving module, a second SLVS-EC interface receiving module, a setting circuit module, a pixel mosaic circuit Pixel Merge, and a data distribution circuit Packet Distribute, the first MUX circuit module, the second MUX circuit module, the image trimming circuit PictureClip, the first VBUS IF GEN circuit module, the second VBUS IF GEN circuit module, the first VBUS port, and the second VBUS port.
其中,Setting电路模块用于存储处理电路22配置的各种参数,控制接口时序转化装置具体工作在哪种模式。Among them, the Setting circuit module is used to store various parameters configured by the processing circuit 22, and control which mode the interface timing conversion device specifically works in.
所述像素拼接电路用于将奇、偶像素拼接回完整的一行像素,可以在双端口模式时生效。The pixel splicing circuit is used to splice odd and even pixels back into a complete row of pixels, and it can take effect in dual-port mode.
所述数据分发电路用于根据包头中的数据ID标示位,把长、短曝光帧交织的数据包区分开,其可以在HDR 1Stream模式时生效。The data distribution circuit is used to distinguish the data packets interleaved with long and short exposure frames according to the data ID flag in the packet header, which can be effective in HDR 1Stream mode.
所述图像修剪电路可以用于把短曝光帧前面无用的填充数据包移除,其可以在HDR 1Stream模式生效。在本实施例中,所述填充数据包位于所述短曝光值数据包中的固定帧位置、或在短曝光值数据包的包头信息中标记所述填充数据包所处的指定帧位置,以在HDR 1Stream模式时,根据预设规则对应移除所述固定帧位置或者指定帧位置上的填充数据包。需要特别说明的是,所述预设规则,可以提前设置,也可以在进行HDR图像的传输过程中,当检测到为短曝光值数据包时,自动对包头信息进行识别,并在识别到存在填充数据包的标记时,自动移除填充数据包。The image trimming circuit can be used to remove the useless padding data packets before the short exposure frame, and it can take effect in HDR 1Stream mode. In this embodiment, the padding data packet is located at a fixed frame position in the short exposure value data packet, or the specified frame position where the padding data packet is located is marked in the header information of the short exposure value data packet to In the HDR 1Stream mode, correspondingly remove the padding data packet at the fixed frame position or the designated frame position according to the preset rule. It should be noted that the preset rules can be set in advance, or in the process of HDR image transmission, when a short exposure value data packet is detected, the header information is automatically identified, and when it is identified When filling the mark of the data packet, the filling data packet is automatically removed.
作为一个可选的实施例,在去除填充包的过程中,填充包的行数n可以被 记录被发送到图像修剪电路,由图像修剪电路移除n行填充包。As an optional embodiment, in the process of removing padding packets, the number of rows of padding packets n may be recorded and sent to the image trimming circuit, and the image trimming circuit removes n rows of padding packets.
作为一个可选的实施例,在传感器生成填充包的每一行,均会有特殊的包头文件以指示该包是数据填充包的数据行,图像修剪电路可以根据包头文件移除填充包的数据行。As an optional embodiment, in each row of the padding packet generated by the sensor, there will be a special header file to indicate that the packet is a data row of the data padding packet, and the image trimming circuit can remove the data row of the padding packet according to the header file .
作为一个可选的实施例,可以通过记录填充包的行数以及数据填充包的包头文件在图像修剪电路移除数据填充包。As an optional embodiment, the data padding packet can be removed in the image trimming circuit by recording the number of rows of the padding packet and the header file of the data padding packet.
所述第一MUX电路模块和第二MUX电路模块可以为多路数据流选择器。The first MUX circuit module and the second MUX circuit module may be multiple data stream selectors.
所述第一VBUS IF GEN电路模块和第二VBUS IF GEN电路模块用于把输入数据包的时序转化为标准的VBUS接口时序。The first VBUS IF GEN circuit module and the second VBUS IF GEN circuit module are used to convert the timing of the input data packet into a standard VBUS interface timing.
在具体的工作过程中,针对上述实施例所描述的多种模式下,其具体包括如下工作原理。In the specific working process, in the multiple modes described in the foregoing embodiment, it specifically includes the following working principles.
单端口模式:在这种场景下,本申请可以对接一个单端口模式的第一图像传感器,第一SLVS-EC接口接收模块将高速的串行数据解析为基本的像素数据包,然后数据包可以经过比如数据分发电路、第一MUX电路模块、第一VBUS IF GEN电路模块处理,转化为VBUS接口时序,最后通过第一VBUS端口送进后级的ISP进行处理。Single port mode: In this scenario, this application can be connected to a first image sensor in single port mode, and the first SLVS-EC interface receiving module parses high-speed serial data into basic pixel data packets, and then the data packets can be After processing such as the data distribution circuit, the first MUX circuit module, and the first VBUS IF GEN circuit module, it is converted into a VBUS interface sequence, and finally sent to the subsequent ISP for processing through the first VBUS port.
双端口模式:在这种场景下,本申请可以对接一个双端口模式的第一图像传感器和第二图像传感器,所述第一SLVS-EC接口接收模块、第二SLVS-EC接口接收模块将分别将奇偶列的串行数据解析为对应的像素数据包,两路数据包经过像素拼接电路拼接处理,将奇偶像素拼接回完整的一行像素,再转化为VBUS接口时序,最后通过第一MUX电路模块、第一VBUS IF GEN电路模块、第一VBUS端口送进后级的ISP处理。Dual port mode: In this scenario, this application can be connected to a first image sensor and a second image sensor in dual port mode. The first SLVS-EC interface receiving module and the second SLVS-EC interface receiving module will be respectively Analyze the serial data of the odd and even column into corresponding pixel data packets. The two data packets are spliced by the pixel splicing circuit, and the odd and even pixels are spliced back into a complete row of pixels, and then converted into VBUS interface timing, and finally passed through the first MUX circuit module , The first VBUS IF GEN circuit module and the first VBUS port are sent to the subsequent ISP processing.
双传感器模式即2 Sensor模式,在这种场景下,本申请可以对接两个单端口模式的第一图像传感器和第二图像传感器,其中第一图像传感器的数据包经过第一SLVS-EC接口接收模块、数据分发电路、第一MUX电路模块、第一VBUS IF GEN电路模块处理后通过第一VBUS端口输出给ISP;而第二图像传感器的数据包经过第二SLVS-EC接口接收模块、第二MUX电路模块、第二VBUS IF GEN电路模块处理通过第二VBUS端口输出给ISP。The dual sensor mode is the 2 Sensor mode. In this scenario, this application can interface with the first image sensor and the second image sensor in two single-port modes, where the data packets of the first image sensor are received through the first SLVS-EC interface The module, data distribution circuit, first MUX circuit module, and first VBUS IF GEN circuit module are processed and output to the ISP through the first VBUS port; and the data packet of the second image sensor passes through the second SLVS-EC interface receiving module and the second The MUX circuit module and the second VBUS IF GEN circuit module process the output to the ISP through the second VBUS port.
第一HDR模式即HDR 1Stream模式,在这种场景下,本申请可以对接一个HDR 1Stream模式的第一图像传感器,经过第一SLVS-EC接口接收模块处理后 转化为长/短曝光帧交织的数据包,然后通过数据分发电路对包头数据ID标示位的解析,完成对长曝光帧和短曝光帧数据包的分流操作,其中长曝光帧的数据包会进入第一MUX电路模块、第一VBUS IF GEN电路模块进行处理,然后通过第一VBUS端口输出,而短曝光的数据包可以先通过图像修剪电路移除无效的填充数据包,再送到第二MUX电路模块和第二VBUS IF GEN电路模块处理,最后通过第二VBUS端口输出至后级的ISP进行处理。The first HDR mode is HDR 1Stream mode. In this scenario, this application can be connected to a first image sensor in HDR 1Stream mode, which is processed by the first SLVS-EC interface receiving module and converted into long/short exposure frame interleaved data Then, the data distribution circuit analyzes the ID flag of the packet header to complete the shunt operation of the long exposure frame and the short exposure frame data packet. The long exposure frame data packet will enter the first MUX circuit module and the first VBUS IF The GEN circuit module performs processing and then outputs it through the first VBUS port. The short-exposure data packets can be first removed by the image trimming circuit to remove invalid filling data packets, and then sent to the second MUX circuit module and the second VBUSIF GEN circuit module for processing , And finally output to the subsequent ISP for processing through the second VBUS port.
第二HDR模式即HDR 2Stream模式,在这种场景下,本申请可以对接一个HDR 2Stream模式的第一图像传感器和第二图像传感器,长曝光帧/短曝光帧数据分别通过第一SLVS-EC接口接收模块、第二SLVS-EC接口接收模块传输,在经过第一VBUS IF GEN电路模块、第二VBUS IF GEN电路模块完成时序转化,最后通过第一VBUS端口、第二VBUS端口输出至后级ISP进行处理。The second HDR mode is HDR 2Stream mode. In this scenario, this application can interface with a first image sensor and a second image sensor in HDR 2Stream mode, and the long exposure frame/short exposure frame data passes through the first SLVS-EC interface respectively The receiving module and the second SLVS-EC interface receiving module transmit, after passing through the first VBUS IF GEN circuit module and the second VBUS IF GEN circuit module to complete the timing conversion, and finally output to the subsequent ISP through the first VBUS port and the second VBUS port To process.
通过上述具体实施例,本申请可以在仅使用2个SLVS-EC接口电路的前提条件下,不仅能够避免太多接口接收电路占用资源和面积以及系统消耗的问题,而且通过改进接口时序转化的方式,使得图像接收模块能在单端口、双端口、HDR 1Stream、HDR 2Stream、双传感器等五种模式下正确地工作,传输完整的图像数据包给ISP,特别是在HDR 1Stream模式下,通过对数据包的包头解析,将长短曝光帧划分在不同的VBUS接口上输出,并且丢弃短曝光帧前面的填充数据包,从而提升ISP的处理效率。Through the above specific embodiments, this application can not only avoid the problems of too many interface receiving circuits occupying resources and area and system consumption under the premise of using only two SLVS-EC interface circuits, but also by improving the way of interface timing conversion , So that the image receiving module can work correctly in five modes: single port, dual port, HDR 1Stream, HDR 2Stream, dual sensor, etc., and transmit complete image data packets to the ISP, especially in HDR 1Stream mode. The packet header is analyzed, the long and short exposure frames are divided and output on different VBUS interfaces, and the padding data packets before the short exposure frames are discarded, thereby improving the processing efficiency of the ISP.
请参阅图15,是本申请一实施例提供的一种图像数据传输方法的步骤示意流程图,本实施例的图像数据传输方法可以应用在各种终端设备中,用于图像自动化后期处理。其中终端设备包括手机、平板、笔记本电脑和无人机等。Please refer to FIG. 15, which is a schematic flowchart of steps of an image data transmission method according to an embodiment of the present application. The image data transmission method of this embodiment can be applied to various terminal devices for automatic image post-processing. Among them, terminal equipment includes mobile phones, tablets, laptops and drones.
如图15所示,本实施例所述图像数据传输方法可以包括步骤S201至步骤S206。As shown in FIG. 15, the image data transmission method in this embodiment may include step S201 to step S206.
S201,图像传感器发送图像数据。S201: The image sensor sends image data.
S202,接口时序转化装置从所述图像传感器获取图像数据。S202: The interface timing conversion device obtains image data from the image sensor.
S203,所述接口时序转化装置提取所述图像数据中的第一曝光值数据包和第二曝光值数据包。S203: The interface timing conversion device extracts a first exposure value data packet and a second exposure value data packet in the image data.
S204,所述接口时序转化装置将所述第一曝光值数据包分配至第一传输路径,并将所述第二曝光值数据包分配至第二传输路径。S204: The interface timing conversion device allocates the first exposure value data packet to a first transmission path, and allocates the second exposure value data packet to a second transmission path.
S205,所述接口时序转化装置对所述第一曝光值数据包和所述第二曝光值 数据包执行不同的时序转化处理。S205: The interface timing conversion device performs different timing conversion processing on the first exposure value data packet and the second exposure value data packet.
S206,所述接口时序转化装置通过不同的接口传输给后级的图像信号处理装置。S206: The interface timing conversion device transmits to a subsequent image signal processing device through a different interface.
作为其中一个实施例,所述接口时序转化装置提取所述图像数据中的第一曝光值数据包和第二曝光值数据包,可以包括:判断当前所处的工作模式;若判断到工作模式为第一HDR模式,通过数据包分发电路将所述图像数据进行拆分以分别提取到所述第一曝光值数据包和所述第二曝光值数据包,其中,所述第一曝光值数据包为长曝光值数据包,所述第二曝光值数据包为短曝光值数据包。As one of the embodiments, the interface timing conversion device extracting the first exposure value data packet and the second exposure value data packet in the image data may include: judging the current working mode; if it is judged that the working mode is In the first HDR mode, the image data is split by a data packet distribution circuit to extract the first exposure value data packet and the second exposure value data packet respectively, wherein the first exposure value data packet Is a long exposure value data packet, and the second exposure value data packet is a short exposure value data packet.
其中,本实施例所述接口时序转化装置将所述第二曝光值数据包分配至第二传输路径,还包括:通过图像修剪电路移除所述数据包分发电路分配过来的所述第二曝光值数据包中的填充数据包。Wherein, the interface timing conversion device of this embodiment allocates the second exposure value data packet to the second transmission path, and further includes: removing the second exposure allocated by the data packet distribution circuit through an image trimming circuit The padding packet in the value packet.
其中,本实施例所述接口时序转化装置从所述图像传感器获取图像数据,包括:通过同一接口接收模块的输入路径获取所述第一曝光值数据包和所述第二曝光值数据包。Wherein, the interface timing conversion apparatus of this embodiment obtains image data from the image sensor, including: obtaining the first exposure value data packet and the second exposure value data packet through the input path of the same interface receiving module.
容易理解的是,本实施例所述长曝光值数据包和所述短曝光值数据包构建的所述图像数据为高动态范围HDR图像数据。It is easy to understand that the image data constructed by the long exposure value data packet and the short exposure value data packet in this embodiment are high dynamic range HDR image data.
作为其中一个实施例,所述接口时序转化装置提取所述图像数据中的第一曝光值数据包和第二曝光值数据包,可以包括:判断当前所处的工作模式;若判断到工作模式为第二HDR模式,通过第一接口接收模块的输入路径获取所述第一曝光值数据包,并通过第二接口接收模块的输入路径获取所述第二曝光值数据包。As one of the embodiments, the interface timing conversion device extracting the first exposure value data packet and the second exposure value data packet in the image data may include: judging the current working mode; if it is judged that the working mode is In the second HDR mode, the first exposure value data packet is acquired through the input path of the first interface receiving module, and the second exposure value data packet is acquired through the input path of the second interface receiving module.
其中,本实施例所述第一曝光值数据包为长曝光值数据包,所述第二曝光值数据包为短曝光值数据包,且所述长曝光值数据包和所述短曝光值数据包构建的所述图像数据为高动态范围HDR图像数据。Wherein, the first exposure value data packet in this embodiment is a long exposure value data packet, the second exposure value data packet is a short exposure value data packet, and the long exposure value data packet and the short exposure value data packet The image data constructed by the package is high dynamic range HDR image data.
作为其中一个实施例,所述接口时序转化装置提取所述图像数据中的第一曝光值数据包和第二曝光值数据包,可以包括:判断当前所处的工作模式;若判断到工作模式为单端口模式,通过同一接口接收模块的输入路径获取所述图像数据,以提取第一曝光值数据包和第二曝光值数据包,其中,第一曝光值数据包和第二曝光值数据包的其中之一为零。As one of the embodiments, the interface timing conversion device extracting the first exposure value data packet and the second exposure value data packet in the image data may include: judging the current working mode; if it is judged that the working mode is In single port mode, the image data is acquired through the input path of the receiving module of the same interface to extract the first exposure value data packet and the second exposure value data packet, wherein the first exposure value data packet and the second exposure value data packet are One of them is zero.
作为其中一个实施例,所述接口时序转化装置提取所述图像数据中的第一曝光值数据包和第二曝光值数据包,可以包括:判断当前所处的工作模式;若判断到工作模式为双端口模式,通过第一接口接收模块的输入路径获取所述图像数据中的奇数列串行数据,并通过第二接口接收模块的输入路径获取所述图像数据中的偶数列串行数据;通过像素拼接电路拼接所述第一接口接收模块的奇数列串行数据和所述第二接口接收模块的偶数列串行数据以还原提取到所述图像数据的第一曝光值数据包和第二曝光值数据包,其中,所述图像数据中的第一曝光值数据包和第二曝光值数据包的其中之一为零。As one of the embodiments, the interface timing conversion device extracting the first exposure value data packet and the second exposure value data packet in the image data may include: judging the current working mode; if it is judged that the working mode is In the dual-port mode, the odd-numbered serial data in the image data is acquired through the input path of the first interface receiving module, and the even-numbered serial data in the image data is acquired through the input path of the second interface receiving module; The pixel stitching circuit stitches the odd column serial data of the first interface receiving module and the even column serial data of the second interface receiving module to restore the first exposure value data packet and the second exposure extracted from the image data A value data packet, wherein one of the first exposure value data packet and the second exposure value data packet in the image data is zero.
作为其中一个实施例,所述接口时序转化装置提取所述图像数据中的第一曝光值数据包和第二曝光值数据包,包括:判断当前所处的工作模式;若判断到工作模式为双传感器模式,通过第一接口接收模块的输入路径获取所述第一曝光值数据包,并通过第二接口接收模块的输入路径获取所述第二曝光值数据包。As one of the embodiments, the interface timing conversion device extracting the first exposure value data packet and the second exposure value data packet in the image data includes: judging the current working mode; if it is judged that the working mode is dual In the sensor mode, the first exposure value data packet is acquired through the input path of the first interface receiving module, and the second exposure value data packet is acquired through the input path of the second interface receiving module.
其中,本实施例所述第一曝光值数据包和所述第二曝光值数据包为短曝光值数据包、长曝光值数据包或两者的组合。Wherein, the first exposure value data packet and the second exposure value data packet in this embodiment are a short exposure value data packet, a long exposure value data packet or a combination of both.
值得一提的是,本实施例所述接口时序转化装置从所述图像传感器获取图像数据,可以包括:通过可扩展内嵌时钟的低电压信号SLVS-EC接口接收模块获取图像数据。It is worth mentioning that the interface timing conversion device of this embodiment obtains image data from the image sensor, which may include: obtaining image data through a low-voltage signal SLVS-EC interface receiving module with an expandable embedded clock.
在本实施例中,所述接口时序转化装置对所述第一曝光值数据包和所述第二曝光值数据包执行不同的时序转化处理,包括:采用第一接口时序转化模块将所述第一曝光值数据包的时序转化为VBUS接口时序,并采用第二接口时序转化模块将所述第二曝光值数据包的时序转化为VBUS接口时序,以分别通过不同的VBUS接口传输给后级的图像信号处理装置。In this embodiment, the interface timing conversion device performs different timing conversion processing on the first exposure value data packet and the second exposure value data packet, including: using a first interface timing conversion module to convert the second The timing of an exposure value data packet is converted into a VBUS interface timing, and the second interface timing conversion module is used to convert the timing of the second exposure value data packet into a VBUS interface timing, so as to be transmitted to the subsequent stage through different VBUS interfaces. Image signal processing device.
请结合上述多个实施例参阅图16,本申请提供一种图像数据传输系统,在本实施例中,其可以包括图像传感器31、接口时序转化装置32和图像信号处理装置33(即ISP)。Please refer to FIG. 16 in conjunction with the foregoing multiple embodiments. This application provides an image data transmission system. In this embodiment, it may include an image sensor 31, an interface timing conversion device 32, and an image signal processing device 33 (ie ISP).
在本实施例中,所述图像传感器31,用于发送图像数据;In this embodiment, the image sensor 31 is used to send image data;
所述接口时序转化装置32,用于从所述图像传感器31获取图像数据;The interface timing conversion device 32 is configured to obtain image data from the image sensor 31;
所述接口时序转化装置32,用于提取所述图像数据中的第一曝光值数据包和第二曝光值数据包;The interface timing conversion device 32 is configured to extract a first exposure value data packet and a second exposure value data packet in the image data;
所述接口时序转化装置32,用于将所述第一曝光值数据包分配至第一传输路径,并将所述第二曝光值数据包分配至第二传输路径;The interface timing conversion device 32 is configured to allocate the first exposure value data packet to a first transmission path, and allocate the second exposure value data packet to a second transmission path;
所述接口时序转化装置32,用于对所述第一曝光值数据包和所述第二曝光值数据包执行不同的时序转化处理;The interface timing conversion device 32 is configured to perform different timing conversion processing on the first exposure value data packet and the second exposure value data packet;
所述接口时序转化装置32,用于通过不同的接口传输给所述图像信号处理装置33。The interface timing conversion device 32 is configured to transmit to the image signal processing device 33 through different interfaces.
具体而言,所述接口时序转化装置32包括处理电路和数据分发电路,在提取所述图像数据中的第一曝光值数据包和第二曝光值数据包时:所述处理电路,用于判断当前所处的工作模式;若判断到工作模式为第一HDR模式,所述数据包分发电路,用于将所述图像数据进行拆分以分别提取到所述第一曝光值数据包和所述第二曝光值数据包,其中,所述第一曝光值数据包为长曝光值数据包,所述第二曝光值数据包为短曝光值数据包。Specifically, the interface timing conversion device 32 includes a processing circuit and a data distribution circuit. When extracting the first exposure value data packet and the second exposure value data packet in the image data: the processing circuit is used to determine The current working mode; if it is determined that the working mode is the first HDR mode, the data packet distribution circuit is configured to split the image data to extract the first exposure value data packet and the The second exposure value data packet, wherein the first exposure value data packet is a long exposure value data packet, and the second exposure value data packet is a short exposure value data packet.
其中,所述接口时序转化装置32包括图像修剪电路,在将所述第二曝光值数据包分配至第二传输路径时:所述图像修剪电路,用于移除所述数据包分发电路分配过来的所述第二曝光值数据包中的填充数据包。Wherein, the interface timing conversion device 32 includes an image trimming circuit, when the second exposure value data packet is allocated to the second transmission path: the image trimming circuit is used to remove the data packet distribution circuit allocated The padding data packet in the second exposure value data packet.
在本实施例中,所述接口时序转化装置32包括接口接收模块,在从所述图像传感器31获取图像数据时:所述处理电路通过同一所述接口接收模块的输入路径获取所述第一曝光值数据包和所述第二曝光值数据包。In this embodiment, the interface timing conversion device 32 includes an interface receiving module. When acquiring image data from the image sensor 31: the processing circuit acquires the first exposure through the input path of the same interface receiving module. Value data packet and the second exposure value data packet.
其中,所述长曝光值数据包和所述短曝光值数据包构建的所述图像数据为高动态范围HDR图像数据。Wherein, the image data constructed by the long exposure value data packet and the short exposure value data packet are high dynamic range HDR image data.
需要说明的是,所述接口时序转化装置32包括处理电路、第一接口接收模块和第二接口接收模块,在提取所述图像数据中的第一曝光值数据包和第二曝光值数据包时:所述处理电路,用于判断当前所处的工作模式;若判断到工作模式为第二HDR模式,所述处理电路通过所述第一接口接收模块的输入路径获取所述第一曝光值数据包,并通过所述第二接口接收模块的输入路径获取所述第二曝光值数据包。It should be noted that the interface timing conversion device 32 includes a processing circuit, a first interface receiving module, and a second interface receiving module. When extracting the first exposure value data packet and the second exposure value data packet in the image data : The processing circuit is used to determine the current working mode; if it is determined that the working mode is the second HDR mode, the processing circuit obtains the first exposure value data through the input path of the first interface receiving module And obtain the second exposure value data packet through the input path of the second interface receiving module.
需要对应说明的是,第一接口接收模块和第二接口接收模块可以对应为前面实施例所述的第一SLVS-EC接口接收模块、第二SLVS-EC接口接收模块。It should be correspondingly explained that the first interface receiving module and the second interface receiving module may correspond to the first SLVS-EC interface receiving module and the second SLVS-EC interface receiving module described in the previous embodiment.
其中,所述第一曝光值数据包为长曝光值数据包,所述第二曝光值数据包为短曝光值数据包,且所述长曝光值数据包和所述短曝光值数据包构建的所述 图像数据为高动态范围HDR图像数据。Wherein, the first exposure value data packet is a long exposure value data packet, the second exposure value data packet is a short exposure value data packet, and the long exposure value data packet and the short exposure value data packet are constructed The image data is high dynamic range HDR image data.
需要说明的是,所述接口时序转化装置32包括处理电路和接口接收模块,在提取所述图像数据中的第一曝光值数据包和第二曝光值数据包时:所述处理电路,用于判断当前所处的工作模式;若判断到工作模式为单端口模式,所述处理电路用于通过同一所述接口接收模块的输入路径获取所述图像数据,以提取第一曝光值数据包和第二曝光值数据包,其中,第一曝光值数据包和第二曝光值数据包的其中之一为零。It should be noted that the interface timing conversion device 32 includes a processing circuit and an interface receiving module. When extracting the first exposure value data packet and the second exposure value data packet in the image data: the processing circuit is used for Determine the current working mode; if it is determined that the working mode is single-port mode, the processing circuit is used to obtain the image data through the input path of the same interface receiving module to extract the first exposure value data packet and the first Two exposure value data packets, wherein one of the first exposure value data packet and the second exposure value data packet is zero.
需要说明的是,所述接口时序转化装置32包括处理电路、第一接口接收模块、第二接口接收模块和像素拼接电路,在提取所述图像数据中的第一曝光值数据包和第二曝光值数据包时:所述处理电路,用于判断当前所处的工作模式;若判断到工作模式为双端口模式,所述处理电路用于通过所述第一接口接收模块的输入路径获取所述图像数据中的奇数列串行数据,并通过所述第二接口接收模块的输入路径获取所述图像数据中的偶数列串行数据;所述处理电路,用于通过所述像素拼接电路拼接所述第一接口接收模块的奇数列串行数据和所述第二接口接收模块的偶数列串行数据以还原提取到所述图像数据的第一曝光值数据包和第二曝光值数据包,其中,所述图像数据中的第一曝光值数据包和第二曝光值数据包的其中之一为零。It should be noted that the interface timing conversion device 32 includes a processing circuit, a first interface receiving module, a second interface receiving module, and a pixel stitching circuit. The first exposure value data packet and the second exposure data packet in the image data are extracted. Value data packet: the processing circuit is used to determine the current working mode; if it is determined that the working mode is the dual-port mode, the processing circuit is used to obtain the input path of the first interface receiving module The odd-numbered column of serial data in the image data, and the even-numbered column of serial data in the image data is obtained through the input path of the second interface receiving module; the processing circuit is used for splicing all the data through the pixel splicing circuit The odd column serial data of the first interface receiving module and the even column serial data of the second interface receiving module are used to restore the first exposure value data packet and the second exposure value data packet extracted from the image data, wherein , One of the first exposure value data packet and the second exposure value data packet in the image data is zero.
需要说明的是,所述接口时序转化装置32包括处理电路、第一接口接收模块和第二接口接收模块,在提取所述图像数据中的第一曝光值数据包和第二曝光值数据包时:所述处理电路,用于判断当前所处的工作模式;若判断到工作模式为双传感器模式,所述处理电路用于通过所述第一接口接收模块的输入路径获取所述第一曝光值数据包,并通过所述第二接口接收模块的输入路径获取所述第二曝光值数据包。It should be noted that the interface timing conversion device 32 includes a processing circuit, a first interface receiving module, and a second interface receiving module. When extracting the first exposure value data packet and the second exposure value data packet in the image data : The processing circuit is used to determine the current operating mode; if it is determined that the operating mode is the dual sensor mode, the processing circuit is used to obtain the first exposure value through the input path of the first interface receiving module Data packet, and obtain the second exposure value data packet through the input path of the second interface receiving module.
其中,所述第一曝光值数据包和所述第二曝光值数据包为短曝光值数据包、长曝光值数据包或两者的组合。Wherein, the first exposure value data packet and the second exposure value data packet are a short exposure value data packet, a long exposure value data packet or a combination of both.
如前所述,所述接口时序转化装置32包括可扩展内嵌时钟的低电压信号SLVS-EC接口接收模块,用于从所述图像传感器31获取图像数据。As mentioned above, the interface timing conversion device 32 includes a low-voltage signal SLVS-EC interface receiving module with an expandable embedded clock for acquiring image data from the image sensor 31.
其中,所述接口时序转化装置32,用于采用第一接口时序转化模块将所述第一曝光值数据包的时序转化为VBUS接口时序,并采用第二接口时序转化模块将所述第二曝光值数据包的时序转化为VBUS接口时序,以分别通过不同的VBUS 接口传输给后级的图像信号处理装置33。Wherein, the interface timing conversion device 32 is configured to use a first interface timing conversion module to convert the timing of the first exposure value data packet into a VBUS interface timing, and use a second interface timing conversion module to convert the second exposure The time sequence of the value data packet is converted into the VBUS interface time sequence to be transmitted to the subsequent image signal processing device 33 through different VBUS interfaces.
请接着参阅图17,本申请还提供一种存储介质,所述存储介质存储有计算机程序,所述计算机程序被处理电路执行时使所述处理电路实现步骤S301到S303。Please refer to FIG. 17 next. This application also provides a storage medium that stores a computer program, and when the computer program is executed by a processing circuit, the processing circuit implements steps S301 to S303.
S301,获取图像数据。S301: Acquire image data.
S302,提取所述图像数据中的第一曝光值数据包和第二曝光值数据包。S302: Extract a first exposure value data packet and a second exposure value data packet in the image data.
S303,将所述第一曝光值数据包分配至第一传输路径,并将所述第二曝光值数据包分配至第二传输路径,以对所述第一曝光值数据包和所述第二曝光值数据包执行不同的时序转化处理。S303. Allocate the first exposure value data packet to a first transmission path, and allocate the second exposure value data packet to a second transmission path to compare the first exposure value data packet and the second transmission path. The exposure value data packet executes different timing conversion processing.
需要说明的是,所述处理电路在实现所述提取所述图像数据中的第一曝光值数据包和第二曝光值数据包时,用于实现:It should be noted that, when the processing circuit implements the extraction of the first exposure value data packet and the second exposure value data packet in the image data, it is used to implement:
判断当前所处的工作模式;Determine the current working mode;
若判断到工作模式为第一HDR模式,将所述图像数据进行拆分以分别提取到所述第一曝光值数据包和所述第二曝光值数据包,其中,所述第一曝光值数据包为长曝光值数据包,所述第二曝光值数据包为短曝光值数据包。If it is determined that the working mode is the first HDR mode, the image data is split to extract the first exposure value data packet and the second exposure value data packet respectively, wherein the first exposure value data The packet is a long exposure value data packet, and the second exposure value data packet is a short exposure value data packet.
其中,所述处理电路在实现所述将所述第二曝光值数据包分配至第二传输路径时,还用于实现:移除所述第二曝光值数据包中的填充数据包。Wherein, when the processing circuit implements the allocation of the second exposure value data packet to the second transmission path, it is also used to implement: remove the padding data packet in the second exposure value data packet.
其中,所述填充数据包位于所述短曝光值数据包中的固定帧位置、或在短曝光值数据包的包头信息中标记所述填充数据包所处的指定帧位置,以在第一HDR模式时,根据预设规则对应移除所述固定帧位置或者指定帧位置上的填充数据包。Wherein, the padding data packet is located at a fixed frame position in the short exposure value data packet, or the specified frame position where the padding data packet is located is marked in the header information of the short exposure value data packet, so as to be in the first HDR In the mode, the padding data packet at the fixed frame position or the designated frame position is correspondingly removed according to the preset rule.
值得一提的是,所述预设规则,可以提前设置,也可以在进行HDR图像的传输过程中,当检测到为短曝光值数据包时,自动对包头信息进行识别,并在识别到存在填充数据包的标记时,自动移除填充数据包。It is worth mentioning that the preset rules can be set in advance, or during the transmission of HDR images, when a short exposure value data packet is detected, the packet header information is automatically identified, and when it is identified When filling the mark of the data packet, the filling data packet is automatically removed.
其中,所述处理电路在实现所述获取图像数据时,用于实现:通过同一输入路径获取所述第一曝光值数据包和所述第二曝光值数据包。Wherein, when the processing circuit implements the acquisition of image data, it is used to implement: acquiring the first exposure value data packet and the second exposure value data packet through the same input path.
需要说明的是,所述长曝光值数据包和所述短曝光值数据包构建的所述图像数据为高动态范围HDR图像数据。It should be noted that the image data constructed by the long exposure value data packet and the short exposure value data packet are high dynamic range HDR image data.
需要说明的是,所述处理电路在实现所述提取所述图像数据中的第一曝光值数据包和第二曝光值数据包时,用于实现:It should be noted that, when the processing circuit implements the extraction of the first exposure value data packet and the second exposure value data packet in the image data, it is used to implement:
判断当前所处的工作模式;Determine the current working mode;
若判断到工作模式为第二HDR模式,通过第一输入路径获取所述第一曝光值数据包,并通过第二输入路径获取所述第二曝光值数据包。If it is determined that the working mode is the second HDR mode, the first exposure value data packet is acquired through the first input path, and the second exposure value data packet is acquired through the second input path.
其中,所述第一曝光值数据包为长曝光值数据包,所述第二曝光值数据包为短曝光值数据包,且所述长曝光值数据包和所述短曝光值数据包构建的所述图像数据为高动态范围HDR图像数据。Wherein, the first exposure value data packet is a long exposure value data packet, the second exposure value data packet is a short exposure value data packet, and the long exposure value data packet and the short exposure value data packet are constructed The image data is high dynamic range HDR image data.
需要说明的是,所述处理电路在实现所述提取所述图像数据中的第一曝光值数据包和第二曝光值数据包时,用于实现:It should be noted that, when the processing circuit implements the extraction of the first exposure value data packet and the second exposure value data packet in the image data, it is used to implement:
判断当前所处的工作模式;Determine the current working mode;
若判断到工作模式为单端口模式,通过同一输入路径获取所述图像数据,以提取第一曝光值数据包和第二曝光值数据包,其中,第一曝光值数据包和第二曝光值数据包的其中之一为零。If it is determined that the working mode is the single-port mode, the image data is obtained through the same input path to extract the first exposure value data packet and the second exposure value data packet, wherein the first exposure value data packet and the second exposure value data packet One of the packets is zero.
需要说明的是,所述处理电路在实现所述提取所述图像数据中的第一曝光值数据包和第二曝光值数据包时,用于实现:It should be noted that, when the processing circuit implements the extraction of the first exposure value data packet and the second exposure value data packet in the image data, it is used to implement:
判断当前所处的工作模式;Determine the current working mode;
若判断到工作模式为双端口模式,通过第一输入路径获取所述图像数据中的奇数列串行数据,并通过第二输入路径获取所述图像数据中的偶数列串行数据;If it is determined that the working mode is the dual-port mode, obtain the odd-numbered serial data in the image data through the first input path, and obtain the even-numbered serial data in the image data through the second input path;
拼接所述奇数列串行数据和所述偶数列串行数据以还原提取到所述图像数据的第一曝光值数据包和第二曝光值数据包,其中,所述图像数据中的第一曝光值数据包和第二曝光值数据包的其中之一为零。Splicing the odd column serial data and the even column serial data to restore the first exposure value data packet and the second exposure value data packet extracted from the image data, wherein the first exposure value in the image data One of the value data packet and the second exposure value data packet is zero.
需要说明的是,所述处理电路在实现所述提取所述图像数据中的第一曝光值数据包和第二曝光值数据包时,用于实现:It should be noted that, when the processing circuit implements the extraction of the first exposure value data packet and the second exposure value data packet in the image data, it is used to implement:
判断当前所处的工作模式;Determine the current working mode;
若判断到工作模式为双传感器模式,通过第一输入路径获取所述第一曝光值数据包,并通过第二输入路径获取所述第二曝光值数据包。If it is determined that the working mode is the dual sensor mode, the first exposure value data packet is acquired through the first input path, and the second exposure value data packet is acquired through the second input path.
其中,所述第一曝光值数据包和所述第二曝光值数据包为短曝光值数据包、长曝光值数据包或两者的组合。Wherein, the first exposure value data packet and the second exposure value data packet are a short exposure value data packet, a long exposure value data packet or a combination of both.
如前所述,所述处理电路在实现所述获取图像数据时,用于实现:通过可扩展内嵌时钟的低电压信号SLVS-EC接口获取图像数据。As mentioned above, when the processing circuit realizes the acquisition of image data, it is used to realize the acquisition of image data through the low-voltage signal SLVS-EC interface of the expandable embedded clock.
值得一提的是,所述处理电路在实现所述对所述第一曝光值数据包和所述第二曝光值数据包执行不同的时序转化处理时,用于实现:采用第一时序转化模块将所述第一曝光值数据包的时序转化为VBUS接口时序,并采用第二时序转化模块将所述第二曝光值数据包的时序转化为VBUS接口时序,以分别通过不同的VBUS接口传输给后级的图像信号处理装置。It is worth mentioning that, when the processing circuit implements different time sequence conversion processing on the first exposure value data packet and the second exposure value data packet, it is used to implement: adopting a first time sequence conversion module The time sequence of the first exposure value data packet is converted into the VBUS interface time sequence, and the second time sequence conversion module is used to convert the time sequence of the second exposure value data packet into the VBUS interface time sequence, so as to be transmitted to the VBUS interface through different VBUS interfaces. The subsequent image signal processing device.
其中,所述存储介质可以为计算机可读存储介质,其可以是前述任一实施例所述的装置/设备的内部存储单元,例如硬盘或内存。所述计算机可读存储介质也可以是外部存储设备,例如设备上配备的插接式硬盘,智能存储卡(Smart Media Card,SMC),安全数字(Secure Digital,SD)卡,闪存卡(Flash Card)等。Wherein, the storage medium may be a computer-readable storage medium, which may be an internal storage unit of the apparatus/device described in any of the foregoing embodiments, such as a hard disk or a memory. The computer-readable storage medium may also be an external storage device, such as a plug-in hard disk equipped on the device, a smart memory card (Smart Media Card, SMC), a Secure Digital (SD) card, and a flash card (Flash Card). )Wait.
以上所述,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到各种等效的修改或替换,这些修改或替换都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以权利要求的保护范围为准。The above are only specific implementations of this application, but the protection scope of this application is not limited to this. Anyone familiar with the technical field can easily think of various equivalents within the technical scope disclosed in this application. Modifications or replacements, these modifications or replacements shall be covered within the protection scope of this application. Therefore, the protection scope of this application shall be subject to the protection scope of the claims.

Claims (65)

  1. 一种图像数据处理方法,其特征在于,包括:An image data processing method, characterized in that it comprises:
    获取图像数据;Obtain image data;
    提取所述图像数据中的第一曝光值数据包和第二曝光值数据包;Extracting the first exposure value data packet and the second exposure value data packet in the image data;
    将所述第一曝光值数据包分配至第一传输路径,并将所述第二曝光值数据包分配至第二传输路径,以对所述第一曝光值数据包和所述第二曝光值数据包执行不同的时序转化处理。The first exposure value data packet is allocated to a first transmission path, and the second exposure value data packet is allocated to a second transmission path, so as to compare the first exposure value data packet and the second exposure value The data packets perform different timing conversion processing.
  2. 根据权利要求1所述的方法,其特征在于,所述提取所述图像数据中的第一曝光值数据包和第二曝光值数据包,包括:The method according to claim 1, wherein said extracting a first exposure value data packet and a second exposure value data packet in the image data comprises:
    判断当前所处的工作模式;Determine the current working mode;
    若判断到工作模式为第一HDR模式,将所述图像数据进行拆分以分别提取到所述第一曝光值数据包和所述第二曝光值数据包,其中,所述第一曝光值数据包为长曝光值数据包,所述第二曝光值数据包为短曝光值数据包。If it is determined that the working mode is the first HDR mode, the image data is split to extract the first exposure value data packet and the second exposure value data packet respectively, wherein the first exposure value data The packet is a long exposure value data packet, and the second exposure value data packet is a short exposure value data packet.
  3. 根据权利要求2所述的方法,其特征在于,所述将所述第二曝光值数据包分配至第二传输路径,还包括:The method according to claim 2, wherein the allocating the second exposure value data packet to a second transmission path further comprises:
    移除所述第二曝光值数据包中的填充数据包。Removing the padding data packet in the second exposure value data packet.
  4. 根据权利要求2所述的方法,其特征在于,所述获取图像数据,包括:The method according to claim 2, wherein said acquiring image data comprises:
    通过同一输入路径获取所述第一曝光值数据包和所述第二曝光值数据包。Obtain the first exposure value data packet and the second exposure value data packet through the same input path.
  5. 根据权利要求4所述的方法,其特征在于,所述长曝光值数据包和所述短曝光值数据包构建的所述图像数据为高动态范围HDR图像数据。The method according to claim 4, wherein the image data constructed by the long exposure value data packet and the short exposure value data packet are high dynamic range HDR image data.
  6. 根据权利要求1所述的方法,其特征在于,所述提取所述图像数据中的第一曝光值数据包和第二曝光值数据包,包括:The method according to claim 1, wherein the extracting a first exposure value data packet and a second exposure value data packet in the image data comprises:
    判断当前所处的工作模式;Determine the current working mode;
    若判断到工作模式为第二HDR模式,通过第一输入路径获取所述第一曝光值数据包,并通过第二输入路径获取所述第二曝光值数据包。If it is determined that the working mode is the second HDR mode, the first exposure value data packet is acquired through the first input path, and the second exposure value data packet is acquired through the second input path.
  7. 根据权利要求6所述的方法,其特征在于,所述第一曝光值数据包为长曝光值数据包,所述第二曝光值数据包为短曝光值数据包,且所述长曝光值数据包和所述短曝光值数据包构建的所述图像数据为高动态范围HDR图像数据。The method according to claim 6, wherein the first exposure value data packet is a long exposure value data packet, the second exposure value data packet is a short exposure value data packet, and the long exposure value data packet The image data constructed by the packet and the short exposure value data packet are high dynamic range HDR image data.
  8. 根据权利要求1所述的方法,其特征在于,所述提取所述图像数据中的第一曝光值数据包和第二曝光值数据包,包括:The method according to claim 1, wherein said extracting a first exposure value data packet and a second exposure value data packet in the image data comprises:
    判断当前所处的工作模式;Determine the current working mode;
    若判断到工作模式为单端口模式,通过同一输入路径获取所述图像数据,以提取第一曝光值数据包和第二曝光值数据包,其中,第一曝光值数据包和第二曝光值数据包的其中之一为零。If it is determined that the working mode is the single-port mode, the image data is obtained through the same input path to extract the first exposure value data packet and the second exposure value data packet, wherein the first exposure value data packet and the second exposure value data packet One of the packets is zero.
  9. 根据权利要求1所述的方法,其特征在于,所述提取所述图像数据中的第一曝光值数据包和第二曝光值数据包,包括:The method according to claim 1, wherein said extracting a first exposure value data packet and a second exposure value data packet in the image data comprises:
    判断当前所处的工作模式;Determine the current working mode;
    若判断到工作模式为双端口模式,通过第一输入路径获取所述图像数据中的奇数列串行数据,并通过第二输入路径获取所述图像数据中的偶数列串行数据;If it is determined that the working mode is the dual-port mode, obtain the odd-numbered serial data in the image data through the first input path, and obtain the even-numbered serial data in the image data through the second input path;
    拼接所述奇数列串行数据和所述偶数列串行数据以还原提取到所述图像数据的第一曝光值数据包和第二曝光值数据包,其中,所述图像数据中的第一曝光值数据包和第二曝光值数据包的其中之一为零。Splicing the odd column serial data and the even column serial data to restore the first exposure value data packet and the second exposure value data packet extracted from the image data, wherein the first exposure value in the image data One of the value data packet and the second exposure value data packet is zero.
  10. 根据权利要求1所述的方法,其特征在于,所述提取所述图像数据中的第一曝光值数据包和第二曝光值数据包,包括:The method according to claim 1, wherein the extracting a first exposure value data packet and a second exposure value data packet in the image data comprises:
    判断当前所处的工作模式;Determine the current working mode;
    若判断到工作模式为双传感器模式,通过第一输入路径获取所述第一曝光值数据包,并通过第二输入路径获取所述第二曝光值数据包。If it is determined that the working mode is the dual sensor mode, the first exposure value data packet is acquired through the first input path, and the second exposure value data packet is acquired through the second input path.
  11. 根据权利要求10所述的方法,其特征在于,所述第一曝光值数据包和所述第二曝光值数据包为短曝光值数据包、长曝光值数据包或两者的组合。The method according to claim 10, wherein the first exposure value data packet and the second exposure value data packet are a short exposure value data packet, a long exposure value data packet, or a combination of both.
  12. 根据权利要求1、2、6、8、9或10所述的方法,其特征在于,所述获取图像数据,包括:The method according to claim 1, 2, 6, 8, 9 or 10, wherein said acquiring image data comprises:
    通过可扩展内嵌时钟的低电压信号SLVS-EC接口获取图像数据。The image data is acquired through the low-voltage signal SLVS-EC interface with an expandable embedded clock.
  13. 根据权利要求12所述的方法,其特征在于,所述对所述第一曝光值数据包和所述第二曝光值数据包执行不同的时序转化处理,包括:The method according to claim 12, wherein the performing different time sequence conversion processing on the first exposure value data packet and the second exposure value data packet comprises:
    采用第一接口时序转化模块将所述第一曝光值数据包的时序转化为VBUS接口时序,并采用第二接口时序转化模块将所述第二曝光值数据包的时序转化为VBUS接口时序,以分别通过不同的VBUS接口传输给后级的图像信号处理装 置。The first interface timing conversion module is used to convert the timing of the first exposure value data packet into the VBUS interface timing, and the second interface timing conversion module is used to convert the timing of the second exposure value data packet into the VBUS interface timing to They are respectively transmitted to the subsequent image signal processing device through different VBUS interfaces.
  14. 一种接口时序转化装置,其特征在于,包括存储电路和处理电路;An interface timing conversion device, characterized in that it comprises a storage circuit and a processing circuit;
    所述存储电路用于存储计算机程序:The storage circuit is used to store a computer program:
    所述处理电路,用于执行所述计算机程序并在执行所述计算机程序时,实现如下步骤:The processing circuit is used to execute the computer program and, when the computer program is executed, implement the following steps:
    获取图像数据;Obtain image data;
    提取所述图像数据中的第一曝光值数据包和第二曝光值数据包;Extracting the first exposure value data packet and the second exposure value data packet in the image data;
    将所述第一曝光值数据包分配至第一传输路径,并将所述第二曝光值数据包分配至第二传输路径,以对所述第一曝光值数据包和所述第二曝光值数据包执行不同的时序转化处理。The first exposure value data packet is allocated to a first transmission path, and the second exposure value data packet is allocated to a second transmission path, so as to compare the first exposure value data packet and the second exposure value The data packets perform different timing conversion processing.
  15. 根据权利要求14所述的装置,其特征在于,所述处理电路在实现所述提取所述图像数据中的第一曝光值数据包和第二曝光值数据包时,用于实现:The device according to claim 14, wherein the processing circuit is used to implement the following when extracting the first exposure value data packet and the second exposure value data packet in the image data:
    判断当前所处的工作模式;Determine the current working mode;
    若判断到工作模式为第一HDR模式,将所述图像数据进行拆分以分别提取到所述第一曝光值数据包和所述第二曝光值数据包,其中,所述第一曝光值数据包为长曝光值数据包,所述第二曝光值数据包为短曝光值数据包。If it is determined that the working mode is the first HDR mode, the image data is split to extract the first exposure value data packet and the second exposure value data packet respectively, wherein the first exposure value data The packet is a long exposure value data packet, and the second exposure value data packet is a short exposure value data packet.
  16. 根据权利要求15所述的装置,其特征在于,所述处理电路在实现所述将所述第二曝光值数据包分配至第二传输路径时,还用于实现:The device according to claim 15, wherein the processing circuit is further configured to implement the following when implementing the allocation of the second exposure value data packet to the second transmission path:
    移除所述第二曝光值数据包中的填充数据包。Removing the padding data packet in the second exposure value data packet.
  17. 根据权利要求15所述的装置,其特征在于,所述处理电路在实现所述获取图像数据时,用于实现:The device according to claim 15, wherein the processing circuit is used to realize:
    通过同一输入路径获取所述第一曝光值数据包和所述第二曝光值数据包。Obtain the first exposure value data packet and the second exposure value data packet through the same input path.
  18. 根据权利要求17所述的装置,其特征在于,所述长曝光值数据包和所述短曝光值数据包构建的所述图像数据为高动态范围HDR图像数据。The device according to claim 17, wherein the image data constructed by the long exposure value data packet and the short exposure value data packet is high dynamic range HDR image data.
  19. 根据权利要求14所述的装置,其特征在于,所述处理电路在实现所述提取所述图像数据中的第一曝光值数据包和第二曝光值数据包时,用于实现:The device according to claim 14, wherein the processing circuit is used to implement the following when extracting the first exposure value data packet and the second exposure value data packet in the image data:
    判断当前所处的工作模式;Determine the current working mode;
    若判断到工作模式为第二HDR模式,通过第一输入路径获取所述第一曝光值数据包,并通过第二输入路径获取所述第二曝光值数据包。If it is determined that the working mode is the second HDR mode, the first exposure value data packet is acquired through the first input path, and the second exposure value data packet is acquired through the second input path.
  20. 根据权利要求19所述的装置,其特征在于,所述第一曝光值数据包为 长曝光值数据包,所述第二曝光值数据包为短曝光值数据包,且所述长曝光值数据包和所述短曝光值数据包构建的所述图像数据为高动态范围HDR图像数据。The device according to claim 19, wherein the first exposure value data packet is a long exposure value data packet, the second exposure value data packet is a short exposure value data packet, and the long exposure value data packet The image data constructed by the packet and the short exposure value data packet are high dynamic range HDR image data.
  21. 根据权利要求14所述的装置,其特征在于,所述处理电路在实现所述提取所述图像数据中的第一曝光值数据包和第二曝光值数据包时,用于实现:The device according to claim 14, wherein the processing circuit is used to implement the following when extracting the first exposure value data packet and the second exposure value data packet in the image data:
    判断当前所处的工作模式;Determine the current working mode;
    若判断到工作模式为单端口模式,通过同一输入路径获取所述图像数据,以提取第一曝光值数据包和第二曝光值数据包,其中,第一曝光值数据包和第二曝光值数据包的其中之一为零。If it is determined that the working mode is the single-port mode, the image data is obtained through the same input path to extract the first exposure value data packet and the second exposure value data packet, wherein the first exposure value data packet and the second exposure value data packet One of the packets is zero.
  22. 根据权利要求14所述的装置,其特征在于,所述处理电路在实现所述提取所述图像数据中的第一曝光值数据包和第二曝光值数据包时,用于实现:The device according to claim 14, wherein the processing circuit is used to implement the following when extracting the first exposure value data packet and the second exposure value data packet in the image data:
    判断当前所处的工作模式;Determine the current working mode;
    若判断到工作模式为双端口模式,通过第一输入路径获取所述图像数据中的奇数列串行数据,并通过第二输入路径获取所述图像数据中的偶数列串行数据;If it is determined that the working mode is the dual-port mode, obtain the odd-numbered serial data in the image data through the first input path, and obtain the even-numbered serial data in the image data through the second input path;
    拼接所述奇数列串行数据和所述偶数列串行数据以还原提取到所述图像数据的第一曝光值数据包和第二曝光值数据包,其中,所述图像数据中的第一曝光值数据包和第二曝光值数据包的其中之一为零。Splicing the odd column serial data and the even column serial data to restore the first exposure value data packet and the second exposure value data packet extracted from the image data, wherein the first exposure value in the image data One of the value data packet and the second exposure value data packet is zero.
  23. 根据权利要求14所述的装置,其特征在于,所述处理电路在实现所述提取所述图像数据中的第一曝光值数据包和第二曝光值数据包时,用于实现:The device according to claim 14, wherein the processing circuit is used to implement the following when extracting the first exposure value data packet and the second exposure value data packet in the image data:
    判断当前所处的工作模式;Determine the current working mode;
    若判断到工作模式为双传感器模式,通过第一输入路径获取所述第一曝光值数据包,并通过第二输入路径获取所述第二曝光值数据包。If it is determined that the working mode is the dual sensor mode, the first exposure value data packet is acquired through the first input path, and the second exposure value data packet is acquired through the second input path.
  24. 根据权利要求23所述的装置,其特征在于,所述第一曝光值数据包和所述第二曝光值数据包为短曝光值数据包、长曝光值数据包或两者的组合。The device according to claim 23, wherein the first exposure value data packet and the second exposure value data packet are short exposure value data packets, long exposure value data packets, or a combination of both.
  25. 根据权利要求14、15、19、21、22或23所述的装置,其特征在于,所述处理电路在实现所述获取图像数据时,用于实现:The device according to claim 14, 15, 19, 21, 22 or 23, wherein the processing circuit is used to implement the following when implementing the image data acquisition:
    通过可扩展内嵌时钟的低电压信号SLVS-EC接口获取图像数据。The image data is acquired through the low-voltage signal SLVS-EC interface with an expandable embedded clock.
  26. 根据权利要求25所述的装置,其特征在于,所述处理电路在实现所述对所述第一曝光值数据包和所述第二曝光值数据包执行不同的时序转化处理时,用于实现:The device according to claim 25, wherein the processing circuit is configured to implement different time sequence conversion processing on the first exposure value data packet and the second exposure value data packet when implementing :
    采用第一时序转化模块将所述第一曝光值数据包的时序转化为VBUS接口时序,并采用第二时序转化模块将所述第二曝光值数据包的时序转化为VBUS接口时序,以分别通过不同的VBUS接口传输给后级的图像信号处理装置。The first timing conversion module is used to convert the timing of the first exposure value data packet into the VBUS interface timing, and the second timing conversion module is used to convert the timing of the second exposure value data packet into the VBUS interface timing to pass through Different VBUS interfaces are transmitted to the subsequent image signal processing device.
  27. 一种图像数据传输方法,其特征在于,包括:An image data transmission method, characterized in that it comprises:
    图像传感器发送图像数据;The image sensor sends image data;
    接口时序转化装置从所述图像传感器获取图像数据;The interface timing conversion device obtains image data from the image sensor;
    所述接口时序转化装置提取所述图像数据中的第一曝光值数据包和第二曝光值数据包;The interface timing conversion device extracts the first exposure value data packet and the second exposure value data packet in the image data;
    所述接口时序转化装置将所述第一曝光值数据包分配至第一传输路径,并将所述第二曝光值数据包分配至第二传输路径;The interface timing conversion device allocates the first exposure value data packet to a first transmission path, and allocates the second exposure value data packet to a second transmission path;
    所述接口时序转化装置对所述第一曝光值数据包和所述第二曝光值数据包执行不同的时序转化处理;The interface timing conversion device performs different timing conversion processing on the first exposure value data packet and the second exposure value data packet;
    所述接口时序转化装置通过不同的接口传输给后级的图像信号处理装置。The interface timing conversion device is transmitted to the subsequent image signal processing device through different interfaces.
  28. 根据权利要求27所述的方法,其特征在于,所述接口时序转化装置提取所述图像数据中的第一曝光值数据包和第二曝光值数据包,包括:The method according to claim 27, wherein the interface timing conversion device extracting the first exposure value data packet and the second exposure value data packet in the image data comprises:
    判断当前所处的工作模式;Determine the current working mode;
    若判断到工作模式为第一HDR模式,通过数据包分发电路将所述图像数据进行拆分以分别提取到所述第一曝光值数据包和所述第二曝光值数据包,其中,所述第一曝光值数据包为长曝光值数据包,所述第二曝光值数据包为短曝光值数据包。If it is determined that the working mode is the first HDR mode, the image data is split by a data packet distribution circuit to extract the first exposure value data packet and the second exposure value data packet respectively, wherein the The first exposure value data packet is a long exposure value data packet, and the second exposure value data packet is a short exposure value data packet.
  29. 根据权利要求28所述的方法,其特征在于,所述接口时序转化装置将所述第二曝光值数据包分配至第二传输路径,还包括:The method according to claim 28, wherein the interface timing conversion device assigns the second exposure value data packet to a second transmission path, further comprising:
    通过图像修剪电路移除所述数据包分发电路分配过来的所述第二曝光值数据包中的填充数据包。The padding data packet in the second exposure value data packet allocated by the data packet distribution circuit is removed by the image trimming circuit.
  30. 根据权利要求28所述的方法,其特征在于,所述接口时序转化装置从所述图像传感器获取图像数据,包括:The method according to claim 28, wherein the interface timing conversion device acquiring image data from the image sensor comprises:
    通过同一接口接收模块的输入路径获取所述第一曝光值数据包和所述第二曝光值数据包。The first exposure value data packet and the second exposure value data packet are acquired through the input path of the same interface receiving module.
  31. 根据权利要求30所述的方法,其特征在于,所述长曝光值数据包和所述短曝光值数据包构建的所述图像数据为高动态范围HDR图像数据。The method according to claim 30, wherein the image data constructed by the long exposure value data packet and the short exposure value data packet is high dynamic range HDR image data.
  32. 根据权利要求27所述的方法,其特征在于,所述接口时序转化装置提取所述图像数据中的第一曝光值数据包和第二曝光值数据包,包括:The method according to claim 27, wherein the interface timing conversion device extracting the first exposure value data packet and the second exposure value data packet in the image data comprises:
    判断当前所处的工作模式;Determine the current working mode;
    若判断到工作模式为第二HDR模式,通过第一接口接收模块的输入路径获取所述第一曝光值数据包,并通过第二接口接收模块的输入路径获取所述第二曝光值数据包。If it is determined that the working mode is the second HDR mode, the first exposure value data packet is acquired through the input path of the first interface receiving module, and the second exposure value data packet is acquired through the input path of the second interface receiving module.
  33. 根据权利要求32所述的方法,其特征在于,所述第一曝光值数据包为长曝光值数据包,所述第二曝光值数据包为短曝光值数据包,且所述长曝光值数据包和所述短曝光值数据包构建的所述图像数据为高动态范围HDR图像数据。The method according to claim 32, wherein the first exposure value data packet is a long exposure value data packet, the second exposure value data packet is a short exposure value data packet, and the long exposure value data packet The image data constructed by the packet and the short exposure value data packet are high dynamic range HDR image data.
  34. 根据权利要求27所述的方法,其特征在于,所述接口时序转化装置提取所述图像数据中的第一曝光值数据包和第二曝光值数据包,包括:The method according to claim 27, wherein the interface timing conversion device extracting the first exposure value data packet and the second exposure value data packet in the image data comprises:
    判断当前所处的工作模式;Determine the current working mode;
    若判断到工作模式为单端口模式,通过同一接口接收模块的输入路径获取所述图像数据,以提取第一曝光值数据包和第二曝光值数据包,其中,第一曝光值数据包和第二曝光值数据包的其中之一为零。If it is determined that the working mode is the single-port mode, the image data is obtained through the input path of the receiving module of the same interface to extract the first exposure value data packet and the second exposure value data packet, wherein the first exposure value data packet and the second exposure value data packet One of the two exposure value data packets is zero.
  35. 根据权利要求27所述的方法,其特征在于,所述接口时序转化装置提取所述图像数据中的第一曝光值数据包和第二曝光值数据包,包括:The method according to claim 27, wherein the interface timing conversion device extracting the first exposure value data packet and the second exposure value data packet in the image data comprises:
    判断当前所处的工作模式;Determine the current working mode;
    若判断到工作模式为双端口模式,通过第一接口接收模块的输入路径获取所述图像数据中的奇数列串行数据,并通过第二接口接收模块的输入路径获取所述图像数据中的偶数列串行数据;If it is determined that the working mode is the dual-port mode, obtain the odd-numbered serial data in the image data through the input path of the first interface receiving module, and obtain the even-numbered serial data in the image data through the input path of the second interface receiving module Column serial data;
    通过像素拼接电路拼接所述第一接口接收模块的奇数列串行数据和所述第二接口接收模块的偶数列串行数据以还原提取到所述图像数据的第一曝光值数据包和第二曝光值数据包,其中,所述图像数据中的第一曝光值数据包和第二曝光值数据包的其中之一为零。The odd-numbered column serial data of the first interface receiving module and the even-numbered column serial data of the second interface receiving module are spliced by a pixel splicing circuit to restore the first exposure value data packet and the second data packet extracted from the image data. The exposure value data packet, wherein one of the first exposure value data packet and the second exposure value data packet in the image data is zero.
  36. 根据权利要求27所述的方法,其特征在于,所述接口时序转化装置提取所述图像数据中的第一曝光值数据包和第二曝光值数据包,包括:The method according to claim 27, wherein the interface timing conversion device extracting the first exposure value data packet and the second exposure value data packet in the image data comprises:
    判断当前所处的工作模式;Determine the current working mode;
    若判断到工作模式为双传感器模式,通过第一接口接收模块的输入路径获取所述第一曝光值数据包,并通过第二接口接收模块的输入路径获取所述第二 曝光值数据包。If it is determined that the working mode is the dual sensor mode, the first exposure value data packet is acquired through the input path of the first interface receiving module, and the second exposure value data packet is acquired through the input path of the second interface receiving module.
  37. 根据权利要求36所述的方法,其特征在于,所述第一曝光值数据包和所述第二曝光值数据包为短曝光值数据包、长曝光值数据包或两者的组合。The method according to claim 36, wherein the first exposure value data packet and the second exposure value data packet are a short exposure value data packet, a long exposure value data packet or a combination of both.
  38. 根据权利要求27、28、32、34、35或36所述的方法,其特征在于,所述接口时序转化装置从所述图像传感器获取图像数据,包括:The method according to claim 27, 28, 32, 34, 35, or 36, wherein the interface timing conversion device acquiring image data from the image sensor comprises:
    通过可扩展内嵌时钟的低电压信号SLVS-EC接口接收模块获取图像数据。The image data is obtained through the low-voltage signal SLVS-EC interface receiving module with expandable embedded clock.
  39. 根据权利要求38所述的方法,其特征在于,所述接口时序转化装置对所述第一曝光值数据包和所述第二曝光值数据包执行不同的时序转化处理,包括:The method according to claim 38, wherein the interface timing conversion device performs different timing conversion processing on the first exposure value data packet and the second exposure value data packet, comprising:
    采用第一接口时序转化模块将所述第一曝光值数据包的时序转化为VBUS接口时序,并采用第二接口时序转化模块将所述第二曝光值数据包的时序转化为VBUS接口时序,以分别通过不同的VBUS接口传输给后级的图像信号处理装置。The first interface timing conversion module is used to convert the timing of the first exposure value data packet into the VBUS interface timing, and the second interface timing conversion module is used to convert the timing of the second exposure value data packet into the VBUS interface timing to They are respectively transmitted to the subsequent image signal processing device through different VBUS interfaces.
  40. 一种图像数据传输系统,其特征在于,包括图像传感器、接口时序转化装置和图像信号处理装置:An image data transmission system, characterized in that it comprises an image sensor, an interface timing conversion device and an image signal processing device:
    所述图像传感器,用于发送图像数据;The image sensor is used to send image data;
    所述接口时序转化装置,用于从所述图像传感器获取图像数据;The interface timing conversion device is used to obtain image data from the image sensor;
    所述接口时序转化装置,用于提取所述图像数据中的第一曝光值数据包和第二曝光值数据包;The interface timing conversion device is used to extract a first exposure value data packet and a second exposure value data packet in the image data;
    所述接口时序转化装置,用于将所述第一曝光值数据包分配至第一传输路径,并将所述第二曝光值数据包分配至第二传输路径;The interface timing conversion device is configured to allocate the first exposure value data packet to a first transmission path, and allocate the second exposure value data packet to a second transmission path;
    所述接口时序转化装置,用于对所述第一曝光值数据包和所述第二曝光值数据包执行不同的时序转化处理;The interface timing conversion device is configured to perform different timing conversion processing on the first exposure value data packet and the second exposure value data packet;
    所述接口时序转化装置,用于通过不同的接口传输给所述图像信号处理装置。The interface timing conversion device is used to transmit to the image signal processing device through different interfaces.
  41. 根据权利要求40所述的系统,其特征在于,所述接口时序转化装置包括处理电路和数据分发电路,在提取所述图像数据中的第一曝光值数据包和第二曝光值数据包时:The system according to claim 40, wherein the interface timing conversion device comprises a processing circuit and a data distribution circuit, and when extracting the first exposure value data packet and the second exposure value data packet in the image data:
    所述处理电路,用于判断当前所处的工作模式;The processing circuit is used to determine the current working mode;
    若判断到工作模式为第一HDR模式,所述数据包分发电路,用于将所述图 像数据进行拆分以分别提取到所述第一曝光值数据包和所述第二曝光值数据包,其中,所述第一曝光值数据包为长曝光值数据包,所述第二曝光值数据包为短曝光值数据包。If it is determined that the working mode is the first HDR mode, the data packet distribution circuit is configured to split the image data to extract the first exposure value data packet and the second exposure value data packet respectively, Wherein, the first exposure value data packet is a long exposure value data packet, and the second exposure value data packet is a short exposure value data packet.
  42. 根据权利要求41所述的系统,其特征在于,所述接口时序转化装置包括图像修剪电路,在将所述第二曝光值数据包分配至第二传输路径时:The system according to claim 41, wherein the interface timing conversion device comprises an image trimming circuit, and when the second exposure value data packet is allocated to the second transmission path:
    所述图像修剪电路,用于移除所述数据包分发电路分配过来的所述第二曝光值数据包中的填充数据包。The image trimming circuit is used to remove the padding data packet in the second exposure value data packet distributed by the data packet distribution circuit.
  43. 根据权利要求41所述的系统,其特征在于,所述接口时序转化装置包括接口接收模块,在从所述图像传感器获取图像数据时:The system according to claim 41, wherein the interface timing conversion device comprises an interface receiving module, and when acquiring image data from the image sensor:
    所述处理电路通过同一所述接口接收模块的输入路径获取所述第一曝光值数据包和所述第二曝光值数据包。The processing circuit obtains the first exposure value data packet and the second exposure value data packet through the input path of the same interface receiving module.
  44. 根据权利要求43所述的系统,其特征在于,所述长曝光值数据包和所述短曝光值数据包构建的所述图像数据为高动态范围HDR图像数据。The system according to claim 43, wherein the image data constructed by the long exposure value data packet and the short exposure value data packet are high dynamic range HDR image data.
  45. 根据权利要求40所述的系统,其特征在于,所述接口时序转化装置包括处理电路、第一接口接收模块和第二接口接收模块,在提取所述图像数据中的第一曝光值数据包和第二曝光值数据包时:The system according to claim 40, wherein the interface timing conversion device comprises a processing circuit, a first interface receiving module and a second interface receiving module, in extracting the first exposure value data packet and the second interface receiving module in the image data. When the second exposure value data packet:
    所述处理电路,用于判断当前所处的工作模式;The processing circuit is used to determine the current working mode;
    若判断到工作模式为第二HDR模式,所述处理电路通过所述第一接口接收模块的输入路径获取所述第一曝光值数据包,并通过所述第二接口接收模块的输入路径获取所述第二曝光值数据包。If it is determined that the working mode is the second HDR mode, the processing circuit obtains the first exposure value data packet through the input path of the first interface receiving module, and obtains all data packets through the input path of the second interface receiving module. The second exposure value data packet.
  46. 根据权利要求45所述的系统,其特征在于,所述第一曝光值数据包为长曝光值数据包,所述第二曝光值数据包为短曝光值数据包,且所述长曝光值数据包和所述短曝光值数据包构建的所述图像数据为高动态范围HDR图像数据。The system according to claim 45, wherein the first exposure value data packet is a long exposure value data packet, the second exposure value data packet is a short exposure value data packet, and the long exposure value data packet The image data constructed by the packet and the short exposure value data packet are high dynamic range HDR image data.
  47. 根据权利要求40所述的系统,其特征在于,所述接口时序转化装置包括处理电路和接口接收模块,在提取所述图像数据中的第一曝光值数据包和第二曝光值数据包时:The system according to claim 40, wherein the interface timing conversion device comprises a processing circuit and an interface receiving module, and when extracting the first exposure value data packet and the second exposure value data packet in the image data:
    所述处理电路,用于判断当前所处的工作模式;The processing circuit is used to determine the current working mode;
    若判断到工作模式为单端口模式,所述处理电路用于通过同一所述接口接收模块的输入路径获取所述图像数据,以提取第一曝光值数据包和第二曝光值数据包,其中,第一曝光值数据包和第二曝光值数据包的其中之一为零。If it is determined that the working mode is the single-port mode, the processing circuit is configured to obtain the image data through the input path of the same interface receiving module to extract the first exposure value data packet and the second exposure value data packet, wherein, One of the first exposure value data packet and the second exposure value data packet is zero.
  48. 根据权利要求40所述的系统,其特征在于,所述接口时序转化装置包括处理电路、第一接口接收模块、第二接口接收模块和像素拼接电路,在提取所述图像数据中的第一曝光值数据包和第二曝光值数据包时:The system according to claim 40, wherein the interface timing conversion device includes a processing circuit, a first interface receiving module, a second interface receiving module, and a pixel stitching circuit, and the first exposure in extracting the image data Value data packet and second exposure value data packet:
    所述处理电路,用于判断当前所处的工作模式;The processing circuit is used to determine the current working mode;
    若判断到工作模式为双端口模式,所述处理电路用于通过所述第一接口接收模块的输入路径获取所述图像数据中的奇数列串行数据,并通过所述第二接口接收模块的输入路径获取所述图像数据中的偶数列串行数据;If it is determined that the working mode is the dual-port mode, the processing circuit is configured to obtain the odd-numbered serial data in the image data through the input path of the first interface receiving module, and receive the serial data of the module through the second interface The input path acquires even-numbered serial data in the image data;
    所述处理电路,用于通过所述像素拼接电路拼接所述第一接口接收模块的奇数列串行数据和所述第二接口接收模块的偶数列串行数据以还原提取到所述图像数据的第一曝光值数据包和第二曝光值数据包,其中,所述图像数据中的第一曝光值数据包和第二曝光值数据包的其中之一为零。The processing circuit is used to splice the odd-numbered serial data of the first interface receiving module and the even-numbered serial data of the second interface receiving module through the pixel splicing circuit to restore the extracted image data The first exposure value data packet and the second exposure value data packet, wherein one of the first exposure value data packet and the second exposure value data packet in the image data is zero.
  49. 根据权利要求40所述的系统,其特征在于,所述接口时序转化装置包括处理电路、第一接口接收模块和第二接口接收模块,在提取所述图像数据中的第一曝光值数据包和第二曝光值数据包时:The system according to claim 40, wherein the interface timing conversion device comprises a processing circuit, a first interface receiving module and a second interface receiving module, in extracting the first exposure value data packet and the second interface receiving module in the image data. When the second exposure value data packet:
    所述处理电路,用于判断当前所处的工作模式;The processing circuit is used to determine the current working mode;
    若判断到工作模式为双传感器模式,所述处理电路用于通过所述第一接口接收模块的输入路径获取所述第一曝光值数据包,并通过所述第二接口接收模块的输入路径获取所述第二曝光值数据包。If it is determined that the working mode is the dual sensor mode, the processing circuit is configured to obtain the first exposure value data packet through the input path of the first interface receiving module, and obtain the first exposure value data packet through the input path of the second interface receiving module The second exposure value data packet.
  50. 根据权利要求49所述的系统,其特征在于,所述第一曝光值数据包和所述第二曝光值数据包为短曝光值数据包、长曝光值数据包或两者的组合。The system according to claim 49, wherein the first exposure value data packet and the second exposure value data packet are a short exposure value data packet, a long exposure value data packet, or a combination of both.
  51. 根据权利要求40、41、45、47、48或49所述的系统,其特征在于,所述接口时序转化装置包括可扩展内嵌时钟的低电压信号SLVS-EC接口接收模块,用于从所述图像传感器获取图像数据。The system according to claim 40, 41, 45, 47, 48, or 49, wherein the interface timing conversion device comprises a low-voltage signal SLVS-EC interface receiving module with an expandable embedded clock for receiving from The image sensor acquires image data.
  52. 根据权利要求51所述的系统,其特征在于,所述接口时序转化装置,用于采用第一接口时序转化模块将所述第一曝光值数据包的时序转化为VBUS接口时序,并采用第二接口时序转化模块将所述第二曝光值数据包的时序转化为VBUS接口时序,以分别通过不同的VBUS接口传输给后级的图像信号处理装置。The system according to claim 51, wherein the interface timing conversion device is configured to use a first interface timing conversion module to convert the timing of the first exposure value data packet into a VBUS interface timing, and use a second The interface timing conversion module converts the timing of the second exposure value data packet into a VBUS interface timing, so as to be transmitted to the subsequent image signal processing device through different VBUS interfaces.
  53. 一种存储介质,其特征在于,所述存储介质存储有计算机程序,所述计算机程序被处理电路执行时使所述处理电路实现:A storage medium, characterized in that the storage medium stores a computer program, and when the computer program is executed by a processing circuit, the processing circuit realizes:
    获取图像数据;Obtain image data;
    提取所述图像数据中的第一曝光值数据包和第二曝光值数据包;Extracting the first exposure value data packet and the second exposure value data packet in the image data;
    将所述第一曝光值数据包分配至第一传输路径,并将所述第二曝光值数据包分配至第二传输路径,以对所述第一曝光值数据包和所述第二曝光值数据包执行不同的时序转化处理。The first exposure value data packet is allocated to a first transmission path, and the second exposure value data packet is allocated to a second transmission path, so as to compare the first exposure value data packet and the second exposure value The data packets perform different timing conversion processing.
  54. 根据权利要求53所述的存储介质,其特征在于,所述处理电路在实现所述提取所述图像数据中的第一曝光值数据包和第二曝光值数据包时,用于实现:The storage medium according to claim 53, wherein the processing circuit is used to implement the extraction of the first exposure value data packet and the second exposure value data packet in the image data:
    判断当前所处的工作模式;Determine the current working mode;
    若判断到工作模式为第一HDR模式,将所述图像数据进行拆分以分别提取到所述第一曝光值数据包和所述第二曝光值数据包,其中,所述第一曝光值数据包为长曝光值数据包,所述第二曝光值数据包为短曝光值数据包。If it is determined that the working mode is the first HDR mode, the image data is split to extract the first exposure value data packet and the second exposure value data packet respectively, wherein the first exposure value data The packet is a long exposure value data packet, and the second exposure value data packet is a short exposure value data packet.
  55. 根据权利要求54所述的存储介质,其特征在于,所述处理电路在实现所述将所述第二曝光值数据包分配至第二传输路径时,还用于实现:The storage medium according to claim 54, characterized in that, when the processing circuit realizes the distribution of the second exposure value data packet to the second transmission path, it is further configured to realize:
    移除所述第二曝光值数据包中的填充数据包。Removing the padding data packet in the second exposure value data packet.
  56. 根据权利要求54所述的存储介质,其特征在于,所述处理电路在实现所述获取图像数据时,用于实现:The storage medium according to claim 54, characterized in that, when the processing circuit implements the acquisition of image data, it is used to implement:
    通过同一输入路径获取所述第一曝光值数据包和所述第二曝光值数据包。Obtain the first exposure value data packet and the second exposure value data packet through the same input path.
  57. 根据权利要求56所述的存储介质,其特征在于,所述长曝光值数据包和所述短曝光值数据包构建的所述图像数据为高动态范围HDR图像数据。The storage medium according to claim 56, wherein the image data constructed by the long exposure value data packet and the short exposure value data packet is high dynamic range HDR image data.
  58. 根据权利要求53所述的存储介质,其特征在于,所述处理电路在实现所述提取所述图像数据中的第一曝光值数据包和第二曝光值数据包时,用于实现:The storage medium according to claim 53, wherein the processing circuit is used to implement the extraction of the first exposure value data packet and the second exposure value data packet in the image data:
    判断当前所处的工作模式;Determine the current working mode;
    若判断到工作模式为第二HDR模式,通过第一输入路径获取所述第一曝光值数据包,并通过第二输入路径获取所述第二曝光值数据包。If it is determined that the working mode is the second HDR mode, the first exposure value data packet is acquired through the first input path, and the second exposure value data packet is acquired through the second input path.
  59. 根据权利要求58所述的存储介质,其特征在于,所述第一曝光值数据包为长曝光值数据包,所述第二曝光值数据包为短曝光值数据包,且所述长曝光值数据包和所述短曝光值数据包构建的所述图像数据为高动态范围HDR图像数据。The storage medium according to claim 58, wherein the first exposure value data packet is a long exposure value data packet, the second exposure value data packet is a short exposure value data packet, and the long exposure value The image data constructed by the data packet and the short exposure value data packet is high dynamic range HDR image data.
  60. 根据权利要求53所述的存储介质,其特征在于,所述处理电路在实现所述提取所述图像数据中的第一曝光值数据包和第二曝光值数据包时,用于实现:The storage medium according to claim 53, wherein the processing circuit is used to implement the extraction of the first exposure value data packet and the second exposure value data packet in the image data:
    判断当前所处的工作模式;Determine the current working mode;
    若判断到工作模式为单端口模式,通过同一输入路径获取所述图像数据,以提取第一曝光值数据包和第二曝光值数据包,其中,第一曝光值数据包和第二曝光值数据包的其中之一为零。If it is determined that the working mode is the single-port mode, the image data is obtained through the same input path to extract the first exposure value data packet and the second exposure value data packet, wherein the first exposure value data packet and the second exposure value data packet One of the packets is zero.
  61. 根据权利要求53所述的存储介质,其特征在于,所述处理电路在实现所述提取所述图像数据中的第一曝光值数据包和第二曝光值数据包时,用于实现:The storage medium according to claim 53, wherein the processing circuit is used to implement the extraction of the first exposure value data packet and the second exposure value data packet in the image data:
    判断当前所处的工作模式;Determine the current working mode;
    若判断到工作模式为双端口模式,通过第一输入路径获取所述图像数据中的奇数列串行数据,并通过第二输入路径获取所述图像数据中的偶数列串行数据;If it is determined that the working mode is the dual-port mode, obtain the odd-numbered serial data in the image data through the first input path, and obtain the even-numbered serial data in the image data through the second input path;
    拼接所述奇数列串行数据和所述偶数列串行数据以还原提取到所述图像数据的第一曝光值数据包和第二曝光值数据包,其中,所述图像数据中的第一曝光值数据包和第二曝光值数据包的其中之一为零。Splicing the odd column serial data and the even column serial data to restore the first exposure value data packet and the second exposure value data packet extracted from the image data, wherein the first exposure value in the image data One of the value data packet and the second exposure value data packet is zero.
  62. 根据权利要求53所述的存储介质,其特征在于,所述处理电路在实现所述提取所述图像数据中的第一曝光值数据包和第二曝光值数据包时,用于实现:The storage medium according to claim 53, wherein the processing circuit is used to implement the extraction of the first exposure value data packet and the second exposure value data packet in the image data:
    判断当前所处的工作模式;Determine the current working mode;
    若判断到工作模式为双传感器模式,通过第一输入路径获取所述第一曝光值数据包,并通过第二输入路径获取所述第二曝光值数据包。If it is determined that the working mode is the dual sensor mode, the first exposure value data packet is acquired through the first input path, and the second exposure value data packet is acquired through the second input path.
  63. 根据权利要求62所述的存储介质,其特征在于,所述第一曝光值数据包和所述第二曝光值数据包为短曝光值数据包、长曝光值数据包或两者的组合。The storage medium according to claim 62, wherein the first exposure value data packet and the second exposure value data packet are a short exposure value data packet, a long exposure value data packet, or a combination of both.
  64. 根据权利要求53、54、58、60、61或62所述的存储介质,其特征在于,所述处理电路在实现所述获取图像数据时,用于实现:The storage medium according to claim 53, 54, 58, 60, 61, or 62, wherein the processing circuit is used to realize:
    通过可扩展内嵌时钟的低电压信号SLVS-EC接口获取图像数据。The image data is acquired through the low-voltage signal SLVS-EC interface with an expandable embedded clock.
  65. 根据权利要求64所述的存储介质,其特征在于,所述处理电路在实现所述对所述第一曝光值数据包和所述第二曝光值数据包执行不同的时序转化处 理时,用于实现:The storage medium according to claim 64, wherein the processing circuit is configured to perform different time sequence conversion processing on the first exposure value data packet and the second exposure value data packet when implementing achieve:
    采用第一时序转化模块将所述第一曝光值数据包的时序转化为VBUS接口时序,并采用第二时序转化模块将所述第二曝光值数据包的时序转化为VBUS接口时序,以分别通过不同的VBUS接口传输给后级的图像信号处理装置。The first timing conversion module is used to convert the timing of the first exposure value data packet into the VBUS interface timing, and the second timing conversion module is used to convert the timing of the second exposure value data packet into the VBUS interface timing to pass through Different VBUS interfaces are transmitted to the subsequent image signal processing device.
PCT/CN2019/083949 2019-04-23 2019-04-23 Interface timing conversion device, image data processing method, transmission method and system, and storage medium WO2020215220A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201980005509.6A CN111373736A (en) 2019-04-23 2019-04-23 Interface timing sequence conversion device, image data processing method, transmission method and system, and storage medium
PCT/CN2019/083949 WO2020215220A1 (en) 2019-04-23 2019-04-23 Interface timing conversion device, image data processing method, transmission method and system, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2019/083949 WO2020215220A1 (en) 2019-04-23 2019-04-23 Interface timing conversion device, image data processing method, transmission method and system, and storage medium

Publications (1)

Publication Number Publication Date
WO2020215220A1 true WO2020215220A1 (en) 2020-10-29

Family

ID=71212375

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/083949 WO2020215220A1 (en) 2019-04-23 2019-04-23 Interface timing conversion device, image data processing method, transmission method and system, and storage medium

Country Status (2)

Country Link
CN (1) CN111373736A (en)
WO (1) WO2020215220A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112616013B (en) * 2020-12-03 2022-03-04 上海龙旗科技股份有限公司 Method and apparatus for implementing automatic HDR

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101365071A (en) * 2007-09-27 2009-02-11 豪威科技有限公司 Double-model camera scheme, equipment, system and method
CN106686326A (en) * 2016-12-27 2017-05-17 上海集成电路研发中心有限公司 Full-frame image sensor system
US20190082091A1 (en) * 2017-09-12 2019-03-14 Adobe Systems Incorporated Automatically determining a set of exposure values for a high dynamic range image capture device

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7296286B2 (en) * 2002-01-31 2007-11-13 Hitachi Kokusai Electric Inc. Method and apparatus for transmitting image signals of images having different exposure times via a signal transmission path, method and apparatus for receiving thereof, and method and system for transmitting and receiving thereof
TWI686085B (en) * 2012-11-29 2020-02-21 日商索尼半導體解決方案公司 Data transmission method of image pickup device and image sensor, information processing device, information processing method and program
US20170366766A1 (en) * 2016-06-16 2017-12-21 Semiconductor Components Industries, Llc Image sensors having high dynamic range functionalities
CN108337449A (en) * 2018-04-12 2018-07-27 Oppo广东移动通信有限公司 High-dynamic-range image acquisition method, device based on dual camera and equipment

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101365071A (en) * 2007-09-27 2009-02-11 豪威科技有限公司 Double-model camera scheme, equipment, system and method
CN106686326A (en) * 2016-12-27 2017-05-17 上海集成电路研发中心有限公司 Full-frame image sensor system
US20190082091A1 (en) * 2017-09-12 2019-03-14 Adobe Systems Incorporated Automatically determining a set of exposure values for a high dynamic range image capture device

Also Published As

Publication number Publication date
CN111373736A (en) 2020-07-03

Similar Documents

Publication Publication Date Title
WO2019085816A1 (en) Service data transmission method and apparatus
TWI465919B (en) Electronic device with thunderbolt interface, connecting method thereof and docking apparatus
CN113132552B (en) Video stream processing method and device
CN105611177A (en) Method for realizing multiple-camera simultaneous photographing of panorama camera and panorama camera
CN105573922B (en) Method and device for realizing data format conversion
US9826282B2 (en) Reception apparatus, reception method, and recording medium
WO2019092952A1 (en) Transmission device
US20220368564A1 (en) PCIe-Based Data Transmission Method and Apparatus
US20180376181A1 (en) Networked video communication applicable to gigabit ethernet
US9030609B1 (en) Segmented video data processing
JP2006311508A (en) Data transmission system, and transmission side apparatus and reception side apparatus thereof
CN110225316B (en) Software and hardware cooperative multi-channel video processing device and system
WO2020215220A1 (en) Interface timing conversion device, image data processing method, transmission method and system, and storage medium
US10552980B2 (en) Image processing apparatus, image processing method, and storage medium
US8237721B2 (en) Information handling system and method for using main link data channels
US11956344B2 (en) Communication apparatus, method for controlling communication apparatus, and storage medium
WO2019144872A1 (en) Compositing video signals and stripping composite video signal
CN113498600A (en) PCIe-based data transmission method and device
WO2022218080A1 (en) Prepositive image signal processing apparatus and related product
US20130258163A1 (en) Image processing apparatus and control method therefor
JP2017034418A (en) File name conversion device, method and program and recording system
JP2014003491A (en) Transmitter, receiver and program of broadband video signal
US20240104232A1 (en) Information processing apparatus, control method thereof, storage medium, and information processing system
KR102137433B1 (en) Apparatus and method for managing image
CN112995557B (en) Parallel processing method and device for multichannel image

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 19926436

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 19926436

Country of ref document: EP

Kind code of ref document: A1