Concept explainers
Obtain a grayscale image file of your choice, and use the imread command to import into MATLAB. Crop the resulting matrix so that each dimension is a multiple of 8. If necessary, converting a color RGB image to gray scale can be accomplished by the standard formula (11.15).
a. Extract an
pixel block, for example, by using the MATLAB command xb=x(81:88, 81:88). Display the block with the imagesc command.
b. Apply the 2D-DCT.
c. Quantize by using linear quantization with
.
d. Reconstruct the block by using the inverse 2D-DCT. and compare with the original. Use commands MATLAB colormap(gray) and imagesc(X [0 255]).
e. Carry out (a)-(d) for all
Want to see the full answer?
Check out a sample textbook solutionChapter 11 Solutions
Numerical Analysis
- Find a formula for each transformationarrow_forwardRefer to image below to find 3 *3 matrixarrow_forwardThe + sign in the figure is shown using 9 pixels in a 3x3 grid. The color levels are given to the left of the figure. Each color is represented by a specific number, 0, 1, 2, or 3. Complete parts (a) through (c). White Light Grey Dark Grey Black 1 3 a. Find a matrix that represents a digital photograph of the + sign.arrow_forward
- Enter the expression that would produce the answer (do include the answer) for row 1 column 1 of the multiplied matrix A ∗ B: List the expression in order with the original values using * for multiplication. then find A ∗ Barrow_forwardplease be guided to the row echelon belowarrow_forwardWrite down the quadratic form that corresponds to the following matrixarrow_forward
- Enter the following matrices in your calculator, and perform the listed operations, if possible. If this problem is impossible, explain why.arrow_forwardFind matrix X: 3. 6 5 4 -2 *X= 18 49 -20 6arrow_forwardThe letter L in Figure is shown using 9 pixels in a 3 x 3 grid. The colors possible in the grid are shown in Figure. Each color is represented by a specific number: 0, 1, 2, or 3. a. Find a matrix that represents a digital photograph of this letter L. b. Increase the contrast of the letter L by changing the dark gray to black and the light gray to white. Use matrix addition to accomplish this.arrow_forward
- Each letter in the word Calculator is assigned a value listed in the table below. A space = 0. Encode the word Calculator.arrow_forwardUse A−1 to decode the cryptogram.arrow_forwardEnter the expression that would produce the answer (do include the answer) for row 1 column 1 of the multiplied matrix A ∗ B: List the expression in order with the original values using * for multiplication. then find A ∗ BA*Barrow_forward
- Algebra & Trigonometry with Analytic GeometryAlgebraISBN:9781133382119Author:SwokowskiPublisher:CengageCollege Algebra (MindTap Course List)AlgebraISBN:9781305652231Author:R. David Gustafson, Jeff HughesPublisher:Cengage LearningMathematics For Machine TechnologyAdvanced MathISBN:9781337798310Author:Peterson, John.Publisher:Cengage Learning,