Image encoding apparatus, method, and computer-readable storage medium for encoding a pixel value
Abstract
Image data is efficiently encoded using a predict coding unit and a run-length coding unit. The predict coding unit encodes a target pixel X on the basis of difference between the value of the target pixel and a predict value calculated from pixels neighboring the target pixel. The run-length coding unit starts the measuring the run when the number of colors contained in four pixels “a”, “b”, “c”, and “d” near the target pixel X is 1, and outputs encoded data of the run when the target pixel is different from an immediately preceding pixel “a”. Then, the predict coding unit starts the encoding. At this time, since the target pixel is different from the preceding pixel, the preceding pixel is excluded from references for generating the predict value. Instead of the preceding pixel, an pixel, which has been encoded, satisfying a specific condition is referred to.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 35 · Forward citations: 5.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
An image encoding apparatus which encodes a pixel value, comprising: an input unit that inputs, in a predetermined scan order, an image to be encoded: a first encoding unit encodes a pixel value of a target pixel using a pixel value of a pixel encoded precedent to the target pixel; a second encoding unit that counts, as a run, a number of pixels having the same value based on an original value, terminates the count and outputs encoded data based on the counted run if the target pixel is a run-ending pixel having a different value from an adjacent pixel; and a switching unit that switches betwe
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