Numerical Analysis, Books A La Carte Edition (3rd Edition)
Numerical Analysis, Books A La Carte Edition (3rd Edition)
3rd Edition
ISBN: 9780134697338
Author: Timothy Sauer
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
Business discuss
please do Q3
Use the properties of logarithms, given that In(2) = 0.6931 and In(3) = 1.0986, to approximate the logarithm. Use a calculator to confirm your approximations. (Round your answers to four decimal places.) (a) In(0.75) (b) In(24) (c) In(18) 1 (d) In ≈ 2 72
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.
Similar questions
SEE MORE QUESTIONS
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