Coding parameter estimation device and program

The coding parameter estimation device addresses video encoding artifacts by using low-pass filtering and iterative encoding to optimize quantization parameters, enhancing image quality and reducing blurring in high-resolution video conversion.

JP2024121704AInactive Publication Date: 2024-09-06NIPPON HOSO KYOKAI +1
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
JP2023028953
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-02-27
Publication Date
2024-09-06
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

Video encoding systems face issues with artifacts such as block distortion when reducing high-frequency power due to insufficient communication bit rates, especially when encoding high-resolution video to lower resolutions, leading to potential image quality deterioration.

Method used

A coding parameter estimation device that includes low-pass filtering, reduction processing, and iterative encoding to estimate quantization parameters based on high-frequency power and motion indices, adjusting filter characteristics to optimize encoding for reduced video images.

Benefits of technology

The device effectively suppresses artifacts by optimizing encoding parameters, ensuring high-quality image restoration and reducing blurring effects in challenging encoding areas.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024121704000001
    Figure 2024121704000001
Patent Text Reader

Abstract

To estimate a coding parameter which is appropriate for a creation of a reduction coding moving image in order to suppress an artifact.SOLUTION: A coding parameter estimation device 1 comprises: a low-pass filter processing part 11 that generates a low-pass moving image by performing a LPF processing to an original moving image; a reduction processing part 12 that generates a reduction moving image by performing a reduction processing to the low-pass moving image; a coding processing part 13 that performs a coding processing to the reduction moving image, and generates information on a division block and QP information; a repetition processing determination part 14 that compares the QP information with a threshold value, and determines that the processing of the processing parts 11, 12, and 13 are repeated; a high-frequency power index calculation part 15 that generates a high-frequency power index in each region corresponded to the division block; and a quantization parameter estimation part 16 that corresponds a quantization parameter with the high-frequency power index, and outputs an average value of the quantization parameter corresponded to the high-frequency power index. The low-pass filter processing part 11 changes a frequency characteristic of a filter when performing the repetition processing.SELECTED DRAWING: Figure 1
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to a coding parameter estimation device and a program. [Background technology]

[0002] In video coding methods such as H.265 / HEVC (High Efficiency Video Coding) and H.266 / VVC (Versatile Video Coding), high efficiency is achieved by combining elemental technologies such as block division, orthogonal transform, quantization, entropy coding, intra prediction, and inter prediction. Details of the H.265 / HEVC technology are described in detail in, for example, Non-Patent Document 1.

[0003] Patent document 1 also discloses a technology in which an original image is subjected to resolution and gradation reduction processing, encoding processing, decoding processing, and restoration processing to generate a spatial and gradation restored image, and the parameters used to generate the spatial and gradation restored image are optimized by comparing the spatial and gradation restored image with the original image.

[0004] Furthermore, Patent Document 2 discloses a technique for performing low-pass filtering on an original image, in which the cutoff frequency is controlled according to the complexity of the image, reduction, encoding, decoding, and enlargement in consideration of the amount of aliasing distortion. [Prior art documents] [Patent documents]

[0005] [Patent Document 1] Patent No. 6388476 [Patent Document 2] Patent No. 6344800 [Non-patent literature]

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

[0007] A system that reduces video images captured by an 8K resolution camera to 4K resolution and encodes them has the advantage of being able to integrate 8K and 4K video production, as well as enabling high-compression encoding by super-resolution restoration to 8K in the later stage.Furthermore, because video images captured at a high sampling frequency are reduced for use, there is the advantage of being able to reduce the effects of high-frequency power reduction caused by the MTF (Modulation Transfer Function) characteristics of camera lenses, etc.

[0008] However, if a sufficient communication bit rate cannot be secured for the reduced-coded video that has been reduced and encoded, there is a problem that image quality is likely to be impaired due to artifacts such as block distortion in areas where encoding is difficult, such as areas with high high-frequency power.

[0009] In consideration of the above circumstances, an object of the present invention is to provide a coding parameter estimation device and program capable of estimating coding parameters suitable for creating reduced-coded video in order to suppress artifacts. [Means for solving the problem]

