Tasks: You are required to develop an Interactive Android application that graphs a CIE.xy chromaticity
Diagram. Displays the gamut of RGB color space and converts between XYZ to RGB values.
Introduction:
The CIE chromaticity diagram is an abstract 2D space where it is possible to map all color gamuts. Given below
are values for the x and y coordinates on the perimeter of the diagram.
x = [0.1756,0.1752,0.1748,0.1745,0.1741,0.1740,0.1738,0.1736,0.1733,0.1730,0.1726,0.1721,0.1714,0.1703,0.1689, 0.1669,0.1644,0.1611,0.1566,0.1510,0.1440,0.1355,0.1241,0.1096,0.0913,0.0687,0.0454,0.0235,0.0082,0.0039,0. 0139,0.0389,0.0743,0.1142,0.1547,0.1929,0.2296,0.2658,0.3016,0.3374,0.3731,0.4087,0.4441,0.4788,0.5125,0.5 448,0.5752,0.6029,0.6270,0.6482,0.6658,0.6801,0.6915,0.7006,0.7079,0.7140,0.7190,0.7230,0.7260,0.7283,0.73 00,0.7311,0.7320,0.7327,0.7334,0.7340,0.7344,0.7346,0.7347,0.7347,0.7347,0.7347,0.7347,0.7347,0.7347,0.734 7,0.7347,0.7347,0.7347,0.7347,0.7347,0.7347,0.7347,0.7347,0.7347,0.7347,0.7347,0.7347,0.7347,0.7347,0.7347 ,0.7347,0.7347,0.7347,0.7347];
y = [0.0053,0.0053,0.0052,0.0052,0.0050,0.0050,0.0049,0.0049,0.0048,0.0048,0.0048,0.0048,0.0051,0.0058,0.0069, 0.0086,0.0109,0.0138,0.0177,0.0227,0.0297,0.0399,0.0578,0.0868,0.1327,0.2007,0.2950,0.4127,0.5384,0.6548,0 .7502,0.8120,0.8338,0.8262,0.8059,0.7816,0.7543,0.7243,0.6923,0.6588,0.6245,0.5896,0.5547,0.5202,0.4866,0. 4544,0.4242,0.3965,0.3725,0.3514,0.3340,0.3197,0.3083,0.2993 ,0.2920,0.2859,0.2809,0.2769,0.2740,0.2717,0. 2700,0.2689,0.2680 ,0.2673,0.2666,0.2660,0.2656,0.2654,0.2653,0.2653,0.2653,0.2653,0.2653,0.2653,0.2653,0. 2653,0.2653,0.2653,0.2653,0.2653,0.2653,0.2653,0.2653,0.2653,0.2653,0.2653,0.2653,0.2653,0.2653,0.2653,0.2 653,0.2653,0.2653,0.2653,0.2653];
You can use these values to graph the (‘lE color space, project it onto the x÷y+z—l plane, and trace the
“horseshoe” shape of the diagram onto this plane by connecting the consecutive points defined by these xy values.
You can then put the colors into this diagram using the transformation matrix below to get the gamut of RG13
color space:
r 3.240 —1.537 —0.498 X
g — —0.969 1.876 0.042 y
b 0.056 —0.204 1.057 z
Accordingly, any color specified in RGB values can be converted into its xyz using:
X 0.412 0.358 0.180 r
y = 0.213 0.715 0.072 9
Z 0.019 0.119 0.950 b
Note that the above conversion between xyz and rgb values assumes that each of the value is wïthin
[OE0. 1.0]. i.e. {x.y,z,r,b,g) E 10.0,1.01.
Requirements
The program should be named as ‘ClExy” with a simply GUI to achieve the following functions and
interactions.
a. The application must have an easy to use and reasonably looking GUI
b. Graph the perimeter of CIE-xy chromaicity diagram in an image of size 480 (height) x 300
(width) pixels and display the image. Background of the image has to be set appropriately such
that the perimeter stands out.
c. Generate and display the gamut of R(i13 color space on top of the graphed perimeter of the
CIE-XY chromaticity diagram
d. Beneath the view of the CIE-xy Chromaticity diagram. provide conversion between RGB values
and XYZ values. i.e. Entering RGB or XYZ values, the corresponding XYZ or RGB values will be
calculated and displayed.
Debugging and Testing the Application
The application should be using the following settings
Company I)omaln: <your login>.csci366au2o.com
T%hlnlmIIm SDK: API 29: Android 10.0 (Q)
Test the application on the virtual device “Pixel 2 API 29”:
Hai-dware: Phone - Pixel 2, size 5.0”, resolution 1080x1920, density 42Odpi
System Software: Q, API 29, ABI x86, Target Android 10.0 (with Google APIs)
AVD Name: Pixel 2 API 29
CS 340 Milestone One Guidelines and Rubric Overview: For this assignment, you will implement the fundamental operations of create, read, update,
Retail Transaction Programming Project Project Requirements: Develop a program to emulate a purchase transaction at a retail store. This
7COM1028 Secure Systems Programming Referral Coursework: Secure
Create a GUI program that:Accepts the following from a user:Item NameItem QuantityItem PriceAllows the user to create a file to store the sales receip
CS 340 Final Project Guidelines and Rubric Overview The final project will encompass developing a web service using a software stack and impleme