########################################################################################################## # Daniel Chang # ColorLoader # Stanford PSYCH221 Final Project # XYZData.txt # # This dataset is a part of ColorLoader, a web application which allows the creation of RGB scenes # for color balancing. # # The data here was provided by Imageval's ISET utility # # This is the default CIE XYZ color matching function data for ColorLoader. The XYZ data cannot be uploaded # or changed, since it is constant. # # How the data is formated: # 0. Comments are at the very beginning, and each comment line is begun with a #. Comments are ignored # by the data parser. # # 1. The first line is "XYZ" and confirms this is the XYZ data # # 2. The second line is formatted as: NumElements, Wavelength_interval_in_nm, start_wavelength, end_wavelength # So 1,1,360,800 means there is only 1 data element (the XYZ spectrum), starting at 360 nm, ending at # 800 nm, and with intervals of 1 nm for data. # # 3. The next lines are the wavelength, R,G,B data for all wavelengths ##########################################################################################################XYZ,,, XYZ,,, 1,1,360,800 360,0,0,0 361,0,0,0 362,0,0,0 363,0,0,0 364,0,0,0 365,0,0,0 366,0,0,0 367,0,0,0 368,0,0,0 369,0,0,0 370,0.0004,0,0.0019 371,0.0005,0,0.0022 372,0.0005,0,0.0024 373,0.0006,0,0.0027 374,0.0007,0,0.0031 375,0.0007,0,0.0035 376,0.0008,0,0.004 377,0.001,0,0.0045 378,0.0011,0,0.0052 379,0.0012,0,0.0058 380,0.0014,0,0.0065 381,0.0015,0,0.0071 382,0.0016,0,0.0077 383,0.0018,0.0001,0.0085 384,0.002,0.0001,0.0094 385,0.0022,0.0001,0.0105 386,0.0025,0.0001,0.012 387,0.0029,0.0001,0.0137 388,0.0033,0.0001,0.0156 389,0.0038,0.0001,0.0177 390,0.0042,0.0001,0.0201 391,0.0048,0.0001,0.0225 392,0.0053,0.0002,0.0252 393,0.006,0.0002,0.0283 394,0.0067,0.0002,0.0319 395,0.0076,0.0002,0.0362 396,0.0088,0.0002,0.0414 397,0.01,0.0003,0.0475 398,0.0114,0.0003,0.0541 399,0.0129,0.0004,0.061 400,0.0143,0.0004,0.0679 401,0.0157,0.0004,0.0745 402,0.0171,0.0005,0.0814 403,0.0188,0.0005,0.0892 404,0.0207,0.0006,0.0985 405,0.0232,0.0006,0.1102 406,0.0262,0.0007,0.1246 407,0.0298,0.0008,0.1417 408,0.0339,0.0009,0.1613 409,0.0385,0.0011,0.1833 410,0.0435,0.0012,0.2074 411,0.049,0.0014,0.2337 412,0.055,0.0015,0.2626 413,0.0617,0.0017,0.2948 414,0.0692,0.0019,0.3308 415,0.0776,0.0022,0.3713 416,0.087,0.0025,0.4162 417,0.0972,0.0028,0.4655 418,0.1084,0.0031,0.5197 419,0.1208,0.0035,0.5795 420,0.1344,0.004,0.6456 421,0.1494,0.0045,0.7185 422,0.1654,0.0052,0.7967 423,0.182,0.0058,0.8778 424,0.1986,0.0065,0.9594 425,0.2148,0.0073,1.0391 426,0.2302,0.0081,1.1154 427,0.2449,0.0089,1.1885 428,0.2588,0.0098,1.2581 429,0.2718,0.0107,1.3239 430,0.2839,0.0116,1.3856 431,0.2949,0.0126,1.4426 432,0.3049,0.0136,1.4948 433,0.3138,0.0146,1.5422 434,0.3216,0.0157,1.5849 435,0.3285,0.0168,1.623 436,0.3344,0.018,1.6564 437,0.3392,0.0192,1.6853 438,0.3431,0.0205,1.7099 439,0.3461,0.0217,1.7304 440,0.3483,0.023,1.7471 441,0.3496,0.0243,1.76 442,0.3501,0.0256,1.7696 443,0.35,0.027,1.7763 444,0.3493,0.0284,1.7804 445,0.3481,0.0298,1.7826 446,0.3464,0.0313,1.783 447,0.3443,0.0329,1.7817 448,0.3418,0.0345,1.7792 449,0.3391,0.0362,1.7759 450,0.3362,0.038,1.7721 451,0.3332,0.0398,1.7683 452,0.33,0.0418,1.764 453,0.3266,0.0438,1.7589 454,0.3229,0.0458,1.7525 455,0.3187,0.048,1.7441 456,0.314,0.0502,1.7336 457,0.3089,0.0526,1.7209 458,0.3033,0.055,1.7059 459,0.2973,0.0575,1.6887 460,0.2908,0.06,1.6692 461,0.284,0.0626,1.6475 462,0.2767,0.0653,1.6234 463,0.2689,0.068,1.596 464,0.2604,0.0709,1.5645 465,0.2511,0.0739,1.5281 466,0.2408,0.077,1.4861 467,0.2299,0.0803,1.4395 468,0.2184,0.0837,1.3899 469,0.2068,0.0872,1.3387 470,0.1954,0.091,1.2876 471,0.1842,0.0949,1.2374 472,0.1733,0.099,1.1878 473,0.1627,0.1034,1.1388 474,0.1523,0.1079,1.0901 475,0.1421,0.1126,1.0419 476,0.1322,0.1175,0.9942 477,0.1226,0.1227,0.9473 478,0.1133,0.128,0.9015 479,0.1043,0.1335,0.8566 480,0.0956,0.139,0.813 481,0.0873,0.1447,0.7705 482,0.0793,0.1505,0.7294 483,0.0717,0.1565,0.6899 484,0.0646,0.1627,0.6521 485,0.058,0.1693,0.6162 486,0.0519,0.1762,0.5823 487,0.0463,0.1836,0.5504 488,0.0412,0.1913,0.5203 489,0.0364,0.1994,0.492 490,0.032,0.208,0.4652 491,0.0279,0.2171,0.4399 492,0.0241,0.2267,0.4162 493,0.0207,0.2369,0.3939 494,0.0175,0.2475,0.3729 495,0.0147,0.2586,0.3533 496,0.0122,0.2702,0.3349 497,0.0099,0.2823,0.3176 498,0.008,0.2951,0.3013 499,0.0063,0.3086,0.2862 500,0.0049,0.323,0.272 501,0.0038,0.3384,0.2588 502,0.0029,0.3547,0.2465 503,0.0024,0.3717,0.2348 504,0.0022,0.3893,0.2235 505,0.0024,0.4073,0.2123 506,0.0029,0.4256,0.2012 507,0.0038,0.4443,0.1901 508,0.0052,0.4634,0.1792 509,0.007,0.4829,0.1686 510,0.0093,0.503,0.1582 511,0.0121,0.5236,0.1481 512,0.0155,0.5445,0.1384 513,0.0195,0.5657,0.129 514,0.024,0.587,0.1201 515,0.0291,0.6082,0.1117 516,0.0348,0.6293,0.1039 517,0.0411,0.6503,0.0967 518,0.048,0.6709,0.09 519,0.0554,0.6908,0.0838 520,0.0633,0.71,0.0782 521,0.0716,0.7282,0.0732 522,0.0805,0.7455,0.0687 523,0.0897,0.762,0.0646 524,0.0995,0.7778,0.0608 525,0.1096,0.7932,0.0573 526,0.1202,0.8081,0.0539 527,0.1311,0.8225,0.0507 528,0.1424,0.8363,0.0478 529,0.1539,0.8495,0.0449 530,0.1655,0.862,0.0422 531,0.1773,0.8738,0.0395 532,0.1891,0.885,0.0369 533,0.2012,0.8955,0.0345 534,0.2134,0.9054,0.0321 535,0.2257,0.9149,0.0298 536,0.2383,0.9237,0.0277 537,0.2511,0.9321,0.0257 538,0.264,0.9399,0.0238 539,0.2771,0.9472,0.022 540,0.2904,0.954,0.0203 541,0.3039,0.9603,0.0187 542,0.3176,0.966,0.0172 543,0.3314,0.9713,0.0159 544,0.3455,0.976,0.0146 545,0.3597,0.9803,0.0134 546,0.3741,0.9841,0.0123 547,0.3886,0.9875,0.0113 548,0.4034,0.9903,0.0104 549,0.4183,0.9928,0.0095 550,0.4334,0.995,0.0087 551,0.4488,0.9967,0.008 552,0.4643,0.9981,0.0074 553,0.4801,0.9991,0.0068 554,0.496,0.9997,0.0062 555,0.5121,1,0.0057 556,0.5283,0.9999,0.0053 557,0.5447,0.9993,0.0049 558,0.5612,0.9983,0.0045 559,0.5778,0.9969,0.0042 560,0.5945,0.995,0.0039 561,0.6112,0.9926,0.0036 562,0.628,0.9897,0.0034 563,0.6448,0.9864,0.0031 564,0.6616,0.9827,0.0029 565,0.6784,0.9786,0.0027 566,0.6952,0.9741,0.0026 567,0.7121,0.9692,0.0024 568,0.7288,0.9639,0.0023 569,0.7455,0.9581,0.0022 570,0.7621,0.952,0.0021 571,0.7785,0.9455,0.002 572,0.7948,0.9385,0.0019 573,0.8109,0.9312,0.0019 574,0.8268,0.9235,0.0018 575,0.8425,0.9154,0.0018 576,0.8579,0.907,0.0018 577,0.8731,0.8983,0.0017 578,0.8879,0.8892,0.0017 579,0.9023,0.8798,0.0017 580,0.9163,0.87,0.0017 581,0.9298,0.8599,0.0016 582,0.9428,0.8494,0.0016 583,0.9553,0.8386,0.0015 584,0.9672,0.8276,0.0015 585,0.9786,0.8163,0.0014 586,0.9894,0.8048,0.0013 587,0.9995,0.7931,0.0013 588,1.0091,0.7812,0.0012 589,1.018,0.7692,0.0011 590,1.0263,0.757,0.0011 591,1.034,0.7448,0.0011 592,1.041,0.7324,0.001 593,1.0472,0.72,0.001 594,1.0525,0.7075,0.001 595,1.0567,0.6949,0.001 596,1.0598,0.6822,0.001 597,1.0618,0.6695,0.0009 598,1.0628,0.6567,0.0009 599,1.0629,0.6438,0.0008 600,1.0622,0.631,0.0008 601,1.0607,0.6182,0.0008 602,1.0584,0.6053,0.0007 603,1.0552,0.5925,0.0007 604,1.051,0.5796,0.0006 605,1.0456,0.5668,0.0006 606,1.039,0.554,0.0005 607,1.0314,0.5411,0.0005 608,1.0227,0.5284,0.0004 609,1.013,0.5156,0.0004 610,1.0026,0.503,0.0003 611,0.9914,0.4905,0.0003 612,0.9793,0.478,0.0003 613,0.9665,0.4657,0.0003 614,0.9528,0.4534,0.0003 615,0.9384,0.4412,0.0002 616,0.9232,0.4291,0.0002 617,0.9072,0.417,0.0002 618,0.8905,0.405,0.0002 619,0.8729,0.393,0.0002 620,0.8544,0.381,0.0002 621,0.8351,0.3689,0.0002 622,0.8149,0.3568,0.0002 623,0.7942,0.3448,0.0001 624,0.773,0.3328,0.0001 625,0.7514,0.321,0.0001 626,0.7296,0.3093,0.0001 627,0.7076,0.2979,0.0001 628,0.6856,0.2866,0.0001 629,0.6638,0.2756,0.0001 630,0.6424,0.265,0 631,0.6215,0.2548,0 632,0.6011,0.2449,0 633,0.5811,0.2353,0 634,0.5614,0.2261,0 635,0.5419,0.217,0 636,0.5226,0.2082,0 637,0.5035,0.1995,0 638,0.4847,0.1912,0 639,0.4662,0.183,0 640,0.4479,0.175,0 641,0.4299,0.1672,0 642,0.4121,0.1596,0 643,0.3946,0.1523,0 644,0.3775,0.1451,0 645,0.3608,0.1382,0 646,0.3445,0.1315,0 647,0.3285,0.125,0 648,0.313,0.1188,0 649,0.298,0.1128,0 650,0.2835,0.107,0 651,0.2695,0.1015,0 652,0.2561,0.0962,0 653,0.2432,0.0911,0 654,0.2307,0.0863,0 655,0.2187,0.0816,0 656,0.2071,0.0771,0 657,0.1959,0.0728,0 658,0.1852,0.0687,0 659,0.1748,0.0648,0 660,0.1649,0.061,0 661,0.1554,0.0574,0 662,0.1462,0.054,0 663,0.1375,0.0507,0 664,0.1291,0.0475,0 665,0.1212,0.0446,0 666,0.1136,0.0418,0 667,0.1065,0.0391,0 668,0.0997,0.0366,0 669,0.0933,0.0342,0 670,0.0874,0.032,0 671,0.0819,0.03,0 672,0.0768,0.0281,0 673,0.0721,0.0263,0 674,0.0677,0.0247,0 675,0.0636,0.0232,0 676,0.0598,0.0218,0 677,0.0563,0.0205,0 678,0.053,0.0193,0 679,0.0498,0.0181,0 680,0.0468,0.017,0 681,0.0438,0.0159,0 682,0.0409,0.0148,0 683,0.0381,0.0138,0 684,0.0354,0.0128,0 685,0.0329,0.0119,0 686,0.0306,0.0111,0 687,0.0284,0.0103,0 688,0.0263,0.0095,0 689,0.0245,0.0088,0 690,0.0227,0.0082,0 691,0.0211,0.0076,0 692,0.0196,0.0071,0 693,0.0182,0.0066,0 694,0.017,0.0061,0 695,0.0158,0.0057,0 696,0.0148,0.0053,0 697,0.0138,0.005,0 698,0.0129,0.0047,0 699,0.0121,0.0044,0 700,0.0114,0.0041,0 701,0.0106,0.0038,0 702,0.0099,0.0036,0 703,0.0093,0.0034,0 704,0.0087,0.0031,0 705,0.0081,0.0029,0 706,0.0076,0.0027,0 707,0.0071,0.0026,0 708,0.0066,0.0024,0 709,0.0062,0.0022,0 710,0.0058,0.0021,0 711,0.0054,0.002,0 712,0.0051,0.0018,0 713,0.0047,0.0017,0 714,0.0044,0.0016,0 715,0.0041,0.0015,0 716,0.0038,0.0014,0 717,0.0036,0.0013,0 718,0.0033,0.0012,0 719,0.0031,0.0011,0 720,0.0029,0.001,0 721,0.0027,0.001,0 722,0.0025,0.0009,0 723,0.0024,0.0009,0 724,0.0022,0.0008,0 725,0.002,0.0007,0 726,0.0019,0.0007,0 727,0.0018,0.0006,0 728,0.0017,0.0006,0 729,0.0015,0.0006,0 730,0.0014,0.0005,0 731,0,0,0 732,0,0,0 733,0,0,0 734,0,0,0 735,0,0,0 736,0,0,0 737,0,0,0 738,0,0,0 739,0,0,0 740,0,0,0 741,0,0,0 742,0,0,0 743,0,0,0 744,0,0,0 745,0,0,0 746,0,0,0 747,0,0,0 748,0,0,0 749,0,0,0 750,0,0,0 751,0,0,0 752,0,0,0 753,0,0,0 754,0,0,0 755,0,0,0 756,0,0,0 757,0,0,0 758,0,0,0 759,0,0,0 760,0,0,0 761,0,0,0 762,0,0,0 763,0,0,0 764,0,0,0 765,0,0,0 766,0,0,0 767,0,0,0 768,0,0,0 769,0,0,0 770,0,0,0 771,0,0,0 772,0,0,0 773,0,0,0 774,0,0,0 775,0,0,0 776,0,0,0 777,0,0,0 778,0,0,0 779,0,0,0 780,0,0,0 781,0,0,0 782,0,0,0 783,0,0,0 784,0,0,0 785,0,0,0 786,0,0,0 787,0,0,0 788,0,0,0 789,0,0,0 790,0,0,0 791,0,0,0 792,0,0,0 793,0,0,0 794,0,0,0 795,0,0,0 796,0,0,0 797,0,0,0 798,0,0,0 799,0,0,0 800,0,0,0