[0010] In order to solve the above problem, an encoding parameter estimation device according to one embodiment includes a low-pass filter processing unit that performs low-pass filtering on an original video to generate a low-pass video, a reduction processing unit that performs reduction processing on the low-pass video to generate a reduced video, an encoding processing unit that performs coding processing on the reduced video to generate coding information including CU information indicating sizes and positions of divided blocks used in the coding processing and QP information indicating a quantization parameter for each of the divided blocks, and a repeater that determines whether or not to repeat the processing of the low-pass filter processing unit, the reduction processing unit, and the encoding processing unit by comparing the QP information with a threshold. the quantization parameter estimation unit which associates the quantization parameter for each of the divided blocks with the high frequency power index for each of the regions corresponding to the divided blocks, and outputs, for each of the high frequency power indexes, an average value of the quantization parameters associated with the high frequency power index as an estimated quantization parameter, and the low pass filter processing unit changes the frequency characteristics of the filter when performing the repetitive processing.

[0011] a reduction processing unit that performs a coding process on the reduced video and generates coding information including CU information indicating sizes and positions of divided blocks when the coding process is performed, QP information indicating a quantization parameter for each of the divided blocks, and MV information indicating a motion vector for each of the divided blocks; a repetition process determination unit that determines whether or not to repeat processes of the low-pass filter processing unit, the reduction processing unit, and the coding processing unit by comparing the QP information with a threshold; a motion index calculation unit that calculates, for each of the divided blocks, an enlarged motion vector value obtained by enlarging a magnitude of a motion vector by the reciprocal of a reduction rate performed by the reduction processing unit, and generates a motion index classified into levels; and a quantization parameter estimation unit that associates the quantization parameter and the motion index for each of the divided blocks, and outputs, for each of the motion indexes, an average value of the quantization parameters associated with the motion index as an estimated quantization parameter, and the low-pass filter processing unit changes a frequency characteristic of a filter when performing the repetitive process.

[0012] Moreover, a coding parameter estimation device according to one embodiment includes a low-pass filter processing unit that performs low-pass filtering on an original video to generate a low-pass video, a reduction processing unit that performs reduction processing on the low-pass video to generate a reduced video, an encoding processing unit that performs coding processing on the reduced video to generate coding information including CU information indicating sizes and positions of divided blocks when performing the coding processing, QP information indicating a quantization parameter for each of the divided blocks, and MV information indicating a motion vector for each of the divided blocks, a repetition processing determination unit that determines whether or not to repeat the processing of the low-pass filter processing unit, the reduction processing unit, and the encoding processing unit by comparing the QP information with a threshold, and a high frequency power index calculation unit that calculates a high frequency power relative to the entire frequency band or a ratio of the power of the high frequency band to the entire frequency band to generate a high frequency power index divided into levels; a motion index calculation unit that calculates, for each of the divided blocks, an expanded motion vector value by expanding a magnitude of a motion vector by the inverse of the reduction rate by the reduction processing unit to generate a motion index divided into levels; and a quantization parameter estimation unit that associates the quantization parameter and the motion index for each of the divided blocks, as well as the high frequency power index for each area corresponding to the divided block, and outputs, for each combination of the high frequency power index and the motion index, an average value of the quantization parameters associated with the combination as an estimated quantization parameter, and the low pass filter processing unit changes the frequency characteristics of a filter when performing repeated processing.

[0013] Furthermore, in an encoding parameter estimation device according to an embodiment, the low-pass filter processing unit performs frequency decomposition processing and degeneration processing on the original video image, and then performs frequency reconstruction, and changes the frequency characteristics of the filter by changing the amount of degeneration in the degeneration processing.

[0014] Moreover, a program according to one embodiment causes a computer to function as the encoding parameter estimation device. Effect of the Invention

[0015] According to the present invention, it is possible to estimate coding parameters suitable for creating a reduced coded video in order to suppress artifacts. [Brief description of the drawings]

[0016] [Figure 1] 1 is a block diagram showing an example of the configuration of a coding parameter estimation device according to a first embodiment. [Diagram 2] FIG. 1 shows third-order wavelet packet decomposition of an original image with 8K resolution. [Diagram 3] FIG. 11 is a block diagram showing an example of the configuration of a coding parameter estimation device according to a second embodiment. [Figure 4] FIG. 13 is a block diagram showing an example of the configuration of a coding parameter estimation device according to a third embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0017] Hereinafter, an embodiment of the present invention will be described in detail with reference to the drawings.

