// double px = tileSize*(superTileSize * sTileXY[0] + superTileSize/2) + zxy[1]; // [3] - plane point {disparity, x, y), x=0, y=0 is a 4,4 point of an 8x8 supertile
...
...
@@ -798,8 +893,9 @@ public class TilePlanes {
numPoints++;
doublew=weight[indx];
doubled=data[indx];
intx=((indx%stSize2)-stSize)*tileSize;// in pixels, not in tiles
inty=((indx/stSize2)-stSize)*tileSize;
// referencing samples to centers of pixels
doublex=((indx%stSize2)-stSize+0.5)*tileSize+0.5;// in pixels, not in tiles