Patent ID: 8908982
Filing Date: 2014-12-09
Classification: G06T,H04N

Abstract:
1. An image encoding device that performs encoding processing by compressing image data including pieces of pixel data of a plurality of pixels arrayed in a scanning sequence, the image encoding device comprising: compression mode determination means for determining a compression mode of target pixel data of the encoding processing to be one of DPCM and PCM based on the target pixel data and predicted data calculated by a predetermined method; DPCM compression means for compressing a difference value between the target pixel data and the predicted data to DPCM encoded data having a predetermined DPCM code length when the compression mode determination means determines the compression mode to be the DPCM; PCM compression means for compressing the target pixel data to PCM encoded data having an assigned PCM code length when the compression mode determination means determines the compression mode to be the PCM; PCM code length determination means for calculating the PCM code length for each piece of the target pixel data such that a total of post-encoding code lengths becomes an allowable value or less in a unit of predetermined pixel group among the plurality of pixels, and transmitting the PCM code length to the PCM compression means; and tag/code output means for producing and outputting output encoded data by adding a tag indicating whether the compression mode is the DPCM or the PCM according to the compression mode to the DPCM encoded data outputted from the DPCM compression means or the PCM encoded data outputted from the PCM compression means.