mirror of
https://github.com/opencv/opencv.git
synced 2026-07-30 15:53:03 +04:00
samples: avoid using of legacy C-like API
- CV_RGB() macro is moved into opencv2/imgproc.hpp from imgproc_c.h - samples/cpp/filestorage_base64.cpp is dropped
This commit is contained in:
@@ -4339,6 +4339,10 @@ CV_EXPORTS_W void applyColorMap(InputArray src, OutputArray dst, InputArray user
|
||||
//! @addtogroup imgproc_draw
|
||||
//! @{
|
||||
|
||||
|
||||
/** OpenCV color channel order is BGR[A] */
|
||||
#define CV_RGB(r, g, b) cv::Scalar((b), (g), (r), 0)
|
||||
|
||||
/** @brief Draws a line segment connecting two points.
|
||||
|
||||
The function line draws the line segment between pt1 and pt2 points in the image. The line is
|
||||
|
||||
@@ -982,7 +982,6 @@ CVAPI(void) cvFitLine( const CvArr* points, int dist_type, double param,
|
||||
* If a drawn figure is partially or completely outside of the image, it is clipped.*
|
||||
\****************************************************************************************/
|
||||
|
||||
#define CV_RGB( r, g, b ) cvScalar( (b), (g), (r), 0 )
|
||||
#define CV_FILLED -1
|
||||
|
||||
#define CV_AA 16
|
||||
|
||||
Reference in New Issue
Block a user