Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
在将 bmp 转换为 jpeg 时,我们对图像的 8 X 8 离散单元进行 DCT。假设我们有一个高度和宽度不能被 8 整除的图像,那么我们将在图像的两侧留下一些像素。
我们如何管理它?
请帮忙!
答案是零填充。零填充图像,使其宽度和高度可被 8 整除应用 DCT,然后删除填充