Image Compression of Original Grayscale Images Using DCT Coefficient Retention
Perform image compression on original grayscale images by applying 8×8 DCT transformation, retaining only DC coefficients, or preserving the first 4, 8, and 16 transform coefficients (DC + AC), followed by IDCT transformation to reconstruct images with varying compression levels.