Image coding device

By not referring to the prediction and low-pass filtering of adjacent pixels in inter-frame prediction, combined with the end-closed or open orthogonal transformation of the transformation base, the problem of low coding efficiency in inter-frame prediction is solved and a more efficient signal is achieved. Processing and encoding performance.

CN113596443BActive Publication Date: 2024-09-06NIPPON HOSO KYOKAI
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202110898950.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2015-08-20
Filing Date
2016-08-19
Publication Date
2024-09-06
Estimated Expiration
2036-08-19

AI Technical Summary

Technical Problem

The existing technology fails to effectively utilize the signal correlation of adjacent blocks in inter-frame prediction, resulting in low coding efficiency, especially large prediction errors at the end points of the prediction area, and the adjacent signal correlation in intra-frame prediction fails. Take full advantage of inter-frame prediction.

Method used

In inter-frame prediction, which does not refer to adjacent pixels, a new prediction signal is generated through low-pass filtering processing, and in orthogonal transformation processing, an orthogonal transformation using closed or open ends of the transformation base is selected based on the evaluation criteria. A suitable kind of transformation to reduce the residual component of the prediction residual signal.

Benefits of technology

The coding efficiency is significantly improved, the amount of information in the prediction residual signal is reduced, the accuracy of encoding and decoding is improved, and the overall performance of video encoding is improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113596443B_ABST
    Figure CN113596443B_ABST
Patent Text Reader

Abstract

The image decoding device comprises: a prediction unit, which generates an inter-frame prediction image in block units composed of prediction signals through inter-frame prediction; a filter processing unit, which obtains a control identification signal for indicating the type of selection control selected by the encoding side, and controls whether to perform weighted averaging processing on the prediction signal of the block of the inter-frame prediction image based on the control identification signal, and when performing the weighted averaging processing, performs the weighted averaging processing by using decoded adjacent signals adjacent to the block of the inter-frame prediction image to generate a new block of the prediction image; an inverse quantization unit, which performs corresponding inverse quantization processing on the transform coefficients quantized by the prescribed quantization processing to restore the signal of the transform coefficients, the transform coefficients being signals obtained by dividing the frames constituting the dynamic image into blocks and encoding them; and an inverse transform unit, which performs inverse transform processing determined based on the control identification signal on the restored transform coefficient signal to restore the prediction residual signal of the block unit.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] This application is a divisional application of an invention patent application with an application date of August 19, 2016, an invention name of “Image encoding device, image decoding device, and program thereof”, and an application number of 201680053586.5. Technical Field

[0002] The present invention relates to an image encoding device, an image decoding device, and a program thereof that can be applied to video encoding methods such as MPEG-2, AVC / H.264, MPEG-H, and HEVC / H.265. Background Art

[0003] Regardless of still images or moving images, it is generally known that the signal correlation between adjacent pixels of the image signal is high. Taking advantage of this property, two prediction modes, intra-frame prediction and inter-frame prediction, are prepared in video coding methods such as MPEG-2, AVC / H.264, MPEG-H, and HEVC / H.265. Intra-frame prediction is a technical method for signal prediction using only the signal within the coded frame. The pixel signal (original signal) within the coding object block of the original image is subjected to DC prediction, Planer prediction, or directional prediction using the pixel signal of the coded and decoded blocks adjacent to the left and top sides of the coding object block to generate a block of the predicted image composed of pixel signals (prediction signals) predicted by extrapolation. In this way, the pixel signal within the coding object block is efficiently predicted by using the pixel signal of the decoded block adjacent to the coding object block.

[0004] For example, refer to Fig.29 , taking the prediction based on the horizontal direction (horizontal prediction) in the intra-frame prediction as an example, the properties of the prediction residual signal obtained by the intra-frame prediction are explained. Fig.29 In the example shown, the original signal (see Fig.29 (a)), in order to perform horizontal prediction, the pixel signal of the decoded block adjacent to the left is used as the reference signal Sr and prediction is performed to generate a block Bkp of a predicted image composed of a prediction signal corresponding to the pixel signal of the encoding target block (refer to Fig.29 (b)).

[0005] Then, a block Bkd of a prediction residual signal can be obtained from the difference between the original signal in the encoding target block Bko of the original image and the prediction signal of the block Bkp of the prediction image (see Fig.29(c)). The prediction residual signal obtained by the intra-frame prediction has the following properties: the prediction efficiency is higher for the pixel position closer to the reference signal, so the residual component is smaller (the signal strength is smaller). In other words, as the distance from the reference signal decreases, the prediction efficiency decreases, so the residual component becomes larger (the signal strength becomes larger) (refer to Fig.29 (d)).

[0006] Here, in Fig.29 In the example shown, prediction is performed using the correlation between pixels in the horizontal direction, but the signal of the block that has been coded and decoded also exists on the upper side of the encoding target block. Fig.29 In the example shown, the prediction residual signal is efficiently predicted and generated by the intra prediction in the horizontal direction using the correlation in the horizontal direction, but the correlation in the vertical direction is not used.

[0007] Therefore, in the currently specified H.265, the high correlation with the pixel signal in the block above the encoding object block is utilized. In order to improve the accuracy of the prediction signal, only the prediction signal on the upper side of the block Bkp of the prediction image is filtered to reflect the signal change relative to the upper block. As a result, not only the horizontal correlation based on the horizontal prediction is utilized, but also the vertical correlation can be utilized to further reduce the average residual component in the block Bkd of the prediction residual signal, thereby improving the coding efficiency. Similarly, in the case of intra-frame prediction in the vertical direction, the horizontally adjacent pixels that are not used in the prediction are utilized and filtered, and in the DC prediction that does not utilize the horizontal and vertical adjacent pixels, the filtering process that utilizes the horizontal and vertical adjacent pixels is applied, thereby achieving a significant improvement in coding efficiency compared to previous video coding methods such as MPEG-2 and H.264.

[0008] In inter-frame prediction, motion prediction is performed using a temporally close reference frame that has been encoded and decoded, and a motion vector is calculated, which is used to generate a predicted image. The difference between the predicted image and the original image is generated as a prediction residual signal. However, in the conventional technical method, the degree of signal correlation with adjacent blocks is actively utilized in intra-frame prediction, but in inter-frame prediction, such a property showing the degree of signal correlation with adjacent blocks is not utilized.

[0009] Next, orthogonal transformation and quantization are performed on blocks of prediction residual signals generated through intra-frame prediction and inter-frame prediction, and encoding is performed.

[0010] As a characteristic of the motion compensation processing in inter-frame prediction, the prediction error amount is statistically large at the end points of the prediction area related to its encoding (i.e., the prediction residual signal for the pixel signal located at the periphery of the block of the predicted image) (for example, refer to non-patent document 1).

[0011] Prior art literature

[0012] Non-patent literature

[0013] Non-patent document 1: Zheng Wentao et al., “Characteristic analysis of motion compensated inter-frame difference signals based on statistical motion distribution model”, D-II, J84-D-II, Vol. 9, pp. 2001-2010, September 1, 2001. Summary of the invention

[0014] Problems to be solved by the invention

[0015] As shown in non-patent document 1, as a characteristic of motion compensation processing in inter-frame prediction, the prediction error amount is statistically large at the end points of the prediction area related to its encoding (i.e., the prediction residual signal for the pixel signal located at the periphery of the block of the predicted image).

[0016] On the other hand, in the prior art method, although the correlation between adjacent signals is actively used in intra-frame prediction, the correlation between adjacent signals is not used when generating the prediction residual signal in inter-frame prediction. Therefore, from the perspective of coding efficiency, there is still room for improvement in the prior art method.

[0017] In view of the above-mentioned problems, an object of the present invention is to provide an image encoding device, an image decoding device, and a program thereof in which encoding efficiency is improved.

[0018] Technical solutions to the problem

[0019] The present invention performs control in the following manner: in signal prediction such as inter-frame prediction that performs signal prediction without using decoded adjacent signals (referred to as "prediction without reference to adjacent pixels" in the present application specification), based on a predetermined evaluation criterion, among pixel signals (prediction signals) within a block of a prediction image generated by prediction without reference to adjacent pixels, a coded and decoded signal (decoded adjacent signal) adjacent to the block of the prediction image is used to perform low-pass filtering on the prediction signal, thereby generating a prediction image composed of new prediction signals, and determining the type of orthogonal transformation to be applied. In particular, control is performed in the following manner: when performing low-pass filtering on a prediction signal located at a block boundary of a prediction image generated by prediction without reference to adjacent pixels, an orthogonal transformation process with a closed end of a transformation basis is performed.

[0020] Therefore, even when the prediction of adjacent pixels is not referred to, based on a prescribed evaluation criterion, the pixel value (prediction signal) at the block boundary of the prediction image belonging to the endpoint of the prediction area is low-pass filtered so that the pixel value is close to the pixel value of the adjacent block, thereby improving the coding efficiency. Furthermore, the block of the prediction residual signal obtained based on the block of the prediction image after the low-pass filtering is subjected to an orthogonal transformation (such as DST) with closed ends of the transformation basis. Through the above-mentioned structure, not only the phase is consistent, but also the characteristics of the transformation basis corresponding to the endpoint of the prediction area are consistent, resulting in a more significant improvement in coding efficiency.

[0021] That is, the image encoding device of the present invention is used to divide the original image of the frame unit constituting the dynamic image into blocks and encode it, and is characterized in that the image encoding device comprises: a prediction unit without reference to adjacent pixels, which generates a prediction image of the block unit composed of prediction signals by a predetermined prediction without reference to adjacent pixels, in which the prediction without reference to adjacent pixels performs signal prediction on each pixel signal of the original image of the block unit in a manner not using the decoded adjacent signals; a filtering processing unit, which is controlled to perform and not perform low-pass filtering processing under a predetermined selection control, and when performing the low-pass filtering processing, uses the decoded adjacent signals adjacent to the block of the prediction image, and performs the low-pass filtering processing on the prediction signal located at the block boundary of the prediction image, thereby generating a new prediction image block; a prediction residual signal generating unit, which calculates the difference between each prediction signal of the block of the prediction image generated by the filtering processing unit and each pixel signal of the encoding target block of the original image. An orthogonal transform unit is provided, wherein one of a plurality of orthogonal transform processes is selectively controlled under the specified selection control, and the orthogonal transform unit performs an orthogonal transform process on the prediction residual signal of the block unit through the orthogonal transform process of the selection control to generate a signal of a transform coefficient; and an orthogonal transform selection control unit is provided, which selects and controls any one of a first combination and a second combination as the specified selection control based on a specified evaluation criterion when the prediction is not made with reference to adjacent pixels, wherein in the first combination, a first orthogonal transform process with a closed end of a transform base among the plurality of orthogonal transform processes is applied when the low-pass filtering process is performed, and in the second combination, a second orthogonal transform process with an open end of a transform base among the plurality of orthogonal transform processes is applied when the low-pass filtering process is not performed, and a transform type identification signal indicating the type of the selected orthogonal transform process is generated as a coding parameter.

[0022] Furthermore, in the image encoding device of the present invention, it is characterized in that the predetermined prediction without reference to adjacent pixels includes any one of inter-frame prediction, intra-block copy prediction, and cross-component signal prediction.

[0023] In addition, the image encoding device of the present invention is characterized in that the orthogonal transform selection control unit has the following unit, in which, as the specified evaluation criterion, the first combination is selected when the effect of the low-pass filtering processing is above a specified level, or the RD cost is excellent after the low-pass filtering processing is executed.

[0024] In addition, in the image encoding device of the present invention, it is characterized in that the filtering processing unit implements the low-pass filtering processing to smooth the prediction signal adjacent to the decoded adjacent signal in the prediction signal within the block of the prediction image generated by the prediction unit without reference to adjacent pixels.

[0025] Furthermore, the image decoding device of the present invention is used to decode a signal that is obtained by dividing a frame constituting a dynamic image into blocks and encoding it, and is characterized in that the image decoding device comprises: an orthogonal inverse transform selection control unit that obtains a transform type identification signal indicating the type of orthogonal transform processing selected on the encoding side among a plurality of orthogonal transform processing, and in a prescribed prediction without reference to adjacent pixels, selectively determines the type of corresponding orthogonal inverse transform processing based on the transform type identification signal, wherein in the prescribed prediction without reference to adjacent pixels, signal prediction is performed on each pixel signal of a block unit in a manner that does not use decoded adjacent signals; and an inverse quantization unit that performs corresponding inverse quantization processing on transform coefficients quantized by a prescribed quantization processing, and the The transform coefficient is used as a signal for dividing and encoding the frame blocks constituting the dynamic image, thereby restoring the transform coefficient signal; an orthogonal inverse transform unit, which performs an orthogonal inverse transform process determined based on the transform type identification signal on the restored transform coefficient signal, thereby restoring the prediction residual signal of the block unit; a prediction unit without reference to adjacent pixels, which generates a predicted image of the block unit composed of the prediction signal by the prediction without reference to adjacent pixels; and a filtering processing unit, which, when the first orthogonal transform process is performed in which the ends of the transform basis are closed in the transform type identification signal, uses the decoded adjacent signals adjacent to the block of the predicted image to perform a low-pass filtering process on the prediction signal located at the block boundary of the predicted image, thereby generating a new predicted image block.

[0026] In addition, the image decoding device of the present invention is characterized in that the orthogonal inverse transform selection control unit has the following unit, in which the transform type identification signal is obtained as a coding parameter, and the coding parameter indicates which of the first orthogonal transform processing with closed ends of the transform base and the second orthogonal transform processing with open ends of the transform base is applied on the encoding side among the multiple orthogonal transform processing.

[0027] Furthermore, the program of the present invention causes a computer to function as the image encoding device or the image decoding device of the present invention.

[0028] Effects of the Invention

[0029] According to the present invention, the signal error generated between the prediction signal of the prediction image and the adjacent decoded block signal is reduced, and the coding efficiency is improved, so that an image coding device and an image decoding device with high coding efficiency in a video coding method can be realized. That is, on the encoding side, the residual component in the prediction residual signal can be further reduced, and the coding efficiency can be improved by reducing the amount of information transmitted by coding. In addition, on the decoding side, decoding is possible even with such a reduced amount of information.

[0030] In particular, even when the prediction of adjacent pixels is not referred to, based on a prescribed evaluation criterion, the pixel value (prediction signal) at the block boundary of the prediction image belonging to the endpoint of the prediction area is low-pass filtered so that the pixel value is close to the pixel value of the adjacent block, thereby improving the coding efficiency. Furthermore, the block of the prediction residual signal obtained based on the block of the prediction image is subjected to an orthogonal transformation processing (such as DST) with closed ends of the transformation basis, so that not only the phase is consistent, but also the characteristics of the transformation basis corresponding to the endpoint of the prediction area are consistent, which can more significantly improve the coding efficiency. BRIEF DESCRIPTION OF THE DRAWINGS