[0018] (First embodiment) Fig. 1 is a block diagram showing an example of the configuration of a coding parameter estimation device 1 according to a first embodiment of the present invention. The coding parameter estimation device 1 shown in Fig. 1 includes a low-pass filter processing unit 11, a reduction processing unit 12, an encoding processing unit 13, an iterative process determination unit 14, a high-frequency power index calculation unit 15, and a quantization parameter estimation unit 16. The low-pass filter processing unit 11, the reduction processing unit 12, and the encoding processing unit 13 repeatedly perform processing until the iterative process determination unit 14 determines that the iterative process is to be ended.

[0019] The coding parameter estimation device 1 inputs an original video image and estimates coding parameters when performing low-pass filtering, downsizing, and coding on the original video image. In this embodiment, the coding parameters are quantization parameters (QP; Quantization parameter). The coding parameter estimation device 1 may estimate coding parameters such as orthogonal transform parameters other than the quantization parameters. The quantization parameters are parameters that control the quantization step when quantizing orthogonally transformed coefficients in coding formats such as H.265 / HEVC and H.266 / VVC. For example, the value of the quantization parameter is 0 to 51, and the quantization step doubles every time the quantization parameter increases by 6. For details of the quantization parameters, see, for example, Non-Patent Document 1.

[0020] The low-pass filter processing unit 11 performs low-pass filter (LPF) processing on the original video image to generate a low-pass video image. The low-pass filter processing unit 11 then outputs the generated low-pass video image to the reduction processing unit 12.

[0021] The low-pass filter processing unit 11 changes the frequency characteristics of the filter when performing the repeated processing. As the low-pass filter processing, the original video image may be subjected to frequency decomposition (e.g., wavelet packet decomposition) processing and degeneration processing, and then frequency reconstruction (e.g., wavelet packet reconstruction) may be performed, and the frequency characteristics of the filter may be changed by changing the amount of degeneration in the degeneration processing. The degeneration processing is a processing for reducing the element value (frequency decomposition coefficient) of each frequency band.

[0022] FIG. 2 is a diagram showing the state of performing three-level wavelet packet decomposition in the spatial direction on an original image with 8K resolution while retaining phase information (that is, without performing decimation processing involving reduction of the image size), and decomposing it into frequency bands of 1K×0.5K each. In wavelet packet decomposition, frequency decomposition is performed evenly in the spatial direction. That is, frequency decomposition is performed not only for the low-frequency band but also for the high-frequency band. Since decimation processing is not involved, when the size of the original image is 8K×4K, the number of elements in each frequency band is 8K×4K.

[0023] The low-pass filter processing unit 11 performs repetitive processing on the same original moving image. An example of the case of repeatedly performing low-pass filter processing using wavelet packet decomposition and degeneracy processing will be described. The low-pass filter processing unit 11 performs wavelet packet decomposition on the original moving image and applies a plurality of types (in this example, three types: small, medium, and large) of degeneracy functions to the elements in each frequency band. The small degeneracy function is a function that multiplies the absolute value of the element value by S (0 < S < 1, for example, S = 0.5), the medium degeneracy function is a function that multiplies the absolute value of the element value by M (M < S, for example, M = 0.1), and the large degeneracy function is a function that multiplies the absolute value of the element value by L (L < M, for example, L = 0.01).

[0024] For example, when reducing an original video image of 8K resolution to 4K resolution, the low-pass filter processing unit 11 applies a large degeneration function to elements of a frequency band of 4K resolution or more in the first processing, and applies a medium degeneration function to elements of a frequency band of less than 4K resolution. In the second and subsequent processing, the low-pass filter processing unit 11 applies a large degeneration function to elements of a frequency band of 4K resolution or more, and switches between a small degeneration function and a medium degeneration function based on the encoding information to elements of a frequency band of less than 4K resolution. In the second and subsequent processing, the low-pass filter processing unit 11 acquires the encoding information generated by the encoding processing unit 13 described later, compares the quantization parameter with a threshold value for each divided block, and applies the medium degeneration function to elements corresponding to divided blocks whose quantization parameter is equal to or greater than the threshold value in a frequency band of less than 4K resolution among the frequency decomposition images generated by wavelet packet decomposition, and applies the small degeneration function to elements corresponding to divided blocks whose quantization parameter is less than the threshold value.

