↓ 1 callersFunctionergasERGAS for 2D (H, W) or 3D (H, W, C) image; uint or float [0, 1]. scale = spatial resolution of PAN / spatial resolution of MUL, default 4.
pan-sharpening/py-tra/metrics.py:165
↓ 1 callersFunctionergasERGAS for (N, C, H, W) image; torch.float32 [0.,1.]. scale = spatial resolution of PAN / spatial resolution of MUL, default 4.
pan-sharpening/py-tra/metricsutil.py:17
↓ 1 callersFunctionget_patch(ms_image, lms_image, pan_image, bms_image, patch_size, scale, ix=-1, iy=-1)
pan-sharpening/data/dataset.py:32