摘要 |
In one aspect, an image is quantized by assigning sub-ranges of pixel values in the image to respective quantization levels. The quantized image is encoded based at least in part on a mask lookup table assigning index values to respective masks, wherein each mask corresponds to a respective spatial distribution of the quantization levels. In another aspect, a code corresponding to an encoded image with pixel values quantized to respective quantization levels is received. The code is decoded based at least in part on a mask lookup table assigning index values to respective masks, wherein each mask corresponds to a respective spatial distribution of the quantization levels. |