Video encoding device, video decoding device, video encoding method, video decoding method, and program
A video encoding device includes a planar prediction unit using planar prediction, and a noise injecting unit for injecting pseudo-random noise into a prediction image of a planar prediction block when a reconstructed prediction error value for planar prediction is less than a threshold determined by the size of the planar prediction block. The video encoding device then uses the pseudo-random noise in linear interpolation for calculating the prediction image, based on the conditions under which a gradient distortion occurs, to suppress the gradient distortion.
1. A video encoding device including a planar prediction unit using planar prediction, comprising: a processor that implements a noise injector configured to inject pseudo-random noise into a prediction image of a planar prediction block in response to a reconstructed prediction error value for planar prediction being less than a threshold which is calculated based on a size of the planar prediction block; and
wherein the threshold is a calculated by multiplying the size of the planar prediction block by a constant that is greater than or equal to 0.5 and less than 1.0.
2. A video decoding device including a planar prediction unit using planar prediction, comprising: a processor that implements a noise injector configured to inject pseudo-random noise into a prediction image of a planar prediction block in response to a reconstructed prediction error value for planar prediction being less than a threshold which is calculated based on a size of the planar prediction block; and
wherein the threshold is a calculated by multiplying the size of the planar prediction block by a constant that is greater than or equal to 0.5 and less than 1.0.
3. A video encoding method using planar prediction, comprising: injecting pseudo-random noise into a prediction image of a planar prediction block in response to a reconstructed prediction error value for planar prediction being less than a threshold which is calculated based on a size of the planar prediction block; and
wherein the threshold is a calculated by multiplying the size of the planar prediction block by a constant that is greater than or equal to 0.5 and less than 1.0.
4. A video decoding method using planar prediction, comprising: injecting pseudo-random noise into a prediction image of a planar prediction block in response to a reconstructed prediction error value for planar prediction being less than a threshold which is calculated based on a size of the planar prediction block; and
wherein the threshold is a calculated by multiplying the size of the planar prediction block by a constant that is greater than or equal to 0.5 and less than 1.0.
5. A non-transitory computer readable information recording medium storing a video encoding program, when executed by a processor, performs a method comprising: planar predicting; and injecting pseudo-random noise into a prediction image of a planar prediction block in response to a reconstructed prediction error value for planar prediction being less than a threshold which is calculated based on a size of the planar prediction block; and
wherein the threshold is a calculated by multiplying the size of the planar prediction block by a constant that is greater than or equal to 0.5 and less than 1.0.
6. A non-transitory computer readable information recording medium storing a video decoding program, when executed by a processor, performs a method comprising: planar predicting; and injecting pseudo-random noise into a prediction image of a planar prediction block in response to a reconstructed prediction error value for planar prediction being less than a threshold which is calculated based on a size of the planar prediction block; and
wherein the threshold is a calculated by multiplying the size of the planar prediction block by a constant that is greater than or equal to 0.5 and less than 1.0.
7. A video encoding device comprising: a processor configured to inject pseudo-random noise into a prediction image of a planar prediction block in response to a reconstructed prediction error value for planar prediction being less than a threshold which is calculated based on a size of the planar prediction block; and
wherein the threshold is a calculated by multiplying the size of the planar prediction block by a constant that is greater than or equal to 0.5 and less than 1.0.
8. A video decoding device comprising: a processor configured to inject pseudo-random noise into a prediction image of a planar prediction block in response to a reconstructed prediction error value for planar prediction being less than a threshold which is calculated based on a size of the planar prediction block; and
wherein the threshold is a calculated by multiplying the size of the planar prediction block by a constant that is greater than or equal to 0.5 and less than 1.0.