Warning: foreach() argument must be of type array|object, bool given in /var/www/html/web/app/themes/studypress-core-theme/template-parts/header/mobile-offcanvas.php on line 20

Exercises 21 and 22 concern the way in which color is specified for display in computer graphics. A color on a computer screen is encoded by three numbers (R, G, B) that list the amount of energy an electron gun must transmit to red, green, and blue phosphor dots on the computer screen. (A fourth number specifies the luminance or intensity of the color.)

22. The signal broadcast by commercial television describes each color by a vector (Y, I, Q). If the screen is black and white, only the Y-coordinate is used. (This gives a better monochrome picture than using CIE data for colors.) The correspondence between YIQand a “standard” RGBcolor is given by

\[\left[ {\begin{array}{*{20}{c}}Y\\I\\Q\end{array}} \right] = \left[ {\begin{array}{*{20}{c}}{.299}&{.587}&{.114}\\{.596}&{ - .275}&{ - .321}\\{.212}&{ - .528}&{.311}\end{array}} \right]\left[ {\begin{array}{*{20}{c}}R\\G\\B\end{array}} \right]\]

(A screen manufacturer would change the matrix entries to work for its RGBscreens.) Find the equation that converts the YIQdata transmitted by the television station to the RGB data needed for the television screen.

Short Answer

Expert verified

The equation is\(\left[ {\begin{array}{*{20}{c}}R\\G\\B\end{array}} \right] = \left[ {\begin{array}{*{20}{c}}{1.00308}&{0.95484}&{0.61785}\\{0.99677}&{ - 0.27070}&{ - 0.64478}\\{1.00849}&{ - 1.11048}&{1.6995}\end{array}} \right]\left[ {\begin{array}{*{20}{c}}Y\\I\\Q\end{array}} \right]\).

Step by step solution

Achieve better grades quicker with Premium

  • Unlimited AI interaction
  • Study offline
  • Say goodbye to ads
  • Export flashcards

Over 22 million students worldwide already upgrade their learning with Vaia!

01

Write the matrix using the MATLAB command

Use the MATLAB command to write the matrix equation\[\left[ {\begin{array}{*{20}{c}}Y\\I\\Q\end{array}} \right] = \left[ {\begin{array}{*{20}{c}}{.299}&{.587}&{.114}\\{.596}&{ - .275}&{ - .321}\\{.212}&{ - .528}&{.311}\end{array}} \right]\left[ {\begin{array}{*{20}{c}}R\\G\\B\end{array}} \right]\].

\( > > {\rm{A}} = \left[ {{\rm{.299 }}{\rm{.587 }}{\rm{.114; }}{\rm{.596 }} - {\rm{.275 }} - {\rm{.321; }}{\rm{.212 }} - {\rm{.528 }}{\rm{.311}}} \right]{\rm{;}}\)

\(A = \left[ {\begin{array}{*{20}{c}}{.299}&{.587}&{.114}\\{.596}&{ - .275}&{ - .321}\\{.212}&{ - .528}&{.311}\end{array}} \right]\)

02

Obtain the inverse of matrix A

Compute theinverse of matrix A by using the MATLAB command shown below:

\(\begin{array}{l} > > {\rm{A}} = \left[ {{\rm{.299 }}{\rm{.587 }}{\rm{.114; }}{\rm{.596 }} - {\rm{.275 }} - {\rm{.321; }}{\rm{.212 }} - {\rm{.528 }}{\rm{.311}}} \right]{\rm{;}}\\ > > B = {\rm{A}}\^ - 1\end{array}\)

\(B = {A^{ - 1}} = \left[ {\begin{array}{*{20}{c}}{1.00308}&{0.95484}&{0.61785}\\{0.99677}&{ - 0.27070}&{ - 0.64478}\\{1.00849}&{ - 1.11048}&{1.6995}\end{array}} \right]\)

Thus, the required equation is \(\left[ {\begin{array}{*{20}{c}}R\\G\\B\end{array}} \right] = \left[ {\begin{array}{*{20}{c}}{1.00308}&{0.95484}&{0.61785}\\{0.99677}&{ - 0.27070}&{ - 0.64478}\\{1.00849}&{ - 1.11048}&{1.6995}\end{array}} \right]\left[ {\begin{array}{*{20}{c}}Y\\I\\Q\end{array}} \right]\).

One App. One Place for Learning.

All the tools & learning materials you need for study success - in one app.

Get started for free

Study anywhere. Anytime. Across all devices.

Sign-up for free