[0031] Figure 1 In the figure, (a) is a block diagram of the periphery of a filtering processing unit involved in a prediction image in the image encoding device according to the first embodiment of the present invention, and (b) is an explanatory diagram showing an example of filtering processing of the prediction image.

[0032] Figure 2 In the drawings, (a), (b), and (c) are respectively explanatory diagrams illustrating prediction without reference to adjacent pixels according to the present invention.

[0033] Figure 3 This is a block diagram showing an example of an image encoding device according to the first embodiment of the present invention.

[0034] Figure 4 This is a flowchart related to the filtering process of the prediction image in the image encoding device according to the first embodiment of the present invention.

[0035] Figure 5 It is an explanatory diagram related to the filtering process of the prediction image in the image encoding device according to the first embodiment of the present invention.

[0036] Figure 6 This is a block diagram of the periphery of a filter processing unit related to a predicted image in the image decoding device according to the first embodiment of the present invention.

[0037] Figure 7 This is a block diagram showing an example of an image decoding device according to the first embodiment of the present invention.

[0038] Figure 8 This is a block diagram of a filter processing unit in an image encoding device or an image decoding device according to a second embodiment of the present invention.

[0039] Fig. 9 This is a flowchart related to the filtering process of the prediction image in the image encoding device or the image decoding device according to the second embodiment of the present invention.

[0040] Fig.10 In the figure, (a) and (b) are respectively explanatory diagrams related to the filtering process of the prediction image in the image encoding device or the image decoding device according to the second embodiment of the present invention.

[0041] Fig.11 In the figure, (a) is a block diagram of the filter processing unit and the orthogonal transform selection control unit in the image encoding device according to the third embodiment of the present invention, and (b) and (c) are diagrams showing an example of a basic waveform of the orthogonal transform.

[0042] Fig.12 This is a block diagram showing a first example of an image encoding device according to a third embodiment of the present invention.

[0043] Fig.13 This is a flowchart of the orthogonal transform selection control processing of the first example in the image encoding device according to the third embodiment of the present invention.

[0044] Fig.14 This is a block diagram showing a second example of the image encoding device according to the third embodiment of the present invention.

[0045] Fig.15 This is a flowchart of the orthogonal transform selection control processing of the second embodiment in the image encoding device according to the third embodiment of the present invention.

[0046] Fig.16 This is a block diagram of the periphery of a filter processing unit and an orthogonal inverse transform selection control unit in the image decoding device according to the third embodiment of the present invention.

[0047] Fig.17 This is a block diagram showing an example of an image decoding device according to the third embodiment of the present invention.

[0048] Fig.18 This is a flowchart of an orthogonal inverse transform selection control process according to one example in the image decoding device according to the third embodiment of the present invention.

[0049] Fig.19 In the figure, (a) is a block diagram of the periphery of a filtering processing unit involved in a prediction image in an image encoding device according to a fourth embodiment of the present invention, and (b) is an explanatory diagram showing an example of filtering processing of the prediction image.

[0050] Fig. 20 In the drawings, (a), (b), and (c) are respectively explanatory diagrams illustrating orthogonal transform application blocks after block division related to the predicted image involved in the present invention.

[0051] Fig.21 This is a block diagram showing an example of an image encoding device according to the fourth embodiment of the present invention.

[0052] Fig. 22 This is a flowchart related to the filtering process of the predicted image in the image encoding device according to the fourth embodiment of the present invention.

[0053] Fig.23 This is a flowchart related to the orthogonal transform processing in the image encoding device according to the fourth embodiment of the present invention.

[0054] Fig.24 This is a block diagram of the periphery of a filtering processing unit related to a predicted image in an image decoding device according to a fourth embodiment of the present invention.

[0055] Fig.25 This is a block diagram showing an example of an image decoding device according to the fourth embodiment of the present invention.

[0056] Fig.26 In the figure, (a) and (b) are block diagrams of the filter processing unit and its surroundings in the image encoding device and the image decoding device according to the fifth embodiment of the present invention, respectively.

[0057] Fig. 27 This is a flowchart related to the filtering process of the predicted image in the image encoding device or the image decoding device according to the fifth embodiment of the present invention.

[0058] Fig.28 It is an explanatory diagram related to the filtering process of the prediction image in the image encoding device or the image decoding device according to the fifth embodiment of the present invention.

[0059] Fig.29 Among them, (a), (b), (c), and (d) are illustrations of intra-frame prediction in the prior art method. DETAILED DESCRIPTION

[0060] Hereinafter, an image encoding device and an image decoding device according to each embodiment of the present invention will be described in order.

[0061] [First embodiment]

[0062] (Image Coding Device)

[0063] First, with reference to the filter processing unit 12 for predictive images, which is a main component of the present invention in the image encoding device 1 according to the first embodiment of the present invention, Figure 1 and Figure 2 For the purpose of explanation, a typical example of the image encoding device 1 is described as follows. Figures 3 to 5 Provide explanation.

[0064] Figure 1 (a) is a block diagram of the periphery of the filter processing unit 12 related to the prediction image in the image encoding device 1 according to the first embodiment of the present invention. Figure 1 (b) is an explanatory diagram showing an example of filtering processing of the predicted image by the filtering processing unit 12.

[0065] like Figure 1 As shown in (a), the image encoding device 1 according to the first embodiment of the present invention is configured to include a non-adjacent pixel reference prediction unit 11, a filter processing unit 12, a prediction residual signal generation unit 13, and an orthogonal transformation unit 14.

[0066] The prediction unit 11 without reference to adjacent pixels is a functional unit that performs the following signal prediction processing, in which a predicted image is generated for the coding target area of ​​the original image without using adjacent decoded signals (decoded adjacent signals). In the present application specification, such signal prediction is referred to as "prediction without reference to adjacent pixels", and the prediction without reference to adjacent pixels includes, for example: inter-frame prediction for motion compensation prediction between frames, intra-block copy prediction for copying different decoded partial images in the same frame to generate a predicted image, and signal prediction for generating a predicted image using the correlation between component signals of the luminance signal and the color difference signal at the corresponding block position of a certain frame (referred to as "cross-component signal prediction" in the present application specification), etc.

[0067] For example, in inter-frame prediction, Figure 2 As shown in (a), among multiple frames F1 to F6 of a certain GOP structure, when frame F1 is recorded as an I frame (intra-frame coded frame), a predicted image is generated by referring to past I frames and P frames like a P frame (inter-frame prediction coded frame), and a predicted image is generated by referring to multiple frames such as past and future frames like a B frame (bidirectional inter-frame prediction coded frame).

[0068] In addition, in the intra-block replication prediction, Figure 2 As shown in (b), a different decoded partial image Bkr in the same frame F is referenced and copied to generate a predicted image Bkp.

[0069] In addition, in cross-component signal prediction, e.g. Figure 2As shown in (c), by utilizing the correlation between component signals, a local decoded image Bkr of a luminance signal (e.g., a Y signal) at a corresponding block position of a certain frame F is referred to, and a synthesis process based on weighted addition is performed on a predicted image of a color difference signal (e.g., a U / V signal), thereby generating a modified predicted image Bkp of the color difference signal (e.g., a U / V signal). For details on such cross-component signal prediction, refer to Japanese Patent Application Publication No. 2014-158270.

[0070] These predictions without referring to adjacent pixels are common in that a decoded area is provided as an area adjacent to a block of the encoding target area of ​​the original image and signal prediction is not performed using the level of correlation between adjacent pixels.

[0071] The filtering processing unit 12 in the first embodiment is a functional unit that performs low-pass filtering on the pixel signal (prediction signal) within the block of the prediction image generated by the prediction unit 11 without referring to the adjacent pixel prediction unit 11, using the decoded signals (decoded adjacent signals) adjacent to the prediction image on the left and above, thereby generating a prediction image composed of new prediction signals and outputting it to the prediction residual signal generation unit 13.

[0072] For example, Figure 1 As shown in (b), when the filtering processing unit 12 generates a block Bkp of a predicted image composed of 4×4 pixel signals p corresponding to the block Bko of the encoding object area of ​​the original image without referring to the adjacent pixel prediction unit 11, it uses the decoded adjacent signal So around the block boundary of the block Bkp of the predicted image adjacent to the left and top of the predicted image, and uses the leftmost and topmost pixel signals (prediction signals) in the predicted image as the signal Sf of the filtering object area, and performs low-pass filtering processing such as smoothing filtering in the horizontal and vertical directions, thereby generating a predicted image composed of new prediction signals.

[0073] The prediction residual signal generating unit 13 calculates the error between each pixel signal (prediction signal) of the block Bkp of the predicted image obtained by the filtering processing unit 12 and each pixel signal (original signal) of the block (encoding object block) Bko of the encoding object area of ​​the original image, and outputs it to the orthogonal transformation unit 14 as a prediction residual signal.

[0074] The orthogonal transform unit 14 performs a predetermined orthogonal transform process on the prediction residual signal input from the prediction residual signal generator 13, and generates a signal of the transform coefficient. For example, the predetermined orthogonal transform process may be an orthogonal transform process used in a coding method such as DCT or DST, or an integer orthogonal transform process defined in H.264 or H.265 that approximates the orthogonal transform process to an integer, as long as it is in accordance with the coding method used.

[0075] The image encoding device 1 of the first embodiment performs quantization processing and entropy coding processing on the signal of the transform coefficient and outputs it to the outside. In the entropy coding processing, it is transformed into a code by arithmetic coding represented by CABAC together with various coding parameters, so that the video can be transmitted. In addition, the coding parameters can include parameters that can be selected and set, such as inter-frame prediction parameters, intra-frame prediction parameters, parameters of block size involved in block division (block division parameters), and quantization parameters involved in quantization processing, and can be transmitted.

[0076] Next, as a representative example of the prediction unit 11 without referring to adjacent pixels, the inter-frame prediction unit 11a based on inter-frame prediction is described. Figures 3 to 5 The configuration of the image encoding device 1 in which the filter processing unit 12 performs a filter process on the prediction signal of the block of the prediction image and an example of its operation will be described.

[0077] Figure 3 This is a block diagram showing an example of the image encoding device 1 according to the first embodiment of the present invention. Figure 3 The image encoding device 1 shown includes: a pre-processing unit 10, an inter-frame prediction unit 11a, a filtering processing unit 12, a prediction residual signal generating unit 13, an orthogonal transformation unit 14, a quantization unit 15, an inverse quantization unit 16, an orthogonal inverse transformation unit 17, a decoded image generating unit 18, an in-loop filtering unit 19, a frame memory 20, an intra-frame prediction unit 21, a motion vector calculation unit 22, an entropy coding unit 23, and a prediction image selection unit 24.

[0078] The pre-processing unit 10 divides the original image of each frame of the input moving image data into encoding target blocks of a predetermined block size, and outputs the blocks to the prediction residual signal generating unit 13 in a predetermined order.

[0079] The prediction residual signal generator 13 calculates the error between each pixel signal of the block of the prediction image obtained by the filter processor 12 and each pixel signal of the encoding target block, and outputs it to the orthogonal transform unit 14 as a prediction residual signal in units of blocks.

[0080] The orthogonal transform unit 14 performs a predetermined orthogonal transform process on the prediction residual signal input from the prediction residual signal generating unit 13, and generates a signal of a transform coefficient thereof.

[0081] The quantization unit 15 performs a predetermined quantization process on the signal of the transform coefficient obtained by the orthogonal transform unit 14 , and outputs the signal to the entropy coding unit 23 and the inverse quantization unit 16 .

[0082] The inverse quantization unit 16 performs inverse quantization processing on the signal of the quantized transform coefficient obtained by the quantization unit 15 , and outputs the signal to the orthogonal inverse transform unit 17 .

[0083] The inverse orthogonal transform unit 17 performs an inverse orthogonal transform process on the inverse quantized transform coefficient signal obtained by the inverse quantization unit 16 , thereby restoring the prediction residual signal and outputs it to the decoded image generation unit 18 .

[0084] The decoded image generation unit 18 adds the prediction residual signal restored by the orthogonal inverse transform unit 17 to the block of the predicted image predicted by the intra-frame prediction unit 21 or the inter-frame prediction unit 11a and obtained by the filter processing unit 12, generates a block of the local decoded image and outputs it to the in-loop filter unit 19.

[0085] The in-loop filter unit 19 performs in-loop filtering processing such as adaptive loop filtering (ALF: Adaptive Loop Filter), sample adaptive offset (SAO: Sample Adaptive Offset, sampling point adaptive offset), and deblocking filtering on the blocks of the local decoded image obtained by the decoded image generation unit 18, and outputs the result to the frame memory 20. The filter parameters related to these filtering processes are output to the entropy coding unit 23 as one of the encoding parameters that become incidental information of the encoding process.

[0086] The frame memory 20 stores blocks of the local decoded image obtained by the in-loop filtering unit 19 , and stores the blocks as reference images that can be used by the intra-frame prediction unit 21 , the inter-frame prediction unit 11 a , and the motion vector calculation unit 22 .

[0087] When the signal selection for signal prediction is performed by the prediction image selection unit 24 using only the signal within the frame of the prediction object, the intra-frame prediction unit 21 performs DC prediction, Planer prediction, or directional prediction on the pixel signal within the encoding object block (original signal) of the original image using the pixel signal of the encoded and decoded blocks adjacent to the left and above the encoding object block and stored in the frame memory 20 as a reference image, generates a block of the prediction image composed of the pixel signal (prediction signal) predicted by interpolation, and outputs it to the filtering processing unit 12.

[0088] In addition, an intra prediction parameter for identifying the DC prediction, Planer prediction, or directional prediction used in the intra prediction unit 21 is output to the entropy coding unit 23 as one of the coding parameters serving as incidental information in the coding process.

[0089] When the signal selection for inter-frame motion compensation prediction of the P / B frame is performed by the prediction image selection unit 24, the inter-frame prediction unit 11a performs motion compensation on the pixel signal (original signal) within the encoding object block of the original image using the motion vector provided by the motion vector calculation unit 22, thereby generating a block of the prediction image and outputting it to the filtering processing unit 12.

[0090] The motion vector calculation unit 22 uses a block matching technique or the like to retrieve the position most similar to the encoding target block of the original image for the reference image data stored in the frame memory 20, calculates a value indicating its spatial displacement as a motion vector, and outputs it to the inter-frame prediction unit 11a.

[0091] In addition, the inter prediction parameters used in the inter prediction including the motion vector calculated by the motion vector calculation unit 22 are output to the entropy coding unit 23 as one of the coding parameters serving as incidental information in the coding process.

[0092] The entropy coding unit 23 performs entropy coding processing on the output signal from the quantization unit 15 and various coding parameters, and outputs a stream signal of the coded moving image data.

