Moving image encoding device, moving image decoding device, moving image coding method, and moving image decoding method
When carrying out an intra-frame prediction process to generate an intra prediction image by using an already-encoded image signal in a frame, an intra prediction part 4 selects a filter from one or more filters which are prepared in advance according to the states of various parameters associated with the encoding of a target block to be filtered, and carries out a filtering process on a prediction image by using the filter. As a result, prediction errors which occur locally can be reduced, and the image quality can be improved.
1. An image decoding device comprising:
an intra prediction unit for carrying out an intra prediction process on a block which is a unit for a prediction process to generate an intermediate prediction image, said intermediate prediction image being generated by obtaining a prediction value for each pixel based on reference pixels according to an intra prediction mode, the intra prediction mode being an average prediction mode, and
a difference image generating unit for generating a difference image according to compressed data for said block;
wherein said intra prediction unit provides an image which is obtained by performing a filtering process on the intermediate prediction image as a final prediction image only for specific pixels in the block, the specific pixels being determined depending on a distance between the reference pixels and pixels in the block, and provides the intermediate prediction image as a final prediction image for other pixels in the block, the filtering process being performed according to the condition of a plurality of parameters including an index value indicating the intra prediction mode at the time of generating the intermediate prediction image.
2. An image encoding device comprising:
an intra prediction unit for carrying out an intra prediction process on a block which is a unit for a prediction process to generate an intermediate prediction image, said intermediate prediction image being generated by obtaining a prediction value for each pixel based on reference pixels according to an intra prediction mode, the intra prediction mode being an average prediction mode, and
a difference image generating unit for generating a difference image between an inputted image and a final predication image to output compressed data for said block,
wherein said intra prediction unit provides an image which is obtained by performing a filtering process on the intermediate prediction image as a final prediction image only for specific pixels in the block, the specific pixels being determined depending on a distance between the reference pixels and pixels in the block, and provides the intermediate prediction image as a final prediction image for other pixels in the block, the filtering process being performed according to the condition of a plurality of parameters including an index value indicating the intra prediction mode at the time of generating the intermediate prediction image.
3. An image encoding method comprising:
carrying out an intra prediction process on a block which is a unit for a prediction process to generate an intermediate prediction image, said intermediate prediction image being generated by obtaining a prediction value for each pixel based on reference pixels according to an intra prediction mode, the intra prediction mode being an average prediction mode, and
generating a difference image between an inputted image and a final predication image to output compressed data for said block,
providing an image which is obtained by performing a filtering process on the intermediate prediction image as a final prediction image only for specific pixels in the block, the specific pixels being determined depending on a distance between the reference pixels and pixels in the block, and providing the intermediate prediction image as a final prediction image for other pixels in the block, the filtering process being performed according to the condition of a plurality of parameters including an index value indicating the intra prediction mode at the time of generating the intermediate prediction image.
4. An image decoding method comprising:
carrying out an intra prediction process on a block which is a unit for a prediction process to generate an intermediate prediction image, said intermediate prediction image being generated by obtaining a prediction value for each pixel based on reference pixels according to an intra prediction mode, the intra prediction mode being an average prediction mode, and
generating a difference image according to compressed data for said block;
providing an image which is obtained by performing a filtering process on the intermediate prediction image as a final prediction image only for specific pixels in the block, the specific pixels being determined depending on a distance between the reference pixels and pixels in the block, and providing the intermediate prediction image as a final prediction image for other pixels in the block, the filtering process being performed according to the condition of a plurality of parameters including an index value indicating the intra prediction mode at the time of generating the intermediate prediction image.
5. A non-transitory computer-readable medium storing a bitstream generated by performing a block based prediction process on an image, said bitstream comprising:
a coded data of intra prediction mode used to generate an intermediate prediction image by obtaining a prediction value for each pixel based on reference pixels according to an intra prediction mode, the intra prediction mode being an average prediction mode; and
a compressed difference image obtained by performing a data compression process on a difference image between a final prediction image and said image;
wherein an image which is obtained by performing a filtering process on the intermediate prediction image is provided as a final prediction image only for specific pixels in the block, the specific pixels being determined depending on a distance between the reference pixels and pixels in the block, and the intermediate prediction image is provided as a final prediction image for other pixels in the block, the filtering process being performed according to the condition of a plurality of parameters including an index value indicating the intra prediction mode at the time of generating the intermediate prediction image.