[0025] The reduction processing unit 12 performs reduction processing on the low-pass video to generate a reduced video. For example, the reduction processing unit 12 reduces an original image captured at 8K resolution to 4K resolution. The reduction processing unit 12 then outputs the generated reduced video to the encoding processing unit 13.

[0026] The reduction processing unit 12 may reduce 8K resolution to 4K resolution by thinning out pixels in the horizontal and vertical directions at a ratio of 2:1 as the reduction process. The reduction ratio can be set arbitrarily by the user. If the reduction ratio is not an integer multiple of 1, pixel interpolation is performed using a Lanczos-4 filter or the like, and then pixel thinning is performed. The type of the interpolation filter may be predetermined or may be set by the user.

[0027] The encoding processor 13 performs encoding processing on the reduced video generated by the reduction processor 12 in units of divided blocks, and generates encoding information including CU information indicating the size and position of the divided blocks when performing the encoding processing, and QP information indicating a quantization parameter for each divided block. For example, the encoding processor 13 performs encoding processing at 10 Mbps using the VVC / H.266 codec as an example. The divided blocks in the VVC / H.266 codec are called CUs (Coding Units). The encoding processor 13 outputs the QP information to the iterative processing determination unit 14, outputs the CU information at the time when the iterative processing is completed to the high frequency power index calculation unit 15, and outputs the QP information at the time when the iterative processing is completed to the quantization parameter estimation unit 16.

[0028] The iterative process determination unit 14 compares the QP information generated by the encoding processing unit 13 with a threshold value to determine whether or not to repeat the processes of the low-pass filter processing unit 11, the reduction processing unit 12, and the encoding processing unit 13. When the iterative process determination unit 14 determines that the iterative process is to be performed, the encoding processing unit 13 outputs the encoding information (CU information and QP information) to the low-pass filter processing unit 11, and the low-pass filter processing unit 11, the reduction processing unit 12, and the encoding processing unit 13 repeatedly perform the above-mentioned processes until the iterative process determination unit 14 determines that the iterative process is to be terminated.

[0029] Since it is considered that the larger the quantization parameter, the higher the coding difficulty, the iterative process determination unit 14 optimizes the average value of the quantization parameters (QP average value) of all the divided blocks in the reduced coding frame so as to be smaller. The iterative process determination unit 14 calculates the QP average value, and when the value is equal to or less than a first determination threshold set in advance, or when the average value of the quantization parameters in the previous iteration is equal to or less than a second determination threshold set in advance, determines to end the iterative process, and may otherwise determine to perform the iterative process. For example, it is assumed that the first QP average value is 32.2, the second QP average value is 31.3, and the third QP average value is 30.9. When the first determination threshold is used for the determination, if the first determination threshold is 31, it is determined to end the iterative process at the third iteration. When the second determination threshold is used for the determination, if the second determination threshold is 0.5, it is determined to end the iterative process at the third iteration.

[0030] The high frequency power index calculation unit 15 inputs the original video and CU information at the time when the repetitive processing by the encoding processing unit 13 is completed, and calculates the high frequency power per pixel in a predetermined high frequency band or the ratio of the power of the high frequency band to the entire frequency band for each region corresponding to the divided block in the original video to generate a high frequency power index classified (quantized). The high frequency power index calculation unit 15 then outputs the generated high frequency power index to the quantization parameter estimation unit 16. Since the divided blocks are set for the reduced video, the "region corresponding to the divided block" is a region obtained by expanding the divided block by the reciprocal of the reduction rate by the reduction processing unit 12. The "high frequency band" is a frequency band equal to or higher than a predetermined frequency (for example, 1 / 2 horizontally and vertically the spatial resolution of the reduced video).

[0031] The high frequency power index calculation unit 15 performs wavelet packet decomposition without decimation on the original video image as shown in Fig. 2, and calculates the high frequency power or the high frequency power ratio for each region corresponding to each divided block from the element values ​​of the region corresponding to each divided block.Then, the high frequency power index calculation unit 15 performs level classification based on the magnitude of the high frequency power or the high frequency power ratio.Table 1 shows an example in which the magnitude of the high frequency power ratio is classified into four levels.

