Numerical Analysis
Numerical Analysis
3rd Edition
ISBN: 9780134696454
Author: Sauer, Tim
Publisher: Pearson,
bartleby

Concept explainers

bartleby

Videos

Textbook Question
Book Icon
Chapter 11.2, Problem 3CP

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 8 × 8

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 p = 1 , 2 , and 4, Print out each Y Q

.

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 8 × 8 blocks, and reconstitute the image in each case.

Blurred answer
Students have asked these similar questions
Which degenerate conic is formed when a double cone is sliced through the apex by a plane parallel to the slant edge of the cone?
For the problem below, what are the possible solutions for x? Select all that apply. 2 x²+8x +11 = 0 x2+8x+16 = (x+4)² = 5 1116
For the problem below, what are the possible solutions for x? Select all that apply. x² + 12x - 62 = 0 x² + 12x + 36 = 62 + 36 (x+6)² = 98
Knowledge Booster
Background pattern image
Math
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, subject and related others by exploring similar questions and additional content below.
Recommended textbooks for you
Text book image
Algebra & Trigonometry with Analytic Geometry
Algebra
ISBN:9781133382119
Author:Swokowski
Publisher:Cengage
Text book image
College Algebra (MindTap Course List)
Algebra
ISBN:9781305652231
Author:R. David Gustafson, Jeff Hughes
Publisher:Cengage Learning
Text book image
Mathematics For Machine Technology
Advanced Math
ISBN:9781337798310
Author:Peterson, John.
Publisher:Cengage Learning,
Text book image
Intermediate Algebra
Algebra
ISBN:9780998625720
Author:Lynn Marecek
Publisher:OpenStax College
Text book image
Linear Algebra: A Modern Introduction
Algebra
ISBN:9781285463247
Author:David Poole
Publisher:Cengage Learning
Text book image
Algebra and Trigonometry (MindTap Course List)
Algebra
ISBN:9781305071742
Author:James Stewart, Lothar Redlin, Saleem Watson
Publisher:Cengage Learning
Matrix Operations Full Length; Author: ProfRobBob;https://www.youtube.com/watch?v=K5BLNZw7UeU;License: Standard YouTube License, CC-BY
Intro to Matrices; Author: The Organic Chemistry Tutor;https://www.youtube.com/watch?v=yRwQ7A6jVLk;License: Standard YouTube License, CC-BY