Search

CN-121985090-A - Image enhancement processing method and device based on HDMI video signal

CN121985090ACN 121985090 ACN121985090 ACN 121985090ACN-121985090-A

Abstract

The application discloses an image enhancement processing method and device based on HDMI video signals, and relates to the field of image signal processing and display. The method comprises the steps of obtaining an HDMI video signal, decoding the HDMI video signal to obtain pixel data and a synchronous signal, generating pixel coordinates synchronous with an HDMI clock based on the synchronous signal, performing image enhancement operation on each row of pixels of the pixel data based on the pixel coordinates to obtain an enhanced video signal, and outputting the enhanced video signal to a rear-end intelligent processing module according to the time sequence of the HDMI video signal. The application can complete image enhancement in real time on the signal layer, directly output the enhanced video signal, improve the instantaneity and reduce the complexity of the system.

Inventors

  • WEI XUAN
  • LUO QIUMING

Assignees

  • 天津宇翼开鸿智能科技有限公司

Dates

Publication Date
20260505
Application Date
20260211

Claims (10)

  1. 1. An image enhancement processing method based on HDMI video signal is characterized in that, the image enhancement processing method based on the HDMI video signal comprises the following steps: acquiring an HDMI video signal; decoding the HDMI video signal to obtain pixel data and a synchronous signal; generating pixel coordinates synchronized with an HDMI clock based on the synchronization signal; performing image enhancement operation on each row of pixels of the pixel data based on the pixel coordinates to obtain an enhanced video signal; And outputting the enhanced video signal to a rear-end intelligent processing module according to the time sequence of the HDMI video signal.
  2. 2. The method for processing the image enhancement based on the HDMI video signal according to claim 1, wherein said image enhancement operation comprises image enhancement based on a domain operator, pixel-by-pixel transform, and geometric transform; performing image enhancement operation on each row of pixels of the pixel data based on the pixel coordinates to obtain an enhanced video signal, wherein the image enhancement operation specifically comprises the following steps: If the current requirement is image enhancement based on a domain operator, writing each row of pixels of the pixel data into an enhancement calculation buffer area, reading pixels on the pixel coordinates for the current row of pixels, and performing operator calculation on the read pixels and the domain operator to obtain an enhanced video signal; if the current requirement is pixel-by-pixel conversion, converting the pixel data through table lookup, and recoding the converted pixel data to obtain an enhanced video signal; if the current requirement is geometric transformation, writing the pixel data into a transformation calculation buffer area, and carrying out operation processing on the calculation buffer area according to a corresponding scaling mode to obtain an enhanced video signal.
  3. 3. The HDMI video signal-based image enhancement processing method according to claim 2, wherein the HDMI video signal-based image enhancement processing method further comprises: And for image enhancement based on the field operator, adopting a serial communication protocol interface to carry out parameter configuration.
  4. 4. The HDMI video signal-based image enhancement processing method according to claim 2, wherein the HDMI video signal-based image enhancement processing method further comprises: for pixel-by-pixel transformations, a display look-up table is used to store the gamma curve.
  5. 5. The method for image enhancement processing based on HDMI video signal according to claim 2, wherein if the current demand is geometric transformation, writing the pixel data into a transformation calculation buffer area, and performing operation processing in the calculation buffer area according to a corresponding scaling mode, thereby obtaining an enhanced video signal, comprising: If the current requirement is geometric transformation, writing the pixel data into a transformation calculation buffer area, determining a column scaling mode according to the ratio of the number of lines of an output image to the number of lines of an input image, and determining a row scaling mode according to the ratio of the height of the output image to the height of the input image, wherein the column scaling mode comprises column expansion and column contraction; for column expansion, performing bilinear internal difference on the current pixel in the calculation buffer area to serve as an output pixel, and for column contraction, performing weighted summation on pixels in the left and right fields of the current pixel in the calculation buffer area to serve as an output pixel; For line expansion and line contraction, buffering the current pixel in the calculation buffer zone to obtain an output pixel, wherein the set line number is equal to a downward rounding value of the ratio of the height of the output image to the height of the input image; and determining the enhanced video signal according to the output pixel obtained by the pixel data after the calculation buffer area is processed according to the corresponding scaling mode.
  6. 6. The method for processing the image enhancement based on the HDMI video signal according to claim 2, wherein the image enhancement based on the field operator comprises edge detection and local contrast enhancement, the pixel-by-pixel transformation comprises gamma correction and RGB channel mapping, the geometric transformation is a geometric transformation of breadth scaling at an equal frame rate, and the geometric transformation comprises image reduction and image amplification.
  7. 7. The method for processing the image enhancement based on the HDMI video signal according to claim 1, wherein decoding the HDMI video signal to obtain the pixel data and the synchronization signal, comprises: and decoding the HDMI video signal by adopting a minimum differential transmission decoding algorithm to obtain pixel data and a synchronous signal.
  8. 8. An image enhancement processing device based on HDMI video signal, characterized in that, the image enhancement processing device based on the HDMI video signal comprises: the HDMI video signal receiving module is used for acquiring an HDMI video signal; The signal decoding module is used for decoding the HDMI video signal to obtain pixel data and a synchronous signal; A pixel coordinate generating module, configured to generate pixel coordinates synchronized with an HDMI clock based on the synchronization signal; the image enhancement module is used for carrying out image enhancement operation on each row of pixels of the pixel data based on the pixel coordinates to obtain an enhanced video signal; and the output control module is used for outputting the enhanced video signal to the rear-end intelligent processing module according to the time sequence of the HDMI video signal.
  9. 9. The HDMI video signal-based image enhancement processing apparatus according to claim 8, wherein the image enhancement operation includes field operator-based image enhancement, pixel-by-pixel transform, and geometric transform; The image enhancement module specifically comprises: The field operator enhancement unit is used for writing each row of pixels of the pixel data into an enhancement calculation buffer area if the current requirement is image enhancement based on a field operator, reading pixels on the pixel coordinates of the current row of pixels, and performing operator calculation on the read pixels and the field operator to obtain an enhanced video signal; the pixel-by-pixel conversion unit is used for converting the pixel data through table lookup if the current requirement is pixel-by-pixel conversion, and recoding the converted pixel data to obtain an enhanced video signal; And the geometric transformation unit is used for writing the pixel data into a transformation calculation buffer area if the current requirement is geometric transformation, and carrying out operation processing on the calculation buffer area according to a corresponding scaling mode to obtain an enhanced video signal.
  10. 10. The HDMI video signal-based image enhancement processing apparatus according to claim 8, further comprising: And the parameter configuration and display lookup table storage module is used for carrying out parameter configuration by adopting a serial communication protocol interface for image enhancement based on a field operator, and adopting a display lookup table to store a gamma curve for pixel-by-pixel conversion.

