登录
首页 » 图形图像 » Graphics are painting a straight line, arc, as well as garden and cut a straight...

Graphics are painting a straight line, arc, as well as garden and cut a straight...

于 2022-01-25 发布 文件大小:2.01 MB
0 267
下载积分: 2 下载次数: 1

代码说明:

现图形学中画直线,园和圆弧以及直线裁剪,区域填充等功能 1. 对于画直线,只需知道起点和终点即可。在工作区间中按下鼠标(即选择起点),拖动至另一处松开(终点),即得到直线。 2. 画圆需要圆心坐标、半径、及起始角和终止角,至于实验要求的画1/4圆弧,可设起始角=0,终止角=45,若要画整个圆弧起始角和终止角分别为0和360即可。-Graphics are painting a straight line, arc, as well as garden and cut a straight line, filled with features such as region 1. For painting a straight line, just know that you can start and finish. Interval in the work of the mouse click (that is, to choose the starting point), drag to another release (the end), that is to be a straight line. 2. Drawcircle need to center coordinates, radius, and the termination of the initial angle and angle, as required by experimental painting 1/4 arc, the starting angle can be set = 0, terminate the angle = 45, in order to draw the whole arc start angle and termination angle is 0 and 360, respectively, can be.

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • 这是一个数字汉字字符识别系统,它的特点在于它的多种识别对象,可以完成数字,汉字,字符等的识别。...
    这是一个数字汉字字符识别系统,它的特点在于它的多种识别对象,可以完成数字,汉字,字符等的识别。-This is a number and Chinese character recognition system, its characteristic consist its manifold recognition object, and it could complete the recognition of number, Chinese character, character, and so on.
    2022-05-28 20:16:41下载
    积分:1
  • 视觉定位系统,对孔程序,应用在各大视觉定位系统;美国cognex公司的核心...
    视觉定位系统,对孔程序,应用在各大视觉定位系统;美国cognex公司的核心-Visual positioning system, the procedures of the hole, applied in the major visual positioning system U.S. Cognex
    2022-11-21 11:55:03下载
    积分:1
  • 模糊C均值聚类的分类,这是matlab代码。
    C均值模糊聚类,适用于图像分类,此为MATLAB 程序代码。-C mean fuzzy clustering for image classification, this is MATLAB code.
    2022-03-23 00:25:10下载
    积分:1
  • 机器视觉测量圆的一个软件源码,大家共同学习学习
    机器视觉测量圆的一个软件源码,大家共同学习学习-Machine vision measurement round a software source code, learn the common U.S.
    2022-10-10 08:30:03下载
    积分:1
  • 这是一个实现GVF(广义梯度矢量流算法)的matla代码,
    这是一个实现GVF(广义梯度矢量流算法)的matla代码,-This is a realization of GVF (generalized gradient vector flow algorithm) matla code,
    2022-02-01 10:15:46下载
    积分:1
  • 采用Visual C++6.0编写,将一个位文件显示出来,并用ADSW键控制场景移动。对于想学习游戏编程的同学会有一定帮助。...
    采用Visual C++6.0编写,将一个位图文件显示出来,并用ADSW键控制场景移动。对于想学习游戏编程的同学会有一定帮助。-Using Visual C++ 6.0 prepared a bitmap file is displayed, and button control scenes ADSW mobile. Want to learn programming for the game will definitely help the students.
    2022-05-20 18:26:42下载
    积分:1
  • a VC development of a simple drawing program
    一个用VC开发的简单画图程序-a VC development of a simple drawing program
    2022-11-02 08:20:03下载
    积分:1
  • C + + 的 LBP 代码
    局部二元模式(LBP)是一种用于在计算机视觉分类功能。 LBP是特定情况在1990年[1] [2] LBP于1994年首先描述[3] [4]它提出的纹理谱模型由于被认为是一个强大的功能的纹理分类;它已经进一步确定,当LBP是结合定向梯度直方图(HOG)的描述符,它提高了检测性能相当一些数据集。该LBP特征向量,在其最简单的形式中,通过以下方式创建的:划分检测窗口进入细胞(例如16×16像素的每个单元格)。用于在小区中的每个像素,比较像素到它的每一个8邻居(在它的左顶,左中间,左底部右顶部,等等)。跟随一个圆,即顺时针或逆时针的像素。其中,中心像素的值大于邻居的值,写入“1”。否则,写“0”。这使一个8位二进制数(通常是转换为十进制为方便起见)。计算的每个“号码”中出现的频率的直方图,在细胞内,(即,对每个组合哪些像素是较小的,哪些是大于该中心)。任选正常化直方图。串联所有细胞(归)直方图。这给出了窗口的特征向量。特征向量现在可以使用支持向量机或其他机器学习处理算法进行分类的图像。这样的分类可以用于人脸识别或纹理分析。
    2022-03-21 06:15:16下载
    积分:1
  • 双线性表面,回转面
    双线性曲面、回转曲面-bilinear surface, Rotary Surface
    2023-05-30 20:40:02下载
    积分:1
  • 装载、保存256色位的函数.rar
    装载、保存256色位图的函数.rar-loading, preserved 256-color bitmap functions. Rar
    2022-03-13 11:56:46下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载