Closed anianruoss closed 6 years ago
x1
and y1
are defined as follows in layers.py
:
x1 = x0 + 1
y1 = y0 + 1
so these two definitions of the wa, wb, wc, wd are equivalent.
The implementation of the bilinear interpolation has been tested against the one from scikit-image (up to boundary effects) in https://github.com/rakutentech/stAdv/blob/master/tests/test_layers.py#L144
Yes, of course. Thank you!
In my opinion, lines 114 - 117 in layers.py should be:
instead of:
according to eq. (1) in Xiao et al.
Am I missing something?