Skip to content

Commit 67f62da

Browse files
committed
Test ImageConverter::parse_parameters --list-cameras and --list-illuminants
Signed-off-by: Aleksandr Motsjonov <[email protected]>
1 parent f6ad40c commit 67f62da

File tree

5 files changed

+625
-0
lines changed

5 files changed

+625
-0
lines changed
Lines changed: 111 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,111 @@
1+
{
2+
"header": {
3+
"schema_version" : "0.1.0",
4+
"manufacturer" : "canon",
5+
"model" : "eos 5d mark ii",
6+
"catalog_number" : "camera_canon_eos_5d_mark_ii_0.1.0",
7+
"description" : "camera spectral sensitivity data",
8+
"document_creator" : "scitech",
9+
"unique_identifier" : "ddac1845-debf-44b6-9113-e4859165995a",
10+
"measurement_equipment" : null,
11+
"laboratory" : "scitech",
12+
"document_creation_date" : "2017-04-11T12:00:00Z",
13+
"comments" : "this is for rawtoaces software to convert RAW to aces",
14+
"license" : "Apache-2.0"
15+
},
16+
"spectral_data": {
17+
"units" : "relative",
18+
"reflection_geometry" : null,
19+
"transmission_geometry" : null,
20+
"bandwidth_FWHM" : null,
21+
"bandwidth_corrected" : null,
22+
"index": {
23+
"main": ["R", "G", "B"]
24+
},
25+
"data": {
26+
"main": {
27+
"380": [ 0.0354000000000, 0.0359000000000, 0.0334000000000 ],
28+
"385": [ 0.0325000000000, 0.0329000000000, 0.0327000000000 ],
29+
"390": [ 0.0295000000000, 0.0300000000000, 0.0320000000000 ],
30+
"395": [ 0.0234000000000, 0.0248000000000, 0.0299000000000 ],
31+
"400": [ 0.0173000000000, 0.0197000000000, 0.0279000000000 ],
32+
"405": [ 0.0167000000000, 0.0218000000000, 0.0870000000000 ],
33+
"410": [ 0.0162000000000, 0.0240000000000, 0.1461000000000 ],
34+
"415": [ 0.0171000000000, 0.0368000000000, 0.3299000000000 ],
35+
"420": [ 0.0181000000000, 0.0495000000000, 0.5138000000000 ],
36+
"425": [ 0.0160000000000, 0.0519000000000, 0.5756000000000 ],
37+
"430": [ 0.0139000000000, 0.0542000000000, 0.6375000000000 ],
38+
"435": [ 0.0132000000000, 0.0676000000000, 0.6833000000000 ],
39+
"440": [ 0.0125000000000, 0.0809000000000, 0.7291000000000 ],
40+
"445": [ 0.0116000000000, 0.0856000000000, 0.7736000000000 ],
41+
"450": [ 0.0107000000000, 0.0902000000000, 0.8180000000000 ],
42+
"455": [ 0.0108000000000, 0.1084000000000, 0.8347000000000 ],
43+
"460": [ 0.0109000000000, 0.1267000000000, 0.8515000000000 ],
44+
"465": [ 0.0107000000000, 0.2031000000000, 0.8425000000000 ],
45+
"470": [ 0.0105000000000, 0.2794000000000, 0.8336000000000 ],
46+
"475": [ 0.0116000000000, 0.4046000000000, 0.7770000000000 ],
47+
"480": [ 0.0126000000000, 0.5298000000000, 0.7204000000000 ],
48+
"485": [ 0.0122000000000, 0.5757000000000, 0.6666000000000 ],
49+
"490": [ 0.0118000000000, 0.6216000000000, 0.6129000000000 ],
50+
"495": [ 0.0156000000000, 0.7252000000000, 0.5315000000000 ],
51+
"500": [ 0.0195000000000, 0.8288000000000, 0.4501000000000 ],
52+
"505": [ 0.0296000000000, 0.8789000000000, 0.3852000000000 ],
53+
"510": [ 0.0397000000000, 0.9289000000000, 0.3204000000000 ],
54+
"515": [ 0.0655000000000, 0.9532000000000, 0.2443000000000 ],
55+
"520": [ 0.0912000000000, 0.9776000000000, 0.1682000000000 ],
56+
"525": [ 0.1290000000000, 0.9888000000000, 0.1296000000000 ],
57+
"530": [ 0.1667000000000, 1.0000000000000, 0.0910000000000 ],
58+
"535": [ 0.1660000000000, 0.9462000000000, 0.0717000000000 ],
59+
"540": [ 0.1654000000000, 0.8925000000000, 0.0524000000000 ],
60+
"545": [ 0.1570000000000, 0.8774000000000, 0.0438000000000 ],
61+
"550": [ 0.1487000000000, 0.8624000000000, 0.0351000000000 ],
62+
"555": [ 0.1652000000000, 0.8028000000000, 0.0283000000000 ],
63+
"560": [ 0.1817000000000, 0.7431000000000, 0.0216000000000 ],
64+
"565": [ 0.2369000000000, 0.6965000000000, 0.0189000000000 ],
65+
"570": [ 0.2920000000000, 0.6499000000000, 0.0163000000000 ],
66+
"575": [ 0.3631000000000, 0.5731000000000, 0.0147000000000 ],
67+
"580": [ 0.4343000000000, 0.4963000000000, 0.0131000000000 ],
68+
"585": [ 0.4628000000000, 0.4256000000000, 0.0119000000000 ],
69+
"590": [ 0.4914000000000, 0.3550000000000, 0.0107000000000 ],
70+
"595": [ 0.5025000000000, 0.2939000000000, 0.0102000000000 ],
71+
"600": [ 0.5136000000000, 0.2328000000000, 0.0098000000000 ],
72+
"605": [ 0.4774000000000, 0.1707000000000, 0.0088000000000 ],
73+
"610": [ 0.4413000000000, 0.1087000000000, 0.0079000000000 ],
74+
"615": [ 0.4119000000000, 0.0843000000000, 0.0074000000000 ],
75+
"620": [ 0.3824000000000, 0.0599000000000, 0.0068000000000 ],
76+
"625": [ 0.3479000000000, 0.0471000000000, 0.0069000000000 ],
77+
"630": [ 0.3134000000000, 0.0344000000000, 0.0069000000000 ],
78+
"635": [ 0.2808000000000, 0.0289000000000, 0.0072000000000 ],
79+
"640": [ 0.2482000000000, 0.0235000000000, 0.0075000000000 ],
80+
"645": [ 0.2119000000000, 0.0190000000000, 0.0077000000000 ],
81+
"650": [ 0.1757000000000, 0.0146000000000, 0.0078000000000 ],
82+
"655": [ 0.1561000000000, 0.0137000000000, 0.0080000000000 ],
83+
"660": [ 0.1366000000000, 0.0128000000000, 0.0082000000000 ],
84+
"665": [ 0.1093000000000, 0.0120000000000, 0.0076000000000 ],
85+
"670": [ 0.0820000000000, 0.0111000000000, 0.0070000000000 ],
86+
"675": [ 0.0592000000000, 0.0093000000000, 0.0062000000000 ],
87+
"680": [ 0.0365000000000, 0.0075000000000, 0.0054000000000 ],
88+
"685": [ 0.0230000000000, 0.0071000000000, 0.0056000000000 ],
89+
"690": [ 0.0095000000000, 0.0066000000000, 0.0059000000000 ],
90+
"695": [ 0.0086000000000, 0.0069000000000, 0.0063000000000 ],
91+
"700": [ 0.0076000000000, 0.0072000000000, 0.0067000000000 ],
92+
"705": [ 0.0073000000000, 0.0068000000000, 0.0065000000000 ],
93+
"710": [ 0.0070000000000, 0.0064000000000, 0.0064000000000 ],
94+
"715": [ 0.0070000000000, 0.0069000000000, 0.0068000000000 ],
95+
"720": [ 0.0070000000000, 0.0073000000000, 0.0073000000000 ],
96+
"725": [ 0.0061000000000, 0.0063000000000, 0.0063000000000 ],
97+
"730": [ 0.0052000000000, 0.0053000000000, 0.0053000000000 ],
98+
"735": [ 0.0042000000000, 0.0044000000000, 0.0044000000000 ],
99+
"740": [ 0.0033000000000, 0.0034000000000, 0.0034000000000 ],
100+
"745": [ 0.0024000000000, 0.0024000000000, 0.0024000000000 ],
101+
"750": [ 0.0015000000000, 0.0014000000000, 0.0014000000000 ],
102+
"755": [ 0.0017000000000, 0.0017000000000, 0.0016000000000 ],
103+
"760": [ 0.0019000000000, 0.0019000000000, 0.0018000000000 ],
104+
"765": [ 0.0021000000000, 0.0021000000000, 0.0021000000000 ],
105+
"770": [ 0.0023000000000, 0.0023000000000, 0.0023000000000 ],
106+
"775": [ 0.0025000000000, 0.0025000000000, 0.0025000000000 ],
107+
"780": [ 0.0027000000000, 0.0027000000000, 0.0027000000000 ]
108+
}
109+
}
110+
}
111+
}
Lines changed: 111 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,111 @@
1+
{
2+
"header": {
3+
"schema_version" : "0.1.0",
4+
"manufacturer" : "nikon",
5+
"model" : "d70",
6+
"catalog_number" : "camera_nikon_d70_0.1.0",
7+
"description" : "camera spectral sensitivity data",
8+
"document_creator" : "scitech",
9+
"unique_identifier" : "57733697-1626-4e37-8666-9323390c5004",
10+
"measurement_equipment" : null,
11+
"laboratory" : "scitech",
12+
"document_creation_date" : "2017-04-11T12:00:00Z",
13+
"comments" : "this is for rawtoaces software to convert RAW to aces",
14+
"license" : "Apache-2.0"
15+
},
16+
"spectral_data": {
17+
"units" : "relative",
18+
"reflection_geometry" : null,
19+
"transmission_geometry" : null,
20+
"bandwidth_FWHM" : null,
21+
"bandwidth_corrected" : null,
22+
"index": {
23+
"main": ["R", "G", "B"]
24+
},
25+
"data": {
26+
"main": {
27+
"380": [ 0.0295000000000, 0.0348000000000, 0.0320000000000 ],
28+
"385": [ 0.0262000000000, 0.0288000000000, 0.0399000000000 ],
29+
"390": [ 0.0228000000000, 0.0228000000000, 0.0479000000000 ],
30+
"395": [ 0.0192000000000, 0.0221000000000, 0.0934000000000 ],
31+
"400": [ 0.0156000000000, 0.0214000000000, 0.1389000000000 ],
32+
"405": [ 0.0132000000000, 0.0232000000000, 0.1966000000000 ],
33+
"410": [ 0.0108000000000, 0.0249000000000, 0.2544000000000 ],
34+
"415": [ 0.0101000000000, 0.0308000000000, 0.3124000000000 ],
35+
"420": [ 0.0095000000000, 0.0367000000000, 0.3704000000000 ],
36+
"425": [ 0.0093000000000, 0.0458000000000, 0.4286000000000 ],
37+
"430": [ 0.0091000000000, 0.0549000000000, 0.4868000000000 ],
38+
"435": [ 0.0099000000000, 0.0706000000000, 0.5615000000000 ],
39+
"440": [ 0.0108000000000, 0.0864000000000, 0.6361000000000 ],
40+
"445": [ 0.0105000000000, 0.1063000000000, 0.6993000000000 ],
41+
"450": [ 0.0102000000000, 0.1263000000000, 0.7625000000000 ],
42+
"455": [ 0.0093000000000, 0.1541000000000, 0.7922000000000 ],
43+
"460": [ 0.0084000000000, 0.1819000000000, 0.8218000000000 ],
44+
"465": [ 0.0093000000000, 0.2327000000000, 0.7868000000000 ],
45+
"470": [ 0.0103000000000, 0.2835000000000, 0.7517000000000 ],
46+
"475": [ 0.0119000000000, 0.3337000000000, 0.7141000000000 ],
47+
"480": [ 0.0134000000000, 0.3838000000000, 0.6765000000000 ],
48+
"485": [ 0.0136000000000, 0.3938000000000, 0.6128000000000 ],
49+
"490": [ 0.0138000000000, 0.4037000000000, 0.5492000000000 ],
50+
"495": [ 0.0174000000000, 0.4953000000000, 0.4580000000000 ],
51+
"500": [ 0.0210000000000, 0.5869000000000, 0.3667000000000 ],
52+
"505": [ 0.0257000000000, 0.6627000000000, 0.2945000000000 ],
53+
"510": [ 0.0304000000000, 0.7386000000000, 0.2224000000000 ],
54+
"515": [ 0.0463000000000, 0.8295000000000, 0.1597000000000 ],
55+
"520": [ 0.0621000000000, 0.9203000000000, 0.0970000000000 ],
56+
"525": [ 0.0717000000000, 0.9602000000000, 0.0673000000000 ],
57+
"530": [ 0.0813000000000, 1.0000000000000, 0.0375000000000 ],
58+
"535": [ 0.0633000000000, 0.9707000000000, 0.0273000000000 ],
59+
"540": [ 0.0453000000000, 0.9414000000000, 0.0171000000000 ],
60+
"545": [ 0.0363000000000, 0.9005000000000, 0.0141000000000 ],
61+
"550": [ 0.0274000000000, 0.8596000000000, 0.0110000000000 ],
62+
"555": [ 0.0276000000000, 0.8073000000000, 0.0082000000000 ],
63+
"560": [ 0.0277000000000, 0.7551000000000, 0.0053000000000 ],
64+
"565": [ 0.0532000000000, 0.6705000000000, 0.0043000000000 ],
65+
"570": [ 0.0787000000000, 0.5858000000000, 0.0034000000000 ],
66+
"575": [ 0.2393000000000, 0.4998000000000, 0.0036000000000 ],
67+
"580": [ 0.3999000000000, 0.4139000000000, 0.0037000000000 ],
68+
"585": [ 0.5019000000000, 0.3425000000000, 0.0031000000000 ],
69+
"590": [ 0.6040000000000, 0.2711000000000, 0.0024000000000 ],
70+
"595": [ 0.5805000000000, 0.2028000000000, 0.0024000000000 ],
71+
"600": [ 0.5571000000000, 0.1346000000000, 0.0024000000000 ],
72+
"605": [ 0.5098000000000, 0.0909000000000, 0.0026000000000 ],
73+
"610": [ 0.4625000000000, 0.0471000000000, 0.0027000000000 ],
74+
"615": [ 0.4267000000000, 0.0337000000000, 0.0024000000000 ],
75+
"620": [ 0.3909000000000, 0.0202000000000, 0.0021000000000 ],
76+
"625": [ 0.3517000000000, 0.0148000000000, 0.0020000000000 ],
77+
"630": [ 0.3124000000000, 0.0094000000000, 0.0019000000000 ],
78+
"635": [ 0.2716000000000, 0.0081000000000, 0.0021000000000 ],
79+
"640": [ 0.2308000000000, 0.0068000000000, 0.0023000000000 ],
80+
"645": [ 0.1931000000000, 0.0064000000000, 0.0028000000000 ],
81+
"650": [ 0.1555000000000, 0.0059000000000, 0.0033000000000 ],
82+
"655": [ 0.1383000000000, 0.0050000000000, 0.0029000000000 ],
83+
"660": [ 0.1211000000000, 0.0041000000000, 0.0024000000000 ],
84+
"665": [ 0.1002000000000, 0.0041000000000, 0.0022000000000 ],
85+
"670": [ 0.0793000000000, 0.0040000000000, 0.0021000000000 ],
86+
"675": [ 0.0675000000000, 0.0045000000000, 0.0024000000000 ],
87+
"680": [ 0.0558000000000, 0.0050000000000, 0.0026000000000 ],
88+
"685": [ 0.0449000000000, 0.0053000000000, 0.0028000000000 ],
89+
"690": [ 0.0340000000000, 0.0055000000000, 0.0030000000000 ],
90+
"695": [ 0.0277000000000, 0.0048000000000, 0.0024000000000 ],
91+
"700": [ 0.0214000000000, 0.0042000000000, 0.0018000000000 ],
92+
"705": [ 0.0183000000000, 0.0042000000000, 0.0021000000000 ],
93+
"710": [ 0.0153000000000, 0.0043000000000, 0.0023000000000 ],
94+
"715": [ 0.0114000000000, 0.0039000000000, 0.0026000000000 ],
95+
"720": [ 0.0075000000000, 0.0036000000000, 0.0029000000000 ],
96+
"725": [ 0.0064000000000, 0.0031000000000, 0.0025000000000 ],
97+
"730": [ 0.0054000000000, 0.0026000000000, 0.0021000000000 ],
98+
"735": [ 0.0043000000000, 0.0021000000000, 0.0017000000000 ],
99+
"740": [ 0.0033000000000, 0.0016000000000, 0.0013000000000 ],
100+
"745": [ 0.0022000000000, 0.0011000000000, 0.0009000000000 ],
101+
"750": [ 0.0012000000000, 0.0007000000000, 0.0006000000000 ],
102+
"755": [ 0.0012000000000, 0.0007000000000, 0.0006000000000 ],
103+
"760": [ 0.0012000000000, 0.0008000000000, 0.0007000000000 ],
104+
"765": [ 0.0012000000000, 0.0009000000000, 0.0008000000000 ],
105+
"770": [ 0.0013000000000, 0.0009000000000, 0.0009000000000 ],
106+
"775": [ 0.0013000000000, 0.0010000000000, 0.0009000000000 ],
107+
"780": [ 0.0013000000000, 0.0011000000000, 0.0010000000000 ]
108+
}
109+
}
110+
}
111+
}

0 commit comments

Comments
 (0)