摘要 |
<p><P>PROBLEM TO BE SOLVED: To enable efficient encoding while using both encoding of pixel units and Run Length encoding for encoding pixel continuity. <P>SOLUTION: A color number determination unit 101 calculates the number of colors included in 4 pixels a, b, c, and d, at locations of encoded pixels in the vicinity of a target pixel X. A vicinity consistent information encoding unit 102, a component value predictive coding unit, and a code generation unit 105 generate reversible encoding data for the target pixel in a pixel unit. The Run Length encoding unit 104 starts to measure a run when the number of colors included in the vicinity 4 pixels is 1, and encodes the measured run when the target pixel has a different color from an immediately preceding pixel to output the encoded data. At this time, the target pixel X which terminates the run is different from an immediately preceding pixel (a), and thus, the immediately preceding pixel (a) is removed from a pixel group to be referred when generating encoding data in the pixel unit. Instead, a pixel satisfying an encoded specific condition is referred as well. <P>COPYRIGHT: (C)2007,JPO&INPIT</p> |