Merge pull request #5333 from UnaNancyOwen:fix3_LineAA

This commit is contained in:
Vadim Pisarevsky 2015-09-14 11:49:14 +00:00
commit 21d06f5ab2

View File

@ -610,12 +610,12 @@ LineAA( Mat& img, Point pt1, Point pt2, const void* color )
ICV_PUT_POINT();
ICV_PUT_POINT();
tptr += step;
tptr += 4;
a = (ep_corr * FilterTable[dist] >> 8) & 0xff;
ICV_PUT_POINT();
ICV_PUT_POINT();
tptr += step;
tptr += 4;
a = (ep_corr * FilterTable[63 - dist] >> 8) & 0xff;
ICV_PUT_POINT();
ICV_PUT_POINT();