摘要 |
PROBLEM TO BE SOLVED: To provide an image processor for controlling encoding amounts so as to be not more than prescribed amounts, and for selecting proper encoding from reversible encoding or irreversible encoding for each part of a image, and to provide the image processor for realizing encoding with as high efficiency of the reversible encoding as that of the raster scan reversible encoding. SOLUTION: A blocking part 103 divides an image into 8×9 pixel blocks, and a block scan reversible encoding part 104 outputs reversible encoding amounts 105, and an encoding amount comparing part 106 compares the reversible encoding amounts with a threshold, and outputs selection information of reversible/irreversible encoding. An irreversible encoding part 107 operates the irreversible encoding of the blocks according to the selection information, and outputs an irreversible code 111. An invalid pixel adding part 112 changes all pixels in the blocks into 0 according to the selection information of the irreversible encoding, and a reversible encoding part 113 extracts the changed image in order of raster scan, and operates the reversible encoding, and outputs a reversible code 114. A selection information encoding part 109 encodes the selection information, and outputs a selection information code 110.
|