[0093] For an example of the operation of the filter processing unit 12, refer to Figure 4 and Figure 5 For explanation. Figure 4 As shown in the figure, when the prediction image from the intra prediction unit 21 or the inter prediction unit 11a is input (step S1), the filter processing unit 12 identifies whether the prediction image is a prediction without reference to adjacent pixels, that is, in this example, whether it is an inter prediction based on the signal selection performed by the prediction image selection unit 24 (step S2). The prediction without reference to adjacent pixels is also the same in the case of the intra-block copy prediction and the cross-component signal prediction.

[0094] Next, when the filter processing unit 12 determines that the predicted image is not a prediction without reference to adjacent pixels, that is, when it is determined to be an intra-frame prediction in this example (step S2: No), it determines whether to perform filtering processing by a predetermined processing method (step S5). When filtering processing is not performed on the predicted image of intra-frame prediction (step S5: No), the filter processing unit 12 does not perform filtering processing on the prediction signal and outputs it to the prediction residual signal generation unit 13 (step S6). On the other hand, when filtering processing is performed on the predicted image of intra-frame prediction (step S5: Yes), the filter processing unit 12 proceeds to step S3. In addition, the filtering processing performed on the predicted image of intra-frame prediction only needs to be processed in the same way as the currently specified H.265. Since it is not directly related to the main purpose of the present invention, the description of step S3 describes an example of performing filtering processing on the predicted image of inter-frame prediction.

[0095] When the filter processing unit 12 determines that the predicted image is a prediction without reference to adjacent pixels, that is, when it is determined to be an inter-frame prediction in this example (step S2: Yes), it selects pixel signals (prediction signals) of a predetermined filtering target area from the predicted image (step S3). Figure 5As illustrated, among the pixel signals (prediction signals) in the block of the 4×4 prediction image, the leftmost and uppermost pixel signals (prediction signals) of the prediction image are determined as the filtering target region Sf.

[0096] Next, the filter processing unit 12 uses the decoded signals (decoded adjacent signals) adjacent to the predicted image on the left and above sides to perform low-pass filtering on the pixel signals (prediction signals) of the selected filtering target area, thereby generating a prediction image composed of new prediction signals and outputting it to the prediction residual signal generating unit 13 (step S4). Figure 5 As illustrated, the filtering processing unit 12 performs smoothing filtering processing with a predetermined weight coefficient on each of the horizontal filtering area, the vertical filtering area, and the angular filtering area in the filtering processing object area Sf among the pixel signals (prediction signals) within the block Bkp of the 4×4 prediction image, and outputs the smoothing filtering processing to the prediction residual signal generating unit 13.

[0097] In addition, the filtering process performed by the filtering processing unit 12 may be a low-pass filtering process, or a filtering process other than smoothing filtering may be applied. The area and weight coefficient of the decoded adjacent signal used in the filtering process are not necessarily limited to Figure 5 For example, in the case of a large-size coding block, filtering processing may be applied to multiple rows or columns. In addition, the filtering type, filtering processing target area, and weight coefficient involved in the filtering processing performed by the filtering processing unit 12 may be transmitted as incidental information of the coding processing, but as long as it is pre-specified between sending and receiving (between encoding and decoding), it is not necessary to transmit.

[0098] In this way, the predicted image is filtered by the filtering processing unit 12. As a result, regardless of the type of orthogonal transformation processing by the orthogonal transformation unit 14, the signal error generated between the leftmost and topmost pixel signals (prediction signals) in the predicted image and the adjacent decoded signals is reduced, thereby improving the video encoding efficiency.

[0099] (Image decoding device)

[0100] Next, the main components of the present invention, namely, the filter processing unit 54 and its peripheral functional blocks in the image decoding device 5 according to the first embodiment of the present invention will be described with reference to FIG. Figure 6 For a specific typical example, the image decoding device 5 is described as follows. Figure 7 Provide explanation.

[0101] Figure 6 FIG. 1 is a block diagram of the periphery of the filter processing unit 54 involved in the prediction image in the image decoding device 5 according to the first embodiment of the present invention. Figure 6As shown, the image decoding device 5 according to the first embodiment of the present invention is configured to include an orthogonal inverse transform unit 52 , a non-adjacent pixel reference prediction unit 53 , a filter processing unit 54 , and a decoded image generation unit 55 .

[0102] The inverse orthogonal transform unit 52 receives the stream signal transmitted from the image encoding device 1 and performs inverse orthogonal transform processing on the transform coefficients restored after entropy decoding processing and inverse quantization processing, and outputs the obtained prediction residual signal to the decoded image generation unit 55.

[0103] The non-reference adjacent pixel prediction unit 53 is a functional unit corresponding to the non-reference adjacent pixel prediction unit 11 on the image encoding device 1 side, and performs signal prediction processing to generate a predicted image without using adjacent decoded signals (decoded adjacent signals). The prediction without reference to adjacent pixels includes, for example, inter-frame prediction for performing motion compensation prediction between frames, intra-block copy prediction for generating a predicted image by copying different decoded partial images in the same frame, and cross-component signal prediction for generating a predicted image by using the correlation between component signals of a luminance signal and a color difference signal at corresponding block positions in a certain frame.

[0104] The filter processing unit 54 of the first embodiment is a functional unit corresponding to the filter processing unit 12 on the image encoding device 1 side. The functional unit uses the decoded signals (decoded adjacent signals) adjacent to the predicted image on the left and above, respectively, among the pixel signals (prediction signals) within the block of the predicted image generated by the prediction unit 53 without referring to the adjacent pixels, and performs low-pass filtering on the prediction signals, thereby generating a predicted image composed of new prediction signals and outputting the predicted signal to the decoded image generation unit 55.

[0105] The decoded image generation unit 55 is a functional unit that adds the prediction residual signal restored by the inverse orthogonal transform unit 52 to the block of the prediction image obtained by the filter processing unit 54 described later, thereby generating a block of the decoded image composed of the decoded signal.

[0106] That is, the prediction residual signal generated by filtering the prediction image by the filter processing unit 12 in the image encoding device 1 is transmitted in a state in which the encoding efficiency of the video is improved, and the image decoding device 5 can efficiently restore the video involved in the transmission. In addition, in the filter processing unit 54, as in the case of the filter processing unit 12, the filtering process can be low-pass filtering, and filtering other than smoothing filtering can also be applied. The area and weight coefficient of the decoded adjacent signal used in the filtering process can also be appropriately determined. In addition, when the filtering type, filtering target area, and weight coefficient involved in the filtering process performed by the filter processing unit 12 are pre-specified between transmission and reception (between encoding and decoding) or transmitted as incidental information of the encoding process from the image encoding device 1 side, the filter processing unit 54 of the image decoding device 5 also performs filtering in the same manner, thereby improving the accuracy of the decoded signal.

[0107] Next, as a representative example of the prediction unit 53 without referring to adjacent pixels, the inter-frame prediction unit 53a based on inter-frame prediction is described. Figure 7 The configuration of the image decoding device 5 in which the filter processing unit 54 performs a filter process on the prediction signal obtained by the inter-frame prediction and an example of its operation will be described.

[0108] Figure 7 This is a block diagram showing an example of the image decoding device 5 according to the first embodiment of the present invention. Figure 7 The image decoding device 5 shown includes: an entropy decoding unit 50, an inverse quantization unit 51, an orthogonal inverse transform unit 52, an inter-frame prediction unit 53a, a filtering processing unit 54, a decoded image generation unit 55, an in-loop filtering unit 56, a frame memory 57, an intra-frame prediction unit 58, and a predicted image selection unit 59.

[0109] The entropy decoding unit 50 receives the stream signal transmitted from the image encoding device 1 side, outputs various encoding parameters obtained by performing entropy decoding processing corresponding to the entropy encoding processing of the image encoding device 1 to each functional block, and outputs the quantized transform coefficient to the inverse quantization unit 51. As various encoding parameters, for example, filter parameters, intra-frame prediction parameters, and inter-frame prediction parameters are output to the intra-loop filtering unit 56, the intra-frame prediction unit 58, and the inter-frame prediction unit 53a, respectively.

[0110] The inverse quantization unit 51 performs an inverse quantization process corresponding to the quantization process of the image encoding device 1 on the quantized transform coefficients obtained by the entropy decoding unit 50 , and outputs the transform coefficients to the orthogonal inverse transform unit 52 .

[0111] The inverse orthogonal transform unit 52 performs an inverse orthogonal transform process corresponding to the orthogonal transform process of the image encoding device 1 on the transform coefficients obtained by the inverse quantization unit 51 , thereby restoring a prediction residual signal and outputs it to the decoded image generation unit 55 .

[0112] The decoded image generation unit 55 adds the prediction residual signal restored by the orthogonal inverse transform unit 52 to the block of the predicted image generated by the intra-frame prediction unit 58 or the inter-frame prediction unit 53a and the low-pass filtering performed by the filter processing unit 54, generates a block of the decoded image and outputs it to the in-loop filter unit 56.

[0113] The in-loop filter unit 56 performs a filtering process corresponding to the in-loop filtering process on the image encoding device 1 side and outputs the result to the frame memory 57 .

[0114] The frame memory 57 stores blocks of decoded images obtained by the intra-loop filtering unit 56 , and stores the blocks as reference images that can be used by the intra-frame prediction unit 58 and the inter-frame prediction unit 53 a .

[0115] When signal selection is performed by the prediction image selection unit 59 to perform signal prediction using only the signal within the frame of the prediction object, the intra-frame prediction unit 58 uses the intra-frame prediction parameters and the pixel signals of the decoded blocks adjacent to the left and above the decoded object block stored in the frame memory 57 as a reference image to implement prediction processing corresponding to the intra-frame prediction unit 21 on the image encoding device 1 side, thereby generating a block of the prediction image and outputting it to the filtering processing unit 54.

[0116] When the signal for inter-frame motion compensation prediction of the P / B frame is selected by the prediction image selection unit 59, the inter-frame prediction unit 53a uses the motion vector contained in the inter-frame prediction parameters to perform motion compensation on the data stored in the frame memory 20 as a reference image, thereby generating a block of the prediction image and outputting it to the filtering processing unit 54.

[0117] Alternatively, a frame may be constructed from the decoded data stored in the frame memory 57 and output as a decoded image.

[0118] In the filtering processing unit 54, the reference Figure 4 and Figure 5The same action as the action described in the example is used as its action. That is, when the predicted image is a prediction without reference to adjacent pixels, that is, an inter-frame prediction in this example, the filtering processing involved in the present invention in the filtering processing unit 54 selects the pixel signal (prediction signal) of the predetermined filtering processing object area from the predicted image, and uses the decoded signal (decoded adjacent signal) adjacent to the predicted image on the left and above, and performs low-pass filtering on the pixel signal (prediction signal) of the selected filtering processing object area, thereby generating a predicted image composed of a new prediction signal and outputting it to the decoded image generation unit 55. For example, Figure 5 As illustrated, the filtering processing unit 54 uses the decoded adjacent signal So around the block boundary of the block Bkp of the predicted image, and performs smoothing filtering processing with a predetermined weight coefficient on each of the horizontal filtering area, the vertical filtering area, and the angular filtering area in the filtering processing object area Sf among the pixel signal (prediction signal) within the block Bkp of the predicted image, and outputs it to the decoded image generating unit 55.

[0119] According to the image encoding device 1 and the image decoding device 5 of the first embodiment configured as described above, the signal error generated between the prediction signal of the prediction image and the adjacent decoded block signal is reduced, and the coding efficiency is improved, so that the image encoding device and the image decoding device with high coding efficiency of the video coding method can be realized. That is, the residual component in the prediction residual signal can be further reduced, and the coding efficiency can be improved by reducing the amount of information transmitted by coding.

[0120] [Second embodiment]

[0121] Next, referring to the filter processing units 12 and 54 in the image encoding device 1 and the image decoding device 5 according to the second embodiment of the present invention, Figure 8 In the filtering processing unit 12, 54 of the first embodiment, the following example is described: among the pixel signals (prediction signals) within a block of a prediction image generated by prediction without reference to adjacent pixels, low-pass filtering is performed on the prediction signals using decoded signals (decoded adjacent signals) adjacent to the prediction image on the left and above, respectively, to thereby generate a prediction image composed of new prediction signals.

[0122] On the other hand, the filter processing units 12 and 54 of the present embodiment are configured as follows: among the pixel signals (prediction signals) within a block of a prediction image generated by prediction without reference to adjacent pixels, a correlation determination is performed to determine whether to apply a low-pass filtering process to the prediction signal that is the object of the low-pass filtering process, using the decoded adjacent signals that are referenced in the low-pass filtering process, and whether to apply the low-pass filtering process is determined based on the result of the correlation determination. In addition, the same components are labeled with the same reference numerals for explanation. Therefore, the filter processing units 12 and 54 of the present embodiment can be applied to Figure 3 and Figure 7 The image encoding device 1 and the image decoding device 5 are respectively illustrated in FIG. 1 , and therefore, only the processing contents involved in the filter processing units 12 and 54 of this embodiment will be described here, and further detailed descriptions thereof will be omitted.

[0123] Figure 8 : is a block diagram of the filter processing unit 12 or 54 in the image encoding device 1 or the image decoding device 5 of this embodiment. Fig. 9 This is a flowchart related to the filtering process 12 or 54 of the prediction image in the image encoding device 1 or the image decoding device 5 according to the present embodiment.

[0124] The filter processing unit 12, 54 of this embodiment includes a horizontal correlation determination unit 101, a vertical correlation determination unit 102, a filter processing determination unit 103, and a filter processing execution unit 104. For the operation of these functional blocks, refer to Fig. 9 In addition, the filter processing unit 12, 54 of the present embodiment can also be configured to perform processing without distinguishing whether it is a prediction without reference to adjacent pixels, for example, without distinguishing whether it is an inter-frame prediction or an intra-frame prediction. Here, an example of performing filtering processing on a predicted image of a prediction without reference to adjacent pixels involved in the present invention is described.

[0125] When a predicted image is inputted (step S11 ), the filter processing units 12 and 54 execute correlation determination processing on the filter processing target regions respectively determined by the horizontal correlation determination unit 101 and the vertical correlation determination unit 102 (step S12 ).

[0126] That is, the correlation with the decoded adjacent signal adjacent to the predicted image on the left is determined by the horizontal correlation determination unit 101 (step S13). When it is determined that the correlation in the horizontal direction is high (step S13: yes), it is determined to perform horizontal filtering processing using the decoded adjacent signal (step S14). When it is determined that the correlation in the horizontal direction is low (step S13: no), the intention of not performing horizontal filtering processing is output to the filtering processing determination unit 103.

