diff --git a/subPix/sourceCode/subPix.cpp b/subPix/sourceCode/subPix.cpp index 3d992d5..09f4f97 100644 --- a/subPix/sourceCode/subPix.cpp +++ b/subPix/sourceCode/subPix.cpp @@ -99,7 +99,7 @@ void subpix( a_pnt.y = InData.LazerWinY; a_pnt.rid = InData.LazerWinRid; a_pnt.value = InData.value; - a_pnt.x = (float)InData.LazerWinX + 8.0f + fx; + a_pnt.x = (float)InData.LazerWinX + 8.0f + fx + 0.5; //adjust point to pixel center a_pnt.rsv = 0; OutSubpixPnt.write(a_pnt); }