Patent ID: 7656319

Claim:
A context-based encoder, comprising: a domain transform module having an input coupled to receive an input signal and an output, the domain transform module operable to convert the input signal into a sequence of transform coefficients c[i]; and a context-based coding module, comprising: a bit-plane scanning module having an input coupled to receive the sequence of transform coefficients and operable to produce a bit-plane symbol bps[i,bp] for each transform coefficient c[i] and each bit-plane [bp]; a context modeling module having an input coupled to receive the bit-plane symbols bps [i,bp] and operable to assign one or more context values to each of the received bit plane symbols bps [i,bp], each assigned context value obtained from a context model; and a statistical coding module having a first input coupled to receive each of the bit plane symbols bps [i,bp], a second input coupled to receive the corresponding one or more context values and an output, the statistical coding module operable to code each of the bit plane symbols bps [i,bp] as a function of one or more of the corresponding context values to produce a context-based encoded symbol stream, wherein the one or more context models comprises a distance-to-lazy bit-plane context D2L[bp], the context value of which is determined according to a predefined relationship between the bit plane number [bp] and a predetermined coding parameter [lazy_bp].