Given the image data "cruiseorg.tiff", perform wavelet-based compression by completing the following steps:
a. Convert the image to gray scale.
b. Write a MATLAB program for encoding with the following features: (1) use an 8-tap Daubechies filter; (2) apply the two-level DWT; (3) perform 8-bit quantization for sub bands LL2, LH2, HL2, HH2, LH1, HL1, and HH1 for simulation.
c. Write the MATLAB program for the decoding process.
d. Run the developed MATLAB program to examine the image quality using the following methods: