VIDEO ENCODING DEVICE, VIDEO ENCODING METHOD, VIDEO ENCODING PROGRAM, AND NON-TRANSITORY RECORDING MEDIUM
By employing a common filter set for multiple blocks based on statistical information, the video encoding device addresses the high implementation costs and inefficiencies of iterative processing in VVC, achieving improved compression efficiency and edge enhancement.
Patent Information
- Application Number
- JP2023508695
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Priority Date
- 2021-03-23
- Filing Date
- 2022-01-20
- Publication Date
- 2024-09-10
- Estimated Expiration
- 2042-01-20
AI Technical Summary
Existing video encoding techniques, such as VVC, require iterative processing to determine a suitable filter set for each block, leading to high implementation costs and affecting compression efficiency.
A video encoding device and method that uses a common single filter set for multiple blocks based on statistical information, reducing the need for iterative processing and lowering implementation costs.
Achieves good compression efficiency while minimizing implementation costs by applying a single filter set to multiple blocks, enhancing edge enhancement and reducing computational overhead.
Smart Images

Figure 0007548418000002 
Figure 0007548418000009 
Figure 0007548418000007
Abstract
Description
[Technical field]
[0001] The present invention relates to a video encoding device, a video encoding method, a video encoding program, and a non-transitory recording medium. [Background technology]
[0002] In the VVC (Versatile Video Coding) standard, the reconstructed image is subjected to processes such as a deblocking filter and a sample adaptive offset, and further to an adaptive loop filter. By applying such an adaptive loop filter, the reconstructed image is edge-enhanced again with respect to the deblocking filtered picture. This makes it possible to generate a reconstructed image (decoded image) with a small difference from the original image (see, for example, Non-Patent Document 1). In other words, the compression efficiency can be improved by achieving a good balance between the amount of code and the prediction accuracy. [Prior art documents] [Non-patent literature]
[0003] [Non-Patent Document 1] Jianle Chen et al., "Algorithm description for Versatile Video Coding and Test Model 11 (VTM 11)" document JVET-T2002-v1, Joint Collaborative Team on Video Coding (JCT-VC) of ITU-T SG 16 WP 3 and ISO / IEC JTC 1 / SC 29 / WG 11, 20th Meeting, by teleconference, 7-16 October 2020. Summary of the Invention [Problem to be solved by the invention]
[0004] For example, in a video coding technique such as the above-mentioned VVC, a plurality of candidate filter sets are provided for the applicable loop filter. This allows any filter set suitable for the characteristics of each block included in the reconstructed image to be used. However, in order to determine a filter set suitable for the characteristics of a block, it is necessary to perform an iterative process for calculating and evaluating a differential cost between an original image and a reconstructed image. For this reason, it is desirable to achieve good compression efficiency while suppressing implementation costs in video coding.
[0005] An object of the present invention is to provide a video encoding device, a video encoding method, a video encoding program, and a non-transitory recording medium that make it possible to achieve good compression efficiency while suppressing implementation costs. [Means for solving the problem]
[0006] According to one aspect of the present invention, a video encoding device includes an acquisition unit that acquires statistical information of a picture to be encoded, an allocation unit that assigns a single filter set common to a plurality of blocks included in the picture based on the statistical information of the picture, and a filter processing unit that performs the applied loop filter processing on each of the plurality of blocks using the single filter set.
[0007] According to one aspect of the present invention, a video encoding method includes obtaining statistical information of a picture to be encoded, assigning a single filter set common to a plurality of blocks included in the picture based on the statistical information of the picture, and performing the adaptive loop filter process on each of the plurality of blocks using the single filter set.
[0008] According to one aspect of the present invention, a video encoding program causes a processor to obtain statistical information of a picture to be encoded, assign a single filter set common to a plurality of blocks included in the picture based on the statistical information of the picture, and perform the adaptive loop filter processing on each of the plurality of blocks using the single filter set.
[0009] According to one aspect of the present invention, a non-transitory recording medium is readable by a computer and records a program that causes a processor to obtain statistical information of a picture to be encoded, assign a single filter set common to multiple blocks included in the picture based on the statistical information of the picture, and perform adaptive loop filter processing on each of the multiple blocks using the single filter set. Effect of the Invention
[0010] According to one aspect of the present invention, it is possible to achieve good compression efficiency while suppressing implementation costs. Note that the present invention may provide other effects instead of or in addition to the above effect. [Brief description of the drawings]
[0011] [Figure 1] FIG. 1 is a block diagram showing a schematic configuration of a video encoding device 1000 that is applied to an encoding standard such as VVC (Versatile Video Coding). [Diagram 2] FIG. 2 is a block diagram showing a schematic configuration of the loop filter 1060. As shown in FIG. [Diagram 3] FIG. 3 is a flowchart for explaining the flow of processing of the adaptive loop filter. [Figure 4] FIG. 4 is a flowchart for explaining the flow of processing for calculating filter coefficients and determining whether or not they can be applied with respect to luminance information. [Diagram 5]FIG. 5 is a flowchart illustrating the flow of a process for deriving the average value of the covariance information of the color difference information U and V. [Figure 6] FIG. 6 is an explanatory diagram showing an example of a schematic configuration of a video encoding device 1 according to a second example of the exemplary first embodiment to which the present invention is applied. [Figure 7] FIG. 7 is an explanatory diagram showing an example of a schematic configuration of hardware 700 capable of implementing the video encoding device 1. As shown in FIG. [Figure 8] FIG. 8 is a block diagram showing a schematic configuration of a loop filter 60 according to a second example of the first embodiment. [Figure 9] FIG. 9 is a block diagram showing a schematic configuration of an applicable loop filter 100 according to a second example of the first embodiment. [Figure 10] FIG. 10 is an explanatory diagram showing an example of calculation of statistical information. [Figure 11] FIG. 11 is an explanatory diagram for roughly explaining an example of rearrangement of filter coefficients. [Figure 12] FIG. 12 is a flowchart illustrating an example of the process flow of the adaptive loop filter 100. [Figure 13] FIG. 13 is a block diagram showing an example of a schematic configuration of a video encoding device 200 according to the second embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0012] Hereinafter, an embodiment of the present invention will be described in detail with reference to the accompanying drawings. In this specification and the drawings, elements that can be similarly described may be designated by the same reference numerals to avoid repetitive description.
[0013] The explanation will be given in the following order: 1. First embodiment 1.1. First embodiment 1.2. Second Example 1.2.1. Configuration of video encoding device 1 1.2.2. Configuration of Loop Filter 60 1.2.3. Configuration of Applied Loop Filter 100 1.2.4. Example of operation 2. Second embodiment 2.1.Configuration 2.2. Example of operation 3. Other embodiments
[0014] <<1. First embodiment>> A first exemplary embodiment to which the present invention is applied will be described.
[0015] <1.1. First Example> First, as a first example of the first embodiment, a process of an adaptive loop filter performed in a video encoding process will be described.
[0016] (1) Configuration of the Video Encoding Device 1000 1 is a block diagram showing a schematic configuration of a video encoding device 1000 that is applied to an encoding standard such as VVC (Versatile Video Coding). Referring to FIG. 1, the video encoding device 1000 includes an intra prediction unit 1010, an inter prediction unit 1020, a transform / quantization unit 1030, an entropy encoding unit 1040, an inverse transform / inverse quantization unit 1050, a loop filter 1060, and a decoded image buffer 1070.
[0017] The intra prediction unit 1010 and the inter prediction unit 1020 generate a predicted image for the input image for each block. Specifically, when intra prediction is performed on the block to be processed, the intra prediction unit 1010 generates a predicted image for the block to be processed. On the other hand, when inter prediction is performed on the block to be processed, the inter prediction unit 1020 generates a predicted image by referring to the decoded image stored in the decoded image buffer 1070.
[0018] The transform / quantization unit 1030 frequency-transforms a prediction error image obtained by subtracting the prediction image from the input image, and then quantizes the frequency-transformed prediction error image (transformation coefficients).
[0019] The entropy coding unit 1040 entropy codes the transformed and quantized values and the difference information of the motion vectors, which are prediction parameters used by the inter prediction unit 1020, based on, for example, CABAC (Context-based Adaptive Binary Arithmetic Coding). The entropy-coded codewords are transmitted to the outside as a bit stream, for example, via a communication line such as the Internet.
[0020] The inverse transform / inverse quantization unit 1050 inverse quantizes the transformed quantized value. Furthermore, the inverse transform / inverse quantization unit 1050 inverse frequency transforms the inverse quantized frequency transform coefficients. The inverse frequency transformed reconstructed prediction error image is added to a prediction image. Then, the reconstructed prediction image is provided to a loop filter 1060.
[0021] The loop filter 1060 applies various kinds of filtering to the reconstructed predicted image and outputs a decoded image. The output decoded image is stored in the decoded image buffer 1070. The decoded image buffer 1070 stores the reconstructed image.
[0022] (2) Configuration of loop filter 1060 Fig. 2 is a block diagram showing a schematic configuration of the loop filter 1060. Referring to Fig. 2, the loop filter 1060 includes a deblocking filter unit 1061, a sample adaptive offset processing unit 1063, and an adaptive loop filter 1065.
[0023] The deblocking filter unit 1061 performs filtering processing on these block boundaries in order to reduce block-like distortion caused by motion compensation and conversion processing in inter-picture prediction.
[0024] In order to reduce encoding distortion of the reconstructed image, the sample application offset processor 1063 performs processing to add an offset value to the sample value for each sample in each block to which the deblocking filter processing has been applied.
[0025] The adaptive loop filter 1065 performs processing for re-emphasizing edges (reshaping) on the reconstructed image to which the deblocking filter processing and sample adaptive offset processing have been applied.
[0026] (3) Processing flow of the applied loop filter Next, the process flow of the applied loop filter will be described with reference to Fig. 3, which is a flowchart for explaining the process flow of the applied loop filter.
[0027] In step S301, the adaptive loop filter 1065 classifies each block included in a picture to be filtered. Specifically, the adaptive loop filter 1065 performs gradient calculation with reference to the expanded reconstructed image, and outputs block classification information indicating the classification of the block with reference to the gradient.
[0028] In step S303, the adaptive loop filter 1065 calculates covariance information for each of the luminance information Y and the color difference information U and V by determining the range to refer to the original image and the expanded reconstructed image based on the block classification information.
[0029] In step S305, the adaptive loop filter 1065 calculates a filter coefficient for luminance and determines whether or not it is applicable, based on covariance information for the luminance information Y obtained in the previous step. Specifically, step S305 is performed by the process shown in FIG.
[0030] FIG. 4 is a flowchart for explaining the flow of processing for calculating filter coefficients and determining whether or not they can be applied with respect to luminance information.
[0031] Referring to FIG. 4, the adaptive loop filter 1065 performs block-wise (e.g., coding tree unitThe adaptive loop filter 1065 calculates frame covariance information by summing up the covariance information held in each CTU (step S401). Next, the adaptive loop filter 1065 refers to the frame covariance information to calculate the cost when the adaptive loop filter is not applied for all CTUs, that is, the cost related to the difference between the original image and the reconstructed image (step S403). Next, the adaptive loop filter 1065 calculates the cost and filter coefficient when the filter is applied for all CTUs (step S405). Next, the adaptive loop filter 1065 determines whether or not the filter can be applied for each CTU (step S407). Next, the adaptive loop filter 1065 compares a predetermined optimal cost with the total cost of the CTUs, and updates the smaller cost as the optimal cost (step S409). Here, after the iterative process described later, if the current cost is greater than the cost before the iterative process, the process shown in FIG. 4 is terminated. If not, the adaptive loop filter 1065 recalculates the frame covariance from the result of the applicability list for each CTU obtained in step S407 (step S411), and calculates coefficients using the new frame covariance (step S413). Next, the adaptive loop filter 1065 repeats the process from step S413 to step S407 a predetermined number of times (for example, four times), and then returns from step S413 to step S405. The repeat process from step S413 to step S405 is repeated, for example, twice.
[0032] When the iterative process is performed as described above and the optimal cost is determined, a filter set to be applied to each class is determined from a maximum of 25 candidate filter sets. If a filter set having a fixed value is not selected from the maximum of 25 candidate filter sets, filter coefficients are derived from frame covariance. In addition, the filter on / off for each block is derived using the filter coefficients of the determined filter set. Then, step S305 ends and the process proceeds to step S307.
[0033] In step S307, the adaptive loop filter 1065 calculates filter coefficients for chrominance and determines whether or not they are applicable, based on the covariance information for the chrominance information U and V obtained in step S303. Specifically, step S307 is performed in the same manner as the process shown in FIG.
[0034] In step S309, the adaptive loop filter 1065 performs adaptive loop filter processing on each CTU using the extended reconstructed image of the luminance information Y, the class information, the filter set index, the applicability flag, and the like.
[0035] In step S311, the adaptive loop filter 1065 performs adaptive loop filter processing on each CTU using the extended reconstructed image of the color difference information U and V, the class information, the filter set index, the applicability flag, etc. Then, the processing shown in FIG. 3 ends.
[0036] (4) Operations for realizing the first embodiment Next, an operation for implementing the first embodiment will be described.
[0037] The adaptive loop filter can be executed according to the processes shown in Figures 3 and 4 as described above. Specifically, the process shown in Figure 3 includes iterative processes for determining a filter set to be applied to each class, deriving coefficients for each filter set, and deriving filter on / off for each block. In other words, steps S305 and S307 shown in Figure 3 can be executed by multiple memory accesses (such as accesses to the decoded image buffer 1070) to load image data.
[0038] In step S307, the average value of the covariance information of the color difference information U and V is used as an input value for calculating a filter coefficient related to the color difference information. Fig. 5 is a flowchart for explaining the flow of a process for deriving the average value of the covariance information of the color difference information U and V.
[0039] In this case, the adaptive loop filter 1065 acquires covariance information of the color difference information U (step S501), and acquires covariance information of the color difference information V (step S503). Next, the adaptive loop filter 1065 calculates the average value of the covariance information of the color difference information U and the covariance information of the color difference information V as covariance information for calculating a filter coefficient for the color difference information, and ends the process shown in FIG.
[0040] In this case, in the process shown in FIG. 5, filter coefficients that are effective for both the chrominance U and V components can be generated.
[0041] <1.2. Second Example> <1.2.1. Configuration of video encoding device 1> Next, with reference to FIG. 6, an example of the configuration of the video encoding device 1 according to the second example of the first embodiment will be described. FIG. 6 is an explanatory diagram showing an example of a schematic configuration of the video encoding device 1 according to the second example of the exemplary first embodiment to which the present invention is applied. With reference to FIG. 6, the video encoding device 1 includes an intra prediction unit 10, an inter prediction unit 20, a transform / quantization unit 30, an entropy encoding unit 40, an inverse transform / inverse quantization unit 50, a loop filter 60, and a decoded image buffer 70. The configurations other than the loop filter 60, that is, the intra prediction unit 10, the inter prediction unit 20, the transform / quantization unit 30, the entropy encoding unit 40, the inverse transform / inverse quantization unit 50, and the decoded image buffer 70, are the same as the configurations and operations of the video encoding device 1000 described above, and their description will be omitted.
[0042] The video encoding device 1 is implemented, for example, by a hardware configuration as shown in Fig. 7. Fig. 7 is an explanatory diagram showing an example of a schematic configuration of hardware 700 capable of implementing the video encoding device 1. Referring to Fig. 7, the hardware 700 includes a processor 710, a program memory 720, a storage medium 730 for storing video data, and a storage medium 740 for storing a bit stream. The storage medium 730 and the storage medium 740 may be separate storage media, or may be storage areas formed of the same storage medium. A magnetic storage medium such as a hard disk can be used as the storage medium.
[0043] The hardware 700 can realize various functions of the video encoding device 1 by installing a computer program that realizes the functions of the video encoding device 1 in a program memory 720 .
[0044] <1.2.2. Configuration of Loop Filter 60> An example of the configuration of the loop filter 60 will be described with reference to Fig. 8. Fig. 8 is a block diagram showing a schematic configuration of the loop filter 60 according to a second example of the first embodiment. Referring to Fig. 8, the loop filter 60 includes a deblocking filter unit 61, a sample applied offset processing unit 63, and an applied loop filter 100. Here, the configuration other than the applied loop filter 100, i.e., the deblocking filter unit 61 and the sample applied offset processing unit 63, are similar to the configuration and operation of the loop filter 60 included in the above-mentioned video encoding device 1000, and description thereof will be omitted.
[0045] <1.2.3. Configuration of Applied Loop Filter 100> An example of the configuration of the applicable loop filter 100 will be described with reference to Fig. 9. Fig. 9 is a block diagram showing a schematic configuration of the applicable loop filter 100 according to a second example of the first embodiment. Referring to Fig. 9, the applicable loop filter 100 includes an acquisition unit 110, an allocation unit 120, a classification unit 130, and a filter processing unit 140. Specific operations performed by each unit will be described below.
[0046] <1.2.4. Example of operation> Next, an operation example according to the second example of the first embodiment will be described.
[0047] According to a second example of the first embodiment, the acquisition unit 110 of the adaptive loop filter 100 acquires statistical information of one picture to be coded. The allocation unit 120 of the adaptive loop filter 100 allocates a single filter set common to multiple blocks included in the picture based on the statistical information of the picture. The filter processing unit 140 of the adaptive loop filter 100 performs the adaptive loop filter processing on each of the multiple blocks using the single filter set.
[0048] (1) Acquisition of statistical information Specifically, the statistical information of the picture is covariance information of the picture. In this case, for example, the acquisition unit 110 of the adaptive loop filter 100 calculates a covariance value for each block of 4×4 sample size included in the picture. Specifically, the acquisition unit 110 of the adaptive loop filter 100 calculates a covariance value for each block by referring to an input image of the corresponding block and a reconstructed image in which the range of the corresponding block is expanded. Then, the acquisition unit 110 of the adaptive loop filter 100 can acquire the sum of the covariance values for each block as the covariance information of the picture.
[0049] Moreover, the statistical information of the picture may be based on statistical information calculated for a number of blocks less than the total number of blocks included in the picture. FIG. 10 is an explanatory diagram showing an example of calculation of statistical information. For example, as shown in FIG. 10, the acquisition unit 110 of the adaptive loop filter 100 may thin out all blocks included in the picture by one block in the horizontal and vertical directions, so that approximately half of the blocks (for example, the blocks indicated by diagonal lines in FIG. 10) are used as the objects of calculation of statistical information. In this way, by reducing the number of blocks used as the objects of calculation of statistical information, it is possible to suppress the amount of calculation. In particular, as the image size of the input image increases, it is possible to further suppress the amount of calculation.
[0050] (2) Block Class The classification unit 130 of the adaptive loop filter 100 classifies each of the plurality of blocks into one of a plurality of classes for the adaptive loop filter processing based on the gradient information of each block. Specifically, the classification unit 130 of the adaptive loop filter 100 performs gradient calculation with reference to the expanded reconstructed image, and outputs a class (block classification information) indicating the classification of the block with reference to the gradient.
[0051] Specifically, the classification unit 130 of the adaptive loop filter 100 first calculates the gradients in the vertical, horizontal, and diagonal directions for each sample included in each block by referring to the values of neighboring samples. Note that the gradient calculation may use only even or odd sample positions in both the horizontal and vertical directions. This reduces the amount of calculation.
[0052] Next, the classification unit 130 of the adaptive loop filter 100 compares the magnitude relationship of the gradient calculation results for each block, and calculates a directional category D based on the result of the comparison. As an example, the directional category D can take a value of, for example, an integer from 0 to 4. In addition, the classification unit 130 of the adaptive loop filter 100 calculates a change amount A from the sum of the gradient calculations in the horizontal and vertical directions. As an example, the change amount A can take a value of, for example, an integer from 0 to 4.
[0053] Next, the adaptive loop filter classification unit 130 calculates a class C using the above-mentioned directional category D and amount of change A according to the formula expressed as C=5D+A. As described above, when the possible range of D and A is an integer between 0 and 4, the adaptive loop filter classification unit 130 calculates a class C corresponding to each block from among 25 candidate classes from 0 to 24.
[0054] (3) Filter set assignment Next, the allocation of filter sets will be described in detail. The allocation unit 120 of the adaptive loop filter 100 allocates a single filter set common to a plurality of blocks included in the picture from among a plurality of candidate filter sets applicable to the block to be coded. For example, among the plurality of candidate filter sets, a filter set that has the lowest cost related to the difference between the original image and the reconstructed image is allocated as the single filter set.
[0055] The plurality of candidate filter sets are a total of 25 candidate filter sets that can be applied to each class that can be grouped according to, for example, block gradients, etc. In this case, the assignment unit 120 of the adaptive loop filter 100 assigns the single filter set common to the plurality of blocks included in the picture based on the statistical information of the picture, regardless of the classification of the classes.
[0056] In this way, the allocation unit 120 of the adaptive loop filter 100 can allocate a single filter set common to multiple blocks included in the picture, unlike the first embodiment described above with reference to Figures 3 and 4. Therefore, the allocation unit 120 of the adaptive loop filter 100 does not perform iterative processing as in, for example, the first embodiment described above with reference to Figures 3 and 4, and can achieve good compression efficiency while suppressing implementation costs.
[0057] (4) Executing filter processing The adaptive loop filter process is a process of re-emphasizing edges on a picture that has been subjected to the deblocking filter and sample adaptive offset process. Specifically, the filter processor 140 of the adaptive loop filter 100 rearranges the filter coefficients included in the single filter set according to the class, and performs the adaptive loop filter process on the block corresponding to the class using the single filter set.
[0058] Fig. 11 is an explanatory diagram for roughly explaining an example of rearrangement of filter coefficients. With reference to Fig. 11, for example, a reference filter set 1101 is rotated 90 degrees in a clockwise direction according to a class, and each filter coefficient (coefficients numbered from 0 to 12) is rearranged like a filter set 1102.
[0059] (5) Processing flow Next, a process flow of the adaptive loop filter 100 will be described with reference to Fig. 12. Fig. 12 is a flowchart for explaining an example of a process flow of the adaptive loop filter 100.
[0060] In step S1201, the classification unit 130 of the adaptive loop filter 100 classifies each of a plurality of blocks (e.g., blocks of size 4×4) included in the current picture into one of a plurality of classes for the above-mentioned adaptive loop filter processing based on gradient information of each block.
[0061] In step S1203, the acquisition unit 110 of the adaptive loop filter 100 calculates a covariance value for each block of 4x4 sample size included in the picture, and acquires the sum of the covariance values for each block as the covariance information of the picture.
[0062] In step S1205, the allocation unit 120 of the adaptive loop filter 100 allocates a single filter set common to multiple blocks included in the picture based on the statistical information of the picture, and calculates filter coefficients to be included in the single filter set.
[0063] In step S1207, the filter processing unit 140 of the adaptive loop filter 100 performs adaptive loop filtering on a block (eg, a coding tree unit CTU) included in a picture using a single filter set.
[0064] In step S1209, the filter processing unit 140 of the adaptive loop filter 100 determines whether the adaptive loop filter process is on or off for each block (for example, coding tree unit CTU). Then, the process shown in FIG.
[0065] According to the process shown in Fig. 12, unlike the first embodiment described above with reference to Fig. 3 and Fig. 4, it is possible to assign a single filter set common to multiple blocks included in the picture. Therefore, since the assignment unit 120 of the adaptive loop filter 100 does not perform iterative processing as in the first embodiment described above with reference to Fig. 3 and Fig. 4, it is possible to achieve good compression efficiency while suppressing implementation costs.
[0066] (6) Covariance information used in adaptive loop filtering of color difference information For example, adaptive loop filtering on chrominance information may assign a single filter set using covariance information as follows:
[0067] That is, when the picture includes a plurality of first chrominance blocks representing first chrominance information (U) and a plurality of second chrominance blocks representing second chrominance information (V), the acquisition unit 110 of the adaptive loop filter 100 calculates first chrominance statistical information regarding the plurality of first chrominance blocks and second chrominance statistical information regarding the plurality of second chrominance blocks. Then, the acquisition unit 110 of the adaptive loop filter 100 sums up the first chrominance statistical information regarding the plurality of first chrominance blocks to acquire the first chrominance statistical information of the picture. Also, the acquisition unit 110 of the adaptive loop filter 100 sums up the second chrominance statistical information regarding the plurality of second chrominance blocks to acquire the second chrominance statistical information of the picture.
[0068] The assignment unit 120 of the adaptive loop filter 100 assigns a single filter set common to the multiple first chrominance blocks based on the first chrominance statistical information, and assigns a single filter set common to the multiple second chrominance blocks based on the second chrominance statistical information.
[0069] In this way, the allocation unit 120 of the applicable loop filter 100 can obtain a filter set of the applicable loop filter suitable for each of the two pieces of color difference information (U, V), compared to the case where a filter set is assigned commonly to the color difference information U and V using, for example, the average value of the covariance information of the color difference information U and the covariance information of the color difference information V.
[0070] <<2. Second embodiment>> Next, a second embodiment of the present invention will be described with reference to Fig. 13. The first embodiment described above is a specific embodiment, whereas the second embodiment is a more generalized embodiment.
[0071] <2.1. Configuration> 13 is a block diagram showing an example of a schematic configuration of a video encoding device 200 according to the second embodiment. Referring to FIG. 13, the video encoding device 200 includes an acquisition unit 210, an allocation unit 220, and a filtering unit 230.
[0072] <2.2. Example of operation> Next, an example of the operation of the second embodiment will be described.
[0073] In the second embodiment, an acquisition unit 210 of a video encoding device 200 acquires statistical information of one picture to be encoded. An allocation unit 220 of the video encoding device 200 allocates a single filter set common to a plurality of blocks included in the picture based on the statistical information of the picture. A filter processing unit 230 of the video encoding device 200 performs the adaptive loop filter process on each of the plurality of blocks using the single filter set.
[0074] For example, the video encoding device 200 may perform the operation of the adaptive loop filter 100 according to the first embodiment. In this case, the acquisition unit 210 according to the second embodiment performs the operation of the acquisition unit 110 according to the first embodiment. Moreover, the allocation unit 220 according to the second embodiment performs the operation of the allocation unit 120 according to the first embodiment. The filter processing unit 230 according to the second embodiment performs at least a part of the operation of the filter processing unit 140 according to the first embodiment.
[0075] The above describes the second embodiment. According to the second embodiment, for example, it is possible to achieve good compression efficiency while suppressing implementation costs.
[0076] <<3. Other embodiments>> Although the embodiments of the present invention have been described above, the present invention is not limited to these embodiments. It will be understood by those skilled in the art that these embodiments are merely examples and that various modifications are possible without departing from the scope and spirit of the present invention.
[0077] For example, the steps in the processes described herein do not necessarily have to be performed chronologically in the order depicted in the sequence diagrams. For example, the steps in the processes may be performed in an order different from that depicted in the sequence diagrams, or may be performed in parallel. Also, some of the steps in the processes may be deleted, and additional steps may be added to the processes.
[0078] Also, a method including processing of the components of the device described in this specification (e.g., the acquisition unit, the allocation unit, and / or the filter processing unit) may be provided, and a program for causing a processor to execute the processing of the above components may be provided. Also, a non-transitory computer readable medium having the program recorded thereon may be provided. Naturally, such devices, modules, methods, programs, and non-transitory computer readable mediums are also included in the present invention.
[0079] A part or all of the above-described embodiments may be described as, but is not limited to, the following supplementary notes.
[0080] (Appendix 1) An acquisition unit that acquires statistical information of one picture to be encoded; an allocation unit that allocates a single filter set common to a plurality of blocks included in the picture based on statistical information of the picture; a filter processing unit that performs adaptive loop filtering on each of the plurality of blocks using the single filter set.
[0081] (Appendix 2) 2. The video encoding device according to claim 1, wherein the allocation unit allocates a single filter set common to multiple blocks included in the picture from among multiple candidate filter sets applicable to the blocks to be encoded.
[0082] (Appendix 3) the picture includes a plurality of first chrominance blocks representing first chrominance information and a plurality of second chrominance blocks representing second chrominance information; the statistical information of the picture includes first chrominance statistical information regarding the plurality of first chrominance blocks and second chrominance statistical information regarding the plurality of second chrominance blocks; The allocation unit, 3. The video encoding device according to claim 1, further comprising: a single filter set common to the first chrominance blocks based on the first chrominance statistical information; and a single filter set common to the second chrominance blocks based on the second chrominance statistical information.
[0083] (Appendix 4) 4. The video encoding device according to claim 1, wherein the statistical information of the picture is based on statistical information calculated for a number of blocks that is less than the total number of blocks included in the picture.
[0084] (Appendix 5) 5. The video encoding device according to claim 1, wherein the adaptive loop filter process is a process of re-enhancing edges on a deblocking filtered picture.
[0085] (Appendix 6) a classifier configured to classify each of the plurality of blocks into one of a plurality of classes for the adaptive loop filter processing based on gradient information of the respective blocks; The video encoding device according to any one of claims 1 to 5, wherein the allocation unit allocates the single filter set common to the multiple blocks included in the picture based on statistical information of the picture, regardless of the class classification.
[0086] (Appendix 7) The video encoding device according to claim 6, wherein the filter processing unit rearranges filter coefficients included in the single filter set according to the class, and performs the adaptive loop filter processing on a block corresponding to the class using the single filter set.
[0087] (Appendix 8) 8. The video encoding device according to claim 1, wherein the statistical information of the picture is covariance information of the picture.
[0088] (Appendix 9) Obtaining statistical information of one picture to be encoded; assigning a single common filter set to a plurality of blocks included in the picture based on statistical information of the picture; performing adaptive loop filtering on each of the plurality of blocks with the single filter set.
[0089] (Appendix 10) Obtaining statistical information of one picture to be encoded; assigning a single common filter set to a plurality of blocks included in the picture based on statistical information of the picture; performing adaptive loop filtering on each of the plurality of blocks with the single filter set; A video encoding program that causes a processor to execute the above.
[0090] (Appendix 11) Obtaining statistical information of one picture to be encoded; assigning a single common filter set to a plurality of blocks included in the picture based on statistical information of the picture; performing adaptive loop filtering on each of the plurality of blocks with the single filter set; A non-transitory computer-readable recording medium having recorded thereon a program for causing a processor to execute the above.
[0091] This application claims priority based on Japanese Patent Application No. 2021-049038, filed on March 23, 2021, the disclosure of which is incorporated herein in its entirety. [Industrial Applicability]
[0092] In a system for encoding or decoding video, it becomes possible to adaptively control the range of images used for intra-frame prediction. [Explanation of symbols]
[0093] 1, 200, 1000 Video Encoding Device 60, 1060 Loop Filter 100, 1065 Applied loop filter 110, 210 Acquisition Department 120, 220 Allocation 130 Classification Department 140, 230 Filter processing section
Claims
1. A classification means for classifying each of a plurality of blocks included in one picture to be encoded into a class for an applied loop filter process based on gradient information of each block, and outputting the class; obtaining means for obtaining statistical information of the picture based on the class; an allocation means for allocating a single filter set common to the plurality of blocks based on statistical information of the picture; and a filter processing means for performing adaptive loop filtering on each of the plurality of blocks using the single filter set.
2. 2. The video encoding device according to claim 1, wherein the allocating means allocates a single filter set common to a plurality of blocks included in the picture from among a plurality of candidate filter sets applicable to the blocks to be encoded.
3. the picture includes a plurality of first chrominance blocks representing first chrominance information and a plurality of second chrominance blocks representing second chrominance information; the statistical information of the picture includes first chrominance statistical information regarding the plurality of first chrominance blocks and second chrominance statistical information regarding the plurality of second chrominance blocks; The allocation means includes:
3. The video encoding device according to claim 1, further comprising: a filter set common to the plurality of first color difference blocks based on the first color difference statistical information; and a filter set common to the plurality of second color difference blocks based on the second color difference statistical information.
4. 4. The method according to claim 1, wherein the statistical information of the picture is based on statistical information calculated for a number of blocks that is less than the total number of blocks included in the picture. The video encoding device described herein.
5. 5. The video encoding device according to claim 1, wherein the adaptive loop filter process is a process for re-enhancing edges on a deblocking filtered picture.
6. 2. The video encoding device according to claim 1, wherein the filter processing means rearranges filter coefficients included in the single filter set according to the class, and performs the adaptive loop filter processing on a block corresponding to the class using the single filter set.
7. 7. The video encoding device according to claim 1, wherein the statistical information of the picture is covariance information of the picture.
8. Classifying each of a plurality of blocks included in one picture to be encoded into a class for an applied loop filter process based on gradient information of each block, and outputting the class; obtaining statistical information for the picture based on the class; and assigning a single common filter set to the plurality of blocks based on statistical information of the picture; performing adaptive loop filtering on each of the plurality of blocks with the single filter set.
9. Classifying each of a plurality of blocks included in one picture to be encoded into a class for an applied loop filter process based on gradient information of each block, and outputting the class; obtaining statistical information for the picture based on the class; and assigning a single common filter set to the plurality of blocks based on statistical information of the picture; performing adaptive loop filtering on each of the plurality of blocks with the single filter set; A video encoding program that causes a processor to execute the above.
Citation Information
Patent Citations
Image processing device and method
WO2013005659A1
