CN118158344A - Audio-visual system for sharing image processing program and video processing method thereof - Google Patents

Audio-visual system for sharing image processing program and video processing method thereof Download PDF

Info

Publication number
CN118158344A
CN118158344A CN202211555599.6A CN202211555599A CN118158344A CN 118158344 A CN118158344 A CN 118158344A CN 202211555599 A CN202211555599 A CN 202211555599A CN 118158344 A CN118158344 A CN 118158344A
Authority
CN
China
Prior art keywords
video
format
image processing
audio
color space
Prior art date
Legal status (The legal status 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 status listed.)
Pending
Application number
CN202211555599.6A
Other languages
Chinese (zh)
Inventor
余家伟
欧欣颖
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Realtek Semiconductor Corp
Original Assignee
Realtek Semiconductor Corp
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 Realtek Semiconductor Corp filed Critical Realtek Semiconductor Corp
Priority to CN202211555599.6A priority Critical patent/CN118158344A/en
Publication of CN118158344A publication Critical patent/CN118158344A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/01Conversion of standards, e.g. involving analogue television standards or digital television standards processed at pixel level
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/44Receiver circuitry for the reception of television signals according to analogue transmission standards
    • H04N5/57Control of contrast or brightness
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N9/00Details of colour television systems
    • H04N9/12Picture reproducers
    • H04N9/31Projection devices for colour picture display, e.g. using electronic spatial light modulators [ESLM]
    • H04N9/3179Video signal processing therefor
    • H04N9/3182Colour adjustment, e.g. white balance, shading or gamut
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N9/00Details of colour television systems
    • H04N9/79Processing of colour television signals in connection with recording
    • H04N9/80Transformation of the television signal for recording, e.g. modulation, frequency changing; Inverse transformation for playback

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

An audio-visual system and its video processing method for sharing image processing program, in which the audio-visual system executes an image processing program for optimizing image for a video of a specific format, when the video format input into the audio-visual system is different from the format supported by the image processing technique in the audio-visual system, the video format can be converted by a video conversion program, so that the image processing program in the audio-visual system can be shared by the videos of different formats. In the video processing method, a second format video is received first, then a first format conversion is executed, the second format video is converted into a first format video supported by an image processing program executed in an audio-visual system, so as to execute image processing on the first format video, and then whether to execute format conversion again is determined according to a video format supported by a display device at an output end.

Description

共享图像处理程序的视听系统及其视频处理方法Audio-visual system for sharing image processing program and video processing method thereof

技术领域Technical Field

本发明涉及一种视频处理的技术,特别是一种针对不同格式的视频提供共享图像处理程序的视听系统以及包括视频格式转换的视频处理方法。The present invention relates to a video processing technology, in particular to an audio-visual system providing a shared image processing program for videos in different formats and a video processing method including video format conversion.

背景技术Background technique

在现有图像处理装置中,对于输入的图像,会根据图像的格式进行对应的图像处理程序。输入的视频格式可以是高动态范围(high dynamic range,HDR)格式的视频,或是标准动态范围(standard dynamic range,SDR)格式的视频,会需要针对不同格式的视频提供对应的分析与画质处理程序。In existing image processing devices, for input images, corresponding image processing procedures are performed according to the format of the image. The input video format can be a high dynamic range (HDR) format video or a standard dynamic range (SDR) format video, and corresponding analysis and image quality processing procedures need to be provided for videos of different formats.

可参见图1所示现有视频处理技术的示意图,在一个视频处理电路中,输入的视频10可以是高动态范围(HDR)视频或是标准动态范围(SDR)视频,因为高动态范围与标准动态范围图像在亮度(brightness)与色域(gamut)等方面的特性皆不同,也具有不同的编码,一般而言,高动态范围图像相对标准动态范围图像可以提供较丰富的颜色范围,可以呈现图像中较多细节,因此两种格式的视频图像需要分开提供不同的图像处理程序,特别是需要不同的图像处理参数。Referring to the schematic diagram of the prior art video processing technology shown in FIG1 , in a video processing circuit, the input video 10 may be a high dynamic range (HDR) video or a standard dynamic range (SDR) video. Because the high dynamic range and standard dynamic range images have different characteristics in terms of brightness and color gamut, and also have different encodings, generally speaking, high dynamic range images can provide a richer color range than standard dynamic range images, and can present more details in the image. Therefore, different image processing programs, especially different image processing parameters, are required for the two formats of video images.

图1显示范围是针对其中一种视频格式的视频处理电路或流程,并不能同时适用上述HDR与SDR等两种格式。当视频10输入视频处理电路中,先以分析单元(analyzer)100以统计方法分析视频中的图像特征,例如可得出图像的高低频成分、统计亮度的分布、图像饱和度与色调(hue)等,再个别采用不同处理参数的第一图像处理单元101与第二图像处理单元102执行图像处理,例如降噪(noise reduction)与锐化(sharpness)等加强图像的处理。FIG1 shows a video processing circuit or process for one video format, and cannot be applied to both HDR and SDR formats. When a video 10 is input into the video processing circuit, an analyzer 100 first analyzes the image features in the video using a statistical method, such as obtaining the high and low frequency components of the image, the distribution of statistical brightness, the image saturation and hue, etc., and then a first image processing unit 101 and a second image processing unit 102 with different processing parameters are used to perform image processing, such as noise reduction and sharpness, etc. to enhance the image processing.

在现有技术中,针对不同的格式的视频图像需要个别调制各种图像处理的参数,也就是在电路设计上,针对HDR与SDR等两种视频格式,因为需要不同的处理参数,就需要两组图1所示的视频处理电路或流程。In the prior art, various image processing parameters need to be modulated individually for video images of different formats. That is, in terms of circuit design, for two video formats such as HDR and SDR, two sets of video processing circuits or processes as shown in FIG. 1 are required because different processing parameters are required.

发明内容Summary of the invention

本发明涉及一种可以针对不同格式的视频共享图像处理程序的视听系统以及视频处理方法,通过共享图像处理程序就不需要针对视听系统内视频处理程序不支持的视频格式额外提供对应的处理程序。The present invention relates to an audio-visual system and a video processing method that can share image processing programs for videos of different formats. By sharing the image processing program, there is no need to provide additional corresponding processing programs for video formats not supported by the video processing program in the audio-visual system.

根据本发明实施例,所提出的共享图像处理程序的视听系统中执行所述视频处理方法,当视听系统自一视听来源接收第二格式视频,例如为HDR视频,因为不同于视听系统内图像处理程序支持的第一格式视频,如SDR视频,即执行第一格式转换,将第二格式视频转换为视听系统中执行的图像处理程序支持的第一格式视频,以对第一格式视频执行图像处理,之后输出经图像处理后的第一格式视频。According to an embodiment of the present invention, the video processing method is executed in the proposed audio-visual system that shares an image processing program. When the audio-visual system receives a second format video, such as an HDR video, from an audio-visual source, because it is different from a first format video supported by the image processing program in the audio-visual system, such as an SDR video, a first format conversion is performed to convert the second format video into a first format video supported by the image processing program executed in the audio-visual system, so as to perform image processing on the first format video, and then output the first format video after image processing.