[0032] [Table 1]

[0033] The quantization parameter estimation unit 16 receives the QP information at the time when the iterative process is completed by the encoding processing unit 13 and the high frequency power index generated by the high frequency power index calculation unit 15, associates the quantization parameter for each divided block with the high frequency power index for each region corresponding to the divided block, and calculates, for each high frequency power index, the average value of the quantization parameters associated with the high frequency power index as an estimated quantization parameter. The quantization parameter estimation unit 16 then outputs the estimated quantization parameter to the outside of the encoding parameter estimation device 1.

[0034] A specific example of the process of the quantization parameter estimation unit 16 will be described with reference to Table 2. Table 2 is a table showing an example of associated high frequency power indices and quantization parameters. The divided block ID is an identification number of the divided block, and for simplicity, the number of divided blocks is set to 16 in this table. In the table, 1 to 4 indicate the values ​​of the high frequency power indices, and a to p indicate the values ​​of the quantization parameters. In this example, the estimated quantization parameter for each high frequency power index is calculated as follows. Estimated quantization parameter for high frequency power index 1 = (i+j+m+n+o) / 5 Estimated quantization parameter for high frequency power index 2 = (a+b+e+f) / 4 Estimated quantization parameter for high frequency power index 3 = (c+d+g+h+k) / 5 Estimated quantization parameter for high frequency power index 4 = (l+p) / 2

[0035] [Table 2]

[0036] Second embodiment Next, a coding parameter estimation device according to a second embodiment will be described.

[0037] Fig. 3 is a block diagram showing an example of the configuration of an encoding parameter estimation device 2 according to the second embodiment. The encoding parameter estimation device 2 shown in Fig. 3 includes a low-pass filter processing unit 11, a reduction processing unit 12, an encoding processing unit 13, an iteration process determination unit 14, a quantization parameter estimation unit 16a, and a motion index calculation unit 17. The encoding parameter estimation device 2 according to the second embodiment differs from the encoding parameter estimation device 1 according to the first embodiment in that it includes a motion index calculation unit 17 instead of the high-frequency power index calculation unit 15, and a quantization parameter estimation unit 16a instead of the quantization parameter estimation unit 16. Since the other configurations are the same as those of the first embodiment, the same reference numbers are used and the description will be omitted.

[0038] In this embodiment, the encoding information generated by the encoding processing unit 13 includes CU information indicating the size and position of the divided block when performing the encoding process, QP information indicating the quantization parameter for each divided block, and MV information indicating the motion vector for each divided block. Note that the motion vector is detected when performing inter-screen prediction (also called inter-frame prediction or inter prediction) in the encoding process.

[0039] If the repetitive processing determination unit 14 determines that the repetitive processing is to be performed, the encoding processing unit 13 outputs encoding information (however, MV information is not necessary) to the low-pass filter processing unit 11, and the low-pass filter processing unit 11, the reduction processing unit 12, and the encoding processing unit 13 repeatedly perform processing in the same manner as in the first embodiment until the repetitive processing determination unit 14 determines that the repetitive processing is to be terminated.

[0040] The motion index calculation unit 17 inputs the original video and MV information at the time when the repetitive processing by the encoding processing unit 13 ends, calculates an enlarged motion vector value by enlarging the magnitude of the motion vector by the inverse of the reduction rate by the reduction processing unit 12 for each divided block, and generates a level-classified (quantized) motion index. The motion index calculation unit 17 then outputs the generated motion index to the quantization parameter estimation unit 16a. Note that, since the detection of the motion vector by encoding is performed on the reduced video, the motion index calculation unit 17 enlarges the magnitude of the motion vector to match the size of the original video.

[0041] When the encoding processor 13 performs random access in units of GOPs (Group of Pictures), the motion index calculator 17 may multiply the scaled motion vector value by a weight according to the distance between the reference frame and the predicted frame when calculating the scaled motion vector value. For example, the shorter the distance between the reference frame and the predicted frame, the larger the weight may be. Table 3 shows an example in which the scaled motion vector value is divided into four levels.

