logo Use CA10RAM to get 10%* Discount.
Order Nowlogo
(5/5)

You are required lo 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

INSTRUCTIONS TO CANDIDATES
ANSWER ALL QUESTIONS

Tasks: You are required lo 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 chroniaticity diagram

d. Beneath the view of the CIE-xy Chromaticity diagram. provide a 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

Systemit Software: Q, API 29, ABI x86, Target Android 10.0 (with Google APIs)

AVD Name: Pixel 2 API 29

 

(5/5)
Attachments:

Related Questions

. Introgramming & Unix Fall 2018, CRN 44882, Oakland University Homework Assignment 6 - Using Arrays and Functions in C

DescriptionIn this final assignment, the students will demonstrate their ability to apply two ma

. The standard path finding involves finding the (shortest) path from an origin to a destination, typically on a map. This is an

Path finding involves finding a path from A to B. Typically we want the path to have certain properties,such as being the shortest or to avoid going t

. Develop a program to emulate a purchase transaction at a retail store. This program will have two classes, a LineItem class and a Transaction class. The LineItem class will represent an individual

Develop a program to emulate a purchase transaction at a retail store. Thisprogram will have two classes, a LineItem class and a Transaction class. Th

. SeaPort Project series For this set of projects for the course, we wish to simulate some of the aspects of a number of Sea Ports. Here are the classes and their instance variables we wish to define:

1 Project 1 Introduction - the SeaPort Project series For this set of projects for the course, we wish to simulate some of the aspects of a number of

. Project 2 Introduction - the SeaPort Project series For this set of projects for the course, we wish to simulate some of the aspects of a number of Sea Ports. Here are the classes and their instance variables we wish to define:

1 Project 2 Introduction - the SeaPort Project series For this set of projects for the course, we wish to simulate some of the aspects of a number of

Ask This Question To Be Solved By Our ExpertsGet A+ Grade Solution Guaranteed

expert
Um e HaniScience

897 Answers

Hire Me
expert
Muhammad Ali HaiderFinance

897 Answers

Hire Me
expert
Husnain SaeedComputer science

967 Answers

Hire Me
expert
Atharva PatilComputer science

660 Answers

Hire Me
March
January
February
March
April
May
June
July
August
September
October
November
December
2025
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
SunMonTueWedThuFriSat
23
24
25
26
27
28
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
1
2
3
4
5
00:00
00:30
01:00
01:30
02:00
02:30
03:00
03:30
04:00
04:30
05:00
05:30
06:00
06:30
07:00
07:30
08:00
08:30
09:00
09:30
10:00
10:30
11:00
11:30
12:00
12:30
13:00
13:30
14:00
14:30
15:00
15:30
16:00
16:30
17:00
17:30
18:00
18:30
19:00
19:30
20:00
20:30
21:00
21:30
22:00
22:30
23:00
23:30