it dont draw the antialiased line on 8UC4 mat (Bug #3112)
Description
if i write this:
cv::Mat img(1024, 1024, CV_8UC4, cv::Scalar(255, 255, 255, 255)); cv::line(img, cv::Point2i(90, 50), cv::Point2i(100, 100), cv::Scalar(0, 0, 0, 255), 1, CV_AA);
then i see only white image, but if i write this:
cv::line(img, cv::Point2i(90, 50), cv::Point2i(100, 100), cv::Scalar(0, 0, 0, 255), 1);
then it's work but with antialiasing.
History
Updated by Kirill Kornyakov over 11 years ago
- Assignee deleted (
Vadim Pisarevsky) - Status changed from New to Open
Updated by Nisarg Thakkar over 10 years ago
https://github.com/Itseez/opencv/pull/3309
It has been merged
- Status changed from Open to Done
- % Done changed from 0 to 100