[0127] Similarly, the vertical correlation determination unit 102 determines the correlation with the decoded adjacent signal adjacent to the predicted image on the upper side (step S15). When it is determined that the vertical correlation is high (step S15: yes), it is determined to use the decoded adjacent signal to perform vertical filtering processing (step S16). When it is determined that the vertical correlation is low (step S15: no), the meaning of not performing vertical filtering processing is output to the filtering processing determination unit 103.

[0128] The filtering process determination unit 103 determines whether it has received a determination to perform both horizontal and vertical filtering processes (step S17). When it has received a determination to perform both horizontal and vertical filtering processes (step S17: yes), it is determined to perform both horizontal and vertical filtering processes and 3-tap angular filtering processes (step S18). When it has received a determination not to perform either or both horizontal and vertical filtering processes (step S17: no), it is determined to perform only horizontal filtering processes when the horizontal correlation is high, and to perform only vertical filtering processes when the vertical correlation is high. In addition, in the case of performing only one of the horizontal and vertical filtering processes, angular filtering is also determined to perform horizontal or vertical filtering processes (step S19).

[0129] Fig. 9 The processing order of steps S13 to S19 shown is only an example, and can be configured in a different order. Therefore, the filter processing determination unit 103 performs relevant judgments on each filter processing target area determined in the horizontal direction and the vertical direction, and determines whether to perform the filter processing "only in the horizontal direction", "only in the vertical direction", "all in the horizontal, vertical, and corner directions", or "none in the horizontal, vertical, and corner directions", and outputs this meaning to the filter processing execution unit 104.

[0130] The filtering execution unit 104 performs filtering according to the determination result of the filtering determination unit 103 and outputs the predicted image after filtering (step S20). When the determination result of the filtering determination unit 103 is "not executed horizontally, vertically or angularly", the predicted image input to the filtering units 12 and 54 is directly output.

[0131] For example, the horizontal correlation determination unit 101 determines Fig.10 For each of the four horizontal direction determination areas A1 to A4 shown in (a), the difference between adjacent pixels is calculated. If the total value of the difference in the horizontal direction determination areas A1 to A4 is less than a predetermined threshold, it is determined that the correlation is high, otherwise it is determined that the correlation is low. Similarly, for each of the four horizontal direction determination areas A1 to A4 shown in (a), the vertical direction correlation determination unit 102 calculates the difference between adjacent pixels. If the total value of the difference in the horizontal direction determination areas A1 to A4 is less than a predetermined threshold, it is determined that the correlation is high. Otherwise, it is determined that the correlation is low. Fig.10For each of the four vertical direction determination areas B1 to B4 shown in (b), the difference between adjacent pixels is calculated. If the total value of the difference in the vertical direction determination areas B1 to B4 is below a predetermined threshold, it is determined that the correlation is high; otherwise, it is determined that the correlation is low. Figure 5 As shown in the figure, filtering processing in the direction with high correlation is applied, and filtering processing can be performed in "only horizontal direction", "only vertical direction", "all horizontal, vertical and corner", or "none horizontal, vertical and corner". And, when only horizontal or vertical filtering processing is performed, horizontal or vertical filtering is applied to pixels (prediction signals) located at the corners of the block of the prediction image.

[0132] The correlation determination region and the filter processing target region do not need to be the same, but by making them the same, the processing becomes simple. In addition, it should be noted that the specific processing methods of the correlation determination processing and the filter processing are expected to be various technical methods, and only one example is shown.

[0133] By configuring the filter processing units 12 and 54 as in the present embodiment and applying them to the image encoding device 1 and the image decoding device 5 , respectively, it is possible to improve the encoding efficiency while suppressing the degradation of the image quality caused thereby.

[0134] [Third embodiment]

[0135] (Image Coding Device)

[0136] Next, with reference to the main components of the present invention in the image encoding device 1 according to the third embodiment of the present invention, namely, the filter processing unit 12 and the orthogonal transformation selection control unit 25 related to the prediction image. Figure 1 (b) and Fig.11 For the description, the image encoding device 1 of the two specific embodiments is referred to Figure 5 , Figures 12 to 15 The following description is made focusing on the differences from the above-mentioned embodiment. That is, in this embodiment, the same reference numerals are attached to the same components as those in the above-mentioned embodiment, and further detailed description thereof is omitted.

[0137] Fig.11 (a) is a block diagram of the filter processing unit 12 and the orthogonal transformation selection control unit 25 involved in the prediction image in the image encoding device 1 of this embodiment. Figure 1 (b) is an explanatory diagram showing an example of filtering processing of the predicted image by the filtering processing unit 12.

[0138] like Fig.11As shown in (a), the image encoding device 1 of this embodiment is configured to include a non-adjacent pixel prediction unit 11, a filter processing unit 12, a prediction residual signal generation unit 13, an orthogonal transformation unit 14, and an orthogonal transformation selection control unit 25.

[0139] The filtering processing unit 12 in the present embodiment is a functional unit which, under the control of the orthogonal transformation selection control unit 25, performs low-pass filtering on the prediction signal, using decoded signals (decoded adjacent signals) adjacent to the prediction image on the left and above, respectively, among the pixel signals (prediction signals) within the block of the prediction image generated by the prediction unit 11 without referring to the adjacent pixels, thereby generating a prediction image composed of new prediction signals and outputting the prediction signal to the prediction residual signal generation unit 13.

[0140] Under the control of the orthogonal transform selection control unit 25, the orthogonal transform unit 14 performs one of two orthogonal transform processes on the prediction residual signal input from the prediction residual signal generation unit 13, and generates a signal of the transform coefficient.

[0141] For example, as the two types of orthogonal transform processing, an orthogonal transform processing with closed ends of the transform basis (such as DST (Discrete Sine Transform)) or an orthogonal transform processing with open ends of the transform basis (such as DCT (Discrete Cosine Transform)) can be performed. Although there is no limitation on real number precision or integer precision, for example, integer orthogonal transform processing specified in H.264 and H.265 that is approximated to an integer can be performed according to the encoding method used.

[0142] Here, an example of a basic waveform of orthogonal transformation is shown in Fig.11 (b) and Fig.11 (c). Fig.11 (b) and Fig.11 In the example shown in (c), the four transform bases (N=4) that can be used when orthogonal transforming a block of a 4×4 prediction residual signal are used as the DCT transform base ( Fig.11 (b)) and the DST transformation basis ( Fig.11 The patterns of the frequency components of the cosine and sine in (c)) illustrate the basic waveform of the transformation from the low range to the high range (u=0 to 3 in DCT, u=1 to 4 in DST). Fig.11 (b) and Fig.11As shown in (c), it can be seen that the main difference, except for u=0 in DCT and u=4 in DST, is the phase. The correlation between pixels at the same frequency is the same value (same basic amplitude) for each transform basis (e.g., u=2), but the phase differs by π / 2. In any transform basis waveform, in DCT, Fig.11 As shown in (b), its endpoints have large values ​​and are open, realizing orthogonal transformation processing with the ends of the transformation basis open. On the other hand, in DST, Fig.11 As shown in (c), its endpoints have small values ​​and are closed, realizing orthogonal transformation processing in which the ends of the transformation basis are closed.

[0143] In addition, "orthogonal transformation processing in which the ends of the transform base are closed" means that one end of the prediction residual signal block close to the prediction reference block is closed, for example Fig.11 As shown in (c), an asymmetric DST type 7 in which the transformation basis is opened at the other end can be used.

[0144] The orthogonal transform selection control unit 25 instructs the orthogonal transform unit 14 to use an orthogonal transform process with a closed end of a transform basis (e.g., DST) for a block of a prediction residual signal obtained by the prediction residual signal generating unit 13 based on the block of the prediction image after the low-pass filtering process when the pixel value (prediction signal) located at the block boundary of the prediction image is low-pass filtered based on a predetermined evaluation criterion without referring to the prediction of adjacent pixels, and instructs the orthogonal transform unit 14 to use an orthogonal transform process with an open end of a transform basis (e.g., DCT) for the block of the prediction residual signal when the low-pass filtering process is not performed on the block of the prediction image based on the predetermined evaluation criterion, thereby selecting and controlling the type of orthogonal transform. In addition, the orthogonal transform selection control unit 25 outputs a transform type identification signal indicating which of the two orthogonal transform processes is applied to the decoding side as one of the encoding parameters.

[0145] As the evaluation criteria specified in the orthogonal transformation selection control unit 25, two embodiments are described.

[0146] The details will be described later. In the first embodiment, the orthogonal transformation selection control unit 25 instructs the filter processing unit 12 to select Figure 1(b) and performs a low-pass filtering process using the decoded adjacent signal in advance, and obtains each predicted image on which the filtering process is performed or not performed as prediction block information (est1) from the filtering process unit 12. Next, the orthogonal transform selection control unit 25 compares each predicted image on which the filtering process is performed or not performed based on the prediction block information (est1), and when it is determined that the influence of the end point of the prediction area (i.e., the prediction residual signal for the pixel signal located in the peripheral part of the block of the prediction image) is relatively large for the block size (4×4 is shown in this example, but the block size is not limited), the filtering process unit 12 outputs the prediction image after the filtering process to the prediction residual signal generation unit 13. In addition, the orthogonal transform selection control unit 25 controls the orthogonal transform unit 14 in the following manner: the prediction residual signal block obtained by the prediction residual signal generation unit 13 based on the prediction image after the low-pass filtering process is subjected to the end-closed orthogonal transform process of the transform basis (e.g., DST) for the prediction residual signal block obtained by the prediction residual signal generation unit 13 based on the prediction image after the low-pass filtering process.

[0147] On the other hand, the orthogonal transform selection control unit 25 compares the prediction images obtained by the filter processing unit 12 for which the filtering process is performed or not performed, and when it is determined that the influence of the end point of the prediction area (i.e., the prediction residual signal for the pixel signal located in the peripheral part of the block of the prediction image) is relatively small relative to the block size (4×4 is shown in this example, but the block size is irrelevant), the filter processing unit 12 outputs the prediction image without performing the filtering process to the prediction residual signal generating unit 13. Furthermore, the orthogonal transform selection control unit 25 controls the orthogonal transform unit 14 in the following manner: the orthogonal transform processing (e.g., DCT) with an open end of the transform basis is used for the block of the prediction residual signal obtained by the prediction residual signal generating unit 13 based on the block of the prediction image without performing the low-pass filtering.

[0148] Here, various evaluation methods are envisioned as to whether the influence of the endpoints of the prediction region is relatively large relative to the block size (4×4 is shown in this example, but the block size is not limited). For example, it is sufficient to compare the ratio of the dispersion value of the density distribution of the endpoints of the prediction region to the dispersion value of the density distribution of the entire block size to determine whether it is above a specified level. In this way, in the first embodiment, the orthogonal transformation selection control unit 25 determines whether the filtering process is executed based on the determination criterion of whether the filtering process effect performed by the filtering process is above a specified level, and further determines the type of orthogonal transformation process to be applied according to whether the filtering process is executed, and controls the filtering process unit 12 and the orthogonal transformation unit 14.

[0149] In the second embodiment, the orthogonal transformation selection control unit 25 instructs the filter processing unit 12 to select Figure 1(b) A signal of a filtering processing object area is pre-executed using a decoded adjacent signal and low-pass filtering is performed. The rate-distortion information (est2) of the generated coding amount (R) and coding distortion amount (D) is obtained and compared between a case where an orthogonal transformation processing with a closed end of a transform basis (e.g., DST) is performed and an orthogonal transformation and quantization processing and entropy coding processing are performed when the filtering processing is performed and a case where an orthogonal transformation processing with an open end of a transform basis (e.g., DCT) is performed and an orthogonal transformation and quantization processing and entropy coding processing are performed when the filtering processing is not performed, and a combination with a better RD cost is selected (e.g., a combination of performing filtering processing and DST and a combination of not performing filtering processing and DCT).

[0150] Through such RD optimization, if the combination of "performing filtering processing and orthogonal transformation processing with the ends of the transform basis closed" is excellent, the orthogonal transformation selection control unit 25 is controlled in the following manner: the predicted image after the filtering processing is output by the filtering processing unit 12 to the prediction residual signal generating unit 13, and the orthogonal transformation unit 14 is instructed to use the orthogonal transformation processing with the ends of the transform basis closed (for example, DST) for the block of the prediction residual signal obtained by the prediction residual signal generating unit 13 based on the block of the prediction image after the low-pass filtering processing.

[0151] On the other hand, if the combination of "no filtering process and orthogonal transformation process with open ends of the transform basis" is excellent, the orthogonal transformation selection control unit 25 is controlled in the following manner: the prediction image without the filtering process is output by the filtering process unit 12 to the prediction residual signal generating unit 13, and the orthogonal transformation unit 14 is instructed to use an orthogonal transformation process with open ends of the transform basis (for example, DCT) for the block of the prediction residual signal obtained by the prediction residual signal generating unit 13 based on the block of the prediction image without the low-pass filtering process.

[0152] In this way, in the second embodiment, the orthogonal transform selection control unit 25 determines whether filtering processing is performed based on RD optimization, and further determines the type of orthogonal transform processing to be applied according to whether filtering processing is performed, and controls the filtering processing unit 12 and the orthogonal transform unit 14.

[0153] Finally, the image encoding device 1 of this embodiment performs quantization processing and entropy coding processing on the signal of the transform coefficient obtained by the orthogonal transform unit 14, and outputs it to the outside. In addition, in the entropy coding processing, it is transformed into a code through arithmetic coding represented by CABAC together with various coding parameters, so that the video can be transmitted. In addition, in the coding parameters, in addition to the transform type identification signal involved in the present invention, it can also include inter-frame prediction parameters, intra-frame prediction parameters, block size parameters involved in block division (block division parameters), quantization parameters involved in quantization processing, and other parameters that can be selected and set and transmitted.

[0154] More specifically, below, taking the inter-frame prediction unit 11a of the inter-frame prediction as a representative example of the prediction unit 11 without reference to the adjacent pixels, an example configuration of the image encoding device 1 to which the above-mentioned embodiments are applied as the evaluation criteria specified in the orthogonal transformation selection control unit 25 is described.

[0155] (First embodiment)

[0156] Fig.12 This is a block diagram showing a first example of the image encoding device 1 according to the present embodiment. Fig.12 The image encoding device 1 shown includes: a pre-processing unit 10, an inter-frame prediction unit 11a, a filtering processing unit 12, a prediction residual signal generating unit 13, an orthogonal transform unit 14, a quantization unit 15, an inverse quantization unit 16, an orthogonal inverse transform unit 17, a decoded image generating unit 18, an in-loop filtering unit 19, a frame memory 20, an intra-frame prediction unit 21, a motion vector calculation unit 22, an entropy coding unit 23, a prediction image selection unit 24, and an orthogonal transform selection control unit 25.

