Fixed-length lossy code (source code)

= Fixed-length lossy code
{title2=$R_n=n^{-1}\log_2 M_n$}

A <fixed-length lossy code> maps a block of $n$ source symbols to one of $M_n$ messages, then maps that message to a reconstruction block. The <encoder> and <decoder> together define the reconstruction. Its rate is $\log_2 M_n/n$ <bits> per source symbol; an implementation using a fixed binary message needs $\lceil\log_2 M_n\rceil$ transmitted <bits> per block. Its performance also depends on <expected distortion>, block length, and the chosen <distortion measure>.