Is the current implementation correct? The determination of the sign should probably be calculated between the sample and the value closest to it in the reference under the distance footprint, rather than a straight diff of the sample and the reference?
Is the current implementation correct? The determination of the sign should probably be calculated between the sample and the value closest to it in the reference under the distance footprint, rather than a straight diff of the sample and the reference?