[0157] Under the control of the orthogonal transform selection control unit 25, the orthogonal transform unit 14 performs a predetermined orthogonal transform process on the prediction residual signal input from the prediction residual signal generation unit 13, and generates a signal of its transform coefficient.

[0158] The filter processing unit 12 in the first embodiment controls whether to perform or not to perform low-pass filtering under the control of the orthogonal transformation selection control unit 25. When performing the low-pass filtering, the prediction image generated by the inter-frame prediction unit 11a without reference to adjacent pixels, i.e., pixel signals in a block of the prediction image (prediction signal), is subjected to low-pass filtering using decoded signals (decoded adjacent signals) adjacent to the prediction image on the left and above, thereby generating a prediction image composed of new prediction signals and outputting it to the prediction residual signal generation unit 13. When the low-pass filtering is not performed, the prediction image generated by the inter-frame prediction unit 11a is output to the prediction residual signal generation unit 13. In addition, in the case of prediction other than prediction without reference to adjacent pixels such as intra-frame prediction, whether to perform filtering in the filter processing unit 12 is determined in a predetermined manner.

[0159] For the operation of the orthogonal transformation selection control unit 25 in the first embodiment, refer to Fig.13 Provide explanation. Fig.13 This is a flowchart of the processing of the orthogonal transform selection control unit 25 of the first example in the image encoding device 1 of this embodiment. First, the orthogonal transform selection control unit 25 receives a notification from, for example, the filter processing unit 12 or the predicted image selection unit 24, and determines whether the predicted image processed by the filter processing unit 12 is a prediction without reference to adjacent pixels (step S1).

[0160] When the prediction is performed without reference to adjacent pixels (step S1: Yes), the orthogonal transformation selection control unit 25 instructs the filter processing unit 12 to select the signal of the filter processing target area and perform preliminary low-pass filtering using the decoded adjacent signal (step S2).

[0161] For example, the filtering processing unit 12 is as follows Figure 5 As shown in the example, the pixel signals (prediction signals) on the leftmost and topmost sides of the prediction image in the 4×4 prediction image block are determined as the filtering processing target area Sf. Next, the filtering processing unit 12 uses the decoded signals (decoded adjacent signals) adjacent to the prediction image on the left and top sides to perform low-pass filtering on the pixel signals (prediction signals) of the selected filtering processing target area, thereby generating a prediction image composed of new prediction signals. For example, Figure 5 As illustrated, the filtering processing unit 12 performs smoothing filtering processing with a predetermined weight coefficient on each of the horizontal filtering area, the vertical filtering area, and the angular filtering area in the filtering processing object area Sf among the pixel signals (prediction signals) within the block Bkp of the 4×4 prediction image, thereby generating a prediction image after the filtering processing.

[0162] In addition, the filtering process performed by the filtering processing unit 12 only needs to be a low-pass filtering process, and filtering processes other than smoothing filtering can also be applied. The area and weight coefficient of the decoded adjacent signal used in the filtering process are not necessarily limited to Figure 5 For example, in the case of a large-size coding block, filtering processing may be applied to multiple rows or columns. In addition, the filtering type, filtering processing target area, and weight coefficient involved in the filtering processing performed by the filtering processing unit 12 may be transmitted as incidental information of the coding processing, but as long as it is pre-specified between sending and receiving (between encoding and decoding), it is not necessary to transmit.

[0163] Next, refer to Fig.13 The orthogonal transformation selection control unit 25 obtains each predicted image on which the filtering process is executed / not executed as prediction block information (est1) from the filtering process unit 12 (step S3).

[0164] Next, the orthogonal transform selection control unit 25 compares the predicted images on which the filtering process is performed / not performed based on the prediction block information (est1), and determines whether the effect of the filtering process is above a specified level by determining whether the influence of the endpoints of the prediction area (i.e., the prediction residual signal for the pixel signals located at the periphery of the block of the prediction image) is relatively large for the block size (4×4 is shown in this example, but regardless of the block size) (step S4).

[0165] When it is determined that the influence of the endpoint of the prediction area is relatively large relative to the block size (step S4: yes), the orthogonal transform selection control unit 25 causes the prediction image after the filtering process to be output by the filtering process unit 12 to the prediction residual signal generating unit 13, and instructs the orthogonal transform unit 14 to use an orthogonal transform process with the ends of the transform basis closed (for example, DST) for the block of the prediction residual signal obtained by the prediction residual signal generating unit 13 based on the block of the prediction image after the low-pass filtering process (step S5).

[0166] On the other hand, if it is determined that the influence of the endpoint of the prediction area is relatively small with respect to the block size (step S4: No), the orthogonal transform selection control unit 25 causes the prediction image without performing the filtering process to be outputted from the filtering process unit 12 to the prediction residual signal generating unit 13, and instructs the orthogonal transform unit 14 to use an orthogonal transform process with an open end of the transform basis (e.g., DCT) for the block of the prediction residual signal obtained by the prediction residual signal generating unit 13 based on the block of the prediction image without performing the low-pass filtering process (step S6).

[0167] In addition, when prediction other than intra-frame prediction which does not refer to adjacent pixels is performed (step S1: No), the orthogonal transform selection control unit 25 controls the filter processing unit 12 and the orthogonal transform unit 14 to determine whether to perform filter processing and the type of orthogonal transform to be performed according to a predetermined method (step S7).

[0168] Thus, in the first embodiment, the orthogonal transform selection control unit 25 controls the filter processing unit 12 and the orthogonal transform unit 14 in such a manner as to determine whether or not the filter processing is performed and the type of orthogonal transform processing to be applied based on the determination criteria of whether the filter processing effect obtained by the filter processing is above a predetermined level. Furthermore, the orthogonal transform selection control unit 25 outputs the transform type identification signal indicating which of the two orthogonal transform processing is applied to the decoding side via the entropy coding unit 23 as one of the encoding parameters.

[0169] As described above, based on a judgment criterion of whether the filtering processing effect obtained by the filtering processing is above a specified level, it is determined whether the filtering processing is performed and the type of orthogonal transform processing applied, and the filtering processing unit 12 and the orthogonal transform unit 14 are controlled. This makes it possible to further reduce the residual component in the predicted residual signal and reduce the amount of information transmitted by the encoding, thereby improving the encoding efficiency.

[0170] In particular, even when the prediction is not made with reference to adjacent pixels, the correlation between adjacent pixel signals is utilized for the block of the prediction residual signal obtained based on the block of the predicted image after the filtering process. In addition, an orthogonal transformation process (such as DST) with closed ends of the transformation basis is used. Therefore, not only are the phases consistent, but also the characteristics of the transformation basis corresponding to the endpoints of the prediction area are consistent, which can more significantly improve the coding efficiency.

[0171] (Second embodiment)

[0172] Next, the second embodiment will be described. Fig.14 It is a block diagram showing a second example of the image encoding device 1 according to the present embodiment. Fig.14 In, with Fig.12 The same components are denoted by the same reference numerals, and further detailed description thereof is omitted.

[0173] The filter processing unit 12 in the second embodiment controls whether to perform or not to perform the low-pass filter processing under the control of the orthogonal transformation selection control unit 25, similarly to the first embodiment. When performing the low-pass filter processing, the prediction image generated by the inter-frame prediction unit 11a without reference to adjacent pixels, i.e., the pixel signal in the block of the prediction image (prediction signal), uses the decoded signals (decoded adjacent signals) adjacent to the prediction image on the left and above, respectively, to perform the low-pass filter processing on the prediction signal, thereby generating a prediction image composed of new prediction signals and outputting it to the prediction residual signal generation unit 13. When the low-pass filter processing is not performed, the prediction image generated by the inter-frame prediction unit 11a is output to the prediction residual signal generation unit 13. In addition, in the case of prediction other than prediction without reference to adjacent pixels such as intra-frame prediction, whether the filter processing is performed in the filter processing unit 12 is determined in a predetermined manner.

[0174] For the operation of the orthogonal transformation selection control unit 25 in the second embodiment, refer to Fig.15 Provide explanation. Fig.15 This is a flowchart of the processing of the orthogonal transform selection control unit 25 of the second example in the image encoding device 1 of this embodiment. First, the orthogonal transform selection control unit 25 receives a notification from, for example, the filter processing unit 12 or the predicted image selection unit 24, and determines whether the predicted image processed by the filter processing unit 12 is a prediction without reference to adjacent pixels (step S11).

[0175] When the prediction is not made with reference to adjacent pixels (step S11: Yes), the orthogonal transformation selection control unit 25 instructs the filter processing unit 12 to select Figure 1 The signal of the filtering target area as shown in (b) is pre-low-pass filtered using the decoded adjacent signal (step S12).

[0176] Next, the orthogonal transformation selection control unit 25 obtains the rate distortion information (est2) of the generated coding amount (R) and coding distortion amount (D) from the quantization unit 15 and the entropy coding unit 23 respectively in the following two situations: when the filtering process of the filtering process unit 12 is executed, the orthogonal transformation process (for example, DST) with the end of the transformation basis closed is used for the orthogonal transformation unit 14, so that the predicted image after the filtering process is output by the filtering process unit 12 to the predicted residual signal generating unit 13, so that the orthogonal transformation unit 14 performs an orthogonal transformation on the block of the predicted residual signal obtained by the predicted residual signal generating unit 13 based on the block of the predicted image after the low-pass filtering process, and the orthogonal transformation unit 14 performs an orthogonal transformation on the block of the predicted residual signal obtained by the predicted residual signal generating unit 13 based on the block of the predicted image after the low-pass filtering process, and the orthogonal transformation is performed on the block of the predicted residual signal obtained by the predicted residual signal generating unit 13 based on the low-pass filtering process. The case where quantization processing and entropy coding processing are performed by the quantization unit 15 and the entropy coding unit 23; and, when the filtering processing of the filtering processing unit 12 is not performed, the orthogonal transformation processing (for example, DCT) with the ends of the transformation basis open is used for the orthogonal transformation unit 14, so that the prediction image without the filtering processing is output by the filtering processing unit 12 to the prediction residual signal generating unit 13, and the orthogonal transformation unit 14 performs an orthogonal transformation on the block of the prediction residual signal obtained by the prediction residual signal generating unit 13 based on the block of the prediction image without the low-pass filtering processing, and the quantization processing and entropy coding processing are performed by the quantization unit 15 and the entropy coding unit 23 (step S13).

[0177] Next, the orthogonal transform selection control unit 25 compares and determines which combination (for example, a combination of performing filtering and DST and a combination of not performing filtering and DCT) has a better RD cost based on the rate-distortion information (est2) (step S14).

[0178] When it is determined that the RD cost is excellent when performing the filtering process and using an orthogonal transform process with closed ends of a transform basis (e.g., DST) (step S14: yes), the predicted image after performing the filtering process is output by the filtering process unit 12 to the prediction residual signal generating unit 13, and the orthogonal transform unit 14 is instructed to use an orthogonal transform process with closed ends of a transform basis (e.g., DST) for the block of the prediction residual signal obtained by the prediction residual signal generating unit 13 based on the block of the prediction image after the low-pass filtering process (step S15).

[0179] On the other hand, when it is determined that the RD cost is excellent when the filtering process is not performed and an orthogonal transform process (e.g., DCT) with an open end of a transform basis is used (step S14: No), the predicted image without performing the filtering process is output by the filtering process unit 12 to the prediction residual signal generating unit 13, and the orthogonal transform unit 14 is instructed to use an orthogonal transform process (e.g., DCT) with an open end of a transform basis for a block of a prediction residual signal obtained by the prediction residual signal generating unit 13 based on a block of the prediction image without performing the low-pass filtering process (step S16).

[0180] In addition, when prediction other than intra-frame prediction and other predictions that do not refer to adjacent pixels is performed (step S11: No), the orthogonal transform selection control unit 25 controls the filter processing unit 12 and the orthogonal transform unit 14 to determine whether to perform filter processing and the type of orthogonal transform to be performed according to a predetermined method (step S17).

[0181] Thus, in the second embodiment, the orthogonal transform selection control unit 25 determines whether or not to perform the filtering process and the type of the orthogonal transform process to be applied based on the result selected by the RD optimization, and controls the filtering unit 12 and the orthogonal transform unit 14. Furthermore, the orthogonal transform selection control unit 25 outputs the transform type identification signal indicating which of the two orthogonal transform processes is applied to the decoding side via the entropy coding unit 23 as one of the encoding parameters.

[0182] As described above, the orthogonal transform selection control unit 25 determines whether filtering processing is performed and the type of orthogonal transform processing applied based on the result selected by RD optimization, and controls the filtering processing unit 12 and the orthogonal transform unit 14, thereby further reducing the residual component in the prediction residual signal and reducing the amount of information transmitted by encoding, thereby improving the encoding efficiency.

[0183] In particular, the filtering process is allowed to be performed even when there is no reference to the prediction of adjacent pixels. For the block of the prediction residual signal obtained based on the block of the predicted image after the filtering process, the correlation between adjacent pixel signals is utilized. In addition, an orthogonal transformation process (such as DST) with closed ends of the transformation basis is used. Therefore, not only the phase is consistent, but also the characteristics of the transformation basis corresponding to the endpoints of the prediction area are consistent, which can more significantly improve the coding efficiency.

[0184] (Image decoding device)

[0185] Next, the peripheral functional blocks of the filter processing unit 54 and the orthogonal inverse transform selection control unit 60, which are the main components of the present invention in the image decoding device 5 of the present embodiment, will be described with reference to FIG. Fig.16 For a specific typical example, the image decoding device 5 is described as follows. Fig.17 Provide explanation.

[0186] Fig.16 FIG. 5 is a block diagram of the filter processing unit 54 and the orthogonal inverse transform selection control unit 60 related to the prediction image in the image decoding device 5 of the present embodiment. Fig.16 As shown, the image decoding device 5 of this embodiment is configured to include an orthogonal inverse transform unit 52, a non-adjacent pixel reference prediction unit 53, a filter processing unit 54, a decoded image generation unit 55, and an orthogonal inverse transform selection control unit 60.

[0187] Under the control of the orthogonal inverse transform selection control unit 60, the orthogonal inverse transform unit 52 performs an orthogonal inverse transform process on the transform coefficients restored after receiving the stream signal transmitted from the image encoding device 1 side and undergoing entropy decoding and inverse quantization processing, and outputs the obtained prediction residual signal to the decoded image generation unit 55.

