hdrplus-python icon indicating copy to clipboard operation
hdrplus-python copied to clipboard

question about shift 2 in upsampleAlignments

Open shellyfun opened this issue 1 year ago • 0 comments

dear author,when talking about ‘upsampleAlignments’ function, there is a code like ti1 = np.repeat(np.clip(2 + np.arange(h) // repeatFactor + neighborsMask[:, 0, 0, 0], 0, paddedPreviousAlignments.shape[0] - 1).reshape(h, 1), w, axis=1).reshape(h * w), im just wondering why 2 was used here, what about shift 1? it will be very glad to receiving ur answer!

shellyfun avatar Oct 18 '24 07:10 shellyfun