[0042] [Table 3]

[0043] The quantization parameter estimation unit 16a receives the QP information at the time when the repetitive processing by the encoding processing unit 13 is completed and the motion index generated by the motion index calculation unit 17, associates the quantization parameter and the motion index for each divided block, and calculates, for each motion index, the average value of the quantization parameters associated with the motion index as an estimated quantization parameter. Then, the quantization parameter estimation unit 16a outputs the estimated quantization parameter to the outside of the encoding parameter estimation device 2.

[0044] (Third embodiment) Next, a coding parameter estimation device according to a third embodiment will be described.

[0045] Fig. 4 is a block diagram showing an example of the configuration of an encoding parameter estimation device 3 according to a third embodiment. The encoding parameter estimation device 3 shown in Fig. 4 includes a low-pass filter processing unit 11, a reduction processing unit 12, an encoding processing unit 13, an iterative process determination unit 14, a high-frequency power index calculation unit 15, a quantization parameter estimation unit 16b, and a motion index calculation unit 17. The encoding parameter estimation device 3 according to the third embodiment is different from the encoding parameter estimation device 2 according to the second embodiment in that it further includes a high-frequency power index calculation unit 15 and includes a quantization parameter estimation unit 16b instead of the quantization parameter estimation unit 16a. Since the other configurations are the same as those of the second embodiment, the same reference numbers are used and the description will be omitted.

[0046] The quantization parameter estimation unit 16b receives the QP information at the time when the iterative process is completed by the encoding processing unit 13, the high frequency power index generated by the high frequency power index calculation unit 15, and the motion index generated by the motion index calculation unit 17, associates the quantization parameter and motion index for each divided block with the high frequency power index for each region corresponding to the divided block, and calculates, for each combination of the high frequency power index and the motion index, the average value of the quantization parameters associated with the combination as an estimated quantization parameter. The quantization parameter estimation unit 16b then outputs the estimated quantization parameter to the outside of the encoding parameter estimation device 3.

[0047] A specific example of the processing of the quantization parameter estimation unit 16 will be described with reference to Table 4. Table 4 is a table showing an example of associated high frequency power indices, motion indices, and quantization parameters. The divided block ID is an identification number of the divided block, and in this table, the number of divided blocks is assumed to be 16 for simplicity. The number of divided blocks is assumed to be 16 for simplicity. In the table, 1 to 4 indicate the values ​​of the high frequency power indices, I to IV indicate the values ​​of the motion indices, and a to p indicate the values ​​of the quantization parameters. In this example, the estimated quantization parameter for each combination of high frequency power index and motion index is calculated as follows. Estimated quantization parameter for the combination of high frequency power index 1 and motion index III=(i+j) / 2 Estimated quantization parameter for the combination of high frequency power index 1 and motion index IV=(m+n+o) / 3 Estimated quantization parameter for the combination of high frequency power index 2 and motion index I=(a+b) / 2 Estimated quantization parameter for the combination of high frequency power index 2 and motion index II=(e+f) / 2 Estimated quantization parameter for the combination of high frequency power index 3 and motion index I=(c+d) / 2 The estimated quantization parameter for the combination of high frequency power index 3 and motion index II = k Estimated quantization parameter for combination of high frequency power index 3 and motion index III=(g+h) / 2 The estimated quantization parameter for the combination of high frequency power index 4 and motion index II is l The estimated quantization parameter for the combination of high frequency power index 4 and motion index IV is p

[0048] [Table 4]

[0049] In a system for reducing and encoding a moving image, the amount of blur required to suppress artifacts and image quality breakdown varies depending on the encoding difficulty of the image components in the frame to be encoded and the core encoding method and bit rate used. However, in general, the core encoding method and bit rate used in broadcasting and the like are predetermined. Therefore, the encoding parameter estimation devices 1, 2, and 3 determine the estimated quantization parameter by examining the relationship between the image feature value of the frame to be encoded and the encoding difficulty. That is, as described above, the encoding parameter estimation devices 1, 2, and 3 repeatedly reduce and encode the original moving image, optimize the average value of the quantization parameters of all the divided blocks in the reduced-encoded frame, and then calculate the high-frequency power index and / or the motion index. Then, for each level of the high-frequency power index and / or the motion index, the average value of the quantization parameters of the level is calculated as the estimated quantization parameter.