[0188] The filter processing unit 54 is a functional unit corresponding to the filter processing unit 12 on the image coding device 1 side. This functional unit controls whether to perform or not to perform low-pass filtering processing under the control of the orthogonal inverse transform selection control unit 60. When performing the low-pass filtering processing, the low-pass filtering processing is performed on the prediction signal using decoded signals (decoded adjacent signals) adjacent to the prediction image on the left and above, respectively, among the pixel signals (prediction signals) in the block of the prediction image generated by the prediction unit 53 without reference to adjacent pixels, thereby generating a prediction image composed of new prediction signals and outputting it to the decoded image generation unit 55. When not performing the low-pass filtering processing, the prediction image generated by the prediction unit 53 without reference to adjacent pixels is output to the decoded image generation unit 55. In addition, in the case of prediction other than prediction without reference to adjacent pixels such as intra-frame prediction, the filter processing unit 54 corresponds to the encoding side, and whether to perform the filtering processing is determined in a predetermined manner.

[0189] The orthogonal inverse transform selection control unit 60 refers to the transform type identification signal obtained from the image encoding device 1 side when not referring to the prediction of adjacent pixels, and when it indicates that an orthogonal transform processing with closed ends of a transform basis (e.g., DST) is used on the transform coefficients of the processing object, it instructs the orthogonal inverse transform unit 52 to apply the orthogonal inverse transform processing with closed ends of the transform basis (e.g., IDST) to the restored transform coefficients, thereby performing selection control, and instructs the filtering processing unit 54 to perform the corresponding low-pass filtering processing.

[0190] On the other hand, referring to the transform type identification signal obtained from the image encoding device 1 side, when the content of the open-ended orthogonal transform processing (e.g., DCT) using the transform basis is indicated, the orthogonal inverse transform selection control unit 60 instructs the orthogonal inverse transform unit 52 to apply the open-ended orthogonal inverse transform processing (e.g., IDCT) of the transform basis to the restored transform coefficients, thereby performing selection control, and instructs the filtering processing unit 54 not to perform the corresponding low-pass filtering processing.

[0191] That is, the prediction residual signal generated by filtering the prediction image by the filter processing unit 12 in the image coding device 1 is transmitted in a state where the encoding efficiency of the video is improved through orthogonal transformation processing (e.g., DST) with the ends of the transform basis closed, and the image decoding device 5 can efficiently restore the video involved in the transmission. In addition, in the filter processing unit 54, as in the case of the filter processing unit 12, the filtering process can be low-pass filtering, and filtering other than smoothing filtering can also be applied. The area and weight coefficient of the decoded adjacent signal used in the filtering process can also be appropriately determined. In addition, when the filter type, filtering target area, and weight coefficient involved in the filtering process performed by the filter processing unit 12 are pre-specified between transmission and reception (between encoding and decoding) by the image coding device 1 side, or transmitted as incidental information of the encoding process, the filter processing unit 54 of the image decoding device 5 performs the filtering process in the same manner, thereby improving the accuracy of the decoded signal.

[0192] Next, as a representative example of the prediction unit 53 without reference to adjacent pixels, an inter-frame prediction unit 53a based on inter-frame prediction is described, and an example of the configuration of an image decoding device 5 is described in which an orthogonal inverse transformation selection control unit 60 that selects and controls an orthogonal inverse transformation unit 52 and a filter processing unit 54 for applying the prediction signal obtained by the inter-frame prediction is described.

[0193] Fig.17 1 is a block diagram showing an example of the image decoding device 5 according to the present embodiment. Fig.17 The image decoding device 5 shown includes: an entropy decoding unit 50, an inverse quantization unit 51, an orthogonal inverse transform unit 52, an inter-frame prediction unit 53a, a filtering processing unit 54, a decoded image generation unit 55, an in-loop filtering unit 56, a frame memory 57, an intra-frame prediction unit 58, a predicted image selection unit 59, and an orthogonal inverse transform selection control unit 60.

[0194] Under the control of the orthogonal inverse transform selection control unit 60 , the orthogonal inverse transform unit 52 performs an orthogonal inverse transform process corresponding to the orthogonal transform process of the image encoding device 1 on the transform coefficients obtained by the inverse quantization unit 51 , thereby restoring the predicted residual signal and outputting it to the decoded image generation unit 55 .

[0195] The filter processing unit 54 is controlled by the orthogonal inverse transform selection control unit 60 to Figure 5The same action as the action described in the example is used as its action. That is, when the predicted image is a prediction without reference to adjacent pixels, that is, an inter-frame prediction in this example, the filtering processing involved in the present embodiment in the filtering processing unit 54 selects the pixel signal (prediction signal) of the predetermined filtering processing object area from the predicted image, and uses the decoded signal (decoded adjacent signal) adjacent to the predicted image on the left and above to perform low-pass filtering on the pixel signal (prediction signal) of the selected filtering processing object area, thereby generating a predicted image composed of a new prediction signal and outputting it to the decoded image generation unit 55. For example, Figure 5 As illustrated, the filtering processing unit 54, under the control of the orthogonal inverse transform selection control unit 60, uses the decoded adjacent signal So in the vicinity of the block boundary of the block Bkp of the predicted image, and performs smoothing filtering processing with a predetermined weight coefficient on each of the horizontal filtering area, the vertical filtering area, and the angular filtering area in the filtering processing object area Sf among the pixel signal (prediction signal) within the block Bkp of the predicted image, and outputs the smoothing filtering processing to the decoded image generation unit 55.

[0196] For the operation of the orthogonal inverse transform selection control unit 60, refer to Fig.18 Provide explanation. Fig.18 This is a flowchart of the processing of the orthogonal inverse transform selection control unit 60 in one example of the image decoding device 5 of the present embodiment. First, the orthogonal inverse transform selection control unit 60 receives and understands the notification from the prediction image selection unit 59 whether the current processing state is a prediction without reference to adjacent pixels (step S21).

[0197] Next, the orthogonal inverse transform selection control unit 60 refers to the transform type identification signal obtained by the image encoding device 1 to determine whether to use an orthogonal transform processing with closed ends of the transform basis (such as DST) for the transform coefficients, or to use an orthogonal transform processing with open ends of the transform basis (such as DCT) for the transform coefficients (step S22), when not referring to the prediction of the adjacent pixels (step S21: yes).

[0198] Next, when the orthogonal inverse transform selection control unit 60 determines that an orthogonal transform processing with a closed end of a transform basis (e.g., DST) is used for the transform coefficient (step S23: yes), it instructs the filter processing unit 54 to perform the low-pass filter processing, and instructs the orthogonal inverse transform unit 52 to apply an orthogonal inverse transform processing with a closed end of the transform basis (e.g., IDST) to the transform coefficient restored by the inverse quantization unit 51, thereby performing selection control so that the orthogonal inverse transform unit 52 generates a predicted residual signal added to the predicted image obtained by the filter processing unit 54 (step S24).

[0199] On the other hand, when it is determined that an orthogonal transform processing with an open end of the transform basis (for example, DCT) is used for the transform coefficient (step S23: No), the orthogonal inverse transform selection control unit 60 instructs the filter processing unit 54 not to perform the low-pass filter processing, and instructs the orthogonal inverse transform unit 52 to apply the orthogonal inverse transform processing with an open end of the transform basis (for example, IDCT) to the transform coefficient restored by the inverse quantization unit 51, thereby performing selection control so that the orthogonal inverse transform unit 52 generates a prediction residual signal added to the predicted image obtained by the filter processing unit 54 (step S25).

[0200] In addition, when prediction other than intra-frame prediction and other predictions that do not refer to adjacent pixels is performed (step S21: No), the orthogonal inverse transform selection control unit 60 controls the orthogonal inverse transform unit 52 and the filter processing unit 54 to determine whether to perform filter processing and the type of orthogonal transform to be performed according to a predetermined method (step S26).

[0201] As described above, the orthogonal inverse transform selection control unit 60 determines the type of orthogonal inverse transform processing to be applied and whether or not to perform filtering processing by referring to the transform type identification signal obtained by the image encoding device 1, and controls the orthogonal inverse transform unit 52 and the filtering processing unit 54. Therefore, the residual component in the prediction residual signal is further reduced on the side of the image encoding device 1, and decoding can be performed with a small amount of information. The encoding efficiency can be improved through a series of processing on the encoding side and the decoding side.

[0202] In particular, even when the prediction of adjacent pixels is not referred to, corresponding to the encoding device 1 side, an orthogonal inverse transform process (such as IDST) with closed ends of the transform basis is used for the block of the prediction residual signal obtained based on the block of the predicted image after the filtering process. Therefore, not only the phase is consistent, but also the characteristics of the transform basis corresponding to the endpoints of the prediction area are consistent, which can more significantly improve the encoding efficiency.

[0203] According to the image encoding device 1 and the image decoding device 5 of the present embodiment constructed as described above, the signal error generated between the prediction signal of the predicted image and the adjacent decoded block signal is reduced, and the coding efficiency is improved, thereby realizing an image encoding device and an image decoding device with higher coding efficiency of the video coding method.

[0204] [Fourth embodiment]

[0205] (Image Coding Device)

[0206] Next, with reference to the filter processing unit 12 for prediction image related, which is a main component of the present invention in the image encoding device 1 according to the fourth embodiment of the present invention, Fig.19 and Fig. 20For the purpose of explanation, a typical example of the image encoding device 1 is described as follows. Figure 4 , Figure 21 to Figure 22 The following description is made focusing on the differences from the above-mentioned embodiment. That is, in this embodiment, the same reference numerals are given to the same components as those in the above-mentioned embodiment, and further detailed description thereof is omitted.

[0207] Inclusively, the image encoding device 1 of the present embodiment uses the encoded and decoded adjacent signals and applies, for example, low-pass filtering to the prediction image used in the inter-frame prediction, similarly to the intra-frame prediction, thereby reducing the prediction residual signal for the leftmost and uppermost areas of the prediction image of the inter-frame prediction, and divides the block of the prediction residual signal into blocks, and applies either DST or DCT according to the directionality of the low-pass filtering. In addition, in the current H.265 standard, the block size of the prediction image to which DST can be applied is limited to a small size (for example, 4×4). Therefore, in the image encoding device 1 of the present embodiment, in the inter-frame prediction in the block of the larger prediction image, it is configured as follows: after applying the low-pass filtering to the prediction image, after block division until a predetermined specified block size (for example, a block size that allows the application of DST in the standard) is reached, it is determined without marking which of DST and DCT is applied, and the corresponding orthogonal transformation processing is performed.

[0208] Fig.19 (a) is a block diagram of the periphery of the filter processing unit 12 related to the prediction image in the image encoding device 1 of this embodiment. Fig.19 (b) is an explanatory diagram showing an example of filtering processing of the predicted image by the filtering processing unit 12.

[0209] like Fig.19 As shown in (a), the image encoding device 1 of this embodiment is configured to include a non-adjacent pixel prediction unit 11, a filter processing unit 12, a prediction residual signal generation unit 13, and an orthogonal transformation unit 14. The orthogonal transformation unit 14 includes a block division unit 141 and an orthogonal transformation selection application unit 142.

[0210] The filtering processing unit 12 in the present embodiment is a functional unit that performs low-pass filtering on the pixel signal (prediction signal) within the block of the prediction image generated by the prediction unit 11 without referring to the adjacent pixel prediction unit 11, using the decoded signals (decoded adjacent signals) adjacent to the prediction image on the left and above, thereby generating a prediction image composed of new prediction signals and outputting it to the prediction residual signal generation unit 13.

[0211] For example, Fig.19As shown in (b), when the filter processing unit 12 generates a block Bkp of a predicted image composed of 8×8 pixel signals p corresponding to the block Bko of the encoding object area of ​​the original image without referring to the adjacent pixel prediction unit 11, it uses the decoded adjacent signal So in the vicinity of the block boundary of the block Bkp of the predicted image adjacent to the predicted image, and uses the leftmost and topmost pixel signals (prediction signals) in the predicted image as the signal Sf of the filtering object area, and performs low-pass filtering processing such as smoothing filtering (two arrows in the figure) such as horizontal filtering, vertical filtering and angular filtering, thereby generating a predicted image composed of new prediction signals.

[0212] More specifically, Fig.19 In the example shown in (b), for the smoothing filter object pixel on the upper side of the block Bkp of the predicted image, the decoded adjacent signal (pixel signal of the local decoded image) located at the same coordinate in the horizontal direction is used for smoothing filter processing, and for the smoothing filter object pixel on the left side, the decoded adjacent signal (pixel signal of the local decoded image) located at the same coordinate in the vertical direction is used for smoothing filter processing. For the object pixel located on the upper side and the left side, the pixels of the local decoded video on the upper side and the left side are used for smoothing filter processing. In addition, Fig.19 In the example shown in (b), a 3-tap smoothing filter process using 2 reference pixels is applied. For example, a low-pass filter process such as 1 / 4 [1 2 1] is applied. In addition, the number of taps and reference pixels for the low-pass filter process are not limited to this example.

[0213] The orthogonal transform unit 14 includes a block division unit 141 and an orthogonal transform selection application unit 142. The block division unit 141 divides the blocks of the prediction residual signal input from the prediction residual signal generation unit 13 into pre-specified block shapes and outputs them to the orthogonal transform selection application unit 142. The orthogonal transform selection application unit 142 selects and applies a plurality of orthogonal transform processes (vertical / horizontal DST, and a combination of vertical / horizontal DCT) for each block of the prediction residual signal divided into blocks according to the position where the filter process is applied by the filter process unit 12.

[0214] For example, Fig.19As shown in (b), the block division unit 141 divides the block of the prediction residual signal for the block Bkp of the prediction image composed of the 8×8 pixel signal p into four blocks of 4×4 prediction residual signals (upper left, upper right, lower left and lower right), and outputs them to the orthogonal transform selection application unit 142. At this time, the orthogonal transform selection application unit 142 applies a plurality of orthogonal transform processes (vertical / horizontal DST, and a combination of vertical / horizontal DCT) to the prediction residual signal blocks located at the upper and left ends including the pixel positions to which the smoothing filter process is applied among the divided blocks divided by the block division unit 141, depending on the positions to which the smoothing filter process is applied, so that the transform coefficients can be processed by utilizing the correlation with the blocks of the decoded adjacent signals, and applies the orthogonal transform processes of the vertical DCT and the horizontal DCT to the other divided blocks. In addition, the vertical direction refers to the vertical direction, and the horizontal direction refers to the horizontal direction. Here, the orthogonal transform processing composed of the longitudinal DST and the transverse DCT is recorded as the first orthogonal transform processing, the orthogonal transform processing composed of the transverse DST and the longitudinal DCT is recorded as the second orthogonal transform processing, the orthogonal transform processing composed of the longitudinal DST and the transverse DST is recorded as the third orthogonal transform processing, and the orthogonal transform processing composed of the longitudinal DCT and the transverse DCT is recorded as the fourth orthogonal transform processing.

