Commit 21d06f5a authored by Vadim Pisarevsky's avatar Vadim Pisarevsky

Merge pull request #5333 from UnaNancyOwen:fix3_LineAA

parents 07a4f571 cd13b30f
...@@ -610,12 +610,12 @@ LineAA( Mat& img, Point pt1, Point pt2, const void* color ) ...@@ -610,12 +610,12 @@ LineAA( Mat& img, Point pt1, Point pt2, const void* color )
ICV_PUT_POINT(); ICV_PUT_POINT();
ICV_PUT_POINT(); ICV_PUT_POINT();
tptr += step; tptr += 4;
a = (ep_corr * FilterTable[dist] >> 8) & 0xff; a = (ep_corr * FilterTable[dist] >> 8) & 0xff;
ICV_PUT_POINT(); ICV_PUT_POINT();
ICV_PUT_POINT(); ICV_PUT_POINT();
tptr += step; tptr += 4;
a = (ep_corr * FilterTable[63 - dist] >> 8) & 0xff; a = (ep_corr * FilterTable[63 - dist] >> 8) & 0xff;
ICV_PUT_POINT(); ICV_PUT_POINT();
ICV_PUT_POINT(); ICV_PUT_POINT();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment