opencv 着色
代码说明:
const vec3 WHITE(1.0, 1.0, 1.0); const vec3 BLACK(0.0, 0.0, 0.0); const vec3 RED(1.0, 0.0, 0.0); const vec3 GREEN(0.0, 1.0, 0.0); const vec3 BLUE(0.0, 0.0, 1.0); const int CIRCLE_NUM_POINTS = 100; const int ELLIPSE_NUM_POINTS = 100; const int TRIANGLE_NUM_POINTS = 3; const int SQUARE_NUM = 6; const int SQUARE_NUM_POINTS = 4 * SQUARE_NUM; const int TOTAL_NUM_POINTS = TRIANGLE_NUM_POINTS + SQUARE_NUM_POINTS + CIRCLE_NUM_POINTS + ELLIPSE_NUM_POINTS;
下载说明:请别用迅雷下载,失败请重下,重下不扣分!