Implement a discrete cosine transform described

Assignment Help C/C++ Programming
Reference no: EM132167990

Description

In this assignment, you are going to implement a discrete cosine transform described as follows. To facilitate your implementation, you need to use your assignment 1.

First, you need to read an argument (quality) from the command prompt, which will be used to create a quality matrix. Then, do the following steps.

1. Create an Init(quality) function to initialize a matrix T and a matrix Q where T is the cosine coefficient matrix and Q is the quality matrix. For detailed calculation, see Section 2.
2. Given a matrix M, compute its average and subtract its average from it
3. Perform matrix multiplication: D = T M T' where T' is the transpose of matrix T
4. Perform element-wise division: C = D / Q
5. PrintMatrix(C)
6. Perform element-wise multiplication: R = Q * C
7. Perform matrix multiplication: M2 = T' R T where T' is the transpose of matrix T
8. Add back the average to M2
9. PrintMatrix(M2)

Attachment:- Assignment.rar

Reference no: EM132167990

Questions Cloud

Offered prizes to customers who could accommodate : Shiny Company limited, a shampoo manufacturer, offered prizes to customers who could accommodate a certain number of tokens from its shampoo bottles.
Determine the federal taxes owed by red ranger : The Red Ranger Company recorded revenues of $45,000 and recaptured depreciation of $1200 for the year just ended.
Risks are part of any project : Risks are a part of any project. Learning to manage them is a key part of being a project manager.
The exploration and settlement of the american west : The relationship between the events and outcomes of territorial expansion in the pre-Civil War period.
Implement a discrete cosine transform described : Implement a discrete cosine transform described as follows. To facilitate your implementation, you need to use your assignment 1
What is Cultural Social Responsibility : What is Cultural Social Responsibility? How would you respond to this quote? Is it in complete contradictions with the CSR?
Calculate the state and federal taxes owed by abc : ABC Block's taxable income was $85,000 in the year just completed. The state where ABC was incorporated taxes corporate profits at a rate of 8%.
What happened to you when you arrived : What difficulties do you face because of who you are, where you came from, or where you live now?
Discuss crucial global and competitive trends : Discuss crucial global and competitive trends as it relates to HR (Human Resource).

Reviews

len2167990

11/16/2018 1:18:29 AM

Grading Submit your source files along with a readme indicating how to compile your files via blackboard. All assignments will be tested under Unix. Compile and Link Successfully – 10 points Correct T and Q – 20 points Correct C – 30 points Correct M2 – 20 points

Write a Review

C/C++ Programming Questions & Answers

  Create program that uses functions and reference parameters

Create program that uses functions and reference parameters, and asks user for the outside temperature.

  Write a program using vectors and iterators

Write a program using vectors and iterators that allows a user to maintain a personal list of DVD titles

  Write the code required to analyse and display the data

Calculate and store the average for each row and column. Determine and store the values for the Average Map.

  Write a webservices application

Write a webservices application that does a simple four function calculator

  Iimplement a client-server of the game

Iimplement a client-server version of the rock-paper-scissors-lizard-Spock game.

  Model-view-controller

Explain Model-View-Controller paradigm

  Design a nested program

How many levels of nesting are there in this design?

  Convert celsius temperatures to fahrenheit temperatures

Write a C++ program that converts Celsius Temperatures to Fahrenheit Temperatures.

  Evaluate and output the value in the given base

Write C program that will input two values from the user that are a Value and a Base with which you will evaluate and output the Value in the given Base.

  Design a base class shape with virtual functions

Design a base class shape with virtual functions

  Implementation of classes

Implementation of classes Chart and BarChart. Class barChart chould display a simple textual representation of the data

  Technical paper: memory management

Technical Paper: Memory Management, The intent of this paper is to provide you with an in depth knowledge of how memory is used in executing, your programs and its critical support for applications.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd