Video encoding device, video decoding device, and programs thereof

By individually encoding luminance and color difference signals and adjusting encoding parameters to predict and mitigate signal deterioration, the video encoding device enhances the subjective quality of wide color gamut video transmission.

JP7557298B2Active Publication Date: 2024-09-27NIPPON HOSO KYOKAI
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
JP2020122673
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Filing Date
2020-07-17
Publication Date
2024-09-27
Estimated Expiration
2040-07-17

AI Technical Summary

Technical Problem

Existing video encoding devices face challenges in maintaining subjective quality when encoding wide color gamut videos, particularly when reducing the amount of code for color difference signals, which can lead to noticeable deterioration in luminance signals.

Method used

The video encoding device individually encodes luminance and color difference signals in predetermined blocks, predicting signal deterioration, and adjusting encoding parameters to enhance color difference signal reproducibility, including achromatizing signals within certain ranges or including meta information for decoding.

Benefits of technology

This approach improves the subjective quality of wide color gamut video transmission by optimizing encoding parameters based on luminance and color difference signal characteristics, enhancing perceptual quality.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007557298000001
    Figure 0007557298000001
  • Figure 0007557298000006
    Figure 0007557298000006
  • Figure 0007557298000005
    Figure 0007557298000005
Patent Text Reader

Abstract

To provide a video encoder, a video decoder and a program therefor, which improves subjective quality when compressing a video of a wide color gamut.SOLUTION: A video encoder 1 includes a coding control unit 11 which, when coding a video frame, controls a video coding unit 12 which codes a luminance signal and a color difference signal respectively individuality on the basis of each predetermined block unit. On estimating a large luminance signal deterioration in a predetermined block of a coding target, the coding control unit 11 controls the video coding unit 12 to increase the reproducibility of the color difference signal. Also, a video decoder 2 includes a decoding control unit 21 which, based on auxiliary information transmitted from the video encoder 1, controls a video decoding unit 22 which decodes a video coding signal having been transmitted correspondingly. When meta information, which instructs to make the color difference signal achromatic in a block of a decoding target, is transmitted, the decoding control unit 21 controls to completely make achromatic the color difference signal.SELECTED DRAWING: Figure 3
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to a video encoding device, a video decoding device, and programs therefor for compressing and transmitting wide color gamut video. [Background technology]

[0002] In recent years, wide color gamut images that can reproduce more vivid colors than conventional color gamut images such as ITU-R Recommendation BT.709 have become increasingly popular. For example, the color gamut specified in ITU-R Recommendation BT.2020 is used for 8K / 4K broadcasting, and the area ratio on the xy chromaticity diagram of the color gamut that can be reproduced by BT.2020 is about 1.5 times that of BT.709 used in 2K broadcasting.

[0003] FIG. 6 shows the xy chromaticity diagram of the CIE XYZ color system for ITU-R Recommendations BT.709 and BT.2020. In FIG. 6, the area surrounded by the dotted line is the range of colors that can be seen by the naked eye. As shown in the figure, the color gamut of BT.709 and BT.2020 is expressed by a triangle connecting the vertex coordinates of each color RGB (note that the white point W according to the CIE standard illuminant D65 is also an achromatic point). In addition, since colors beyond the color gamut of the triangle cannot be reproduced in images conforming to the BT.709 and BT.2020 standards, the color reproduction on the video decoder side can be improved by widening the color gamut of the images compressed and transmitted by the video encoder. In addition, by combining with HDR (High Dynamic Range) technology that can express a wide range of brightness, it is possible to express realistic images.

[0004] Incidentally, when a video encoding device compresses and transmits a video frame signal consisting of a luminance signal and a color difference signal, the processing is carried out taking into consideration that human vision is sensitive to deterioration of the luminance signal that contributes to edge information, but insensitive to deterioration of the color difference signal that contributes to color information. For example, a color image captured by a camera is composed of three components, R, G, and B, which are the three primary colors of light, but when input to a video encoding device, it is converted into three components, a luminance signal Y and color difference signals Cb and Cr, and a subsampling process is carried out to thin out the color difference signals (for example, see Non-Patent Document 1).

[0005] The aforementioned 8K / 4K broadcasting uses a 4:2:0 video format in which the number of pixels in the horizontal and vertical directions of the color difference signal is half that of the luminance signal. Furthermore, the video encoding device performs processing to reduce the amount of code by making the QP (Quantization Parameter: quantization step value) and quantization matrix coefficients for the color difference signal larger than those for the luminance signal and lowering the reproducibility of the color difference signal. [Prior art documents] [Non-patent literature]

[0006] [Non-Patent Document 1] Edited by Eiichiro Okubo, "H.265 / HEVC Textbook", First Edition, Impress Japan, Published October 21, 2013 Summary of the Invention [Problem to be solved by the invention]

[0007] As described above, by expanding the color gamut of the video compressed and transmitted by the video encoding device, the color reproduction at the video decoding device side can be improved. Meanwhile, the video encoding device performs processing that takes into account the fact that human vision is sensitive to degradation of the luminance signal that contributes to edge information and insensitive to degradation of the color difference signal that contributes to color information.

[0008] However, when encoding wide color gamut video conforming to the BT.2020 standard at a high compression rate using a video encoding device, there is a problem that the subjective quality may be reduced if the amount of code for the color difference signal is reduced as in the past. In other words, even for images with complex patterns in which degradation of the luminance signal is prominent, the subjective quality may be improved by combining color difference signals with less degradation, and this has been confirmed experimentally.

[0009] In view of the above-mentioned problems, an object of the present invention is to provide a video encoding device, a video decoding device, and programs therefor that improve subjective quality when compressing wide color gamut video. [Means for solving the problem]

[0010] A video coding device of the present invention is a video coding device that codes a video frame consisting of a luminance signal and a color difference signal, and includes a video coding unit that codes the luminance signal and the color difference signal individually for each predetermined block of the video frame, and a coding control unit that variably controls coding parameters to control the video coding unit, and the coding control unit predicts whether or not degradation of the luminance signal of a predetermined block to be coded will be large, and controls the video coding unit to increase the reproducibility of the color difference signal when the coding control unit predicts that the degradation will be large. and when the deterioration is predicted to be large, the encoding device further has a function of judging whether or not the color difference signal of the predetermined block to be encoded of the video frame is within a predetermined range from achromatic color, and when it is judged that the color difference signal is within the predetermined range from achromatic color, the encoding device determines encoding parameters for completely making the color difference signal achromatic, or controls the transmission of meta information instructing the achromatic color to the video decoding device side by including the meta information in auxiliary information. It is characterized by:

[0012] In addition, in the video encoding device of the present invention, the encoding control unit is further characterized by having a function of determining whether or not the color difference signal is within a predetermined range of high perceptibility when the color difference signal is not within a predetermined range from achromatic color, and determining encoding parameters for the color difference signal based on the determination result.

[0013] Furthermore, the video decoding device of the present invention is a video decoding device that inputs and decodes a video encoding signal of a video frame encoded by the video encoding device of the present invention, and comprises a video decoding unit that performs a decoding process on the video encoding signal using encoding parameters based on auxiliary information transmitted from the video encoding device, and a decoding control unit that controls the video decoding unit to perform a decoding process on the video encoding signal based on the auxiliary information transmitted from the video encoding device, and is characterized in that when meta information instructing the color difference signal in a block to be decoded to be made achromatic is transmitted as the auxiliary information, the decoding control unit controls the video decoding unit by changing the encoding parameters so as to completely achromatize the color difference signal of the specified block.

[0014] Furthermore, the program according to the present invention is configured as a program for causing a computer to function as the video encoding device of the present invention.

[0015] Furthermore, the program according to the present invention is configured as a program for causing a computer to function as the video decoding device of the present invention. Effect of the Invention

[0016] According to the present invention, it is possible to improve the subjective quality when compressing and transmitting wide color gamut video. [Brief description of the drawings]

[0017] [Figure 1] 1 is a block diagram showing a schematic configuration of a video encoding device according to an embodiment of the present invention. [Diagram 2] 1 is a block diagram showing a schematic configuration of an encoding control unit in a video encoding device according to an embodiment of the present invention. [Diagram 3] 4 is a flowchart showing encoding control in the first embodiment by an encoding control unit according to the present invention. [Figure 4] 11 is a flowchart showing encoding control according to a second embodiment of the present invention by an encoding control unit. [Diagram 5]FIG. 1 is a block diagram showing a schematic configuration of a video decoding device according to an embodiment of the present invention. [Figure 6] FIG. 1 is a diagram showing an xy chromaticity diagram of the CIE XYZ color system related to ITU-R Recommendations BT.709 and BT.2020. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0018] A video encoding device 1 and a video decoding device 2 according to an embodiment of the present invention will now be described with reference to the drawings.

[0019] [Video Encoding Device] (Overall composition) FIG. 1 is a block diagram showing a schematic configuration of a video encoding device 1 according to an embodiment of the present invention. The video encoding device 1 of this embodiment receives a video frame signal consisting of a luminance signal and a color difference signal constituting a frame to be processed, and encodes the luminance signal and the color difference signal individually in a predetermined unit. Typically, the predetermined unit is a block unit, and the encoding process is usually performed by hierarchically subdividing the signal into a GOP (Group of Picture) unit consisting of a plurality of frames, a frame unit, a slice unit which is a divided area within a frame, a tile unit, and a block unit which is a divided area within a frame, slice, and tile. Therefore, the video encoding device 1 of this embodiment will be described as processing the video frame signal from the luminance signal and the color difference signal in a "predetermined block unit".

[0020] More specifically, the video encoding device 1 of this embodiment includes an encoding control unit 11 and a video encoding unit 12.

[0021] The encoding control unit 11 controls the video encoding unit 12 to encode the luminance signal and the color difference signal individually in a predetermined block unit for a signal of a video frame consisting of a luminance signal and a color difference signal. In particular, although a detailed embodiment will be described later, the encoding control unit 11 according to the present invention judges the deterioration prediction of the luminance signal based on either one or both of a predetermined complexity obtained from a predetermined encoding result of the luminance signal and a predetermined judgment parameter, determines the encoding parameters for the color difference signal based on the judgment result of the deterioration prediction of the luminance signal, and outputs them to the video encoding unit 12 for control. In addition, the encoding control unit 11 outputs each encoding parameter of the video encoding unit 12 for the luminance signal and the color difference signal to the outside as auxiliary information of the video encoding signal as necessary. This auxiliary information may be transmitted to the video decoding device 2 side in the form of a bit stream entropy-encoded so as to be multiplexed on the bit stream of the video encoding signal, or may be transmitted in a form in which the transmission format or transmission path is changed, such as in a different file format.

[0022] The video encoding unit 12 is a processing unit that is controlled by the encoding control unit 11, inputs video frames of a moving image composed of a luminance signal and a color difference signal, and encodes the video frames by block-based encoding such as H.265 / HEVC based on encoding parameters. As a typical example, the video encoding unit 12 includes a pre-processing unit 121, a subtraction unit 122, an orthogonal transformation unit 123, a quantization unit 124, an inverse quantization / inverse orthogonal transformation unit 125, an addition unit 126, an intra prediction unit 127, a loop filter 128, an inter prediction unit 129, a switching unit 130, an entropy encoding unit 131, and an output unit 132.

[0023] The pre-processing unit 121 inputs a video frame of a video image to be processed, and performs all pre-processing required for generating a second coded signal, such as the coding type (intra-screen coding, inter-screen coding), coding order, prediction reference relationship, coding block as a coding unit, or slice, based on coding parameters, and outputs original signals of a predetermined block unit set for each luminance signal and chrominance signal to the subtraction unit 122.

[0024] The subtraction unit 122 forms a differential signal by subtracting the original signal of a predetermined block unit obtained from the pre-processing unit 121 from the corresponding block unit prediction signal obtained from the switching unit 130 for each luminance signal and color difference signal, and outputs the differential signal to the orthogonal transformation unit 123.

[0025] The orthogonal transform unit 123 performs frequency transformation on the difference signal obtained from the subtraction unit 122 based on the orthogonal transform coefficients, and outputs the result to the quantization unit .

[0026] The quantization unit 124 quantizes the orthogonal transform coefficient signal obtained from the orthogonal transform unit 123 , and outputs the result to the entropy coding unit 131 and the inverse quantization and inverse orthogonal transform unit 125 .

[0027] The inverse quantization / inverse orthogonal transform unit 125 performs the inverse processing of the quantization unit 124 on the quantized values ​​of the orthogonal transform coefficient signals obtained from the quantization unit 124 to restore the orthogonal transform coefficient signals, and further performs the inverse processing of the orthogonal transform unit 123 on this orthogonal transform coefficient signal to restore the differential signal, and outputs it to the addition unit 126.

[0028] The adder 126 adds the difference signal obtained from the inverse quantization and inverse orthogonal transform unit 125 and the prediction signal obtained from the switching unit 130 to generate a locally decoded block. The adder 126 outputs the locally decoded block to an intra-screen prediction unit 127 during intra-coding, and outputs the locally decoded block to an inter-screen prediction unit 129 via a loop filter 128 during inter-coding.

[0029] During intra-coding, the intra-screen prediction unit 127 temporarily stores the locally decoded block obtained from the addition unit 126 as an adjacent block of the next block to be coded, generates a prediction signal of the next block to be coded based on the adjacent block, and outputs it to the subtraction unit 122 and the addition unit 126 via the switching unit 130.

[0030] The loop filter 128 is a processing unit that applies a so-called deblocking filter, a band pass filter, or SAO (Sample Adaptive Offset) that performs offset processing on a block basis to the locally decoded block obtained from the addition unit 126 .

[0031] During inter-coding, the inter-screen prediction unit 129 temporarily stores the locally decoded blocks obtained from the loop filter 128 on a picture-by-picture basis, generates a prediction signal for the next block to be coded based on block matching in a reference picture that is referenced as motion prediction, and outputs the prediction signal to the subtraction unit 122 and the addition unit 126 via the switching unit 130.

[0032] The switching unit 130 is a functional unit that switches between intra-coding and inter-coding depending on the coding type.

[0033] The entropy coding unit 131 performs entropy coding processing on the quantized values ​​of the orthogonal transform coefficient signal obtained from the quantization unit 124 to generate a video coding signal for the luminance signal and the color difference signal, and outputs it to the output unit 132 in the form of a bit stream.

[0034] The output unit 132 outputs the video encoded signal generated by the entropy encoding unit 131 to the outside in the form of a bit stream. The output unit 132 can output a video encoded signal generated by performing multi-pass encoding processing to the outside in addition to outputting a video encoded signal generated by one-time (one-pass) encoding, according to an output control signal from the encoding control unit 11. In multi-pass encoding, when encoding a video frame by block-based encoding, the video frame is encoded once using a simple known method, analyzed, and the whole picture is grasped before encoding processing is performed. In consideration of processing delay and energy efficiency, two-pass encoding is often used.

[0035] (Configuration of the encoding control unit) Fig. 2 is a block diagram showing a schematic configuration of the encoding control unit 11 in the video encoding device 1 according to an embodiment of the present invention. The encoding control unit 11 shown in Fig. 2 includes a pre-measurement unit 111, a luminance encoding parameter determination unit 112, an encoding parameter setting unit 113, a luminance complexity determination unit 114, a luminance degradation prediction determination unit 115, a chrominance encoding parameter determination unit 116, an output control unit 117, and a determination result storage unit 118. Note that the configuration example of the encoding control unit 11 shown in Fig. 2 is an example of a configuration having functional units when all of the encoding controls of the embodiments according to Figs. 3 and 4 described later can be realized, and it is not necessary for the encoding control unit 11 to have all of the functional units.

[0036] The advance measurement unit 111 inputs a video frame to be coded currently of a moving image, and instructs the luminance coding parameter determination unit 112 to determine arbitrarily determined coding parameters related to the luminance signal. The advance measurement unit 111 also measures the complexity related to the luminance signal in advance based on a predetermined determination criterion including at least an analysis of the variance value or frequency of the luminance signal, and outputs the result to the luminance complexity determination unit 114. Note that when the advance measurement unit 111 is configured not to measure the complexity related to the luminance signal in advance, this advance measurement process can be omitted.

[0037] The luminance coding parameter determination unit 112 determines coding parameters for the luminance signal based on an arbitrary criterion based on instructions from the advance measurement unit 111 (for example, determines coding parameters for the luminance signal that have been prepared in advance and are deemed suitable for a large number of moving images), and outputs the determined coding parameters to the coding parameter setting unit 113.

[0038] The luminance complexity determination unit 114 determines the complexity of the luminance signal based on a predetermined determination criterion including at least one of the analysis of the peak signal-to-noise ratio (PSNR) of the encoding result of the luminance signal of the immediately preceding video frame (the encoding result of the immediately preceding video frame or the encoding result of the first pass in the two-pass encoding). When the luminance complexity determination unit 114 obtains the determination result of the complexity of the luminance signal from the advance measurement unit 111, the luminance complexity determination unit 114 may omit the complexity determination process based on the encoding result of the luminance signal obtained from the video encoding unit 12, or may determine the complexity of the luminance signal by a comprehensive determination that is weighted in advance by taking both factors into consideration. Then, the luminance complexity determination unit 114 outputs the determined complexity of the luminance signal to the luminance deterioration prediction determination unit 115.

[0039] The luminance degradation prediction determination unit 115 performs a determination of degradation prediction of the luminance signal based on either one or both of the complexity of the luminance signal obtained from the luminance complexity determination unit 114 and a determination parameter (a setting related to a bit rate for a video format of a video frame, or an instruction to take into consideration a degradation prediction history of a reference block related to motion compensation prediction) input in advance. Then, when the luminance degradation prediction determination unit 115 determines whether or not degradation of the luminance signal of the block to be coded is predicted to be large, it outputs the determination result to the chrominance coding parameter determination unit 116.

[0040] It is possible to estimate that the luminance signal will deteriorate if the luminance signal has a high degree of complexity, and furthermore, it is possible to estimate that the luminance signal will deteriorate from the bit rate setting for the video format of the video frame. The determination result of the luminance signal deterioration prediction is temporarily stored in the determination result storage unit 118 at least during the GOP period. As a result, when it has been determined that the luminance signal deterioration is predicted to be large as the history of the reference block related to the motion compensation prediction referred to by the encoding target block, the luminance deterioration prediction determination unit 115 can use this to determine that the luminance signal deterioration is also predicted to be large for the encoding target block.

[0041] The color difference encoding parameter determination unit 116 determines whether to increase or decrease the reproducibility of the color difference signal based on the determination result of the degradation prediction of the luminance signal obtained from the luminance degradation prediction determination unit 115, determines encoding parameters for the color difference signal corresponding to the determined reproducibility, and outputs the determined encoding parameters to the encoding parameter setting unit 113.

