摘要:
An image processing apparatus entropy encodes plural encoding target data by using a first entropy encoding table to provide respective data amounts of plural encoded data and compares the data amounts of plural encoded data with each other. One of the plural encoding target data is selected according to the result of the comparison and a second entropy encoding table is produced according to the content of the selected encoding target data. The apparatus then entropy encodes the selected encoding target data utilizing the second entropy encoding table.
摘要:
A pixel which is one pixel prior to a pixel to be coded x in image data is defined as a specific pixel a, and differences (b-a) and (c-a) between each of pixel data of neighboring pixels b and c and pixel data of the specific pixel a are calculated. The differences (b-a) and (c-a) are compared to a predetermined value Th1, and if both of the differences (b-a) and (c-a) are less than the predetermined value Th1, a difference (x-a) between pixel data of the pixel to be coded and the pixel data of the specific pixel is encoded by Markov model coding on the basis of the difference (x-a) and the differences (b-a) and (c-a). Whereas, if at least one of the differences (b-a) and (c-a) is not less than the predetermined value Th1, then the pixel to be coded is encoded by predictive coding on the basis of an average of the pixel data of the specific pixel a and the neighboring pixel b, {(a+b)/2} and an error of the average with respect to the actual pixel data of the pixel to be coded x.
摘要:
There is provided an image encode apparatus which comprises a generation means for generating a prediction error from an encode target pixel value and a prediction value of the encode target pixel value, a judgment means for generating a generation frequency distribution of the prediction error to judge whether or not the generation frequency distribution is discrete and an entropy encode means for changing encode data corresponding to the prediction error and performing entropy encoding on the obtained encode data, in accordance with a judged result by the judgment means. Therefore, the encoding can be effectively performed even on such the image data having the discrete pixel value as in a CG image, a limited-color image or the like.