进一步地,视听系统执行的图像处理程序中的处理参数为针对所述第一格式视频图像调制,用于优化输出至终端显示装置的视频图像。当对第一格式视频完成图像处理后,如果视听系统输出端连接的终端显示装置支持显示第二格式视频,就还需要通过第二格式转换为,产生输出至终端显示装置的第二格式视频。Furthermore, the processing parameters in the image processing program executed by the audio-visual system are modulated for the first format video image, and are used to optimize the video image output to the terminal display device. After the image processing of the first format video is completed, if the terminal display device connected to the output end of the audio-visual system supports displaying the second format video, it is also necessary to convert the second format to generate the second format video output to the terminal display device.

进一步地,所述第一格式转换的程序包括先对接收的第二格式视频逐帧由第一色彩空间转换到第二色彩空间,再对第二色彩空间的视频图像执行一电光转换程序,将数位视频信号转换为可见光信号,之后执行视频格式转换,将在第二色彩空间的第二格式视频转换为第一格式视频,并再对此第一格式视频执行一光电转换程序,进行伽玛校正,最后将经伽玛校正的第一格式视频逐帧由第二色彩空间转换到第一色彩空间,再输出至视听系统中的图像处理程序进行处理。Furthermore, the first format conversion procedure includes first converting the received second format video frame by frame from the first color space to the second color space, then executing an electro-optical conversion procedure on the video image in the second color space to convert the digital video signal into a visible light signal, then executing a video format conversion to convert the second format video in the second color space into the first format video, and then executing a photoelectric conversion procedure on the first format video to perform gamma correction, and finally converting the gamma-corrected first format video frame by frame from the second color space to the first color space, and then outputting it to the image processing procedure in the audio-visual system for processing.

进一步地,视听系统内执行优化图像的图像处理程序包括,先以统计方法分析出第一格式视频的图像特征,之后可对第一格式视频执行一种或多种图像处理,其中包括降噪、图像锐化、饱和度调整、对比与色调调整的一种或多种处理。Furthermore, the image processing program for optimizing the image executed in the audio-visual system includes first analyzing the image features of the first format video by statistical methods, and then performing one or more image processing on the first format video, including one or more processing of noise reduction, image sharpening, saturation adjustment, contrast and hue adjustment.

为使能更进一步了解本发明的特征及技术内容,请参阅以下有关本发明的详细说明与附图,然而所提供的附图仅用于提供参考与说明,并非用来对本发明加以限制。To further understand the features and technical contents of the present invention, please refer to the following detailed description and drawings of the present invention. However, the drawings provided are only for reference and description and are not intended to limit the present invention.

附图说明BRIEF DESCRIPTION OF THE DRAWINGS

图1示出了现有视频处理技术的示意图;FIG1 shows a schematic diagram of an existing video processing technology;

图2示出了视听系统应用实施例图;FIG2 shows an application example of an audio-visual system;

图3示出了视听系统中图像处理单元的实施例示意图;FIG3 is a schematic diagram showing an embodiment of an image processing unit in an audio-visual system;

图4示出了视听系统的实施例的一个示意图;FIG4 shows a schematic diagram of an embodiment of an audio-visual system;

图5示出了视听系统的实施例的另一个示意图;FIG5 shows another schematic diagram of an embodiment of an audio-visual system;

图6示出了视听系统中执行视频格式转换的各阶段单元的一个实施例图;FIG6 shows an embodiment of a diagram of various stage units for performing video format conversion in an audio-visual system;

图7示出了视听系统中执行视频格式转换的各阶段单元的另一个实施例图;FIG7 shows another embodiment of a unit for performing video format conversion at each stage in an audio-visual system;

图8示出了不同广度色域示意图;FIG8 shows a schematic diagram of color gamuts with different widths;

图9示出了电光转换函数采用的感知量化曲线实施例图;FIG9 shows an example of a perceptual quantization curve used in an electro-optical conversion function;

图10示出了光电转换函数采用的感知量化曲线实施例图;以及FIG. 10 shows an example of a perceptual quantization curve used by a photoelectric conversion function; and

图11示出了视频处理方法实施例流程图。FIG. 11 shows a flow chart of an embodiment of a video processing method.

附图标记说明:Description of reference numerals:

10:视频 100:分析单元 101:第一图像处理单元10: Video 100: Analysis unit 101: First image processing unit

102:第二图像处理单元 20:视频 200:视听处理装置102: second image processing unit 20: video 200: audio-visual processing device

202:终端显示装置 30:图像处理单元 301:第一格式视频202: terminal display device 30: image processing unit 301: first format video

310:分析单元 311:第一图像处理单元 312:第二图像处理单元310: analysis unit 311: first image processing unit 312: second image processing unit

313:输出视频 401:第二格式视频 400:格式转换单元313: output video 401: second format video 400: format conversion unit

402:第一格式视频 501:第二格式视频 511:第一格式转换单元402: first format video 501: second format video 511: first format conversion unit

512:第二格式转换单元 502:第二格式视频 61:HDR视频512: second format conversion unit 502: second format video 61: HDR video

601:第一色彩空间转换单元602:电光转换单元 603:色域转换矩阵601: first color space conversion unit 602: electro-optical conversion unit 603: color gamut conversion matrix

604:光电转换单元 605:第二色彩空间转换单元 62:SDR视频604: Photoelectric conversion unit 605: Second color space conversion unit 62: SDR video

71:SDR视频 701:第一色彩空间转换单元 702:电光转换单元71: SDR video 701: First color space conversion unit 702: Electro-optical conversion unit

703:色域转换矩阵 704:光电转换单元 705:第二色彩空间转换单元703: Color gamut conversion matrix 704: Photoelectric conversion unit 705: Second color space conversion unit

72:HDR视频72: HDR Video

步骤S111~S121:视频处理方法流程Steps S111 to S121: Video processing method flow

具体实施方式Detailed ways

以下将配合相关附图来说明本揭示文件的实施例。在附图中,相同的标号表示相同或类似的元件或方法流程。The following will illustrate the embodiments of the present disclosure with reference to the accompanying drawings. In the accompanying drawings, the same reference numerals represent the same or similar elements or method flows.

以下是通过特定的具体实施例来说明本发明的实施方式,本领域技术人员可由本说明书所公开的内容了解本发明的优点与效果。本发明可通过其他不同的具体实施例加以施行或应用,本说明书中的各项细节也可基于不同观点与应用,在不悖离本发明的构思下进行各种修改与变更。另外,本发明的附图仅为简单示意说明,并非依实际尺寸的描绘,事先声明。以下的实施方式将进一步详细说明本发明的相关技术内容,但所公开的内容并非用以限制本发明的保护范围。The following is an explanation of the embodiments of the present invention through specific embodiments. Those skilled in the art can understand the advantages and effects of the present invention from the contents disclosed in this specification. The present invention can be implemented or applied through other different specific embodiments, and the details in this specification can also be modified and changed in various ways based on different viewpoints and applications without departing from the concept of the present invention. In addition, the drawings of the present invention are only simple schematic illustrations and are not depicted according to actual sizes. It is stated in advance. The following embodiments will further explain the relevant technical contents of the present invention in detail, but the disclosed contents are not intended to limit the scope of protection of the present invention.