[0042] The chrominance coding parameter determination unit 116 may also have a function of predicting whether degradation of the luminance signal will be large, and, if it is predicted that degradation will be large, determining whether the chrominance signal of the chrominance signal of the block to be coded is close to achromatic (whether it is within a predetermined range from achromatic), determining whether the chrominance signal of the block to be coded is close to achromatic (whether it is within a predetermined range from achromatic) as to whether the chrominance signal is achromatic and determining coding parameters for completely achromatizing the chrominance signal, if the chrominance signal of the block to be coded is close to achromatic (within a predetermined range from achromatic), or performing control to include meta information instructing the output control unit 117 to achromatize the chrominance signal in auxiliary information so as to enable transmission to the video decoding device 2 side, and determining whether the chrominance signal is within a predetermined high perceptual range, if the chrominance signal is not within the predetermined range from achromatic, and determining coding parameters for the chrominance signal based on the determination result.

[0043] Then, the encoding parameter setting unit 113 sets the encoding parameters for the luminance signal determined by the luminance encoding parameter determination unit 112 and the encoding parameters for the chrominance signal determined by the chrominance encoding parameter determination unit 116 in the video encoding unit 12, and outputs a notification to that effect to the output control unit 117.

[0044] After setting each coding parameter in the video coding unit 12 for the luminance signal and the color difference signal, the output control unit 117 outputs each coding parameter as auxiliary information of the video coded signal as necessary so as to be transmittable to the video decoding device 2. The output control unit 117 also transmits an output control signal to the output unit 132 in the video coding unit 12, and controls the output unit 132 to externally output the video coded signal generated by the entropy coding unit 131 in the form of a bit stream so as to be transmittable to the video decoding device 2. As described above, the output unit 132 can externally output a video coded signal generated by one-time (one-pass) coding in response to an output control signal from the coding control unit 11, as well as externally output a video coded signal generated by performing two-pass coding processing.

[0045] (Encoding control in the first embodiment) FIG. 3 is a flowchart showing the encoding control of the encoding control unit 11 according to the first embodiment of the present invention.

[0046] First, the encoding control unit 11 determines, by using the functions of the advance measurement unit 111, the luminance encoding parameter determination unit 112, the luminance complexity determination unit 114, and the luminance degradation prediction determination unit 115, whether or not significant degradation of the luminance signal is expected in a specific block to be encoded when performing block-based encoding of a video frame to be encoded this time of a moving image (step S1).

[0047] More specifically, in step S1, when the encoding control unit 11 performs block-based encoding of the video frame to be encoded currently of the moving image, it performs a degradation prediction judgment process to judge whether or not it is predicted that the luminance signal of the block to be encoded will deteriorate significantly based on a predetermined complexity obtained from a pre-measurement result of the current video frame to be processed, a predetermined complexity obtained from the encoding result of the immediately preceding video frame or the encoding result of the first pass in a specified two-pass encoding, and one or more of judgment parameters input in advance.

[0048] The deterioration prediction judgment using the complexity uses one or more of the following judgment criteria (A1) to (A5). When multiple judgment criteria are used, a weighted overall judgment is made. (A1) The PSNR of the encoding result of the immediately preceding video frame or the encoding result of the first pass in two-pass encoding is equal to or lower than a predetermined value. (A2) The SSIM of the encoding result of the immediately preceding video frame or the encoding result of the first pass in two-pass encoding is equal to or less than a predetermined value. (A3) The product of the QP of the encoding result of the immediately preceding video frame or the encoding result of the first pass in two-pass encoding and the code amount (output of the video encoding device) is equal to or greater than a predetermined value. (A4) The variance value of the luminance signal of the current video frame to be processed, which is measured in advance, is equal to or greater than a predetermined value. (A5) The variance value after frequency conversion of the luminance signal of the current video frame to be processed, which is measured in advance, is equal to or greater than a predetermined value.

[0049] In addition, the degradation prediction judgment based on the coding parameters used as the judgment parameters input in advance shall use one or more of the following judgment criteria (B1) to (B3). When multiple judgment criteria are used, a pre-weighted overall judgment shall be used. (B1) The fixed bit rate setting value for the video format of the current video frame to be processed is equal to or lower than a predetermined value (the variance value of the luminance signal of the current video frame has been measured in advance, and when the fixed bit rate setting value set for transmission convenience is equal to or lower than a predetermined value, it is pre-set as being of high complexity). (B2) The target bit rate when performing bit rate control on the video format of the current video frame to be processed is equal to or lower than a predetermined value (the variance value of the luminance signal of the current video frame has been measured in advance, and when the bit rate target value of the bit rate control used for transmission purposes is equal to or lower than a predetermined value, the complexity is preset as being high). (B3) When a reference block for motion compensation prediction referred to by a block to be coded of a luminance signal of the current video frame is processed as a target for degradation prediction determination, the block to be processed is also processed as a target for degradation prediction determination.

[0050] Then, when the encoding control unit 11 determines that the deterioration of the luminance signal is not expected to be significant (step S1: No), the encoding control unit 11 uses the function of the chrominance encoding parameter determination unit 116 to determine a predetermined encoding parameter (e.g., the number of quantization steps or the prediction mode) for the chrominance signal of the block to be encoded that is lower than the reproducibility of the luminance signal, thereby reducing the amount of code (step S2).

[0051] It has been experimentally demonstrated that extremely low reproduction of the color difference signal when there is almost no degradation of the luminance signal results in a low subjective quality. Therefore, it is desirable to avoid a large difference in degradation, for example by not making the difference in QP between the luminance signal and the color difference signal too large.

[0052] On the other hand, when the encoding control unit 11 determines that the deterioration of the luminance signal is expected to be large (step S1: Yes), the encoding control unit 11 uses the function of the chrominance encoding parameter determination unit 116 to change the predetermined encoding parameters (e.g., the number of quantization steps or the prediction mode) used when it is predicted that the deterioration of the luminance signal will not be large for the chrominance signal of the block to be encoded, determines the predetermined encoding parameters (e.g., the number of quantization steps or the prediction mode) that will improve the degree of reproduction, and increases the amount of code (step S3).

[0053] Specifically, for a color difference signal in a block to be coded, when it is determined that the degradation of the luminance signal is predicted to be large, a predetermined QP (i.e., the number of quantization steps) or quantization matrix coefficient used when the degradation of the luminance signal is predicted to be small is changed, or a prediction mode (specified by a mode number in H.265 or VVC) is selected to determine coding parameters that reduce the color difference signal by a predetermined amount. It is also possible to determine coding parameters that code the color difference signal losslessly or visually losslessly. When changing the QP (i.e., when changing the quantization matrix coefficient), it is desirable to perform clipping processing, for example, to prevent the QP from changing by 5 or more, since a sudden change in image quality makes the degradation noticeable.

[0054] In this way, when a video with a high complexity luminance signal is encoded at a low target bit rate, and large degradation is expected, the amount of code for the luminance signal must be significantly increased to improve image quality. On the other hand, chrominance signals are generally flatter and have smaller variance than luminance signals, and the number of pixels is reduced by subsampling, making them less difficult to encode. Therefore, a slight increase in the amount of code allocated to the chrominance signal can be expected to improve subjective quality.

[0055] According to the encoding control of the first embodiment, it is possible to improve the subjective quality when compressing and transmitting wide color gamut video.

[0056] (Encoding control in the second embodiment) FIG. 4 is a flowchart showing the encoding control of the encoding control unit 11 according to the second embodiment of the present invention.

[0057] First, similarly to step S1 in the first embodiment, the encoding control unit 11 uses the functions of the advance measurement unit 111, the luminance encoding parameter determination unit 112, the luminance complexity determination unit 114, and the luminance degradation prediction determination unit 115 to determine whether or not significant degradation of the luminance signal is expected in a specific block to be encoded when performing block-based encoding of a video frame to be encoded this time of a moving image (step S11).

[0058] Then, when the encoding control unit 11 determines that the deterioration of the luminance signal is not expected to be large (step S11: No), similarly to step S2 in the first embodiment, the encoding control unit 11 determines, by the function of the chrominance encoding parameter determination unit 116, a predetermined encoding parameter (e.g., the number of quantization steps or the prediction mode) for the chrominance signal of the block to be encoded that is lower than the reproducibility of the luminance signal, thereby reducing the amount of code (step S12).

[0059] On the other hand, when the encoding control unit 11 determines that the luminance signal is expected to be significantly deteriorated (step S11: Yes), it determines whether the chrominance signal of the block to be encoded is close to achromatic (whether it is within a predetermined range from achromatic) (step S13).

[0060] For example, in the case of luminance and color difference signals Y, Cb, and Cr defined in BT.2020, it is possible to determine whether or not both of the color difference signals Cb and Cr are close to the median value (512 in the case of 10 bits).

[0061] Then, using the function of the chrominance encoding parameter determination unit 116, if the chrominance signal of the block to be encoded is within a predetermined range from achromatic (step S13: Yes), the encoding control unit 11 determines that the chrominance signal is achromatic and determines encoding parameters to make the chrominance signal completely achromatic, or controls the output control unit 117 to include meta information in the auxiliary information to instruct the output control unit 117 to make the chrominance signal achromatic, so that the auxiliary information can be transmitted to the video decoding device 2 side (step S14).

[0062] Furthermore, when the chrominance signal of the block to be coded is not within a predetermined range from achromatic color (step S13: No), the coding control unit 11, using the function of the chrominance coding parameter determination unit 116, determines whether the chrominance signal is within a predetermined high perceptual range (step S15).

[0063] For example, by determining whether a color is within a range of high perception of matching colors based on MacAdam's ellipse, which is obtained by investigating the range of colors perceived as matching on an xy chromaticity diagram, it is possible to determine whether the color gamut is narrow or corresponds to a color gamut that is sensitive to color changes such as skin color.

