Image Coding
Pixel-to-pixel correlation present in images is exploited by this simple, reversible code.
In a digital image, a run is defined as a sequence of consecutive pixels of equal values in a specified direction.
A reduction in average bit rate may be achieved by simply transmitting the values and lengths of such runs in the image.
The method fails if the image is highly textured, leading to a higher bit rate than straight transmission of pixels.
Run-length coding is best suited to binary (facsimile) images.