提交 cd13b30f 编写于 作者: T Tsukasa Sugiura

Fix LineAA in case of 4 channel

Fix bug when enter 4 channel image to LineAA function.
上级 190d00ea
......@@ -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();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册