Description

Image enhancement processing method and device based on HDMI video signal Technical Field The present application relates to the field of image signal processing and display, and in particular, to an image enhancement processing method and apparatus based on an HDMI video signal. Background The current high-definition multimedia interface (High Definition Multimedia Interface, HDMI) video display system is generally only responsible for transmitting and decoding video signals, and all image enhancement processes (such as edge detection, gamma correction, color enhancement, geometric transformation, etc.) need to be completed in the video source or CPU/GPU image buffer. This approach has the following problems: the method comprises the steps of (1) a large-capacity DRAM (dynamic random access memory) needs to be configured because of the need of complete frame buffering, processing by using a general calculation mode of a CPU/GPU (Central processing Unit)/2) a frame-level delay exists, repeated reading and writing of a memory of an image operator further increases the delay, and the method is not suitable for a real-time industrial vision and high-speed printing system, (3) a signal chain is complex, data needs to be transmitted among a plurality of interfaces (HDMI, memory, GPU, HDMI output), synchronous control is complex, and (4) the general HDMI transmission chain is difficult to multiplex, so that the system cost and the power consumption are increased. In summary, how to directly implement image enhancement in the HDMI signal chain, so as to eliminate external frame buffer, avoid repeated reading and writing of memory, improve instantaneity and reduce complexity of the system, which is a problem to be solved in the present day. Disclosure of Invention The application aims to provide an image enhancement processing method and device based on an HDMI video signal, which can complete image enhancement in real time on a signal layer, directly output the enhanced video signal, improve the instantaneity and reduce the complexity of a system. In order to achieve the above object, the present application provides the following solutions: in a first aspect, the present application provides an image enhancement processing method based on an HDMI video signal, including: acquiring an HDMI video signal; decoding the HDMI video signal to obtain pixel data and a synchronous signal; generating pixel coordinates synchronized with an HDMI clock based on the synchronization signal; performing image enhancement operation on each row of pixels of the pixel data based on the pixel coordinates to obtain an enhanced video signal; And outputting the enhanced video signal to a rear-end intelligent processing module according to the time sequence of the HDMI video signal. In one embodiment, the image enhancement operation includes field operator based image enhancement, pixel-by-pixel transformation, and geometric transformation; performing image enhancement operation on each row of pixels of the pixel data based on the pixel coordinates to obtain an enhanced video signal, wherein the image enhancement operation specifically comprises the following steps: If the current requirement is image enhancement based on a domain operator, writing each row of pixels of the pixel data into an enhancement calculation buffer area, reading pixels on the pixel coordinates for the current row of pixels, and performing operator calculation on the read pixels and the domain operator to obtain an enhanced video signal; if the current requirement is pixel-by-pixel conversion, converting the pixel data through table lookup, and recoding the converted pixel data to obtain an enhanced video signal; if the current requirement is geometric transformation, writing the pixel data into a transformation calculation buffer area, and carrying out operation processing on the calculation buffer area according to a corresponding scaling mode to obtain an enhanced video signal. In an embodiment, the image enhancement processing method based on the HDMI video signal further includes: And for image enhancement based on the field operator, adopting a serial communication protocol interface to carry out parameter configuration. In an embodiment, the image enhancement processing method based on the HDMI video signal further includes: for pixel-by-pixel transformations, a display look-up table is used to store the gamma curve. In one embodiment, if the current requirement is geometric transformation, writing the pixel data into a transformation calculation buffer area, and performing operation processing on the calculation buffer area according to a corresponding scaling mode to obtain an enhanced video signal, wherein the operation processing specifically comprises: If the current requirement is geometric transformation, writing the pixel data into a transformation calculation buffer area, determining a column scaling mode according to the ratio of the number of line