Merge pull request #5334 from UnaNancyOwen:fix2_LineAA

pull/5218/merge
Vadim Pisarevsky 9 years ago
commit fb4b4cbf58
  1. 4
      modules/core/src/drawing.cpp

@ -608,12 +608,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();

Loading…
Cancel
Save