应当可以理解的是,虽然本文中可能会使用到“第一”、“第二”、“第三”等术语来描述各种元件或者信号,但这些元件或者信号不应受这些术语的限制。这些术语主要是用以区分一元件与另一元件,或者一信号与另一信号。另外,本文中所使用的术语“或”,应视实际情况可能包括相关联的列出项目中的任一个或者多个的组合。It should be understood that, although the terms "first", "second", "third", etc. may be used herein to describe various components or signals, these components or signals should not be limited by these terms. These terms are mainly used to distinguish one component from another component, or one signal from another signal. In addition, the term "or" used herein may include any one or more combinations of the associated listed items depending on the actual situation.

有鉴于现有技术需要针对不同格式的视频提供对应的视频处理电路或是流程,本说明书提出一种共享图像处理程序的视听系统及其视频处理方法,其中视听系统指为处理视频并输出特定格式视频的电路系统、软件与电路协同工作的系统或是装置,在所执行的视频处理方法中,通过视频转换的前期工作,让后端图像处理方案(包括软件方法或硬体)可以适用不同格式的视频图像,如高动态范围(HDR)视频与标准动态范围(SDR)视频;所述视听系统的实际产品可以是片上系统(SoC)、内嵌电视系统或任一视听处理装置中的软件或电路,视听系统实施的视听处理装置可以内部安装在电视机等显示设备中,或是外接显示设备的装置。In view of the fact that the prior art needs to provide corresponding video processing circuits or processes for videos of different formats, the present specification proposes an audio-visual system and a video processing method thereof that share an image processing program, wherein the audio-visual system refers to a circuit system, a system or a device in which software and circuits work together to process videos and output videos of a specific format. In the executed video processing method, through the preliminary work of video conversion, the back-end image processing solution (including software methods or hardware) can be applicable to video images of different formats, such as high dynamic range (HDR) video and standard dynamic range (SDR) video; the actual product of the audio-visual system can be a system on chip (SoC), an embedded television system or software or circuits in any audio-visual processing device, and the audio-visual processing device implemented by the audio-visual system can be internally installed in a display device such as a television, or a device external to a display device.

所述视听系统中的图像处理程序中采用的各种图像处理参数经调适支持一种特定视频格式,如上述SDR,并不适用HDR,但通过视听系统中格式转换的方法,可以让其中图像处理程序适用HDR视频,达到共享图像处理程序的目的。The various image processing parameters used in the image processing program in the audio-visual system are adapted to support a specific video format, such as the SDR mentioned above, and are not applicable to HDR. However, through the format conversion method in the audio-visual system, the image processing program therein can be adapted to HDR video, thereby achieving the purpose of sharing the image processing program.

视听系统的应用可以参见图2所示的实施例图,此附图示出了视听系统设于视听处理装置200中,提供多种格式视频共享图像处理程序,输出端连接显示终端显示装置202,可以是电视机或任一显示器,其中显示功能可以支持高动态范围(HDR)视频或标准动态范围(SDR)视频,终端显示装置202外接视听处理装置200,视听处理装置200中设有提供多种格式视频共享图像处理程序的视听系统,视听系统还可以内建于终端显示装置202中。经视听处理装置200接收视频20后,通过其中的视听系统运行视频处理方法,当检测到与视听系统中图像处理程序不支持的视频格式时,将视频20的格式转换为适用视听处理装置200中图像处理程序支持的视频格式,而不需要还要额外处理不同格式的视频,之后,如果需要,还可再转换为终端显示装置202支持的视频格式。The application of the audio-visual system can refer to the embodiment diagram shown in FIG2 , which shows that the audio-visual system is provided in the audio-visual processing device 200, provides a video sharing image processing program in multiple formats, and the output end is connected to the display terminal display device 202, which can be a television or any display, wherein the display function can support high dynamic range (HDR) video or standard dynamic range (SDR) video, and the terminal display device 202 is externally connected to the audio-visual processing device 200, and the audio-visual processing device 200 is provided with an audio-visual system that provides a video sharing image processing program in multiple formats, and the audio-visual system can also be built in the terminal display device 202. After the audio-visual processing device 200 receives the video 20, the video processing method is run through the audio-visual system therein, and when a video format that is not supported by the image processing program in the audio-visual system is detected, the format of the video 20 is converted into a video format supported by the image processing program in the audio-visual processing device 200, without the need to additionally process videos of different formats, and then, if necessary, it can be converted into a video format supported by the terminal display device 202.

接着,图3示出了视听系统中图像处理单元的实施例示意图,附图示出了视听系统中针对视频图像部分的图像处理单元30,而视听系统中针对音频的部分可由另一处理单元处理,在此不再赘述。Next, Figure 3 shows a schematic diagram of an embodiment of an image processing unit in an audio-visual system. The figure shows an image processing unit 30 for the video image part in the audio-visual system, while the audio part of the audio-visual system can be processed by another processing unit, which will not be repeated here.

视听系统提供多种图像处理工具,用于优化视频图像,该实施例示出了图像处理单元30接收第一格式视频301,在开发时已针对此第一格式的视频设定相关图像处理的参数,该实施例以第一图像处理单元311与第二图像处理单元312表示。相关图像处理工具如(但不受限于此)降噪(noise reduction)、图像锐化(sharpness)、饱和度(saturation)调整、对比(contrast)与色调(hue)调整等,图像处理流程可以包括其中的一种或多种处理。The audio-visual system provides a variety of image processing tools for optimizing video images. This embodiment shows that the image processing unit 30 receives a first format video 301. During development, relevant image processing parameters have been set for the first format video. This embodiment is represented by a first image processing unit 311 and a second image processing unit 312. Relevant image processing tools include (but are not limited to) noise reduction, image sharpness, saturation adjustment, contrast and hue adjustment, etc. The image processing flow may include one or more of these processes.

运行时,当图像处理单元30接收第一格式视频301,可先通过分析单元310以统计方法分析出第一格式视频301的图像特征,可得出图像处理单元30中图像处理工具相关项目的特征,如图像的高低频成分、亮度的分布、图像饱和度、颜色表现与色调等,提供给第一图像处理单元311与第二图像处理单元312后,输出终端显示装置支持的输出视频313。During operation, when the image processing unit 30 receives the first format video 301, the image features of the first format video 301 can be first analyzed by the analysis unit 310 using a statistical method, and the features of the items related to the image processing tool in the image processing unit 30 can be obtained, such as the high and low frequency components of the image, the distribution of brightness, the image saturation, the color expression and hue, etc. After being provided to the first image processing unit 311 and the second image processing unit 312, the output video 313 supported by the output terminal display device is output.