[0050] When a low-pass filter is applied to an original video image before reduction processing, the encoding is performed using the estimated quantization parameters generated by the encoding parameter estimation devices 1, 2, and 3, and the blurring amount of the low-pass filter is also set in the same manner as in the encoding parameter estimation devices 1, 2, and 3. This makes it possible to increase the blurring amount of the low-pass filter in areas that are difficult to encode, thereby lowering the encoding difficulty, and then to encode the image, thereby making it possible to suppress artifacts.

[0051] (program) A computer capable of executing program instructions can be used to function as each of the above-mentioned coding parameter estimation devices 1, 2, and 3. Here, the computer may be a general-purpose computer, a special-purpose computer, a workstation, a PC (Personal Computer), an electronic notepad, etc. The program instructions may be program code, code segments, etc. for performing the necessary tasks.

[0052] The computer includes a processor, a storage unit, an input unit, an output unit, and a communication interface. The processor may be a CPU (Central Processing Unit), an MPU (Micro Processing Unit), a GPU (Graphics Processing Unit), a DSP (Digital Signal Processor), a SoC (System on a Chip), or the like, and may be composed of multiple processors of the same type or different types. The processor reads a program from the storage unit and executes it to control each of the above components and perform various arithmetic processing. At least a part of the processing contents may be realized by hardware. The input unit is an input interface that receives a user's input operation and acquires information based on the user's operation, and is a pointing device, a keyboard, a mouse, or the like. The output unit is an output interface that outputs information, and is a display, a speaker, or the like. The communication interface is an interface for communicating with an external device, and is, for example, a LAN (Local Area Network) interface.

[0053] The program may be recorded on a computer-readable recording medium. By using such a recording medium, the program can be installed on the computer. Here, the recording medium on which the program is recorded may be a non-transitory recording medium. The non-transitory recording medium is not particularly limited, and may be, for example, a CD-ROM, a DVD-ROM, or a USB (Universal Serial Bus) memory. In addition, the program may be in a form that is downloaded from an external device via a network.

[0054] For example, a program for causing the encoding parameter estimation device 1 to function may cause a computer to execute the following steps: performing low-pass filtering on an original video to generate a low-pass video; performing a reduction process on the low-pass video to generate a reduced video; performing an encoding process on the reduced video to generate encoding information including CU information indicating the size and position of the divided blocks when performing the encoding process and QP information indicating a quantization parameter for each of the divided blocks; determining whether to repeat the low-pass filtering, the reduction process, and the encoding process by comparing the QP information with a threshold; calculating, for each region corresponding to the divided block, high-frequency power per pixel in a predetermined high-frequency band or a ratio of the power of the high-frequency band to the entire frequency band, and generating a high-frequency power index divided into levels; associating the quantization parameter for each divided block with the high-frequency power index for each region corresponding to the divided block, and outputting, for each high-frequency power index, an average value of the quantization parameters associated with the high-frequency power index as an estimated quantization parameter; and the step of performing low-pass filtering changes the frequency characteristics of the filter when performing the repeated process. Similarly, a program for causing the coding parameter estimation devices 2 and 3 to function causes a computer to execute the processes performed by the coding parameter estimation devices 2 and 3 described above.

[0055] In addition, the encoding parameter estimation devices 1, 2, and 3 may be configured with one or more semiconductor chips, and the semiconductor chip may be equipped with a CPU that executes a program that describes the processing contents that realize each function of the encoding parameter estimation devices 1, 2, and 3.

[0056] Although the above-mentioned embodiment has been described as a representative example, 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 interpreted as being limited by the above-mentioned embodiment, and various modifications or changes can be made without departing from the scope of the claims. For example, it is possible to integrate multiple building blocks shown in the configuration diagram of the embodiment, or to divide one building block. [Explanation of symbols]

[0057] 1,2,3 Coding parameter estimation device 11 Low-pass filter processing section 12 Reduction processing section 13 Encoding processing section 14 Repeat process decision part 15 High frequency power index calculation section 16, 16a, 16b Quantization parameter estimation unit 17 Motion Index Calculation Unit