[0215] in addition, Fig.19 In the example shown in (b), an example is shown in which a block of a prediction residual signal for a block Bkp of a prediction image composed of an 8×8 pixel signal p is divided into four blocks of a 4×4 prediction residual signal (upper left, upper right, lower left and lower right). For the block of the prediction residual signal corresponding to the block of the prediction image, the block size of the block of the prediction image is larger than twice (8×8 in this example) of the predetermined specified block size (4×4 in this example) in both the vertical and horizontal directions. Preferably, the block is divided in such a way that the divided blocks at positions adjacent to the decoded adjacent signals (the divided blocks at the upper and left ends in this example) reach the specified block size (4×4 in this example) and the other blocks reach the largest possible block size, and then the block is appropriately divided according to the characteristics of the encoded image. For example, according to the characteristics of the encoded image, Fig. 20 As shown in (a), the block of the prediction residual signal having a block size of 32×32 can be divided so that the divided blocks at the upper and left ends thereof reach 4×4 and the divided blocks of the block size increase as they are away from the upper and left ends. By performing block division in this way, the orthogonal transform selection and application unit 142 described later can select and apply an orthogonal transform suitable for the signal characteristics of the divided blocks of the prediction residual signal including the pixel position to be processed by the smoothing filter.

[0216] For example, the orthogonal transformation selection application unit 142 is as follows Fig. 20As shown in (a), among the divided blocks of the prediction residual signal, when the pixel to which the smoothing filter processing is applied is located at the uppermost side (that is, when the smoothing filter processing is applied in the vertical direction), the first orthogonal transformation processing of the vertical DST and the horizontal DCT is applied to the division block Bkt1 of the prediction residual signal located at the uppermost side (refer to Fig. 20 (b)), when the pixel to which the smoothing filter processing is applied is on the leftmost side (that is, when the smoothing filter processing is applied in the horizontal direction), the second orthogonal transformation processing of the horizontal DST and the vertical DCT is applied to the partition block Bkt2 of the prediction residual signal located on the leftmost side (refer to Fig. 20 (c)). Furthermore, when the pixel to which the smoothing filter processing is applied is the uppermost side and is located at the leftmost side (i.e., when the application direction of the smoothing filter processing is the application direction of the angular filter processing), the third orthogonal transform processing of the vertical DST and the horizontal DST is applied to the partition block Bkt3 located in the angular area. In addition, for the partition block Bkt4 to which there is no prediction residual signal of the pixel to which the smoothing filter processing is applied, the fourth orthogonal transform processing of the vertical DCT and the horizontal DCT is applied. Fig.19 In the case where block division is performed as in (b), orthogonal transformation processing is performed in the same manner. This makes it possible to process transformation coefficients by making the most of the correlation between blocks of decoded adjacent signals.

[0217] Next, as a representative example of the prediction unit 11 without referring to adjacent pixels, the configuration and operation example of the image coding device 1 in which the inter-frame prediction unit 11a based on inter-frame prediction performs filtering processing on the prediction signal of the block of the prediction image by the filtering processing unit 12 will be described. Figure 21 to Figure 23 Provide explanation.

[0218] Fig.21 1 is a block diagram showing an example of the image encoding device 1 according to the present embodiment. Fig.21 The image encoding device 1 shown includes: a pre-processing unit 10, an inter-frame prediction unit 11a, a filtering processing unit 12, a prediction residual signal generating unit 13, an orthogonal transformation unit 14, a quantization unit 15, an inverse quantization unit 16, an orthogonal inverse transformation unit 17, a decoded image generating unit 18, an in-loop filtering unit 19, a frame memory 20, an intra-frame prediction unit 21, a motion vector calculation unit 22, an entropy coding unit 23, and a prediction image selection unit 24.

[0219] The orthogonal transform unit 14 performs a predetermined orthogonal transform process on the prediction residual signal input from the prediction residual signal generating unit 13, and generates a signal of the transform coefficient. In particular, the orthogonal transform unit 14 includes a block division unit 141 and an orthogonal transform selection application unit 142. The block division unit 141 divides the block of the prediction residual signal input from the prediction residual signal generating unit 13 into a predetermined block shape and outputs the block to the orthogonal transform selection application unit 142. The orthogonal transform selection application unit 142 applies a plurality of orthogonal transform processes (vertical / horizontal DST, and a combination of vertical / horizontal DCT) to each divided block of the block-divided prediction residual signal according to the position where the filter process is applied by the filter process unit 12. The block division parameters related to these block division processes are output to the entropy coding unit 23 (and the inverse orthogonal transform unit 17) as one of the encoding parameters that become the supplementary information of the encoding process.

[0220] The orthogonal inverse transform unit 17 performs an orthogonal inverse transform process on the inverse quantized transform coefficient signal obtained by the inverse quantization unit 16, thereby restoring the prediction residual signal and outputting it to the decoded image generation unit 18. In particular, the orthogonal inverse transform unit 17 performs an orthogonal inverse transform process on the transform coefficients divided into blocks. Fig. 20 Similarly, the type of orthogonal transform processing is determined, and the orthogonal inverse transform processing corresponding to each orthogonal transform processing is implemented. The divided blocks of the predicted residual signal obtained in a manner that can be processed in parallel are combined to reconstruct the blocks corresponding to the block size of the predicted image and output them to the decoded image generation unit 18.

[0221] For an example of the operation of the filter processing unit 12, refer to Fig. 22 For explanation. Fig. 22 As shown in the figure, when the prediction image from the intra prediction unit 21 or the inter prediction unit 11a is input (step S1), the filter processing unit 12 identifies whether the prediction image is a prediction without reference to adjacent pixels, that is, in this example, whether it is an inter prediction based on signal selection by the prediction image selection unit 24 (step S2). The prediction without reference to adjacent pixels is also the same in the case of the intra-block copy prediction and the cross-component signal prediction.

[0222] Next, when the filter processing unit 12 determines that the predicted image is not a prediction without reference to adjacent pixels, that is, when it is determined to be an intra-frame prediction in this example (step S2: No), it determines whether to perform filtering processing by a predetermined processing method (step S5). When filtering processing is not performed on the predicted image of intra-frame prediction (step S5: No), the filter processing unit 12 does not perform filtering processing on the prediction signal and outputs it to the prediction residual signal generation unit 13 (step S6). On the other hand, when filtering processing is performed on the predicted image of intra-frame prediction (step S5: Yes), the filter processing unit 12 proceeds to step S3. In addition, the filtering processing performed on the predicted image of intra-frame prediction only needs to be processed in the same way as the currently specified H.265. Since it is not directly related to the main purpose of the present invention, the description of step S3 describes an example of performing filtering processing on the predicted image of inter-frame prediction.

[0223] When the filter processing unit 12 determines that the predicted image is a prediction without reference to adjacent pixels, that is, when it is determined to be an inter-frame prediction in this example (step S2: Yes), the pixel signal (prediction signal) of the predetermined filtering target area is selected from the predicted image (step S3). Fig.19 In the example shown in (b), among the pixel signals (prediction signals) in the block of the 8×8 prediction image, the leftmost and uppermost pixel signals (prediction signals) of the prediction image are determined as the filtering target region Sf.

[0224] Next, the filtering processing unit 12 uses the decoded signals (decoded adjacent signals) adjacent to the predicted image on the left and above sides to perform low-pass filtering on the pixel signals (prediction signals) of the selected filtering processing object area, thereby generating a predicted image composed of new prediction signals and outputting it to the prediction residual signal generating unit 13 (step S4).

[0225] In addition, the filtering process performed by the filtering processing unit 12 only needs to be a low-pass filtering process, and filtering processes other than smoothing filtering can also be applied. The area and weight coefficient of the decoded adjacent signal used in the filtering process are not necessarily limited to Fig.19 (b) Example. In addition, the type of filter, the filter processing target area, and the weight coefficient related to the filter processing performed by the filter processing unit 12 can also be configured to be transmitted as incidental information of the encoding process, but as long as it is pre-specified between sending and receiving (between encoding and decoding), it is not necessary to transmit.

[0226] In this way, the predicted image is filtered by the filtering processing unit 12. As a result, regardless of the type of orthogonal transformation processing by the orthogonal transformation unit 14, the signal error generated between the leftmost and topmost pixel signals (prediction signals) in the predicted image and the adjacent decoded signals is reduced, thereby improving the video encoding efficiency.

[0227] Next, for an operation example of the orthogonal transformation unit 14, refer to Fig.23 For explanation. Fig.23 As shown in FIG. 1 , the orthogonal transform unit 14 divides the blocks of the prediction residual signal input from the prediction residual signal generating unit 13 into a predetermined block shape by means of the block dividing unit 141 (step S11). At this time, the block dividing unit 141 divides the blocks of the prediction image having a block size larger than 8×8 (for example, a prediction image having a block size of 32×32) so that the divided blocks of the prediction residual signal located at the upper end and the left end thereof reach a predetermined block size (4×4 in this example) and the other blocks reach a block size as large as possible, and then appropriately re-divides the blocks according to the characteristics of the image to be encoded.

[0228] Next, the orthogonal transform unit 14 determines, through the orthogonal transform selection application unit 142, whether the segmented prediction residual signal includes the pixel position to which the filtering process is applied by the filtering process unit 12 (i.e., whether it is the prediction residual signal of the block including the topmost or leftmost pixel position of the predicted image) when the orthogonal transform process is performed on the segmented block of the prediction residual signal (step S12). When it is determined that the segmented block does not include the pixel position to which the filtering process is applied (step S12: No), the 4th orthogonal transform process of DCT is applied to the segmented block of the prediction residual signal in the vertical and horizontal directions (step S15).

[0229] On the other hand, when it is determined that the partitioned block includes the pixel position to which the filtering process is applied by the filtering process unit 12 (step S12: yes), it is determined whether only the filtering process in the vertical direction is applied by the filtering process unit 12 (that is, whether it is a prediction residual signal of a block including only the topmost pixels of the predicted image) (step S13). If only the filtering process in the vertical direction is applied (step S13: yes), the first orthogonal transformation process of the vertical DST and the horizontal DCT is applied to the partitioned block of the prediction residual signal (step S16).

[0230] Next, when only the filtering process in the vertical direction is not applied (step S12: No), it is determined whether only the filtering process in the horizontal direction is applied by the filtering process unit 12 (that is, whether it is a prediction residual signal of a block including only the leftmost pixels of the predicted image) (step S14). If only the filtering process in the horizontal direction is applied (step S14: Yes), the second orthogonal transformation process of the horizontal DST and the vertical DCT is applied to the divided blocks of the prediction residual signal (step S17).

[0231] Furthermore, when it is determined that filtering processing in the horizontal and vertical directions is applied by the filtering processing unit 12 (i.e., when it is a predicted residual signal of a block including the topmost and leftmost pixel positions of the predicted image) (step S14: No), the third orthogonal transformation processing of vertical DST and horizontal DST is applied to the divided blocks of the predicted residual signal (step S18).

[0232] in addition, Fig.23 In order to enhance the understanding of the processing content, the orthogonal transformation processing is explained in a sequential manner, but it can actually be processed in parallel. In this way, the correlation between the blocks of the decoded adjacent signals can be maximized to process the transformation coefficients.

[0233] (Image decoding device)

[0234] Next, the main components of the present invention in the image decoding device 5 of the present embodiment, namely, the filter processing unit 54 and its peripheral functional blocks, will be described with reference to FIG. Fig.24 For a specific typical example, the image decoding device 5 is described as follows. Fig.25 Provide explanation.

[0235] Fig.24 FIG. 5 is a block diagram of the filter processing unit 54 and its surroundings related to the predicted image in the image decoding device 5 of this embodiment. Fig.24 As shown, the image decoding device 5 of this embodiment is configured to include an orthogonal inverse transform unit 52, a non-adjacent pixel reference prediction unit 53, a filter processing unit 54, and a decoded image generation unit 55. In addition, the orthogonal inverse transform unit 52 includes an orthogonal inverse transform selection application unit 521 and a block reconstruction unit 522.

[0236] The orthogonal inverse transform unit 52 receives the stream signal transmitted from the image encoding device 1 side and performs an orthogonal inverse transform process on the transform coefficients restored after the entropy decoding process and the inverse quantization process, and outputs the obtained prediction residual signal to the decoded image generation unit 55. In particular, the orthogonal inverse transform unit 52 includes an orthogonal inverse transform selection application unit 521 and a block reconstruction unit 522. The orthogonal inverse transform selection application unit 521 performs an orthogonal inverse transform process on the transform coefficients that are block-divided by the image encoding device 1 side and performs an orthogonal inverse transform process on the transform coefficients that are block-divided by the image encoding device 1 side. Fig.23 Similarly, the type of orthogonal transform processing is determined, an orthogonal inverse transform processing corresponding to the orthogonal transform processing in the image encoding device 1 is performed, and the divided blocks of the prediction residual signal are output to the block reconstruction unit 522. The block reconstruction unit 522 combines the divided blocks of the prediction residual signal obtained in a manner that allows parallel processing, reconstructs a block corresponding to the block size of the prediction image, and outputs it to the decoded image generation unit 55.

[0237] Next, as a representative example of the prediction unit 53 without referring to adjacent pixels, an inter-frame prediction unit 53a based on inter-frame prediction is described. The configuration of the image decoding device 5 that performs filtering processing on the prediction signal obtained by the inter-frame prediction by the filtering processing unit 54 and an example of its operation are described with reference to FIG. Fig.25 Provide explanation.

[0238] Fig.25 1 is a block diagram showing an example of the image decoding device 5 according to the present embodiment. Fig.25 The image decoding device 5 shown includes: an entropy decoding unit 50, an inverse quantization unit 51, an orthogonal inverse transform unit 52, an inter-frame prediction unit 53a, a filtering processing unit 54, a decoded image generation unit 55, an in-loop filtering unit 56, a frame memory 57, an intra-frame prediction unit 58, and a predicted image selection unit 59.

[0239] The orthogonal inverse transform unit 52 performs an orthogonal inverse transform process corresponding to the orthogonal transform process of the image encoding device 1 on the transform coefficients obtained by the inverse quantization unit 51, thereby restoring the prediction residual signal and outputting it to the decoded image generation unit 55. In particular, the orthogonal inverse transform unit 52 includes an orthogonal inverse transform selection application unit 521 and a block reconstruction unit 522. The orthogonal inverse transform selection application unit 521 performs an orthogonal inverse transform process on the transform coefficients that have been block-divided by the image encoding device 1 side, and outputs the divided blocks of the prediction residual signal to the block reconstruction unit 522. The block reconstruction unit 522 combines the divided blocks of the prediction residual signal obtained in a manner that can be processed in parallel, forms a block corresponding to the block size of the prediction image, and outputs it to the decoded image generation unit 55.