应用上述图像处理单元30实施的视听系统可参见图4与图5所示的实施例示意图,由于图像处理单元30仅针对一种格式的视频调整过参数,因此在视听系统中,需要根据输入的视频格式决定是否进行格式转换,使得视听系统中的图像处理的工具可通过此视频格式转换的机制应用在多种格式的视频上。The audio-visual system implemented using the above-mentioned image processing unit 30 can be seen in the embodiment schematic diagrams shown in Figures 4 and 5. Since the image processing unit 30 has only adjusted parameters for video of one format, in the audio-visual system, it is necessary to decide whether to perform format conversion based on the input video format, so that the image processing tools in the audio-visual system can be applied to videos of multiple formats through this video format conversion mechanism.

视听系统可以处理器、存储器与相关图像处理软件或固件实施,其中包括图像处理单元30,用以处理特定格式的视频(在此称第一格式视频)的各种图像处理工具,其中应用加强第一格式视频的处理参数。当接收不同于第一格式视频的第二格式视频401时,先通过格式转换单元400转换为第一格式视频后,才交付图像处理单元30处理,若视听系统连接的终端显示设备为支持第一格式视频,即直接输出经图像处理后的第一格式视频402。The audio-visual system can be implemented with a processor, a memory and related image processing software or firmware, including an image processing unit 30, which is used to process various image processing tools of a video in a specific format (herein referred to as a first format video), wherein processing parameters for enhancing the first format video are applied. When receiving a second format video 401 different from the first format video, it is first converted into the first format video by the format conversion unit 400 before being delivered to the image processing unit 30 for processing. If the terminal display device connected to the audio-visual system supports the first format video, the first format video 402 after image processing is directly output.

其中,根据实施例,视听系统在以图像处理单元30处理视频之前,可先通过分析手段(如图3分析单元310)以统计方法取得第二格式视频401的图像特征,包括颜色与色调等的资讯,使得图像处理单元30可针对输入的视频图像特征进行图像处理,再输出第一格式视频402。According to the embodiment, before the audiovisual system processes the video with the image processing unit 30, it can first obtain the image features of the second format video 401, including information such as color and hue, by statistical methods through analysis means (such as the analysis unit 310 in Figure 3), so that the image processing unit 30 can perform image processing on the input video image features and then output the first format video 402.

举例而言,图像处理单元30为针对标准动态范围(SDR)视频(第一格式视频)图像处理的电路或软件,当视听系统接收了高动态范围(HDR)视频(第二格式视频),即需要格式转换单元400将高动态范围视频转为标准动态范围视频,以利图像处理单元30的运行,实现共享视听处理程序,之后输出经图像处理后的标准动态范围视频(第一格式视频)。同理,另一范例为图像处理单元30支持HDR视频,若输入的视频为SDR视频,所述格式转换单元400则需将SDR视频转为HDR视频,再视终端显示装置支持的格式决定是否还要再进行一次格式转换。For example, the image processing unit 30 is a circuit or software for image processing of standard dynamic range (SDR) video (first format video). When the audio-visual system receives high dynamic range (HDR) video (second format video), the format conversion unit 400 is required to convert the high dynamic range video into a standard dynamic range video to facilitate the operation of the image processing unit 30, realize the shared audio-visual processing program, and then output the standard dynamic range video (first format video) after image processing. Similarly, another example is that the image processing unit 30 supports HDR video. If the input video is an SDR video, the format conversion unit 400 needs to convert the SDR video into an HDR video, and then decide whether to perform another format conversion depending on the format supported by the terminal display device.

根据再一实施例,若视听系统的终端显示设备支持第二格式视频,经图像处理后的视频还需要进行一次格式转换,实施例如图5显示,经视听系统接收第二格式视频501,可先分析出图像特征,之后经过第一格式转换单元511将第二格式视频501转换为其中图像处理单元30适用的第一格式视频,由图像处理单元30针对转换后的第一格式视频的图像特征进行图像处理,生成图像处理后的第一格式视频,然而,当终端显示装置支持第二格式视频,还再通过第二格式转换单元512转换输出第二格式视频502。According to another embodiment, if the terminal display device of the audio-visual system supports the second format video, the video after image processing needs to undergo a format conversion. The embodiment is shown in FIG. 5 . When the audio-visual system receives the second format video 501, the image features can be analyzed first, and then the second format video 501 is converted into the first format video suitable for the image processing unit 30 through the first format conversion unit 511. The image processing unit 30 performs image processing on the image features of the converted first format video to generate the first format video after image processing. However, when the terminal display device supports the second format video, the second format video 502 is converted and output through the second format conversion unit 512.

举例而言,视听系统中图像处理单元30中处理参数为针对SDR视频图像调制,因此当输入的视频为HDR视频,即需要所述第一格式转换单元511,将输入的HDR视频转为SDR视频,经图像处理后,可再针对视听系统处理后输出端的终端显示装置支持的视频格式(如HDR)执行第二格式转换,即通过第二格式转换单元512转换输出高动态范围视频。For example, the processing parameters in the image processing unit 30 in the audio-visual system are for SDR video image modulation. Therefore, when the input video is HDR video, the first format conversion unit 511 is required to convert the input HDR video into SDR video. After image processing, a second format conversion can be performed for the video format (such as HDR) supported by the terminal display device at the output end after processing by the audio-visual system, that is, the high dynamic range video is converted and output through the second format conversion unit 512.

如此,根据本说明书提出视频处理方法,其中将根据输入的视频格式判断是否执行格式转换,使得其中处理电路可以适用多种视频格式,其中格式转换的过程将通过电路、软件或固件方法执行视频转换,其中视频检测与转换的电路、软件或其协作形成一个视听系统。Thus, according to the present specification, a video processing method is proposed, in which whether to perform format conversion will be determined based on the input video format, so that the processing circuit can be applicable to multiple video formats, wherein the format conversion process will perform video conversion through circuits, software or firmware methods, wherein the video detection and conversion circuits, software or their collaboration form an audio-visual system.

图6示出了所述视听系统执行格式转换的各阶段单元实施例图,图中显示由HDR视频61转换为SDR视频62的处理流程,各阶段单元可由电路、软件或固件实施,其中第一色彩空间转换单元601、色域转换矩阵603与第二色彩空间转换单元605处理颜色的部分,电光转换单元602与光电转换单元604处理亮度的部分。Figure 6 shows an embodiment diagram of each stage unit of the audio-visual system performing format conversion, which shows the processing flow of converting HDR video 61 to SDR video 62. Each stage unit can be implemented by circuits, software or firmware, wherein the first color space conversion unit 601, the color gamut conversion matrix 603 and the second color space conversion unit 605 process the color part, and the electro-optical conversion unit 602 and the photoelectric conversion unit 604 process the brightness part.

