120 likes | 261 Views
視訊 通訊 homework 1. 林 葦 M023010042. Processing. Read RGB color space file Transform to YCbCr color space Do DCT and Quantization on Y plane for each 8 ×8 blocks Remove high frequency coefficients (10%, 20%,…) or DC Do Inverse Quantization and Inverse DCT on Y plane
E N D
視訊通訊homework 1 林葦 M023010042
Processing Read RGB color space file Transform to YCbCr color space Do DCT and Quantization on Y plane for each 8 ×8 blocks Remove high frequency coefficients (10%, 20%,…) or DC Do Inverse Quantization and Inverse DCT on Y plane Transform to RGB color space Write file (raw RGB file) and calculate PSNR
Quantization Q=30
Quantization • PSNR=26.6
Remove high frequency coefficients x y x=0~7 y=0~7 z=x+y
Remove high frequency coefficients ex: If(z>7) DCT[x][y]=0;
Remove high frequency coefficients 56.3% , PSNR=32.9
Remove high frequency coefficients 98.4% , PSNR=21.9
Remove high frequency coefficients 56.3% , PSNR=37.9
Remove high frequency coefficients 98.4% , PSNR=24.5
curve PSNR Dropping rate