Enum LineTypes of C++ style (Feature #4246)


Added by Tsukasa Sugiura almost 10 years ago. Updated almost 10 years ago.


Status:Done Start date:2015-03-19
Priority:Normal Due date:
Assignee:- % Done:

0%

Category:core
Target version:2.4.11
Difficulty: Pull request:

Description

I think should add enum type of LineTypes ("cv::LINE_AA" of C++ interface style) to OpenCV 2.4.x.
This enum type is defined in OpenCV 3.x, but it has not been defined in OpenCV 2.4.x (only defined "CV_AA" of C interface style).
I think to this enum type required to smoothly transition from OpenCV 2.4.x to 3.x.

Thanks!


enum LineTypes {
FILLED = -1,
LINE_4 = 4, //!< 4-connected line
LINE_8 = 8, //!< 8-connected line
LINE_AA = 16 //!< antialiased line
};

https://github.com/Itseez/opencv/blob/master/modules/core/include/opencv2/core.hpp#L200-L206


#define CV_AA 16

https://github.com/Itseez/opencv/blob/7d4d28605087ec2d3878f9467aea313a2acdfd49/modules/imgproc/include/opencv2/imgproc/imgproc_c.h#L988


History

Updated by Vadim Pisarevsky almost 10 years ago

done in 3.0-pre

  • Status changed from New to Done
  • Category set to core

Also available in: Atom PDF