举例而言,在此应用的输入视频的图像处于YUV(或YCrCb)编码系统的色彩空间(其中Y代表的是灰度与亮度,UV代表的是彩度,YUV编码的视频适合传送,最终应转为用于显示的RGB编码的视频),并可为具有广色域的超高解析度ITU BT.2020视频规格,其中定义了解析度(resolution)、帧速率(frame rate)、位深度(bit depth)、颜色表示(colorpresentation)等,可参见图8显示不同广度色域(color gamut)示意图,当中指出ITUBT.2020与BT.709两种视频规格所涵盖的色域范围。For example, the image of the input video of this application is in the color space of the YUV (or YCrCb) encoding system (where Y represents grayscale and brightness, UV represents chroma, YUV-encoded video is suitable for transmission, and should eventually be converted into RGB-encoded video for display), and can be an ultra-high-resolution ITU BT.2020 video specification with a wide color gamut, which defines resolution, frame rate, bit depth, color representation, etc., as shown in Figure 8, which shows a schematic diagram of color gamuts of different widths, which indicates the color gamut ranges covered by the two video specifications of ITUBT.2020 and BT.709.

一开始,视听系统自一视听来源接收到第二格式视频,视听来源如视听串流平台或任一外部电子装置,视听来源提供特定格式的视频,如该实施例的HDR视频61,HDR视频61可先由方便传递的色彩空间格式进行编码,如YUV,其中「Y」表示明亮度(luminance),「U」和「V」则是色度(chrominance)、浓度(saturation)。Initially, the audio-visual system receives a second format video from an audio-visual source, such as an audio-visual streaming platform or any external electronic device. The audio-visual source provides a video in a specific format, such as the HDR video 61 in this embodiment. The HDR video 61 can be first encoded in a color space format that is convenient for transmission, such as YUV, where "Y" represents brightness, and "U" and "V" represent chrominance and saturation.

此流程范例中,通过第一色彩空间转换单元601执行色彩空间(color space)转换,将处于第一色彩空间(如YUV色彩空间)的HDR视频61逐帧转换到第二色彩空间(如RGB(红绿蓝)色彩空间),转换方法之一可以根据以下转换公式一实现,但实际运行并不以此为限,此范例中[R,G,B]表示RGB色彩空间的红色、绿色与蓝色通道值,In this process example, the first color space conversion unit 601 performs color space conversion to convert the HDR video 61 in the first color space (such as YUV color space) into the second color space (such as RGB (red, green and blue) color space) frame by frame. One of the conversion methods can be implemented according to the following conversion formula 1, but the actual operation is not limited to this. In this example, [R, G, B] represents the red, green and blue channel values of the RGB color space.

[Y,U,V]为YUV色彩空间的各分量值,M1为转换矩阵(transfer matrix)。[Y, U, V] are the component values of the YUV color space, and M1 is the transfer matrix.

转换公式一:Conversion formula 1:

[R,G,B]T=M1[Y,U,V]T[R,G,B] T = M1[Y,U,V] T ;

其中 in

转换到第二色彩空间(该实施例为RGB色彩空间)的视频图像接着通过电光转换单元(electro-optical transfer function,EOTF,可采用2084EOTF)602将输入的数位视频信号转为显示用的可见光信号,其中电光转换程序中应用的电光转换函数采用一种感知量化(perceptual quantizer,PQ)曲线,可参见图9,通过感知量化曲线可将编码的数位信号分通道(红(R),绿(G),蓝(B))量化为10位(bit)的编码信息,每个量化的值对照感知量化曲线将数位编码转换信息为基于人眼特性的亮度范围,也就是通过感知量化曲线映射得出红、绿与蓝色通道的亮度值,该实施例显示最高亮度是10000尼特(cd/m2)。The video image converted to the second color space (RGB color space in this embodiment) is then converted into a visible light signal for display by an electro-optical transfer function (EOTF, 2084 EOTF may be used) 602. The electro-optical transfer function used in the electro-optical conversion process uses a perceptual quantizer (PQ) curve, as shown in FIG9 . The coded digital signal can be quantized into 10-bit coded information by channel (red (R), green (G), blue (B)) through the perceptual quantization curve. Each quantized value is compared with the perceptual quantization curve to convert the digital coded information into a brightness range based on the characteristics of the human eye, that is, the brightness values of the red, green and blue channels are obtained by mapping the perceptual quantization curve. The maximum brightness displayed in this embodiment is 10,000 nits (cd/m 2 ).

之后以色域转换矩阵(gamut conversion matrix)603执行色域转换,以从处于第二色彩空间的HDR视频格式转换到SDR视频为例,从涵盖广色域的ITU BT.2020的视频规格转换到色域范围较窄的ITU BT.709,以此对应高解析度SDR视频,其中可通过以下3x3转换矩阵将BT.2020色域映射到BT.709色域上,其中色域转换公式与转换矩阵范例如下:Then, the color gamut conversion is performed using a color gamut conversion matrix 603. For example, the conversion from the HDR video format in the second color space to the SDR video is performed, and the video specification of the ITU BT.2020 covering a wide color gamut is converted to the ITU BT.709 with a narrower color gamut range, corresponding to the high-resolution SDR video. The BT.2020 color gamut can be mapped to the BT.709 color gamut through the following 3x3 conversion matrix, wherein the color gamut conversion formula and the conversion matrix example are as follows:

当视频图像转换到BT.709规格的高解析度视频,再通过光电转换单元(optical-electro transfer function,OETF,可采用gamma 0.45)604执行光电转换程序,其中基于人眼对暗部的细节较为敏感,将视频图像在第二色彩空间(该实施例为RGB色彩空间)中各颜色通道的信息执行光电转换,并在伽玛校正下让BT.709视频规格下的亮度表现趋近Gamma 0.45曲线,也就是较适合人眼的亮度表现。When the video image is converted to a high-resolution video of the BT.709 specification, an optical-electro transfer function (OETF) 604 is used to perform an optical-electro transfer process. Based on the fact that the human eye is more sensitive to details in dark areas, the information of each color channel of the video image in the second color space (the RGB color space in this embodiment) is optically converted, and the brightness performance under the BT.709 video specification is made close to the Gamma 0.45 curve under gamma correction, that is, the brightness performance is more suitable for the human eye.

最后通过第二色彩空间转换单元605再次执行色彩空间转换,将经过伽玛校正并处于第二色彩空间(该实施例为RGB色彩空间)的视频逐帧转换回到第一色彩空间(该实施例为YUV色彩空间),在该实施例中,相对从YUV转换到RGB色彩空间的方式,转换方法之一可以根据以下转换公式二实现,但实际运行并不以此为限,此范例中[R,G,B]表示RGB色彩空间的红色、绿色与蓝色通道值,[Y,U,V]为YUV色彩空间的各分量值,M2为转换矩阵(transfer matrix)。Finally, the second color space conversion unit 605 performs color space conversion again, and converts the video that has been gamma-corrected and is in the second color space (the RGB color space in this embodiment) back to the first color space (the YUV color space in this embodiment) frame by frame. In this embodiment, relative to the method of converting from YUV to RGB color space, one of the conversion methods can be implemented according to the following conversion formula 2, but the actual operation is not limited to this. In this example, [R, G, B] represents the red, green and blue channel values of the RGB color space, [Y, U, V] is the component values of the YUV color space, and M2 is a transfer matrix.

转换公式二:Conversion formula 2:

[Y,U,V]T=M2[R,G,B]T[Y,U,V] T =M2[R,G,B] T ;

其中 in

