Question
The purpose of this exercise is to help you understand the various parameters that affect the quality of a compressed image. Using JPEG as an
The purpose of this exercise is to help you understand the various parameters that affect the quality of a compressed image. Using JPEG as an example, you are required to write a program to control the quantization matrices used for compression. A brief discussion of the impact is included as part of the assignment.
Follow these steps:
image file name: flower.bmp
Write a Java class that converts the bitmap image to JPEG format.
Add a second viewable pane on your image viewer in TME 1. The original pane should display the original bitmap image, and the second pane should display the converted JPEG image.
TME2_Sample_Screen.JPG
Add a mechanism to input the quantization matrix. It should have three options: (a) default JPEG matrix - the numbers can be found on Table 9.1 and Table 9.2 of the textbook; (b) a constant number; (c) DC component only (i.e. set all other numbers to zero).
Add an option to the File menu to output the compressed JPEG image to the hard disk.
Comp 435 Multime dia Technologies TME 2 Sample Screen File Original Image Converted Image Quantization Matrix Luminance: 110-11 0 10 10 10 |10- Chrominance: Zoom inZoom outtual Sizeo Zom out Actual Size Constant DC only Default Comp 435 Multime dia Technologies TME 2 Sample Screen File Original Image Converted Image Quantization Matrix Luminance: 110-11 0 10 10 10 |10- Chrominance: Zoom inZoom outtual Sizeo Zom out Actual Size Constant DC only DefaultStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started