CN117319620B - HDR preview-level on-site real-time color mixing method - Google Patents
HDR preview-level on-site real-time color mixing method Download PDFInfo
- Publication number
- CN117319620B CN117319620B CN202311615463.4A CN202311615463A CN117319620B CN 117319620 B CN117319620 B CN 117319620B CN 202311615463 A CN202311615463 A CN 202311615463A CN 117319620 B CN117319620 B CN 117319620B
- Authority
- CN
- China
- Prior art keywords
- toning
- video
- hdr
- hdr video
- display
- 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.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 47
- 238000012545 processing Methods 0.000 claims abstract description 33
- 238000006243 chemical reaction Methods 0.000 claims abstract description 21
- 239000011159 matrix material Substances 0.000 claims description 15
- 238000012360 testing method Methods 0.000 claims description 14
- 238000010606 normalization Methods 0.000 claims description 13
- 238000001514 detection method Methods 0.000 claims description 11
- 238000004364 calculation method Methods 0.000 claims description 10
- 238000013507 mapping Methods 0.000 claims description 10
- 238000012937 correction Methods 0.000 claims description 6
- 238000009432 framing Methods 0.000 claims description 6
- 238000012163 sequencing technique Methods 0.000 claims description 3
- 238000011065 in-situ storage Methods 0.000 claims 1
- 239000002699 waste material Substances 0.000 abstract description 14
- 239000003086 colorant Substances 0.000 description 11
- 230000009286 beneficial effect Effects 0.000 description 10
- 238000005516 engineering process Methods 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000005856 abnormality Effects 0.000 description 1
- 230000004075 alteration Effects 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 230000002708 enhancing effect Effects 0.000 description 1
- 238000000605 extraction Methods 0.000 description 1
- 238000005286 illumination Methods 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 238000007620 mathematical function Methods 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 238000009877 rendering Methods 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N9/00—Details of colour television systems
- H04N9/64—Circuits for processing colour signals
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N9/00—Details of colour television systems
- H04N9/64—Circuits for processing colour signals
- H04N9/643—Hue control means, e.g. flesh tone control
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N9/00—Details of colour television systems
- H04N9/64—Circuits for processing colour signals
- H04N9/68—Circuits for processing colour signals for controlling the amplitude of colour signals, e.g. automatic chroma control circuits
- H04N9/69—Circuits for processing colour signals for controlling the amplitude of colour signals, e.g. automatic chroma control circuits for modifying the colour signals by gamma correction
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N9/00—Details of colour television systems
- H04N9/64—Circuits for processing colour signals
- H04N9/73—Colour balance circuits, e.g. white balance circuits or colour temperature control
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Image Processing (AREA)
Abstract
The invention discloses an HDR preview-level on-site real-time color mixing method, which comprises the following steps: acquiring a signal source; analyzing the type of the signal source, and performing type conversion when the type of the signal source is determined to be SDR video, so as to obtain HDR video; performing preliminary toning on the HDR video according to a preset toning requirement to obtain a target HDR video; acquiring the display capability of a display terminal; matching the display requirement of each target HDR video with the display capability of the display terminal, and determining the display terminal matched with each target HDR video; and before the display terminals display the matched target HDR video, performing secondary toning processing on the target HDR video based on the 3D-LUT module and the 1D-LUT module corresponding to each display terminal. The signal source is an SDR video and is converted into an HDR video, so that the signal source is displayed in high definition through the HDR video in the HDR terminal, and the resource waste of the HDR terminal is avoided. Through effective toning, the definition of video played by the HDR terminal is improved, and the user experience is improved.
Description
Technical Field
The invention relates to the technical field of color mixing, in particular to an HDR preview-grade on-site real-time color mixing method.
Background
Currently, with the increasing viewing requirements of customers, HDR technology is continually evolving. In the prior art, when an HDR terminal receives a signal source, the HDR terminal directly displays the signal source based on the attribute of the signal source, which has the following problems: 1. when the signal source is the SDR video, the video belongs to the low dynamic range video, high definition display cannot be performed, a great amount of time is consumed for manufacturing the HDR video, and resource waste of the HDR terminal is caused, so that user experience is affected. 2. The effective toning process cannot be performed, so that the video played on the basis of the HDR terminal is unclear, and the user experience is affected. 3. The corresponding display terminal cannot be matched according to the display resources of the video, so that the waste of the video resources or the waste of the display terminal resources is caused.
Disclosure of Invention
The present invention aims to solve, at least to some extent, one of the technical problems in the above-described technology. Therefore, the invention aims to provide an HDR preview-level on-site real-time toning method, which converts an SDR video into an HDR video at a signal source, realizes high-definition display of the signal source on an HDR terminal through the HDR video, and avoids resource waste of the HDR terminal. Through effective color mixing processing, the definition of video played by the HDR terminal is improved, corresponding display terminals are matched according to display resources of the video, waste of video resources or waste of display terminal resources is avoided, and user experience is improved.
To achieve the above objective, an embodiment of the present invention provides an HDR preview-level live real-time toning method, including:
acquiring a signal source;
analyzing the type of the signal source, and performing type conversion when the type of the signal source is determined to be SDR video, so as to obtain HDR video;
performing preliminary toning on the HDR video according to a preset toning requirement to obtain a target HDR video;
acquiring the display capability of a display terminal;
matching the display requirement of each target HDR video with the display capability of the display terminal, and determining the display terminal matched with each target HDR video;
and before the display terminals display the matched target HDR video, performing secondary toning processing on the target HDR video based on the 3D-LUT module and the 1D-LUT module corresponding to each display terminal.
According to some embodiments of the present invention, analyzing the type of the signal source, and performing type conversion to obtain an HDR video when determining that the type of the signal source is an SDR video, includes:
analyzing the type of the signal source, decoding the signal source into SDI baseband signals when determining that the type of the signal source is SDR video, analyzing a signal format, and re-splicing and sequencing data according to the signal format to generate a data stream;
when the signal format of the data stream is determined to be YUV format, the YUV-to-RGB module converts YUV signals into RGB signals with different color gamuts through the BT709 color gamuts conversion matrix to obtain HDR video.
According to some embodiments of the present invention, performing preliminary toning on an HDR video according to a preset toning requirement to obtain a target HDR video, including:
carrying out normalization processing on RGB signals of different color gamuts corresponding to the HDR video to obtain normalized video data;
generating a corresponding color matching file according to a preset color matching requirement;
and carrying out preliminary toning on the normalized video data based on the toning file to obtain the target HDR video.
According to some embodiments of the present invention, a display capability of a display terminal is acquired based on extended display identification data; the display capabilities include dynamic range, gamut type, and conversion curve.
According to some embodiments of the present invention, before performing the secondary toning process on the target HDR video based on the 3D-LUT module and the 1D-LUT module corresponding to each display terminal, the method further includes: and counting the color matching calculation resources of each display terminal, generating a statistical chart and displaying the statistical chart.
According to some embodiments of the present invention, counting the palette computing resources of each display terminal includes:
and determining the test toning data, inputting the test toning data to the display terminal, determining the toning time of the display terminal to the test toning data, and determining the toning calculation resource of the display terminal according to the toning time.
According to some embodiments of the present invention, performing secondary toning processing on a target HDR video based on a 3D-LUT module and a 1D-LUT module corresponding to each display terminal, includes:
3D-LUT mapping is carried out on the target HDR video based on 3D-LUT reference color data prestored in a 3D-LUT module, color data mapped by the 3D-LUT is obtained, and brightness correction and contrast correction are carried out on the color data mapped by the 3D-LUT through a 1D-LUT module, so that secondary color matching processing is realized.
According to some embodiments of the invention, the 3D-LUT mapping is implemented by an FPGA or ASIC.
According to some embodiments of the present invention, after performing the secondary toning process on the target HDR video based on the 3D-LUT module and the 1D-LUT module corresponding to each display terminal, the method further includes: carrying out color matching treatment again through color matching software based on the user side; the toning software comprises at least one of PC toning software and mobile phone toning software.
According to some embodiments of the invention, further comprising:
obtaining target HDR video subjected to secondary toning treatment, carrying out framing treatment to obtain a plurality of frame treatment images, and selecting a first treatment image and a second treatment image;
acquiring a target HDR video before secondary toning, carrying out framing treatment to obtain a plurality of frame detection images, and selecting a first detection image corresponding to a first treatment image and a second detection image corresponding to a second treatment image;
respectively extracting pixel points from the first processed image and the first detected image, and carrying out normalization processing on the pixel points to obtain a first vector and a second vector;
calculating a first adjustment parameter according to the first vector and the second vector;
respectively extracting pixel points from the second processed image and the second detected image, and carrying out normalization processing on the pixel points to obtain a third vector and a fourth vector;
calculating a second adjusting parameter according to the third vector and the fourth vector;
judging whether the first adjusting parameter is consistent with the second adjusting parameter, and generating and displaying prompt information of deviation of color mixing when the first adjusting parameter is inconsistent with the second adjusting parameter.
The invention provides an HDR preview-level on-site real-time toning method, which converts an SDR video into an HDR video when a signal source is the SDR video, realizes high-definition display of the signal source on an HDR terminal through the HDR video, and avoids resource waste of the HDR terminal. Through effective color mixing processing, the definition of video played by the HDR terminal is improved, corresponding display terminals are matched according to display resources of the video, waste of video resources or waste of display terminal resources is avoided, and user experience is improved.
Additional features and advantages of the invention will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention. The objectives and other advantages of the invention may be realized and attained by the structure particularly pointed out in the written description and drawings.
The technical scheme of the invention is further described in detail through the drawings and the embodiments.
Drawings
The accompanying drawings are included to provide a further understanding of the invention and are incorporated in and constitute a part of this specification, illustrate the invention and together with the embodiments of the invention, serve to explain the invention. In the drawings:
FIG. 1 is a flow chart of an HDR preview level live toning method according to one embodiment of the present invention;
FIG. 2 is a flow chart of obtaining HDR video according to one embodiment of the present invention;
fig. 3 is a flow chart of obtaining a target HDR video in accordance with one embodiment of the invention.
Detailed Description
The preferred embodiments of the present invention will be described below with reference to the accompanying drawings, it being understood that the preferred embodiments described herein are for illustration and explanation of the present invention only, and are not intended to limit the present invention.
As shown in fig. 1, an embodiment of the present invention provides an HDR preview-level live real-time toning method, which includes steps S1 to S6:
s1, acquiring a signal source;
s2, analyzing the type of the signal source, and performing type conversion when the type of the signal source is determined to be the SDR video to obtain the HDR video;
s3, performing preliminary toning on the HDR video according to a preset toning requirement to obtain a target HDR video;
s4, acquiring the display capability of the display terminal;
s5, matching the display requirement of each target HDR video with the display capability of the display terminal, and determining the display terminal matched with each target HDR video;
and S6, performing secondary color matching processing on the target HDR video based on the 3D-LUT module and the 1D-LUT module corresponding to each display terminal before the display terminals display the matched target HDR video.
The working principle of the technical scheme is as follows: in this embodiment, the types of signal sources include SDR video and HDR video.
In this embodiment, the preset color matching requirement is the most basic color matching requirement, that is, after the SDR video is converted into the HDR video, the color difference problem is primarily color-matched, so that the target HDR video obtains a basic color matching, and the definition of the target HDR video is improved conveniently.
In this embodiment, the display requirement of each target HDR video is matched with the display capability of the display terminal, and the display terminal matched with each target HDR video is determined; the waste of resources is avoided, the display requirement of the target HDR video is not greatly different from the display capability of the display terminal, and the resource utilization rate is improved.
In the embodiment, the 3D-LUT module and the 1D-LUT module corresponding to each display terminal are used for carrying out secondary toning on the target HDR video, further toning is carried out, and the accuracy of image processing is improved.
The beneficial effects of the technical scheme are that: the signal source is an SDR video and is converted into an HDR video, so that the signal source is displayed in high definition through the HDR video in the HDR terminal, and the resource waste of the HDR terminal is avoided. Through effective color mixing processing, the definition of video played by the HDR terminal is improved, corresponding display terminals are matched according to display resources of the video, waste of video resources or waste of display terminal resources is avoided, and user experience is improved.
As shown in fig. 2, according to some embodiments of the present invention, the type of the signal source is parsed, and when the type of the signal source is determined to be SDR video, type conversion is performed to obtain HDR video, which includes steps S21-S22:
s21, analyzing the type of the signal source, decoding the signal source into SDI baseband signals when determining that the type of the signal source is SDR video, analyzing a signal format, and re-splicing and sequencing data according to the signal format to generate a data stream;
s22, when the signal format of the data stream is determined to be YUV format, the YUV-RGB module converts the YUV signal into RGB signals with different color gamuts through a BT709 color gamuts conversion matrix to obtain the HDR video.
The working principle of the technical scheme is as follows: in this embodiment, the type of signal source: the type of signal source may generally be determined by its physical interface, signal characteristics, and protocol. The interface type (e.g., HDMI, SDI, etc.), signal format (e.g., RGB, YUV, etc.), and transmission protocol (e.g., HD-SDI, SD-SDI, etc.) are checked to determine the type of signal source. Decoding the SDR video to an SDI baseband signal: SDR (software defined radio) video is typically a digitized signal that can be decoded by appropriate hardware and software. After decoding, the SDR video may be converted to an SDI baseband signal, which is a broadcast television video interface. Resolving the signal format: once the signal is converted to an SDI baseband signal, the signal format may be parsed, including determining the pixel format (e.g., 4:2:2, 4:4:4, etc.), the color space (e.g., RGB, YUV, etc.), and any additional metadata (e.g., timecode, field order, etc.). Re-concatenating and ordering the data streams: the data streams may be reorganized and ordered according to the parsed signal format. For example, if the original data streams are interleaved (e.g., color channel interleaved per row), you may need to rearrange them for the correct color channel order. Furthermore, if the original data stream contains multiple layers (e.g., multiple images superimposed or alpha channels), the layers need to be split and rearranged in the correct order. Generating a data stream: and finally, outputting the reorganized and sequenced data stream into a required format.
In this embodiment, the YUV to RGB conversion is performed, first, the YUV signal is decoded. YUV is a color coding scheme that first separates the colors of an image into a luminance component and a chrominance component. Where Y represents a luminance component and U and V represent chrominance components. Then, the YUV signal is converted into an RGB signal using the BT709 color gamut conversion matrix. This matrix is designed based on the perceived characteristics of the human eye for color, which can provide a more natural and accurate color reproduction. Finally, the RGB signals are reorganized and encoded to obtain the desired RGB format. An HDR (high dynamic range) video is available. HDR video is a video format that can display a larger color range than normal SDR (standard dynamic range) video. This greater color range may provide a more realistic, natural color reproduction, as well as darker black and brighter white, thereby enhancing the overall visual experience.
The beneficial effects of the technical scheme are that: when the SDR video is realized, the type conversion is carried out, so that the accurate HDR video can be conveniently obtained.
As shown in fig. 3, according to some embodiments of the present invention, the HDR video is subjected to preliminary toning according to a preset toning requirement to obtain a target HDR video, which includes steps S31-S33:
s31, performing normalization processing on RGB signals of different color gamuts corresponding to the HDR video to obtain normalized video data;
s32, generating a corresponding color matching file according to a preset color matching requirement;
s33, carrying out preliminary toning on the normalized video data based on the toning file to obtain the target HDR video.
The technical scheme has the working principle and beneficial effects that: in this embodiment, the RGB signals in the HDR video are normalized. The color range of HDR video is larger than that of normal SDR video, so we need to scale the RGB signals of HDR video to a range comparable to normal SDR video, typically 0-255. This process is also called normalization. By this procedure we can get a normalized video data that can be displayed on a common display device.
In this embodiment, a corresponding palette file is generated based on a preset palette requirement. This palette is typically a text document containing a series of color adjustment instructions that describe how to color adjust the normalized video data. These instructions may include changing color balance, contrast, brightness, etc.
In this embodiment, normalized video data is preliminarily toned using the generated toned file. This process may be accomplished by some specialized image processing software or specialized toning equipment. And according to the color adjustment instruction in the palette file, carrying out frame-by-frame processing on the normalized video data, thereby obtaining a new target HDR video. This video will have a higher color accuracy and a wider range of colors, allowing better presentation of the details and colors of the image.
According to some embodiments of the present invention, a display capability of a display terminal is acquired based on extended display identification data; the display capabilities include dynamic range, gamut type, and conversion curve.
The technical scheme has the working principle and beneficial effects that: extended Display Identification (EDID) is a VESA standard data format that contains data about the manufacturer and related operations, such as vendor information, maximum image size, color settings, vendor presets, frequency range limitations, and strings of display names and serial numbers. Dynamic range: this refers to the brightest and darkest contrast levels that a display is capable of displaying. The greater the dynamic range, the higher the contrast between the brightest and darkest portions that the display can display. This is very useful for rendering HDR video and simulating real world colors and illumination. Color gamut type: this refers to the range of colors that the display can display. The Wide Color Gamut (WCG) may display a larger color range than the standard color gamut (sRGB or rec.709), including more red and green colors and some blue colors. This allows a wide color gamut display to present more vivid, realistic colors. Conversion curve: this refers to a mathematical function that converts an input signal or color from one range to another. For example, a gamma curve is a common color conversion curve that is used to correct for luminance nonlinearities of a display. If the conversion curve of the display does not match the gamma curve, the color will be distorted. These factors together determine the overall display capabilities of the display, thereby affecting the quality of the images and videos seen by the user.
According to some embodiments of the present invention, before performing the secondary toning process on the target HDR video based on the 3D-LUT module and the 1D-LUT module corresponding to each display terminal, the method further includes: and counting the color matching calculation resources of each display terminal, generating a statistical chart and displaying the statistical chart.
The technical scheme has the working principle and beneficial effects that: and counting the color matching calculation resources of each display terminal, generating a statistical chart and displaying the statistical chart, so that the color matching calculation resources of each display terminal can be accurately determined, and the color matching capability of the display terminal can be judged.
According to some embodiments of the present invention, counting the palette computing resources of each display terminal includes:
and determining the test toning data, inputting the test toning data to the display terminal, determining the toning time of the display terminal to the test toning data, and determining the toning calculation resource of the display terminal according to the toning time.
The technical scheme has the working principle and beneficial effects that: determining test toning data and inputting the test toning data to a display terminal: first, it is necessary to select or generate the palette data for testing. These data may include a series of color signals, such as RGB or CMYK values, for simulating various colors and color levels. These test data are then input to the display terminal. Determining the toning time of the display terminal to the test toning data: to parsing and converting input palette data on a display terminal to generate images or colors that can be displayed on a screen. This processing time may be affected by a variety of factors including the performance of the display terminal, the complexity of the color data, and the like. Determining the toning calculation resource of the display terminal according to the toning time: based on the above-described toning time, the computing resources required by the display terminal in processing the toning data can be deduced. The longer the toning time, the less toning computing resources.
According to some embodiments of the present invention, performing secondary toning processing on a target HDR video based on a 3D-LUT module and a 1D-LUT module corresponding to each display terminal, includes:
3D-LUT mapping is carried out on the target HDR video based on 3D-LUT reference color data prestored in a 3D-LUT module, color data mapped by the 3D-LUT is obtained, and brightness correction and contrast correction are carried out on the color data mapped by the 3D-LUT through a 1D-LUT module, so that secondary color matching processing is realized.
The technical scheme has the working principle and beneficial effects that: selecting a target HDR video, 3D-LUT mapping: then, 3D-LUT mapping is performed using pre-stored 3D-LUT reference color data. This is done by a predefined 3D look-up table that maps the input color data to the output color data. This is an efficient color conversion method that can precisely control color and increase processing speed. Secondary color matching treatment: and obtaining color data mapped by the 3D-LUT through the 3D-LUT mapping. This step is a secondary toning process on the video to further fine tune and optimize the color. This process may include adjusting color balance, contrast, hue, etc. A 3D LUT is created which is a three-dimensional table in which each pixel has a corresponding mapped value (i.e., 3D-LUT reference color data). The 3D LUT converts the brightness and color information in the target HDR video image based on the 3D-LUT reference color data to obtain a corresponding converted image. The 1D LUT data table is created based on the 1D-LUT module and is a one-dimensional table used for correcting and adjusting the brightness and contrast of the whole converted image. Through adjustment of the 1D LUT, the mapped HDR image is more vivid and accurate. After the secondary toning process is performed on the color data acquired from the target HDR video, the obtained video has more accurate and vivid colors and higher contrast and brightness.
According to some embodiments of the invention, the 3D-LUT mapping is implemented by an FPGA or ASIC.
The 3D-LUT mapping may be implemented by an FPGA (field programmable gate array) or an ASIC (application specific integrated circuit).
According to some embodiments of the present invention, after performing the secondary toning process on the target HDR video based on the 3D-LUT module and the 1D-LUT module corresponding to each display terminal, the method further includes: carrying out color matching treatment again through color matching software based on the user side; the toning software comprises at least one of PC toning software and mobile phone toning software.
The beneficial effects of the technical scheme are that: the user terminal is used for carrying out the toning process again through the toning software, so that the adjustment is convenient based on the user again, and the obtained video is more accurate.
According to some embodiments of the present invention, in the process of performing the secondary toning process on the target HDR video based on the 3D-LUT module and the 1D-LUT module corresponding to each display terminal, the method further includes:
and detecting and displaying a conversion curve and a video color gamut of the target HDR video subjected to the secondary toning process.
The beneficial effects of the technical scheme are that: the monitoring of the color mixing process is convenient for be carried out, the adjustment is convenient for be carried out in time, and when the abnormality occurs, the feedback is carried out in time.
According to some embodiments of the invention, further comprising:
obtaining target HDR video subjected to secondary toning treatment, carrying out framing treatment to obtain a plurality of frame treatment images, and selecting a first treatment image and a second treatment image;
acquiring a target HDR video before secondary toning, carrying out framing treatment to obtain a plurality of frame detection images, and selecting a first detection image corresponding to a first treatment image and a second detection image corresponding to a second treatment image;
respectively extracting pixel points from the first processed image and the first detected image, and carrying out normalization processing on the pixel points to obtain a first vector and a second vector;
calculating a first adjustment parameter according to the first vector and the second vector;
respectively extracting pixel points from the second processed image and the second detected image, and carrying out normalization processing on the pixel points to obtain a third vector and a fourth vector;
calculating a second adjusting parameter according to the third vector and the fourth vector;
judging whether the first adjusting parameter is consistent with the second adjusting parameter, and generating and displaying prompt information of deviation of color mixing when the first adjusting parameter is inconsistent with the second adjusting parameter.
The technical scheme has the working principle and beneficial effects that: in this embodiment, arbitrarily selecting two frame processed images, that is, a first processed image and a second processed image, is performed among the plurality of frame processed images.
In this embodiment, the first detection image is an image corresponding to the first processed image position of the target HDR video after the secondary toning process in the target HDR video before the secondary toning process. The second detection image is an image corresponding to a second processing image position of the target HDR video after the secondary toning process in the target HDR video before the secondary toning process.
In this embodiment, pixel point extraction is performed on the first processed image, and normalization processing is performed on the pixel points to obtain a first vector, including:
and extracting pixel points of the first processed image to obtain a pixel point matrix A, wherein the matrix A comprises L rows and M columns, and the pixel value of each pixel point comprises an R channel value, a G channel value and a B channel value. The middle of each element in the pixel point matrix A is a set comprising 3 channel values, and the normalization processing of the pixel values is carried out on each column of the pixel point matrix A:
wherein,a value subjected to normalization processing for the j-th column of the pixel point matrix A; />R channel values in pixels of an ith row and a jth column of the pixel point matrix A; />R channel values in pixels of the (i+1) th row and the (j) th column of the pixel point matrix A;the G channel value in the pixel of the ith row and the jth column of the pixel point matrix A; />For the B channel value in the pixel of the ith row and jth column of the pixel point matrix A, i=1, 2 … … L-1, j=1, 2 … … M, each column of the pixel point matrix A is normalized to obtain a first vector B containing M values, namely M square values>。
Based on the same method, a second vector B' is calculated, comprising a plurality of,j=1、2……M。
Calculating a first adjustment parameter from the first vector and the second vector, comprising:
wherein,is a first adjustment parameter;
based on the same method, a second adjusting parameter is obtained through calculation, whether the first adjusting parameter is consistent with the second adjusting parameter is judged, when the first adjusting parameter is inconsistent with the second adjusting parameter, the basic parameter representing color matching is changed, the color matching of the overall target HDR video is deviated, the consistency of color matching quality and color matching is affected, prompt information of the deviation of color matching is generated and displayed, secondary color matching treatment is convenient to carry out again, and accuracy of the secondary color matching treatment is guaranteed.
It will be apparent to those skilled in the art that various modifications and variations can be made to the present invention without departing from the spirit or scope of the invention. Thus, it is intended that the present invention also include such modifications and alterations insofar as they come within the scope of the appended claims or the equivalents thereof.
Claims (10)
1. An HDR preview-level live toning method, comprising:
acquiring a signal source;
analyzing the type of the signal source, and performing type conversion when the type of the signal source is determined to be SDR video, so as to obtain HDR video;
performing preliminary toning on the HDR video according to a preset toning requirement to obtain a target HDR video;
acquiring the display capability of a display terminal;
matching the display requirement of each target HDR video with the display capability of the display terminal, and determining the display terminal matched with each target HDR video;
and before the display terminals display the matched target HDR video, performing secondary toning processing on the target HDR video based on the 3D-LUT module and the 1D-LUT module corresponding to each display terminal.
2. The HDR preview-level live toning method of claim 1, wherein analyzing the type of the signal source, and performing type conversion when determining that the type of the signal source is SDR video, to obtain the HDR video, comprises:
analyzing the type of the signal source, decoding the signal source into SDI baseband signals when determining that the type of the signal source is SDR video, analyzing a signal format, and re-splicing and sequencing data according to the signal format to generate a data stream;
when the signal format of the data stream is determined to be YUV format, the YUV-to-RGB module converts YUV signals into RGB signals with different color gamuts through the BT709 color gamuts conversion matrix to obtain HDR video.
3. The HDR preview-level live real-time toning method of claim 2, wherein performing preliminary toning on the HDR video according to a preset toning requirement to obtain the target HDR video, comprising:
carrying out normalization processing on RGB signals of different color gamuts corresponding to the HDR video to obtain normalized video data;
generating a corresponding color matching file according to a preset color matching requirement;
and carrying out preliminary toning on the normalized video data based on the toning file to obtain the target HDR video.
4. The HDR preview-level live toning method of claim 1, wherein the display capability of the display terminal is obtained based on extended display identification data; the display capabilities include dynamic range, gamut type, and conversion curve.
5. The HDR preview-level live toning method of claim 1, further comprising, before performing secondary toning processing on the target HDR video based on the 3D-LUT module and the 1D-LUT module corresponding to each display terminal: and counting the color matching calculation resources of each display terminal, generating a statistical chart and displaying the statistical chart.
6. The HDR preview-level live toning method of claim 5, wherein counting the toning computing resources of each display terminal comprises:
and determining the test toning data, inputting the test toning data to the display terminal, determining the toning time of the display terminal to the test toning data, and determining the toning calculation resource of the display terminal according to the toning time.
7. The HDR preview-level live toning method of claim 1, wherein performing secondary toning processing on the target HDR video based on the 3D-LUT module and the 1D-LUT module corresponding to each display terminal, comprises:
3D-LUT mapping is carried out on the target HDR video based on 3D-LUT reference color data prestored in a 3D-LUT module, color data mapped by the 3D-LUT is obtained, and brightness correction and contrast correction are carried out on the color data mapped by the 3D-LUT through a 1D-LUT module, so that secondary color matching processing is realized.
8. The HDR preview level in-situ live toning method of claim 7, wherein said 3D-LUT mapping is implemented by an FPGA or ASIC.
9. The HDR preview-level live toning method of claim 1, further comprising, after performing secondary toning processing on the target HDR video based on the 3D-LUT module and the 1D-LUT module corresponding to each display terminal: carrying out color matching treatment again through color matching software based on the user side; the toning software comprises at least one of PC toning software and mobile phone toning software.
10. The HDR preview-level live toning method of claim 1, further comprising:
obtaining target HDR video subjected to secondary toning treatment, carrying out framing treatment to obtain a plurality of frame treatment images, and selecting a first treatment image and a second treatment image;
acquiring a target HDR video before secondary toning, carrying out framing treatment to obtain a plurality of frame detection images, and selecting a first detection image corresponding to a first treatment image and a second detection image corresponding to a second treatment image;
respectively extracting pixel points from the first processed image and the first detected image, and carrying out normalization processing on the pixel points to obtain a first vector and a second vector;
calculating a first adjustment parameter according to the first vector and the second vector;
respectively extracting pixel points from the second processed image and the second detected image, and carrying out normalization processing on the pixel points to obtain a third vector and a fourth vector;
calculating a second adjusting parameter according to the third vector and the fourth vector;
judging whether the first adjusting parameter is consistent with the second adjusting parameter, and generating and displaying prompt information of deviation of color mixing when the first adjusting parameter is inconsistent with the second adjusting parameter.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202311615463.4A CN117319620B (en) | 2023-11-30 | 2023-11-30 | HDR preview-level on-site real-time color mixing method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202311615463.4A CN117319620B (en) | 2023-11-30 | 2023-11-30 | HDR preview-level on-site real-time color mixing method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN117319620A CN117319620A (en) | 2023-12-29 |
CN117319620B true CN117319620B (en) | 2024-03-08 |
Family
ID=89255732
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202311615463.4A Active CN117319620B (en) | 2023-11-30 | 2023-11-30 | HDR preview-level on-site real-time color mixing method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN117319620B (en) |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106210921A (en) * | 2016-08-12 | 2016-12-07 | 深圳创维-Rgb电子有限公司 | A kind of image effect method for improving and device thereof |
CN106791865A (en) * | 2017-01-20 | 2017-05-31 | 杭州当虹科技有限公司 | The method of the self adaptation form conversion based on high dynamic range video |
CN108882028A (en) * | 2018-07-05 | 2018-11-23 | 华为技术有限公司 | The processing method and processing device of vision signal |
CN109274985A (en) * | 2018-10-12 | 2019-01-25 | 腾讯科技(深圳)有限公司 | Video transcoding method, device, computer equipment and storage medium |
CN113271449A (en) * | 2021-07-21 | 2021-08-17 | 北京小鸟科技股份有限公司 | Conversion system, method and equipment for multiple HDR videos |
CN114866809A (en) * | 2022-06-13 | 2022-08-05 | 百果园技术(新加坡)有限公司 | Video conversion method, device, equipment, storage medium and program product |
CN116567346A (en) * | 2022-01-27 | 2023-08-08 | 腾讯科技(深圳)有限公司 | Video processing method, device, storage medium and computer equipment |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9973723B2 (en) * | 2014-02-24 | 2018-05-15 | Apple Inc. | User interface and graphics composition with high dynamic range video |
-
2023
- 2023-11-30 CN CN202311615463.4A patent/CN117319620B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106210921A (en) * | 2016-08-12 | 2016-12-07 | 深圳创维-Rgb电子有限公司 | A kind of image effect method for improving and device thereof |
CN106791865A (en) * | 2017-01-20 | 2017-05-31 | 杭州当虹科技有限公司 | The method of the self adaptation form conversion based on high dynamic range video |
CN108882028A (en) * | 2018-07-05 | 2018-11-23 | 华为技术有限公司 | The processing method and processing device of vision signal |
CN109274985A (en) * | 2018-10-12 | 2019-01-25 | 腾讯科技(深圳)有限公司 | Video transcoding method, device, computer equipment and storage medium |
CN113271449A (en) * | 2021-07-21 | 2021-08-17 | 北京小鸟科技股份有限公司 | Conversion system, method and equipment for multiple HDR videos |
CN116567346A (en) * | 2022-01-27 | 2023-08-08 | 腾讯科技(深圳)有限公司 | Video processing method, device, storage medium and computer equipment |
CN114866809A (en) * | 2022-06-13 | 2022-08-05 | 百果园技术(新加坡)有限公司 | Video conversion method, device, equipment, storage medium and program product |
Also Published As
Publication number | Publication date |
---|---|
CN117319620A (en) | 2023-12-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11317071B2 (en) | Video signal processing method and apparatus | |
KR102670327B1 (en) | Method and apparatus for HDR signal conversion | |
CN107786864B (en) | Television picture display method, equipment and readable storage medium | |
JP6396596B2 (en) | Luminance modified image processing with color constancy | |
CN108933933B (en) | A kind of video signal processing method and device | |
EP2200268B1 (en) | Method of calibration of a target color reproduction device | |
EP1886506A2 (en) | Color transformation luminance correction method and device | |
US20080266314A1 (en) | Nonlinearly extending a color gamut of an image | |
JP6351202B2 (en) | Method for viewing simulated light output and apparatus for generating simulated light output | |
US10645359B2 (en) | Method for processing a digital image, device, terminal equipment and associated computer program | |
US20190082138A1 (en) | Inverse tone-mapping to a virtual display | |
CN105898252A (en) | Television color adjustment method and device | |
CN114866809A (en) | Video conversion method, device, equipment, storage medium and program product | |
CN116092423A (en) | Color correction method and device for display panel | |
US10326971B2 (en) | Method for processing a digital image, device, terminal equipment and associated computer program | |
CN117319620B (en) | HDR preview-level on-site real-time color mixing method | |
Ogura et al. | 4K HDR workflow: From capture to display | |
KR20220143932A (en) | Improved HDR color handling for saturated colors | |
KR100461018B1 (en) | Natural color reproduction method and apparatus on DTV | |
CN116167950B (en) | Image processing method, device, electronic equipment and storage medium | |
US11769464B2 (en) | Image processing | |
Vandenberg et al. | A survey on 3d-lut performance in 10-bit and 12-bit hdr bt. 2100 pq | |
Boitard et al. | Evaluation of color pixel representations for high dynamic range digital cinema | |
Meininger et al. | Display Calibration | |
Sector | Report ITU-R BT. 2390-11 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CP03 | Change of name, title or address |
Address after: 518000, Building 5, Meinian International Plaza, Taohuayuan Community, Zhaoshang Street, Nanshan District, Shenzhen, Guangdong Province, China, 1301-1310 Patentee after: Shenzhen Zunzheng Technology Co.,Ltd. Country or region after: China Address before: 518000 rooms 01, 02, 03, 04, 6th floor, building 2, meinian Plaza, west of Nanhai Avenue, Nanshan District, Shenzhen City, Guangdong Province Patentee before: SZ ZUNZHENG DIGITAL VIDEO Co.,Ltd. Country or region before: China |
|
CP03 | Change of name, title or address |