最后将HDR视频61通过以上格式转换程序转换至BT.709规格下的SDR视频62,完成视听系统执行格式转换的目的,之后再输出至图像处理程序进行图像处理。Finally, the HDR video 61 is converted into an SDR video 62 under the BT.709 specification through the above format conversion program, completing the purpose of the audio-visual system performing format conversion, and then output to the image processing program for image processing.

根据说明书提出视频处理方法的技术概念,当接收的视频格式并非视听系统中图像处理支持的视频格式,将执行格式转换,如图6显示将HDR视频61转为SDR视频62,经视听系统内图像处理后,针对输出端的显示装置支持的视频格式,还可能需要再进行一次格式转换,如图7显示将SDR视频转为HDR视频的实施例图。According to the technical concept of the video processing method proposed in the specification, when the received video format is not a video format supported by the image processing in the audio-visual system, format conversion will be performed, as shown in FIG6 , where an HDR video 61 is converted into an SDR video 62. After image processing in the audio-visual system, another format conversion may be required for the video format supported by the display device at the output end, as shown in FIG7 , which is an implementation diagram of converting an SDR video into an HDR video.

图7示出了视听系统执行格式转换的各阶段单元的另一实施例图,图中显示由SDR视频71转换为HDR视频72的处理流程,同样地,各阶段单元可由电路、软件或固件实施。在此实施例中,视听系统接收在第一色彩空间(该实施例为YUV色彩空间)的第一格式视频(如该实施例的SDR视频71),SDR视频71优选地可为ITU BT.709视频规格,其涵盖色域(colorgamut)可参见图8所示的示意图,其中显示SDR视频71采用涵盖相对较窄色域的BT.709视频规格,经过视听系统的处理后,可转换为第二格式视频(如该实施例的HDR视频)72,该实施例的HDR视频72采用涵盖较广色域的BT.2020视频规格。FIG7 shows another embodiment of each stage unit of the audio-visual system performing format conversion, which shows the process of converting an SDR video 71 to an HDR video 72. Similarly, each stage unit can be implemented by circuits, software or firmware. In this embodiment, the audio-visual system receives a first format video (such as the SDR video 71 of this embodiment) in a first color space (the YUV color space in this embodiment). The SDR video 71 can preferably be the ITU BT.709 video specification, and its color gamut (colorgamut) can be seen in the schematic diagram shown in FIG8, which shows that the SDR video 71 adopts the BT.709 video specification covering a relatively narrow color gamut. After being processed by the audio-visual system, it can be converted into a second format video (such as the HDR video of this embodiment) 72. The HDR video 72 of this embodiment adopts the BT.2020 video specification covering a wider color gamut.

在视听系统中,先通过第一色彩空间转换单元701将处于YUV色彩空间的SDR视频71逐帧转换为RGB色彩空间,转换方法之一可以根据以下转换公式三实现,但实际运行并不以此为限。此范例中[R,G,B]表示RGB色彩空间的红色、绿色与蓝色通道值,In the audio-visual system, the SDR video 71 in the YUV color space is first converted frame by frame into the RGB color space by the first color space conversion unit 701. One of the conversion methods can be implemented according to the following conversion formula 3, but the actual operation is not limited to this. In this example, [R, G, B] represents the red, green and blue channel values of the RGB color space.

[Y,U,V]为YUV色彩空间的各分量值,M3为转换矩阵。[Y,U,V] are the component values of the YUV color space, and M3 is the conversion matrix.

转换公式三:Conversion formula three:

[R,G,B]T=M3[Y,U,V]T[R,G,B] T = M3[Y,U,V] T ;

其中 in

转换到RGB色彩空间的视频图像接着通过电光转换单元(EOTF,可采用gamma2.2)702将输入的数位视频转为显示用的可见光信号。因为SDR视频图像不可避免地会损失图像中过亮或过暗的细节,因此通过电光转换函数将视频图像在RGB色彩空间中各颜色通道的信息通过伽玛曲线校正,让BT.709视频规格的亮度表现趋近Gamma2.2曲线。The video image converted to the RGB color space is then converted into a visible light signal for display through an electro-optical conversion unit (EOTF, which may use gamma2.2) 702. Because SDR video images inevitably lose details that are too bright or too dark in the image, the information of each color channel of the video image in the RGB color space is corrected through the gamma curve through the electro-optical conversion function, so that the brightness performance of the BT.709 video specification approaches the Gamma2.2 curve.

之后以色域转换矩阵703将BT.709规格的视频转换到色域范围较广的BT.2020视频规格,以此对应输出HDR视频的需求,实施例为通过以下3x3转换矩阵将BT.709视频规格映射到适合终端显示装置支持的BT.2020视频规格上,色域转换公式如下:Then, the BT.709 video is converted to the BT.2020 video with a wider color gamut by using the color gamut conversion matrix 703, so as to meet the demand of outputting HDR video. In the embodiment, the BT.709 video specification is mapped to the BT.2020 video specification suitable for the terminal display device through the following 3x3 conversion matrix. The color gamut conversion formula is as follows:

当视频图像转换到BT.2020规格的超高解析度视频,再通过光电转换单元(OETF,可采用2084OETF)704,将视频图像在RGB色彩空间中各颜色通道的信息执行光电转换,使SDR视频图像可以通过如图10的感知量化曲线(PQ曲线)映射到适合终端显示装置的显示HDR视频的亮度。最后通过第二色彩空间转换单元705再次执行色彩空间转换,将处于RGB色彩空间的视频逐帧转换回到YUV色彩空间,其中转换方法之一可以根据以下转换公式四实现,但实际运行并不以此为限,此范例显示通过转换矩阵M4将[R,G,B](红色、绿色与蓝色通道值)转换为[Y,U,V](YUV色彩空间的各分量值)。When the video image is converted to an ultra-high resolution video of the BT.2020 specification, the information of each color channel of the video image in the RGB color space is photoelectrically converted by the photoelectric conversion unit (OETF, 2084OETF can be used) 704, so that the SDR video image can be mapped to the brightness of the HDR video suitable for the terminal display device through the perceptual quantization curve (PQ curve) as shown in Figure 10. Finally, the second color space conversion unit 705 performs color space conversion again to convert the video in the RGB color space back to the YUV color space frame by frame. One of the conversion methods can be implemented according to the following conversion formula 4, but the actual operation is not limited to this. This example shows that [R, G, B] (red, green and blue channel values) are converted to [Y, U, V] (values of each component of the YUV color space) through the conversion matrix M4.

转换公式四:Conversion formula 4:

[Y,U,V]T=M4[R,G,B]T[Y,U,V] T =M4[R,G,B] T ;

其中 in

最终完成将SDR视频71通过以上格式转换程序转换至BT.2020规格下的HDR视频72的目的。Finally, the purpose of converting the SDR video 71 into the HDR video 72 under the BT.2020 specification is achieved through the above format conversion procedure.

本说明书提出以单芯片、固件或内嵌电视系统或任一视频转换装置中的软件或电路实现的视听系统,其中运用上述图4至图7等视频转换的技术,整体流程可参见图11所示视频处理方法实施例流程图。This specification proposes an audio-visual system implemented by a single chip, firmware, or software or circuit in an embedded television system or any video conversion device, in which the video conversion technology shown in Figures 4 to 7 above is used. The overall process can be seen in the video processing method embodiment flow chart shown in Figure 11.

