Are some 8x8 blocks skipped when encoding a JPEG?

I am trying to split a compressed JPEG bitstream into the 8x8 blocks of the original image. However, I am routinely finding fewer than I know there to be based on the size of the image.

I have narrowed this down to the first row of the image, where the padded edge block (identifiable by its lower mean value) is reached after 65 blocks when the image is 80 blocks across. The end of subsequent rows are then reached after the expected 80 blocks, indicating no further skipped blocks.

Am I simply missing some EOB markers in the first row, or is there a scenario in which some 8x8 blocks are not encoded into the bitstream?


如果您正在解码彩色图像,则很可能会对Cb和Cr分量进行二次采样,以至于没有Y分量的8x8块。

链接地址: http://www.djcxy.com/p/62900.html

上一篇: 使图像适应视网膜显示

下一篇: 编码JPEG时是否跳过了一些8x8块?