it dont draw the antialiased line on 8UC4 mat (Bug #3112)


Added by Andrey Morozov over 11 years ago. Updated over 10 years ago.


Status:Done Start date:2013-06-22
Priority:Normal Due date:
Assignee:- % Done:

100%

Category:core
Target version:-
Affected version:branch '2.4' Operating System:Linux
Difficulty: HW Platform:x86
Pull request:

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

  • Status changed from Open to Done
  • % Done changed from 0 to 100

Also available in: Atom PDF