该实施例显示的视听系统中用于加强显示图像的图像处理技术支持针对特定视频格式(此流程称第一格式),因此在开始运行时,当接收到视听数据时,会检测其中输入视频的格式(步骤S111),并判断是否与系统内处理格式(第一格式)相符(步骤S113),若输入为第一格式视频,表示与系统内处理格式相符(是),即直接进行图像处理(步骤S117),并能以相同格式视频输出(步骤S121)。The image processing technology used to enhance the display image in the audio-visual system shown in this embodiment supports a specific video format (this process is called the first format). Therefore, at the beginning of operation, when audio-visual data is received, the format of the input video is detected (step S111), and it is determined whether it is consistent with the processing format (first format) in the system (step S113). If the input is a video in the first format, it means that it is consistent with the processing format in the system (yes), that is, image processing is performed directly (step S117), and the video can be output in the same format (step S121).

反之,当输入视听系统的视频格式为第二格式,不同于系统内处理格式(第一格式)(否),将进行第一格式转换(步骤S115),将第二格式视频转换为第一格式视频。如上述图4与图5实施例所描述的,需要先进行视频格式转换,此第一格式转换的实施例则可参见图6显示的多个处理程序,主要格式转换程序包括第一色彩空间转换、电光转换、视频规格转换、光电转换,以及第二色彩空间转换等步骤。接着才将转换到第一格式的视频进行图像处理(步骤S117),并能输出经图像处理的第一格式视频(步骤S121)。On the contrary, when the video format input to the audio-visual system is the second format, which is different from the processing format (first format) in the system (no), the first format conversion (step S115) will be performed to convert the second format video into the first format video. As described in the embodiments of Figures 4 and 5 above, the video format conversion needs to be performed first. The embodiment of this first format conversion can refer to the multiple processing procedures shown in Figure 6. The main format conversion procedures include the steps of first color space conversion, electro-optical conversion, video specification conversion, photoelectric conversion, and second color space conversion. Then, the video converted to the first format is image processed (step S117), and the first format video after image processing can be output (step S121).

若视听系统中终端显示装置支持显示第二格式视频,在图像处理后,需要执行第二格式转换(步骤S119),将第一格式视频转换为第二格式视频,再输出第二格式视频(步骤S121)。If the terminal display device in the audio-visual system supports displaying the second format video, after the image processing, it is necessary to perform a second format conversion (step S119) to convert the first format video into the second format video, and then output the second format video (step S121).

在上述实施例流程中,视听系统中支持的图像处理格式为第一格式,常见如SDR,当输入的视频为第二格式,如HDR,需要转换为SDR视频才能进行图像处理,最终根据显示装置支持的视频格式判断是否要转换为HDR视频输出。如此,就可以在视听系统使用相同的图像处理电路或软件,包括使用相同的处理参数,而无需另外再为特定格式提供额外的图像处理方案。In the above embodiment, the image processing format supported by the audiovisual system is the first format, such as SDR. When the input video is in the second format, such as HDR, it needs to be converted to SDR video before image processing. Finally, it is determined whether to convert to HDR video output according to the video format supported by the display device. In this way, the same image processing circuit or software can be used in the audiovisual system, including the same processing parameters, without providing additional image processing solutions for specific formats.

综上所述,根据上述实施例所描述的共享图像处理程序的视听系统及其视频处理方法,通过视频格式转换,可以让相关系统仅需提供一种图像处理的电路或软件,就可以支持多种视频格式。其中特别是因为视频格式的变革中,多数图像处理技术都是针对标准动态范围(SDR)视频提出图像处理方案,当提出高动态范围(HDR)格式的视频时,通过本说明书提出的视频处理方法,可以让高动态范围视频同样适用视听系统所采用针对标准动态范围视频的图像处理方案,在开发视听系统时可以沿用现有技术的解决方案,无需增加额外参数调整或电路的成本。In summary, according to the audio-visual system and video processing method of the shared image processing program described in the above embodiments, through video format conversion, the relevant system only needs to provide one image processing circuit or software to support multiple video formats. Especially because in the change of video formats, most image processing technologies propose image processing solutions for standard dynamic range (SDR) videos. When high dynamic range (HDR) format videos are proposed, the video processing method proposed in this specification can make high dynamic range videos also applicable to the image processing solutions used by the audio-visual system for standard dynamic range videos. When developing audio-visual systems, existing technical solutions can be used without increasing the cost of additional parameter adjustments or circuits.

以上所公开的内容仅为本发明的优选实施例,并非用来限定本发明,所以凡是根据本发明所做的等同技术变化,均包括在本发明的专利保护范围内。The contents disclosed above are only preferred embodiments of the present invention and are not intended to limit the present invention. Therefore, all equivalent technical changes made according to the present invention are included in the patent protection scope of the present invention.

Claims (10)