Claims

1. a low-pass filter processing unit that performs low-pass filtering on the original video image to generate a low-pass video image; a reduction processing unit that performs a reduction process on the low-pass video to generate a reduced video; an encoding processing unit that performs an encoding process on the reduced video and generates encoding information including CU information indicating a size and a position of a divided block when performing the encoding process and QP information indicating a quantization parameter for each of the divided blocks; a repeat process determination unit that determines whether or not to repeat the processes of the low-pass filter processing unit, the reduction processing unit, and the encoding processing unit by comparing the QP information with a threshold; a high frequency power index calculation unit that calculates, for each region corresponding to the divided block, high frequency power per pixel in a predetermined high frequency band or a ratio of the power of the high frequency band to the entire frequency band, and generates a high frequency power index classified into levels; a quantization parameter estimation unit that associates the quantization parameter for each of the divided blocks with the high frequency power index for each region corresponding to the divided block, and outputs, for each of the high frequency power indexes, an average value of the quantization parameters associated with the high frequency power index as an estimated quantization parameter; The low-pass filter processing unit changes the frequency characteristics of the filter when performing the repeated processing.

2. a low-pass filter processing unit that performs low-pass filtering on the original video image to generate a low-pass video image; a reduction processing unit that performs a reduction process on the low-pass video to generate a reduced video; an encoding processing unit that performs an encoding process on the reduced video image and generates encoding information including CU information indicating sizes and positions of divided blocks when performing the encoding process, QP information indicating a quantization parameter for each of the divided blocks, and MV information indicating a motion vector for each of the divided blocks; a repeat process determination unit that determines whether or not to repeat the processes of the low-pass filter processing unit, the reduction processing unit, and the encoding processing unit by comparing the QP information with a threshold; a motion index calculation unit that calculates an enlarged motion vector value by enlarging a magnitude of a motion vector by the inverse of the reduction rate by the reduction processing unit for each of the divided blocks, and generates a motion index classified into levels; a quantization parameter estimation unit that associates the quantization parameter and the motion index for each of the divided blocks, and outputs, for each of the motion indexes, an average value of the quantization parameters associated with the motion index as an estimated quantization parameter; The low-pass filter processing unit changes the frequency characteristics of the filter when performing the repeated processing.

3. a low-pass filter processing unit that performs low-pass filtering on the original video image to generate a low-pass video image; a reduction processing unit that performs a reduction process on the low-pass video to generate a reduced video; an encoding processing unit that performs an encoding process on the reduced video image and generates encoding information including CU information indicating sizes and positions of divided blocks when performing the encoding process, QP information indicating a quantization parameter for each of the divided blocks, and MV information indicating a motion vector for each of the divided blocks; a repeat process determination unit that determines whether or not to repeat the processes of the low-pass filter processing unit, the reduction processing unit, and the encoding processing unit by comparing the QP information with a threshold; a high frequency power index calculation unit that calculates, for each region corresponding to the divided block, high frequency power per pixel in a predetermined high frequency band or a ratio of the power of the high frequency band to the entire frequency band, and generates a high frequency power index classified into levels; a motion index calculation unit that calculates an enlarged motion vector value by enlarging a magnitude of a motion vector by the inverse of the reduction rate by the reduction processing unit for each of the divided blocks, and generates a motion index classified into levels; a quantization parameter estimation unit that associates the quantization parameter and the motion index for each of the divided blocks, and the high frequency power index for each region corresponding to the divided blocks, and outputs, for each combination of the high frequency power index and the motion index, an average value of the quantization parameters associated with the combination as an estimated quantization parameter; The low-pass filter processing unit changes the frequency characteristics of the filter when performing the repeated processing.

4. 4. The coding parameter estimation device according to claim 1, wherein the low-pass filter processing unit performs frequency reconstruction after performing frequency decomposition processing and degeneration processing on the original video image, and changes the frequency characteristic of a filter by changing a degeneration amount in the degeneration processing.

5. A program for causing a computer to function as the encoding parameter estimation device according to any one of claims 1 to 3.

Citation Information

Patent Citations

  • Printed board turning holder

    JP1988044800A

  • Ultrasonic measuring apparatus

    JP1988088476A