File size: 9,786 Bytes
19297b4
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
{
 "format": "panbase-release/1",
 "description": "PanBase: network-free, calibrated, observation-consistent physical base s of the HRMS image from the LRMS and PAN (paper: 'Change the Base, Change the Game: Rethinking Pan-sharpening'). s_pan keeps the PAN detail in PAN geometry, s_ms shifts it to the MS geometry by an input-estimated translation. Each is 3 detail forms (additive fs, multiplicative hpm, local-regression cbd) x 3 FFT bands = 9 gains per MS band, followed by the projection onto {x : D x = ms} and clipping to [0, max].",
 "code": "panbase Python package (Apache-2.0): PanBase.from_pretrained(<this folder>, dataset, geometry)",
 "licence": "CC BY-NC-SA 4.0 for the coefficients",
 "datasets": {
  "wv3": {
   "sensor": "WorldView-3",
   "bands": 8,
   "data_range": 2047.0,
   "coefficients": {
    "pan": "panbase_wv3_pan.json",
    "ms": "panbase_wv3_ms.json"
   },
   "operator": {
    "kind": "pancollection-mtf",
    "gnyq": [
     0.325,
     0.355,
     0.36,
     0.35,
     0.365,
     0.36,
     0.335,
     0.315
    ],
    "ratio": 4,
    "offset": 2,
    "kernel_size": 41,
    "padding": "replicate"
   },
   "note": "coefficients fitted on this dataset's training split",
   "reference_metrics": {
    "pan": {
     "rr": {
      "psnr": 32.278332,
      "ssim": 0.914654,
      "sam": 4.646043,
      "ergas": 4.067027,
      "q2n": 0.856128
     },
     "fr": {
      "hqnr": 0.963059,
      "d_lambda": 0.000489,
      "d_s": 0.03647
     },
     "protocol": {
      "rr": "PanCollection reduced_examples (20 images, 256 x 256): s clipped to [0, max], arrays / data range, border cut 30 px (rows/cols 29 .. H-31), per-image PSNR (peak 1), SSIM (11 x 11 Gaussian, sigma 1.5), SAM (degrees), ERGAS, Q2n (32 x 32 blocks), mean over images",
      "fr": "PanCollection full_examples (20 images, 512 x 512): HQNR / D_lambda (Khan) / D_s of the Vivone pansharpening toolbox (Python port), block 32, sensor MTF WV3, against the PanCollection lms; mean over images"
     },
     "paper_table4": {
      "psnr": 32.28,
      "sam": 4.65,
      "hqnr": 0.963
     }
    },
    "ms": {
     "rr": {
      "psnr": 33.884369,
      "ssim": 0.940205,
      "sam": 4.621151,
      "ergas": 3.299003,
      "q2n": 0.883028
     },
     "fr": {
      "hqnr": 0.915368,
      "d_lambda": 0.00063,
      "d_s": 0.084068
     },
     "protocol": {
      "rr": "PanCollection reduced_examples (20 images, 256 x 256): s clipped to [0, max], arrays / data range, border cut 30 px (rows/cols 29 .. H-31), per-image PSNR (peak 1), SSIM (11 x 11 Gaussian, sigma 1.5), SAM (degrees), ERGAS, Q2n (32 x 32 blocks), mean over images",
      "fr": "PanCollection full_examples (20 images, 512 x 512): HQNR / D_lambda (Khan) / D_s of the Vivone pansharpening toolbox (Python port), block 32, sensor MTF WV3, against the PanCollection lms; mean over images"
     }
    }
   }
  },
  "qb": {
   "sensor": "QuickBird",
   "bands": 4,
   "data_range": 2047.0,
   "coefficients": {
    "pan": "panbase_qb_pan.json",
    "ms": "panbase_qb_ms.json"
   },
   "operator": {
    "kind": "pancollection-mtf",
    "gnyq": [
     0.34,
     0.32,
     0.3,
     0.22
    ],
    "ratio": 4,
    "offset": 2,
    "kernel_size": 41,
    "padding": "replicate"
   },
   "note": "coefficients fitted on this dataset's training split",
   "reference_metrics": {
    "pan": {
     "rr": {
      "psnr": 33.098473,
      "ssim": 0.890864,
      "sam": 6.556668,
      "ergas": 6.525907,
      "q2n": 0.870657
     },
     "fr": {
      "hqnr": 0.94439,
      "d_lambda": 0.003267,
      "d_s": 0.052532
     },
     "protocol": {
      "rr": "PanCollection reduced_examples (20 images, 256 x 256): s clipped to [0, max], arrays / data range, border cut 30 px (rows/cols 29 .. H-31), per-image PSNR (peak 1), SSIM (11 x 11 Gaussian, sigma 1.5), SAM (degrees), ERGAS, Q2n (32 x 32 blocks), mean over images",
      "fr": "PanCollection full_examples (20 images, 512 x 512): HQNR / D_lambda (Khan) / D_s of the Vivone pansharpening toolbox (Python port), block 32, sensor MTF QB, against the PanCollection lms; mean over images"
     },
     "paper_table4": {
      "psnr": 33.1,
      "sam": 6.56,
      "hqnr": 0.944
     }
    },
    "ms": {
     "rr": {
      "psnr": 36.050381,
      "ssim": 0.931059,
      "sam": 6.106718,
      "ergas": 4.625934,
      "q2n": 0.912986
     },
     "fr": {
      "hqnr": 0.702724,
      "d_lambda": 0.002797,
      "d_s": 0.295299
     },
     "protocol": {
      "rr": "PanCollection reduced_examples (20 images, 256 x 256): s clipped to [0, max], arrays / data range, border cut 30 px (rows/cols 29 .. H-31), per-image PSNR (peak 1), SSIM (11 x 11 Gaussian, sigma 1.5), SAM (degrees), ERGAS, Q2n (32 x 32 blocks), mean over images",
      "fr": "PanCollection full_examples (20 images, 512 x 512): HQNR / D_lambda (Khan) / D_s of the Vivone pansharpening toolbox (Python port), block 32, sensor MTF QB, against the PanCollection lms; mean over images"
     }
    }
   }
  },
  "gf2": {
   "sensor": "GaoFen-2",
   "bands": 4,
   "data_range": 1023.0,
   "coefficients": {
    "pan": "panbase_gf2_pan.json",
    "ms": "panbase_gf2_ms.json"
   },
   "operator": {
    "kind": "pancollection-mtf",
    "gnyq": [
     0.3,
     0.3,
     0.3,
     0.3
    ],
    "ratio": 4,
    "offset": 2,
    "kernel_size": 41,
    "padding": "replicate"
   },
   "note": "coefficients fitted on this dataset's training split",
   "reference_metrics": {
    "pan": {
     "rr": {
      "psnr": 38.305305,
      "ssim": 0.944586,
      "sam": 1.207553,
      "ergas": 1.167562,
      "q2n": 0.950341
     },
     "fr": {
      "hqnr": 0.964996,
      "d_lambda": 0.0,
      "d_s": 0.035004
     },
     "protocol": {
      "rr": "PanCollection reduced_examples (20 images, 256 x 256): s clipped to [0, max], arrays / data range, border cut 30 px (rows/cols 29 .. H-31), per-image PSNR (peak 1), SSIM (11 x 11 Gaussian, sigma 1.5), SAM (degrees), ERGAS, Q2n (32 x 32 blocks), mean over images",
      "fr": "PanCollection full_examples (20 images, 512 x 512): HQNR / D_lambda (Khan) / D_s of the Vivone pansharpening toolbox (Python port), block 32, sensor MTF none (GNyq 0.3), against the PanCollection lms; mean over images"
     },
     "paper_table4": {
      "psnr": 38.31,
      "sam": 1.21,
      "hqnr": 0.965
     }
    },
    "ms": {
     "rr": {
      "psnr": 39.860611,
      "ssim": 0.958391,
      "sam": 1.086458,
      "ergas": 0.939427,
      "q2n": 0.960546
     },
     "fr": {
      "hqnr": 0.970646,
      "d_lambda": 0.0,
      "d_s": 0.029354
     },
     "protocol": {
      "rr": "PanCollection reduced_examples (20 images, 256 x 256): s clipped to [0, max], arrays / data range, border cut 30 px (rows/cols 29 .. H-31), per-image PSNR (peak 1), SSIM (11 x 11 Gaussian, sigma 1.5), SAM (degrees), ERGAS, Q2n (32 x 32 blocks), mean over images",
      "fr": "PanCollection full_examples (20 images, 512 x 512): HQNR / D_lambda (Khan) / D_s of the Vivone pansharpening toolbox (Python port), block 32, sensor MTF none (GNyq 0.3), against the PanCollection lms; mean over images"
     }
    }
   }
  },
  "wv2": {
   "sensor": "WorldView-2",
   "bands": 8,
   "data_range": 2047.0,
   "coefficients": {
    "pan": "panbase_wv3_pan.json",
    "ms": "panbase_wv3_ms.json"
   },
   "operator": {
    "kind": "pancollection-mtf",
    "gnyq": [
     0.35,
     0.35,
     0.35,
     0.35,
     0.35,
     0.35,
     0.35,
     0.27
    ],
    "ratio": 4,
    "offset": 2,
    "kernel_size": 41,
    "padding": "replicate"
   },
   "note": "no training split: zero-shot with the WV3 coefficients and the WV2 operator (as in the paper)",
   "reference_metrics": {
    "pan": {
     "rr": {
      "psnr": 30.123861,
      "ssim": 0.869052,
      "sam": 5.487125,
      "ergas": 3.76669,
      "q2n": 0.87407
     },
     "fr": {
      "hqnr": 0.959081,
      "d_lambda": 0.000532,
      "d_s": 0.040408
     },
     "protocol": {
      "rr": "PanCollection reduced_examples (20 images, 256 x 256): s clipped to [0, max], arrays / data range, border cut 30 px (rows/cols 29 .. H-31), per-image PSNR (peak 1), SSIM (11 x 11 Gaussian, sigma 1.5), SAM (degrees), ERGAS, Q2n (32 x 32 blocks), mean over images",
      "fr": "PanCollection full_examples (20 images, 512 x 512): HQNR / D_lambda (Khan) / D_s of the Vivone pansharpening toolbox (Python port), block 32, sensor MTF WV3, against the PanCollection lms; mean over images"
     },
     "paper_table4": {
      "psnr": 30.12,
      "sam": 5.49,
      "hqnr": 0.959
     }
    },
    "ms": {
     "rr": {
      "psnr": 30.343098,
      "ssim": 0.874705,
      "sam": 5.479709,
      "ergas": 3.652903,
      "q2n": 0.878425
     },
     "fr": {
      "hqnr": 0.947776,
      "d_lambda": 0.00054,
      "d_s": 0.051715
     },
     "protocol": {
      "rr": "PanCollection reduced_examples (20 images, 256 x 256): s clipped to [0, max], arrays / data range, border cut 30 px (rows/cols 29 .. H-31), per-image PSNR (peak 1), SSIM (11 x 11 Gaussian, sigma 1.5), SAM (degrees), ERGAS, Q2n (32 x 32 blocks), mean over images",
      "fr": "PanCollection full_examples (20 images, 512 x 512): HQNR / D_lambda (Khan) / D_s of the Vivone pansharpening toolbox (Python port), block 32, sensor MTF WV3, against the PanCollection lms; mean over images"
     }
    }
   }
  }
 },
 "gnyq_source": "Nyquist gains of the MS MTFs: published sensor values used by PanCollection's degradation (WV3, QB, WV2, as tabulated in the Vivone et al. pansharpening toolbox) and the customary 0.3 for GaoFen-2; the MTF kernel design is in panbase/mtf.py",
 "inputs": "ms (N,C,h,w), pan (N,1,H,W), lms (N,C,H,W) = PanCollection h5 'ms', 'pan', 'lms' (H = 4h), either raw (DN, max_value = data_range) or divided by data_range (max_value = 1)"
}