Commit 98f134ba authored by Florian Douziech's avatar Florian Douziech
Browse files

compute LUTs for the PNEO Basic

parent 548e7e2a
Pipeline #11187 canceled with stages
in 10 seconds
......@@ -31,7 +31,7 @@ SolarIrradiance 1553.6
SpectralSensitivity LUT1D.DIM0.SIZE = 255
LUT1D.DIM0.ORIGIN = 0
LUT1D.DIM0.SPACING = 1
LUT1D.ARRAY = 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
LUT1D.ARRAY = 1 17.0157 33.0314 49.0471 65.0627 81.0784 97.0941 113.11 129.125 145.141 161.157 177.173 193.188 209.204 225.22 241.235 257.251 273.267 289.282 305.298 321.314 337.329 353.345 369.361 385.376 401.392 417.408 433.424 449.439 465.455 481.471 497.486 513.502 529.518 545.533 561.549 577.565 593.58 609.596 625.612 641.627 657.643 673.659 689.675 705.69 721.706 737.722 753.737 769.753 785.769 801.784 817.8 833.816 849.831 865.847 881.863 897.878 913.894 929.91 945.925 961.941 977.957 993.973 1009.99 1026 1042.02 1058.04 1074.05 1090.07 1106.08 1122.1 1138.11 1154.13 1170.15 1186.16 1202.18 1218.19 1234.21 1250.22 1266.24 1282.25 1298.27 1314.29 1330.3 1346.32 1362.33 1378.35 1394.36 1410.38 1426.4 1442.41 1458.43 1474.44 1490.46 1506.47 1522.49 1538.51 1554.52 1570.54 1586.55 1602.57 1618.58 1634.6 1650.62 1666.63 1682.65 1698.66 1714.68 1730.69 1746.71 1762.73 1778.74 1794.76 1810.77 1826.79 1842.8 1858.82 1874.84 1890.85 1906.87 1922.88 1938.9 1954.91 1970.93 1986.95 2002.96 2018.98 2034.99 2051.01 2067.02 2083.04 2099.05 2115.07 2131.09 2147.1 2163.12 2179.13 2195.15 2211.16 2227.18 2243.2 2259.21 2275.23 2291.24 2307.26 2323.27 2339.29 2355.31 2371.32 2387.34 2403.35 2419.37 2435.38 2451.4 2467.42 2483.43 2499.45 2515.46 2531.48 2547.49 2563.51 2579.53 2595.54 2611.56 2627.57 2643.59 2659.6 2675.62 2691.64 2707.65 2723.67 2739.68 2755.7 2771.71 2787.73 2803.75 2819.76 2835.78 2851.79 2867.81 2883.82 2899.84 2915.85 2931.87 2947.89 2963.9 2979.92 2995.93 3011.95 3027.96 3043.98 3060 3076.01 3092.03 3108.04 3124.06 3140.07 3156.09 3172.11 3188.12 3204.14 3220.15 3236.17 3252.18 3268.2 3284.22 3300.23 3316.25 3332.26 3348.28 3364.29 3380.31 3396.33 3412.34 3428.36 3444.37 3460.39 3476.4 3492.42 3508.44 3524.45 3540.47 3556.48 3572.5 3588.51 3604.53 3620.55 3636.56 3652.58 3668.59 3684.61 3700.62 3716.64 3732.65 3748.67 3764.69 3780.7 3796.72 3812.73 3828.75 3844.76 3860.78 3876.8 3892.81 3908.83 3924.84 3940.86 3956.87 3972.89 3988.91 4004.92 4020.94 4036.95 4052.97 4068.98 4085
BandName G
EnhancedBandName B2
PhysicalGain 7.338
......@@ -40,7 +40,7 @@ SolarIrradiance 1816.2
SpectralSensitivity LUT1D.DIM0.SIZE = 255
LUT1D.DIM0.ORIGIN = 0
LUT1D.DIM0.SPACING = 1
LUT1D.ARRAY = 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
LUT1D.ARRAY = 1 16.9686 32.9373 48.9059 64.8745 80.8431 96.8118 112.78 128.749 144.718 160.686 176.655 192.624 208.592 224.561 240.529 256.498 272.467 288.435 304.404 320.373 336.341 352.31 368.278 384.247 400.216 416.184 432.153 448.122 464.09 480.059 496.027 511.996 527.965 543.933 559.902 575.871 591.839 607.808 623.776 639.745 655.714 671.682 687.651 703.62 719.588 735.557 751.525 767.494 783.463 799.431 815.4 831.369 847.337 863.306 879.275 895.243 911.212 927.18 943.149 959.118 975.086 991.055 1007.02 1022.99 1038.96 1054.93 1070.9 1086.87 1102.84 1118.8 1134.77 1150.74 1166.71 1182.68 1198.65 1214.62 1230.58 1246.55 1262.52 1278.49 1294.46 1310.43 1326.4 1342.36 1358.33 1374.3 1390.27 1406.24 1422.21 1438.18 1454.15 1470.11 1486.08 1502.05 1518.02 1533.99 1549.96 1565.93 1581.89 1597.86 1613.83 1629.8 1645.77 1661.74 1677.71 1693.67 1709.64 1725.61 1741.58 1757.55 1773.52 1789.49 1805.45 1821.42 1837.39 1853.36 1869.33 1885.3 1901.27 1917.24 1933.2 1949.17 1965.14 1981.11 1997.08 2013.05 2029.02 2044.98 2060.95 2076.92 2092.89 2108.86 2124.83 2140.8 2156.76 2172.73 2188.7 2204.67 2220.64 2236.61 2252.58 2268.55 2284.51 2300.48 2316.45 2332.42 2348.39 2364.36 2380.33 2396.29 2412.26 2428.23 2444.2 2460.17 2476.14 2492.11 2508.07 2524.04 2540.01 2555.98 2571.95 2587.92 2603.89 2619.85 2635.82 2651.79 2667.76 2683.73 2699.7 2715.67 2731.64 2747.6 2763.57 2779.54 2795.51 2811.48 2827.45 2843.42 2859.38 2875.35 2891.32 2907.29 2923.26 2939.23 2955.2 2971.16 2987.13 3003.1 3019.07 3035.04 3051.01 3066.98 3082.95 3098.91 3114.88 3130.85 3146.82 3162.79 3178.76 3194.73 3210.69 3226.66 3242.63 3258.6 3274.57 3290.54 3306.51 3322.47 3338.44 3354.41 3370.38 3386.35 3402.32 3418.29 3434.25 3450.22 3466.19 3482.16 3498.13 3514.1 3530.07 3546.04 3562 3577.97 3593.94 3609.91 3625.88 3641.85 3657.82 3673.78 3689.75 3705.72 3721.69 3737.66 3753.63 3769.6 3785.56 3801.53 3817.5 3833.47 3849.44 3865.41 3881.38 3897.35 3913.31 3929.28 3945.25 3961.22 3977.19 3993.16 4009.13 4025.09 4041.06 4057.03 4073
BandName B
EnhancedBandName B1
PhysicalGain 6.6
......@@ -49,7 +49,7 @@ SolarIrradiance 1972.1
SpectralSensitivity LUT1D.DIM0.SIZE = 255
LUT1D.DIM0.ORIGIN = 0
LUT1D.DIM0.SPACING = 1
LUT1D.ARRAY = 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
LUT1D.ARRAY = 1 16.9255 32.851 48.7765 64.702 80.6275 96.5529 112.478 128.404 144.329 160.255 176.18 192.106 208.031 223.957 239.882 255.808 271.733 287.659 303.584 319.51 335.435 351.361 367.286 383.212 399.137 415.063 430.988 446.914 462.839 478.765 494.69 510.616 526.541 542.467 558.392 574.318 590.243 606.169 622.094 638.02 653.945 669.871 685.796 701.722 717.647 733.573 749.498 765.424 781.349 797.275 813.2 829.125 845.051 860.976 876.902 892.827 908.753 924.678 940.604 956.529 972.455 988.38 1004.31 1020.23 1036.16 1052.08 1068.01 1083.93 1099.86 1115.78 1131.71 1147.64 1163.56 1179.49 1195.41 1211.34 1227.26 1243.19 1259.11 1275.04 1290.96 1306.89 1322.82 1338.74 1354.67 1370.59 1386.52 1402.44 1418.37 1434.29 1450.22 1466.15 1482.07 1498 1513.92 1529.85 1545.77 1561.7 1577.62 1593.55 1609.47 1625.4 1641.33 1657.25 1673.18 1689.1 1705.03 1720.95 1736.88 1752.8 1768.73 1784.65 1800.58 1816.51 1832.43 1848.36 1864.28 1880.21 1896.13 1912.06 1927.98 1943.91 1959.84 1975.76 1991.69 2007.61 2023.54 2039.46 2055.39 2071.31 2087.24 2103.16 2119.09 2135.02 2150.94 2166.87 2182.79 2198.72 2214.64 2230.57 2246.49 2262.42 2278.35 2294.27 2310.2 2326.12 2342.05 2357.97 2373.9 2389.82 2405.75 2421.67 2437.6 2453.53 2469.45 2485.38 2501.3 2517.23 2533.15 2549.08 2565 2580.93 2596.85 2612.78 2628.71 2644.63 2660.56 2676.48 2692.41 2708.33 2724.26 2740.18 2756.11 2772.04 2787.96 2803.89 2819.81 2835.74 2851.66 2867.59 2883.51 2899.44 2915.36 2931.29 2947.22 2963.14 2979.07 2994.99 3010.92 3026.84 3042.77 3058.69 3074.62 3090.55 3106.47 3122.4 3138.32 3154.25 3170.17 3186.1 3202.02 3217.95 3233.87 3249.8 3265.73 3281.65 3297.58 3313.5 3329.43 3345.35 3361.28 3377.2 3393.13 3409.05 3424.98 3440.91 3456.83 3472.76 3488.68 3504.61 3520.53 3536.46 3552.38 3568.31 3584.24 3600.16 3616.09 3632.01 3647.94 3663.86 3679.79 3695.71 3711.64 3727.56 3743.49 3759.42 3775.34 3791.27 3807.19 3823.12 3839.04 3854.97 3870.89 3886.82 3902.75 3918.67 3934.6 3950.52 3966.45 3982.37 3998.3 4014.22 4030.15 4046.07 4062
BandName NIR
EnhancedBandName B4
PhysicalGain 12.089
......@@ -58,7 +58,7 @@ SolarIrradiance 1059.7
SpectralSensitivity LUT1D.DIM0.SIZE = 255
LUT1D.DIM0.ORIGIN = 0
LUT1D.DIM0.SPACING = 1
LUT1D.ARRAY = 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
LUT1D.ARRAY = 1 17.0392 33.0784 49.1176 65.1569 81.1961 97.2353 113.275 129.314 145.353 161.392 177.431 193.471 209.51 225.549 241.588 257.627 273.667 289.706 305.745 321.784 337.824 353.863 369.902 385.941 401.98 418.02 434.059 450.098 466.137 482.176 498.216 514.255 530.294 546.333 562.373 578.412 594.451 610.49 626.529 642.569 658.608 674.647 690.686 706.725 722.765 738.804 754.843 770.882 786.922 802.961 819 835.039 851.078 867.118 883.157 899.196 915.235 931.275 947.314 963.353 979.392 995.431 1011.47 1027.51 1043.55 1059.59 1075.63 1091.67 1107.71 1123.75 1139.78 1155.82 1171.86 1187.9 1203.94 1219.98 1236.02 1252.06 1268.1 1284.14 1300.18 1316.22 1332.25 1348.29 1364.33 1380.37 1396.41 1412.45 1428.49 1444.53 1460.57 1476.61 1492.65 1508.69 1524.73 1540.76 1556.8 1572.84 1588.88 1604.92 1620.96 1637 1653.04 1669.08 1685.12 1701.16 1717.2 1733.24 1749.27 1765.31 1781.35 1797.39 1813.43 1829.47 1845.51 1861.55 1877.59 1893.63 1909.67 1925.71 1941.75 1957.78 1973.82 1989.86 2005.9 2021.94 2037.98 2054.02 2070.06 2086.1 2102.14 2118.18 2134.22 2150.25 2166.29 2182.33 2198.37 2214.41 2230.45 2246.49 2262.53 2278.57 2294.61 2310.65 2326.69 2342.73 2358.76 2374.8 2390.84 2406.88 2422.92 2438.96 2455 2471.04 2487.08 2503.12 2519.16 2535.2 2551.24 2567.27 2583.31 2599.35 2615.39 2631.43 2647.47 2663.51 2679.55 2695.59 2711.63 2727.67 2743.71 2759.75 2775.78 2791.82 2807.86 2823.9 2839.94 2855.98 2872.02 2888.06 2904.1 2920.14 2936.18 2952.22 2968.25 2984.29 3000.33 3016.37 3032.41 3048.45 3064.49 3080.53 3096.57 3112.61 3128.65 3144.69 3160.73 3176.76 3192.8 3208.84 3224.88 3240.92 3256.96 3273 3289.04 3305.08 3321.12 3337.16 3353.2 3369.24 3385.27 3401.31 3417.35 3433.39 3449.43 3465.47 3481.51 3497.55 3513.59 3529.63 3545.67 3561.71 3577.75 3593.78 3609.82 3625.86 3641.9 3657.94 3673.98 3690.02 3706.06 3722.1 3738.14 3754.18 3770.22 3786.25 3802.29 3818.33 3834.37 3850.41 3866.45 3882.49 3898.53 3914.57 3930.61 3946.65 3962.69 3978.73 3994.76 4010.8 4026.84 4042.88 4058.92 4074.96 4091
BandName RE
EnhancedBandName B6
PhysicalGain 9.955
......@@ -67,7 +67,7 @@ SolarIrradiance 1350.7
SpectralSensitivity LUT1D.DIM0.SIZE = 255
LUT1D.DIM0.ORIGIN = 0
LUT1D.DIM0.SPACING = 1
LUT1D.ARRAY = 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
LUT1D.ARRAY = 1 17.0353 33.0706 49.1059 65.1412 81.1765 97.2118 113.247 129.282 145.318 161.353 177.388 193.424 209.459 225.494 241.529 257.565 273.6 289.635 305.671 321.706 337.741 353.776 369.812 385.847 401.882 417.918 433.953 449.988 466.024 482.059 498.094 514.129 530.165 546.2 562.235 578.271 594.306 610.341 626.376 642.412 658.447 674.482 690.518 706.553 722.588 738.624 754.659 770.694 786.729 802.765 818.8 834.835 850.871 866.906 882.941 898.976 915.012 931.047 947.082 963.118 979.153 995.188 1011.22 1027.26 1043.29 1059.33 1075.36 1091.4 1107.44 1123.47 1139.51 1155.54 1171.58 1187.61 1203.65 1219.68 1235.72 1251.75 1267.79 1283.82 1299.86 1315.89 1331.93 1347.96 1364 1380.04 1396.07 1412.11 1428.14 1444.18 1460.21 1476.25 1492.28 1508.32 1524.35 1540.39 1556.42 1572.46 1588.49 1604.53 1620.56 1636.6 1652.64 1668.67 1684.71 1700.74 1716.78 1732.81 1748.85 1764.88 1780.92 1796.95 1812.99 1829.02 1845.06 1861.09 1877.13 1893.16 1909.2 1925.24 1941.27 1957.31 1973.34 1989.38 2005.41 2021.45 2037.48 2053.52 2069.55 2085.59 2101.62 2117.66 2133.69 2149.73 2165.76 2181.8 2197.84 2213.87 2229.91 2245.94 2261.98 2278.01 2294.05 2310.08 2326.12 2342.15 2358.19 2374.22 2390.26 2406.29 2422.33 2438.36 2454.4 2470.44 2486.47 2502.51 2518.54 2534.58 2550.61 2566.65 2582.68 2598.72 2614.75 2630.79 2646.82 2662.86 2678.89 2694.93 2710.96 2727 2743.04 2759.07 2775.11 2791.14 2807.18 2823.21 2839.25 2855.28 2871.32 2887.35 2903.39 2919.42 2935.46 2951.49 2967.53 2983.56 2999.6 3015.64 3031.67 3047.71 3063.74 3079.78 3095.81 3111.85 3127.88 3143.92 3159.95 3175.99 3192.02 3208.06 3224.09 3240.13 3256.16 3272.2 3288.24 3304.27 3320.31 3336.34 3352.38 3368.41 3384.45 3400.48 3416.52 3432.55 3448.59 3464.62 3480.66 3496.69 3512.73 3528.76 3544.8 3560.84 3576.87 3592.91 3608.94 3624.98 3641.01 3657.05 3673.08 3689.12 3705.15 3721.19 3737.22 3753.26 3769.29 3785.33 3801.36 3817.4 3833.44 3849.47 3865.51 3881.54 3897.58 3913.61 3929.65 3945.68 3961.72 3977.75 3993.79 4009.82 4025.86 4041.89 4057.93 4073.96 4090
BandName DB
EnhancedBandName B5
PhysicalGain 8.039
......@@ -76,4 +76,4 @@ SolarIrradiance 1787.4
SpectralSensitivity LUT1D.DIM0.SIZE = 255
LUT1D.DIM0.ORIGIN = 0
LUT1D.DIM0.SPACING = 1
LUT1D.ARRAY = 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
LUT1D.ARRAY = 1 16.7843 32.5686 48.3529 64.1373 79.9216 95.7059 111.49 127.275 143.059 158.843 174.627 190.412 206.196 221.98 237.765 253.549 269.333 285.118 300.902 316.686 332.471 348.255 364.039 379.824 395.608 411.392 427.176 442.961 458.745 474.529 490.314 506.098 521.882 537.667 553.451 569.235 585.02 600.804 616.588 632.373 648.157 663.941 679.725 695.51 711.294 727.078 742.863 758.647 774.431 790.216 806 821.784 837.569 853.353 869.137 884.922 900.706 916.49 932.275 948.059 963.843 979.627 995.412 1011.2 1026.98 1042.76 1058.55 1074.33 1090.12 1105.9 1121.69 1137.47 1153.25 1169.04 1184.82 1200.61 1216.39 1232.18 1247.96 1263.75 1279.53 1295.31 1311.1 1326.88 1342.67 1358.45 1374.24 1390.02 1405.8 1421.59 1437.37 1453.16 1468.94 1484.73 1500.51 1516.29 1532.08 1547.86 1563.65 1579.43 1595.22 1611 1626.78 1642.57 1658.35 1674.14 1689.92 1705.71 1721.49 1737.27 1753.06 1768.84 1784.63 1800.41 1816.2 1831.98 1847.76 1863.55 1879.33 1895.12 1910.9 1926.69 1942.47 1958.25 1974.04 1989.82 2005.61 2021.39 2037.18 2052.96 2068.75 2084.53 2100.31 2116.1 2131.88 2147.67 2163.45 2179.24 2195.02 2210.8 2226.59 2242.37 2258.16 2273.94 2289.73 2305.51 2321.29 2337.08 2352.86 2368.65 2384.43 2400.22 2416 2431.78 2447.57 2463.35 2479.14 2494.92 2510.71 2526.49 2542.27 2558.06 2573.84 2589.63 2605.41 2621.2 2636.98 2652.76 2668.55 2684.33 2700.12 2715.9 2731.69 2747.47 2763.25 2779.04 2794.82 2810.61 2826.39 2842.18 2857.96 2873.75 2889.53 2905.31 2921.1 2936.88 2952.67 2968.45 2984.24 3000.02 3015.8 3031.59 3047.37 3063.16 3078.94 3094.73 3110.51 3126.29 3142.08 3157.86 3173.65 3189.43 3205.22 3221 3236.78 3252.57 3268.35 3284.14 3299.92 3315.71 3331.49 3347.27 3363.06 3378.84 3394.63 3410.41 3426.2 3441.98 3457.76 3473.55 3489.33 3505.12 3520.9 3536.69 3552.47 3568.25 3584.04 3599.82 3615.61 3631.39 3647.18 3662.96 3678.75 3694.53 3710.31 3726.1 3741.88 3757.67 3773.45 3789.24 3805.02 3820.8 3836.59 3852.37 3868.16 3883.94 3899.73 3915.51 3931.29 3947.08 3962.86 3978.65 3994.43 4010.22 4026
......@@ -30,4 +30,4 @@ SolarIrradiance 1569.5
SpectralSensitivity LUT1D.DIM0.SIZE = 255
LUT1D.DIM0.ORIGIN = 0
LUT1D.DIM0.SPACING = 1
LUT1D.ARRAY = 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
LUT1D.ARRAY = 1 17.051 33.102 49.1529 65.2039 81.2549 97.3059 113.357 129.408 145.459 161.51 177.561 193.612 209.663 225.714 241.765 257.816 273.867 289.918 305.969 322.02 338.071 354.122 370.173 386.224 402.275 418.325 434.376 450.427 466.478 482.529 498.58 514.631 530.682 546.733 562.784 578.835 594.886 610.937 626.988 643.039 659.09 675.141 691.192 707.243 723.294 739.345 755.396 771.447 787.498 803.549 819.6 835.651 851.702 867.753 883.804 899.855 915.906 931.957 948.008 964.059 980.11 996.161 1012.21 1028.26 1044.31 1060.36 1076.42 1092.47 1108.52 1124.57 1140.62 1156.67 1172.72 1188.77 1204.82 1220.87 1236.93 1252.98 1269.03 1285.08 1301.13 1317.18 1333.23 1349.28 1365.33 1381.38 1397.44 1413.49 1429.54 1445.59 1461.64 1477.69 1493.74 1509.79 1525.84 1541.89 1557.95 1574 1590.05 1606.1 1622.15 1638.2 1654.25 1670.3 1686.35 1702.4 1718.45 1734.51 1750.56 1766.61 1782.66 1798.71 1814.76 1830.81 1846.86 1862.91 1878.96 1895.02 1911.07 1927.12 1943.17 1959.22 1975.27 1991.32 2007.37 2023.42 2039.47 2055.53 2071.58 2087.63 2103.68 2119.73 2135.78 2151.83 2167.88 2183.93 2199.98 2216.04 2232.09 2248.14 2264.19 2280.24 2296.29 2312.34 2328.39 2344.44 2360.49 2376.55 2392.6 2408.65 2424.7 2440.75 2456.8 2472.85 2488.9 2504.95 2521 2537.05 2553.11 2569.16 2585.21 2601.26 2617.31 2633.36 2649.41 2665.46 2681.51 2697.56 2713.62 2729.67 2745.72 2761.77 2777.82 2793.87 2809.92 2825.97 2842.02 2858.07 2874.13 2890.18 2906.23 2922.28 2938.33 2954.38 2970.43 2986.48 3002.53 3018.58 3034.64 3050.69 3066.74 3082.79 3098.84 3114.89 3130.94 3146.99 3163.04 3179.09 3195.15 3211.2 3227.25 3243.3 3259.35 3275.4 3291.45 3307.5 3323.55 3339.6 3355.65 3371.71 3387.76 3403.81 3419.86 3435.91 3451.96 3468.01 3484.06 3500.11 3516.16 3532.22 3548.27 3564.32 3580.37 3596.42 3612.47 3628.52 3644.57 3660.62 3676.67 3692.73 3708.78 3724.83 3740.88 3756.93 3772.98 3789.03 3805.08 3821.13 3837.18 3853.24 3869.29 3885.34 3901.39 3917.44 3933.49 3949.54 3965.59 3981.64 3997.69 4013.75 4029.8 4045.85 4061.9 4077.95 4094
......@@ -72,6 +72,8 @@ struct DimapData
//specific pneo sensors features
std::vector<std::string> LUTFileNames;
std::unordered_map<std::string, std::vector<double>> LUTs;
std::vector<double> RangeMin;
std::vector<double> RangeMax;
// phr and pneo sensor characteristics
std::string TimeRangeStart;
......
......@@ -430,15 +430,25 @@ void DimapMetadataHelper::ParseDimapV3(const MetadataSupplierInterface & mds, co
,"COMPONENT_PATH.href", componentPath);
int i=0;
bool noLUT=true;//check if the LUT are available or not
for(std::string content:componentContent)
{
if(content=="Look Up Table")
{
if(i<componentPath.size())
m_Data.LUTFileNames.push_back(componentPath[i]);
noLUT=false;
}
i++;
}
//get the bound range of the band to compute LUT if the LUTs are not available
if(noLUT)
{
ParseVector(mds, prefix + "Radiometric_Data.Histogram_Band_List.Histogram_Band",
"MIN", m_Data.RangeMin);
ParseVector(mds, prefix + "Radiometric_Data.Histogram_Band_List.Histogram_Band",
"MAX", m_Data.RangeMax);
}
}
std::vector<double> DimapMetadataHelper::parseLUTStringToArrays(std::string const & s) {
......@@ -475,6 +485,13 @@ void DimapMetadataHelper::createDefaultLUTs()
for(int i=0;i<m_Data.BandIDs.size();i++)
{
std::vector<double> vectLut(256,0.0);
if(m_Data.RangeMin.size() == m_Data.BandIDs.size() && m_Data.RangeMax.size() == m_Data.BandIDs.size())
{
for(int x=0;x<256;x++)
{
vectLut[x] = x * double(m_Data.RangeMax[i]- m_Data.RangeMin[i]) / 255.0 + m_Data.RangeMin[i];
}
}
m_Data.LUTs.emplace(m_Data.BandIDs[i], move(vectLut));
}
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment