Figure 2: Grids and upsampling weights for one output pixel
x (red) just inside the lower edge of the orange patch in the rotated recording. Native px are the pixels of the camera. (a–d) The same
3×3 tokens at each step of the pipeline. The token that contains
x is outlined in blue. One token covers
50×50 native px (a). For CARL, the image is resampled by area averaging to
8×8 input px per token, so one input px corresponds to
6.25×6.25 native px (b). CARL returns one feature
ft∈R768 per token (c). The upsamplers compute
f^(x) on the output grid with
10×10 px per token, so one output px corresponds to
5×5 native px (d). The guide and the evaluation use this grid as well. Features are shown as apparent patch fraction
q (0 = frame, 1 = patch, Section IV-D ). Although
x lies on the patch, its token mainly covers the frame (
qt=0.11 ). (e) Hyperspectral guide on the output grid, shown by its first three principal components. JBU uses the first 16, AnyUp the first three. (f) The two distances that enter JBU (Eq. 2 ) for every token. White: distance between
x and the token center
ct (lines in d) in token units. Blue: distance between the guide at
x and the mean guide of the token in units of
sg . The token of
x is closer in position (0.35 compared with 0.65 for the token above). The token above, however, matches the guide (0.02 compared with 0.98). (g–l) Weights
α(x,t) as disks with area proportional to the weight. Only tokens in the framed region can contribute. These are the token of
x (nearest), the four nearest token centers (bilinear) and the
5×5 window centered on the token of
x (JBU). AnyUp attends to a window that spans
±10 % of the image height and width around
x , here
12×7 tokens. It extends beyond the crop and 24 % of the weight lies outside. (m–r) Upsampled features as
q with the contour
q=0.9 (solid) and the measured outline (white dashed). Their distance, averaged along a side, corresponds to the contamination width
w90 . Bilinear weights depend only on the position. The smaller
σr , the more weight JBU gives to the token above. The edge of
f^ then moves to the measured outline. AnyUp spreads its weight over many tokens, mostly on the patch, and reaches
q(x)=0.86 .