[0064] Then, when the chrominance signal is within a predetermined high perceptual range (step S15: Yes), the encoding control unit 11 performs the same process as step S3 in the first embodiment by using the function of the chrominance encoding parameter determination unit 116. That is, the encoding control unit 11 changes a predetermined encoding parameter (e.g., the number of quantization steps or the prediction mode) used when it is predicted that the deterioration of the luminance signal is not large for the chrominance signal of the encoding target block, determines a predetermined encoding parameter (e.g., the number of quantization steps or the prediction mode) that increases the reproducibility, and increases the code amount (step S16).

[0065] Furthermore, when the chrominance signal is not within a predetermined high perceptual range (step S15: No), the encoding control unit 11 performs the same process as step S2 in the first embodiment by using the function of the chrominance encoding parameter determination unit 116. That is, the encoding control unit 11 determines a predetermined encoding parameter (e.g., the number of quantization steps or the prediction mode) for the chrominance signal of the encoding target block that is lower than the reproducibility of the luminance signal, thereby reducing the amount of code (step S12).

[0066] According to the encoding control of the second embodiment, it is possible to improve the subjective quality when compressing and transmitting wide color gamut video while taking into consideration the perceptual degree of color difference signals.

[0067] [Video Decoding Device] (Overall composition) 5 is a block diagram showing a schematic configuration of a video decoder 2 according to an embodiment of the present invention. The video decoder 2 according to this embodiment includes a decoding control unit 21 and a video decoding unit 22.

[0068] The decoding control unit 21 controls the video decoding unit 22 so as to perform a decoding process on the video encoded signal encoded by the video encoding device 1 based on the auxiliary information transmitted from the video encoding device 1 .

[0069] The video decoding unit 22 is a processing unit that is controlled by the decoding control unit 21 and performs a decoding process on the video coded signal coded by the video coding device 1 using coding parameters based on the auxiliary information, to generate a decoded video signal. As a typical example, the video decoding unit 22 has an entropy decoding unit 221, an inverse quantization and inverse orthogonal transform unit 222, an adder 223, an intra prediction unit 224, a loop filter 225, an inter prediction unit 226, and a switching unit 227.

[0070] The entropy decoding unit 221 inputs the video coding signal coded by the video coding device 1 as a bit stream, performs a decoding process on the variable-length code related to the bit stream, which is the inverse process of the entropy coding by the video coding device 1, and outputs the quantized value of the orthogonal transform coefficient signal, which is a signal in a predetermined block unit specified by the coding parameters, to the inverse quantization / inverse orthogonal transform unit 222.

[0071] The inverse quantization / inverse orthogonal transform unit 222 performs the inverse processing of the quantization unit 124 in the video encoding device 1 on the quantized values ​​of the orthogonal transform coefficient signal obtained from the entropy decoding unit 221 to restore the orthogonal transform coefficient signal, and further performs the inverse processing of the orthogonal transform unit 123 in the video encoding device 1 on this orthogonal transform coefficient signal to restore the differential signal, and outputs it to the addition unit 223.

[0072] The adder 223 adds the difference signal obtained from the inverse quantization and inverse orthogonal transform unit 222 and the prediction signal obtained from the switching unit 227 to generate a decoded block, and outputs the decoded block to an intra-screen prediction unit 224 during intra-coding / decoding, and outputs the decoded block to an inter-screen prediction unit 226 via a loop filter 225 during inter-coding / decoding. The adder 223 also outputs the signal of the generated decoded block to an external device such as a display or a recording unit (not shown) as a decoded video signal.

[0073] During intra-coding decoding, the intra-screen prediction unit 224 temporarily stores the decoded block obtained from the addition unit 223 as an adjacent block of the next block to be decoded, generates a prediction signal of the next block to be decoded based on the adjacent block, and outputs it to the addition unit 223 via the switching unit 227.

[0074] The loop filter 225 is a processing unit that performs a so-called deblocking filter, a band pass filter, an SAO that performs offset processing on a block basis, and the like, on the decoded block obtained from the addition unit 223 .

[0075] During inter-coding / decoding, the inter-screen prediction unit 226 temporarily stores the decoded blocks obtained from the loop filter 225 on a picture-by-picture basis, generates a prediction signal for the next block to be decoded based on block matching in a reference picture that is referenced as motion prediction, and outputs the prediction signal to the addition unit 223 via the switching unit 227.

[0076] The switching unit 227 is a functional unit that switches between intra-coding and inter-coding and decoding depending on the coding type.

[0077] Here, when a video encoding signal is transmitted in the video encoding device 1 using the encoding control of Example 1 shown in Figure 3, similar to existing decoding control, the decoding control unit 21 controls the video decoding unit 22 to perform decoding processing on the video encoding signal encoded by the video encoding device 1 based on the auxiliary information transmitted from the video encoding device 1.

[0078] On the other hand, when the video encoding device 1 transmits a video encoded signal under the encoding control of the second embodiment shown in Fig. 4, the auxiliary information may contain meta-information instructing to perform achromatization. In this case, the decoding control unit 21 is similar in that it controls to perform a decoding process on the video encoded signal encoded by the video encoding device 1 based on the auxiliary information transmitted from the video encoding device 1, but when the meta-information is transmitted, it controls the video decoding unit 22 by changing the encoding parameters so as to completely achromatize the chrominance signal of the designated block.

[0079] The video encoding device 1 and video decoding device 2 of the present invention configured as described above can improve the subjective quality when compressing and transmitting wide color gamut video, preferably while taking into account the perceptual degree of color difference signals.

[0080] With respect to the video encoding device 1 and the video decoding device 2 of the above-mentioned embodiment, a program for causing each means of a computer functioning as the video encoding device 1 to function, or a program for causing each means of a computer functioning as the video decoding device 2 to function, can be suitably used. Specifically, a control unit for controlling each means can be configured with a central processing unit (CPU) in a computer, and a storage unit for appropriately storing a program required to operate each means can be configured with at least one memory. That is, by having such a computer execute the program by the CPU, the function of each of the above-mentioned means can be realized. Also, each of the above-mentioned means can be configured as a part of hardware or software, and can be realized by combining each of them.

[0081] Although the above-mentioned embodiments and examples have been described as representative examples, it is obvious to those skilled in the art that many modifications and substitutions can be made within the spirit and scope of the present invention. Therefore, the present invention should not be construed as being limited by the above-mentioned examples, but is limited only by the scope of the claims. [Industrial Applicability]

[0082] INDUSTRIAL APPLICABILITY According to the present invention, it is possible to improve the subjective quality when compressing and transmitting wide color gamut video, and therefore the present invention is useful for video coding applications for compressing and transmitting wide color gamut video. [Explanation of symbols]

[0083] 1. Video Encoding Device 2. Video Decoding Device 11 Encoding control section 12 Video Encoding Unit 21 Decoding control unit 22 Video Decoding Unit 111 Advance Measurement Section 112 Luminance coding parameter determination unit 113 Encoding parameter setting unit 114 Luminance Complexity Judgment Unit 115 Luminance degradation prediction and judgment unit 116 Color difference coding parameter determination unit 117 Output control section 118 Judgment result storage unit 121 Pretreatment section 122 Subtraction section 123 Orthogonal Transformation Unit 124 Quantization section 125 Inverse quantization and inverse orthogonal transformation unit 126 Addition section 127 In-screen prediction section 128 Loop Filter 129 Inter-frame prediction unit 130 Switching section 131 Entropy coding unit 132 Output section 221 Entropy Decoding Unit 222 Inverse quantization and inverse orthogonal transformation unit 223 Addition section 224 In-screen prediction unit 225 Loop Filter 226 Inter-frame prediction unit 227 Switching section

Claims

1. A video encoding device for encoding a video frame including a luminance signal and a color difference signal, comprising: a video encoding unit that encodes a luminance signal and a color difference signal individually for each of the video frames in units of a predetermined block; An encoding control unit that variably controls encoding parameters to control the video encoding unit, a video encoding device characterized in that the encoding control unit has a function of predicting whether deterioration of the luminance signal of a specific block to be encoded will be large, and controlling the video encoding unit to increase the reproducibility of the color difference signal if the deterioration is predicted to be large, and if the deterioration is predicted to be large, further determining whether the color difference signal of the specific block to be encoded of the video frame is within a specified range from achromatic, and if it is determined that the color difference signal is within the specified range from achromatic, treating the color difference signal as achromatic and determining encoding parameters to make it completely achromatic, or controlling the inclusion of meta information instructing the ...

2. 2. The video encoding device according to claim 1, wherein the encoding control unit further has a function of determining whether the color difference signal is within a predetermined range of high perceptual intensity when the color difference signal is not within a predetermined range from achromatic color, and determining encoding parameters for the color difference signal based on the determination result.

3. A video decoding device that receives and decodes a video encoded signal of a video frame encoded by the video encoding device according to claim 2, comprising: a video decoding unit that performs a decoding process on the video encoded signal using encoding parameters based on auxiliary information transmitted from the video encoding device; a decoding control unit that controls the video decoding unit to perform a decoding process on the video encoded signal based on auxiliary information transmitted from the video encoding device, The video decoding device is characterized in that, when meta information instructing the color difference signal in the block to be decoded to be made achromatic is transmitted as the auxiliary information, the decoding control unit controls the video decoding unit by changing the encoding parameters so as to completely achromatize the color difference signal of the specified block.

4. A program for causing a computer to function as the video encoding device according to claim 1 or 2.

5. A program for causing a computer to function as the video decoding device according to claim 3.

Citation Information

Patent Citations

  • Image compressor and red data detector

    JP1995288845A

  • Chroma quantization in video coding

    JP2015053680A

  • Image filter device, filtering method, and dynamic image decoding device

    JP2016201824A

  • High Dynamic Range Adaptive Arithmetic in an Image Decoder

    JP2018534883A

  • Image encoding apparatus, control method therefor, and program

    JP2020028022A