[0240] In the filtering processing unit 54, the reference Fig. 22 The same action as the action described in the example is used as its action. That is, when the predicted image is a prediction without reference to adjacent pixels, that is, an inter-frame prediction in this example, the filtering processing described in the present invention in the filtering processing unit 54 selects the pixel signal (prediction signal) of the predetermined filtering processing object area from the predicted image, and uses the decoded signal (decoded adjacent signal) adjacent to the predicted image on the left and above, and performs low-pass filtering on the pixel signal (prediction signal) of the selected filtering processing object area, thereby generating a predicted image composed of a new prediction signal and outputting it to the decoded image generation unit 55. For example, Fig.19 As illustrated in (b), the filtering processing unit 54 uses the decoded adjacent signal So in the vicinity of the block boundary of the block Bkp of the predicted image, and performs smoothing filtering processing with a predetermined weight coefficient on each of the horizontal filtering area, the vertical filtering area, and the angular filtering area in the filtering processing object area Sf among the pixel signal (prediction signal) within the block Bkp of the predicted image, and outputs the smoothing filtering processing to the decoded image generating unit 55.

[0241] According to the image encoding device 1 and the image decoding device 5 of the present embodiment configured as described above, the signal error generated between the prediction signal of the prediction image and the adjacent decoded block signal is reduced, and the coding efficiency is improved, so that the image encoding device and the image decoding device with high coding efficiency of the video coding method can be realized. That is, the residual component in the prediction residual signal can be further reduced, and the coding efficiency can be improved by reducing the amount of information transmitted by coding.

[0242] [Fifth embodiment]

[0243] Next, for the configuration around the filter processing units 12 and 54 in the image encoding device 1 and the image decoding device 5 according to the fifth embodiment of the present invention, refer to Fig.26 In the filter processing unit 12, 54 of the fourth embodiment, the following example is described: among the pixel signals (prediction signals) within a block of a prediction image generated by prediction without reference to adjacent pixels, "only decoded signals (decoded adjacent signals)" adjacent to the prediction image on the left and above are used to perform low-pass filtering on the prediction signals, thereby generating a prediction image composed of new prediction signals.

[0244] On the other hand, the filtering processing units 12 and 54 of the present embodiment are constructed in the following manner: a local decoded image of each divided block obtained by the block division processing based on the block division unit 141 is obtained, and each time the local decoded image is obtained, the pixel signal (prediction signal) within the block of the predicted image generated by prediction without reference to adjacent pixels is replaced with the obtained local decoded image, and among the pixel signals (prediction signals) within the block of the replaced predicted image, the decoded signals (decoded adjacent signals) adjacent to the predicted image on the left and above and the local decoded image of each divided block are used to implement low-pass filtering processing corresponding to the respective block sizes in units of the block size of the divided blocks of the predicted residual signal.

[0245] Therefore, if Fig.26 (a) Fig.26 As shown in (b), the filter processing unit 12, 54 is constructed in the following manner: a local decoded image of each divided block obtained by the block division processing based on the block division unit 141 is obtained, and each time the local decoded image is obtained, the pixel signal (prediction signal) in the block of the prediction image generated by prediction without reference to adjacent pixels is replaced with the obtained local decoded image, thereby updating the prediction image, and using the decoded signal (decoded adjacent signal) adjacent to the updated prediction image on the left and above and the local decoded image of each divided block, a low-pass filtering process is performed according to the respective block sizes. In this regard, Fig.19 (a) and Fig.24 The structure shown is different, but the operations of other components are the same.

[0246] As an example of this action, Fig.26 The block reconstruction unit 522 in the orthogonal inverse transformation unit 52 shown in (b) is Fig.24 Unlike the structure shown in the figure, when determining the position of the partition block of the processing object and reconstructing it into a block size corresponding to the predicted image, the area other than the partition block of the processing object is supplemented with virtual data. As a result, it is possible to construct in a manner to obtain a local decoded image of each partition block. Alternatively, another loop can be constructed in a manner to obtain a local decoded image of each partition block. Therefore, the orthogonal inverse transformation unit 17 in the image encoding device 1 of this embodiment can also be constructed in the same way as the orthogonal inverse transformation unit 52 of this embodiment. In addition, in the case of the fourth embodiment, in the frame memory 20, the local decoded image of each partition block can be stored in a manner that can be used as a reference signal.

[0247] Fig. 27 1 is a flowchart of the filtering process 12 or 54 of the prediction image in the image encoding device 1 or the image decoding device 5 according to the present embodiment. Fig.28 The diagrams are for explaining filtering processes 12 and 54 of predicted images in the image encoding device 1 or the image decoding device 5 according to the present embodiment.

[0248] First, when a predicted image is input, the filter processing unit 12, 54 obtains the local decoded image of each divided block based on the block division processing of the block division unit 141, replaces the predicted image, and generates an updated predicted image (step S21). Fig.28 As illustrated, the block Bkp of the 8×8 predicted image is successively replaced and updated by the block BkL of the local decoded image of the block size divided into 4 in the order shown by the white arrows, but the following processing shows the action when the predicted image is updated with the local decoded image of each divided block (for example, shown in the figure "STEP1").

[0249] Next, the filter processing unit 12, 54 identifies whether the predicted image is a prediction without reference to adjacent pixels, for example, whether it is an inter-frame prediction (step S22). In addition, the prediction without reference to adjacent pixels is the same in the case of the intra-block copy prediction and the cross-component signal prediction.

[0250] Next, when the filter processing unit 12 or 54 determines that the predicted image is not a prediction without reference to adjacent pixels, for example, when it is determined to be an intra-frame prediction (step S22: No), it determines whether to perform filtering processing by a predetermined processing method (step S25). When filtering processing is not performed on the predicted image of intra-frame prediction (step S25: No), the filter processing unit 12 or 54 does not perform filtering processing on the predicted signal and outputs it to the prediction residual signal generating unit 13 and the decoded image generating unit 55 (step S26). On the other hand, when filtering processing is performed on the predicted image of intra-frame prediction (step S25: Yes), the filter processing unit 12 or 54 proceeds to step S23. In addition, the filtering processing performed on the predicted image of intra-frame prediction only needs to be processed in the same way as the currently specified H.265. Since it is not directly related to the main purpose of the present invention, the example of performing filtering processing on the predicted image of inter-frame prediction is described in the description of step S23.

[0251] When the filter processing unit 12 or 54 determines that the predicted image is a prediction without reference to adjacent pixels, that is, when it is determined to be an inter-frame prediction in this example (step S22: Yes), the pixel signal (prediction signal) of the predetermined filtering processing target area is selected from the predicted image (step S23). Fig.28 As illustrated, in this example, in units of 4×4 division blocks, the pixel signals (prediction signals) at the leftmost and uppermost sides with respect to the adjacent signals are determined as the filtering process target region Sf.

[0252] Next, for the predicted image replaced by the local decoded image of the partition block, the filtering processing unit 12, 54 uses the decoded signal (decoded adjacent signal) adjacent to each partition block on the left and / or above and the local decoded image to perform low-pass filtering on the pixel signal (prediction signal) of the selected filtering processing object area, thereby generating a predicted image composed of a new prediction signal and outputting it to the prediction residual signal generating unit 13 and the decoded image generating unit 55 (step S24).

[0253] In this way, low-pass filtering is performed by using the decoded signal (decoded adjacent signal) adjacent to the left and / or upper side of the predicted image and the local decoded image adjacent to the left and / or upper side of each partition block, for example, Fig.28 As illustrated, the pixel signals of the block Bkp of the 8×8 prediction image are smoothed not only on the upper and left sides thereof but also at the boundary positions of the divided blocks forming a cross in this example (eg, “STEP 2” in the figure).

[0254] By configuring the filter processing units 12 and 54 as in the present embodiment and applying them to the respective image encoding devices 1 and image decoding devices 5, it is possible to improve the encoding efficiency while suppressing the degradation of the image quality caused thereby. In particular, in addition to the signals of the partitioned blocks (blocks located inside the prediction image when the blocks are divided) located at the leftmost or topmost side of the prediction image, which may form a large value of the prediction residual signal, the values ​​of the leftmost and topmost prediction residual signals of each partitioned block can be reduced.

[0255] In addition, in the example of the present embodiment, all the divided blocks contain the pixel positions of the filtering object, so the vertical or horizontal DST is always applied. Therefore, in the example of the present embodiment, the block shape during block division is as in the fourth embodiment, preferably, after the division is performed in a manner that the divided blocks located at the upper and left ends of the block of the corresponding prediction residual signal reach a prescribed block size (4×4 in this example) and the other blocks reach a block size as large as possible, and then appropriately re-divided according to the characteristics of the encoded image. It is not necessary to divide the blocks in a manner that the block size increases as it moves away from the upper and left ends, but to divide them into a prescribed size (4×4 in this example) to which DST can be applied, and it is possible to divide them according to the characteristics of the encoded image. Fig.23 DST is applied in the processing order shown.

[0256] Furthermore, if the fourth embodiment described above is compared with the present embodiment, in the fourth embodiment, each partition block of the prediction residual signal can be processed independently, and therefore has the advantage of being able to be processed in parallel. On the other hand, in the present embodiment, the local decoded image of the partition block unit can be used successively, and therefore a greater improvement in the coding efficiency can be expected.

[0257] Furthermore, since the block shape of block division can be set variably for each encoding target block and the block division parameter can be transmitted as one of the encoding parameters, an embodiment in which the fourth embodiment and the present embodiment are combined is also possible.

[0258] The image encoding device 1 and the image decoding device 5 of each embodiment can function in the form of a computer, in which a program for realizing each component described in the present invention is stored in a memory provided inside or outside the computer. Through the control of a central processing unit (CPU) or the like provided in the computer, the program recording the processing content for realizing the function of each component can be easily read from the memory, so that the computer realizes the function of each component of the image encoding device 1 and the image decoding device 5 of each embodiment. Here, the function of each component can be realized by a part of hardware.

[0259] In the above, the present invention is described by taking a specific embodiment as an example, but the present invention is not limited to the above example, and various modifications can be made without departing from the scope of the technical idea. For example, in the above-mentioned embodiments, the example in which the block size of the coding target area, the predicted image, and the orthogonal transform processing target is the same is described, but the same application can also be applied when the block size of the predicted image is smaller than the coding target area and the block size of the orthogonal transform processing target is smaller than the predicted image. In addition, the orthogonal transform processing can directly use the processing used in the coding processing according to the application, or can be another processing.

[0260] In addition, in the examples of the above-mentioned embodiments, an example is described for the image decoding device 5 in which the transform coefficients related to the prediction residual signal encoded based on the prediction image subjected to filtering processing by the corresponding image encoding device 1 are decoded as the object. As long as the purpose is not to cause problems with the restoration accuracy of the block ends relative to the original image, the image decoding device 5 described in the present invention can also decode the signal encoded without the aid of filtering processing through the same processing.

[0261] Industrial applicability

[0262] According to the present invention, it is possible to realize an image encoding device and an image decoding device having a high encoding efficiency of a video encoding method, and therefore the present invention is useful in applications where it is desired to improve the encoding efficiency of video transmission.

[0263] Description of symbols

[0264] 1 Image Coding Device

[0265] 5 Image decoding device

[0266] 10 Pre-processing unit

[0267] 11 Prediction without reference to neighboring pixels

[0268] 11a Inter-frame prediction unit

[0269] 12 Filter processing unit

[0270] 13 Prediction residual signal generation unit

[0271] 14 Orthogonal Transformation Unit

[0272] 15 Quantization Department

[0273] 16 Dequantization Department

[0274] 17 Inverse Orthogonal Transformation Unit

[0275] 18 Decoded image generation unit

[0276] 19 In-loop filter

[0277] 20 Frame Memory

[0278] 21 Intra-frame prediction unit

[0279] 22 Motion vector calculation unit

[0280] 23 Entropy Coding Unit

[0281] 24 Prediction image selection unit

[0282] 25 Orthogonal transformation selection control unit

[0283] 50 Entropy decoding unit

[0284] 51 Dequantization Department

[0285] 52 Inverse orthogonal transformation unit

[0286] 53 Prediction without reference to neighboring pixels

[0287] 53a Inter-frame prediction unit

[0288] 54 Filter processing unit

[0289] 55 Decoded image generation unit

[0290] 56 In-loop filter

[0291] 57 Frame Memory

[0292] 58 Intra-frame prediction unit

[0293] 59 Prediction image selection unit

[0294] 60 Orthogonal inverse transformation selection control unit

[0295] 101 Horizontal direction correlation determination unit

[0296] 102 Vertical direction correlation determination unit

[0297] 103 Filter processing determination unit

[0298] 104 Filter processing execution unit

[0299] 141 Block Division

[0300] 142 Orthogonal Transformation Selection Application

[0301] 521 Orthogonal Inverse Transformation Selection Application

[0302] 522 Block Reconstruction Department

Claims

1. An image decoding device for decoding a signal obtained by dividing a frame constituting a dynamic image into blocks and encoding the blocks, characterized in that: The image decoding device comprises: A prediction unit, which generates a predicted image in block units composed of a predicted signal by performing signal prediction on each pixel signal of the original image in block units; a filtering processing unit that acquires a control identification signal indicating a type of selection control selected by the encoding side, controls execution and non-execution of filtering processing on the prediction signal of the block of the prediction image based on the control identification signal, and when executing the filtering processing, performs the filtering processing by using a decoded adjacent signal adjacent to the block of the prediction image to generate a new block of the prediction image; an inverse quantization unit that performs a corresponding inverse quantization process on a transform coefficient quantized by a predetermined quantization process to restore a transform coefficient signal, wherein the transform coefficient is a signal obtained by dividing a frame constituting a dynamic image into blocks and encoding the same; and The inverse transform unit performs an inverse transform process determined based on the control identification signal on the restored transform coefficient signal to restore the prediction residual signal in block units.

2. The image decoding device according to claim 1, characterized in that The inverse transform unit includes a unit for acquiring the control identification signal as a coding parameter showing whether discrete cosine transform is applied to the encoding side in a plurality of transform processes.

3. A computer-readable medium having a program stored therein, which, when executed by a processor, causes the processor to perform the following steps: A prediction step, generating a predicted image in block units composed of predicted signals by performing signal prediction on each pixel signal of the original image in block units; a filtering processing step of acquiring a control identification signal indicating a type of selection control selected by the encoding side, controlling execution and non-execution of filtering processing on the prediction signal of the block of the prediction image based on the control identification signal, and performing the filtering processing by using a decoded adjacent signal adjacent to the block of the prediction image when performing the filtering processing to generate a new block of the prediction image; The inverse quantization processing step is to perform corresponding inverse quantization processing on the transform coefficients quantized by the prescribed quantization processing to restore the signal of the transform coefficients, wherein: The transform coefficients are signals obtained by dividing the frames constituting the dynamic image into blocks and encoding them; and The inverse transform processing step performs an inverse transform processing determined based on the control identification signal on the restored transform coefficient signal to restore the prediction residual signal in units of blocks.