1.一种视频处理方法,其特征在于,应用于视听系统中,包括:1. A video processing method, characterized in that it is applied in an audio-visual system, comprising: 接收一第二格式视频;receiving a video in a second format; 执行第一格式转换,将所述第二格式视频转换为所述视听系统中执行的一图像处理程序支持的一第一格式视频,以对所述第一格式视频执行图像处理;以及Performing a first format conversion to convert the second format video into a first format video supported by an image processing program executed in the audio-visual system, so as to perform image processing on the first format video; and 输出经图像处理后的所述第一格式视频。Output the first format video after image processing. 2.根据权利要求1所述的视频处理方法,其特征在于,所述视听系统执行的所述图像处理程序中的处理参数为针对所述第一格式视频图像调制,用于优化输出至一终端显示装置的视频图像。2. The video processing method according to claim 1 is characterized in that the processing parameters in the image processing program executed by the audio-visual system are modulated for the first format video image, and are used to optimize the video image output to a terminal display device. 3.根据权利要求2所述的视频处理方法,其特征在于,当所述视听系统输出端连接的所述终端显示装置支持显示所述第二格式视频,经图像处理后的所述第一格式视频再通过第二格式转换为用于输出至所述终端显示装置的所述第二格式视频。3. The video processing method according to claim 2 is characterized in that when the terminal display device connected to the output end of the audio-visual system supports displaying the second format video, the first format video after image processing is converted into the second format video for output to the terminal display device through the second format. 4.根据权利要求3所述的视频处理方法,其特征在于,所述视听系统中执行的所述图像处理程序支持的所述第一格式视频为一标准动态范围视频,所述第二格式视频为一高动态范围视频。4. The video processing method according to claim 3 is characterized in that the first format video supported by the image processing program executed in the audio-visual system is a standard dynamic range video, and the second format video is a high dynamic range video. 5.根据权利要求1至4中任一项所述的视频处理方法,其特征在于,所述第一格式转换的程序包括:5. The video processing method according to any one of claims 1 to 4, characterized in that the first format conversion procedure comprises: 对接收的所述第二格式视频逐帧由一第一色彩空间转换到一第二色彩空间;Converting the received second format video frame by frame from a first color space to a second color space; 对所述第二色彩空间的视频图像执行一电光转换程序,将数位视频信号转换为可见光信号;Performing an electro-optical conversion process on the video image in the second color space to convert the digital video signal into a visible light signal; 执行色域转换,将在所述第二色彩空间的所述第二格式色域转换为所述第一格式色域;Performing color gamut conversion to convert the second format color gamut in the second color space into the first format color gamut; 对在所述第二色彩空间的所述第一格式视频执行一光电转换程序,进行伽玛校正;以及Performing a photoelectric conversion process on the first format video in the second color space to perform gamma correction; and 将经伽玛校正的所述第一格式视频逐帧由所述第二色彩空间转换到所述第一色彩空间,再输出至所述图像处理程序。The gamma-corrected first format video is converted frame by frame from the second color space to the first color space, and then output to the image processing program. 6.根据权利要求5所述的视频处理方法,其特征在于,所述第一色彩空间为YUV色彩空间,所述第二色彩空间为RGB色彩空间。6 . The video processing method according to claim 5 , wherein the first color space is a YUV color space, and the second color space is an RGB color space. 7.根据权利要求5所述的视频处理方法,其特征在于,所述图像处理程序包括:7. The video processing method according to claim 5, characterized in that the image processing program comprises: 以统计方法分析出所述第一格式视频的图像特征;以及Analyzing the image features of the first format video using a statistical method; and 对所述第一格式视频执行一种或多种图像处理,其中包括降噪、图像锐化、饱和度调整、对比与色调调整的一种或多种处理。One or more image processing is performed on the first format video, including one or more processing of noise reduction, image sharpening, saturation adjustment, contrast and hue adjustment. 8.一种共享图像处理程序的视听系统,其特征在于,执行一视频处理方法,所述视频处理方法包括:8. An audio-visual system for sharing an image processing program, characterized in that a video processing method is executed, the video processing method comprising: 由一视听来源接收一第二格式视频;Receiving a second format video from an audio-visual source; 执行第一格式转换,将所述第二格式视频转换为所述视听系统中执行的一图像处理程序支持的一第一格式视频,以对所述第一格式视频执行图像处理;以及Performing a first format conversion to convert the second format video into a first format video supported by an image processing program executed in the audio-visual system, so as to perform image processing on the first format video; and 输出经图像处理后的所述第一格式视频。Output the first format video after image processing. 9.根据权利要求8所述的共享图像处理程序的视听系统,其特征在于,所述视听系统执行的所述图像处理程序中的处理参数为针对所述第一格式视频图像调制,用于优化输出至一终端显示装置的视频图像;当所述视听系统输出端连接的所述终端显示装置支持显示所述第二格式视频,经图像处理后的所述第一格式视频再通过第二格式转换为用于输出至所述终端显示装置的所述第二格式视频。9. The audio-visual system for sharing an image processing program according to claim 8 is characterized in that the processing parameters in the image processing program executed by the audio-visual system are modulated for the first format video image, so as to optimize the video image output to a terminal display device; when the terminal display device connected to the output end of the audio-visual system supports displaying the second format video, the first format video after image processing is converted into the second format video for output to the terminal display device through the second format. 10.根据权利要求8或9所述的共享图像处理程序的视听系统,其特征在于,所述视频处理方法中第一格式转换的程序包括:10. The audio-visual system for sharing an image processing program according to claim 8 or 9, wherein the first format conversion program in the video processing method comprises: 对接收的所述第二格式视频逐帧由一第一色彩空间转换到一第二色彩空间;Converting the received second format video frame by frame from a first color space to a second color space; 对所述第二色彩空间的视频图像执行一电光转换程序,将数位视频信号转换为可见光信号;Performing an electro-optical conversion process on the video image in the second color space to convert the digital video signal into a visible light signal; 执行色域转换,将在所述第二色彩空间的所述第二格式色域转换为所述第一格式色域;Performing color gamut conversion to convert the second format color gamut in the second color space into the first format color gamut; 对在所述第二色彩空间的所述第一格式视频执行一光电转换程序,进行伽玛校正;以及Performing a photoelectric conversion process on the first format video in the second color space to perform gamma correction; and 将经伽玛校正的所述第一格式视频逐帧由所述第二色彩空间转换到所述第一色彩空间,再输出至所述图像处理程序。The gamma-corrected first format video is converted frame by frame from the second color space to the first color space, and then output to the image processing program.
CN202211555599.6A 2022-12-06 2022-12-06 Audio-visual system for sharing image processing program and video processing method thereof Pending CN118158344A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211555599.6A CN118158344A (en) 2022-12-06 2022-12-06 Audio-visual system for sharing image processing program and video processing method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211555599.6A CN118158344A (en) 2022-12-06 2022-12-06 Audio-visual system for sharing image processing program and video processing method thereof

Publications (1)

Publication Number Publication Date
CN118158344A true CN118158344A (en) 2024-06-07

Family

ID=91297618

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211555599.6A Pending CN118158344A (en) 2022-12-06 2022-12-06 Audio-visual system for sharing image processing program and video processing method thereof

Country Status (1)

Country Link
CN (1) CN118158344A (en)

Similar Documents

Publication Publication Date Title
JP7101288B2 (en) Methods and devices for converting HDR signals
US10992898B2 (en) Display method and display device
CN103888743B (en) For the treatment of the method for high dynamic range images
EP3430807B1 (en) A method and a device for encoding a high dynamic range picture, corresponding decoding method and decoding device
CN109274985B (en) Video transcoding method and device, computer equipment and storage medium
RU2710873C2 (en) Method and device for colour image decoding
US7298379B2 (en) Luminance preserving color conversion from YUV to RGB
CN108352076B (en) Encoding and decoding method and corresponding devices
US6069972A (en) Global white point detection and white balance for color images
CN107211130A (en) The method and apparatus coded and decoded to colour picture
CN114189691A (en) Method and apparatus for encoding both HDR images and SDR images using color mapping functions
JP6872693B2 (en) Adjustment device, adjustment method and program
EP3446284B1 (en) Method and apparatus for conversion of dynamic range of video signals
CN114556910B (en) A video signal processing method and device
TW420934B (en) Image signal processing method
CN101088278B (en) Apparatus and method for optimizing gamma curves for digital image devices
WO2018062022A1 (en) Adjusting device, adjusting method, and program
CN101873502B (en) Color space converting circuit and method
CN118158344A (en) Audio-visual system for sharing image processing program and video processing method thereof
TW202423104A (en) Audiovisual system with shared image-processing procedure and method for processing video therein
US20190266710A1 (en) Image processing apparatus, image processing method, and storage medium
US6570577B1 (en) System for nonlinear correction of video signals and method thereof
US8854490B2 (en) Method and apparatus for compensating a black level of an image signal
CN119031107A (en) High Dynamic Range (HDR) Image Processing Using Adaptive Color Volume Data Mapping
JP5706436B2 (en) Digital signal processing method

Legal Events

Date Code Title Description
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination