登录
首页 » 图形图像 » 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 261
下载积分: 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 个回复

  • 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
  • 熵编码(多媒体处理)
    熵编码(多媒体图像处理)-entropy coding (multimedia image processing)
    2022-02-25 18:34:45下载
    积分:1
  • with vc MapObjects development of the source code, using the mouse to operate po...
    用vc + mapobjects开发的源代码,用鼠标对多边形进行操作,实现了多边形的缩放功能。-with vc MapObjects development of the source code, using the mouse to operate polygons and achieve the polygon"s zoom function.
    2023-05-27 20:20:03下载
    积分:1
  • Laplacian sharpening (edge detection), the readme.txt are detailed usage
    拉普拉斯锐化(边缘检测),在readme.txt里有详细的使用说明-Laplacian sharpening (edge detection), the readme.txt are detailed usage
    2022-03-25 23:41:38下载
    积分:1
  • lda 源码。用来为数据降维,使得识别率有所提高。
    lda 源码。用来为数据降维,使得识别率有所提高。-lda source code. Is used for data dimensionality reduction, making the recognition rate increased.
    2022-10-15 09:45:03下载
    积分:1
  • 自己写的直方匹配程序,可以自己规定需要的直方状...
    自己写的图像直方图匹配程序,可以自己规定需要的直方图形状-Write your own image histogram matching program, it can do is required by the shape of the histogram
    2022-08-21 06:39:48下载
    积分:1
  • AGEIA公司的PhysX(游戏物理库)和D3D 9用法
    Ageia s PhysX(Game Physis lib) Usage with D3D 9 - base Geometry-Ageia s PhysX(Game Physis lib) Usage with D3D 9- base Geometry
    2023-01-27 15:35:04下载
    积分:1
  • 8连通域标记
    实现8连通域标记,返回值为标记数,输入输出在源码中有相应的说明。标记效果经过上百次测试,没有问题。相应的动态库也添加,使用时用动态库即可。
    2023-07-14 23:25:02下载
    积分:1
  • This a collection of utilities for warping of MRI image volumes. See the man p...
    This a collection of utilities for warping of MRI image volumes. See the man pages for documentation. The warp method is described in detail in the following paper Enhancing the Multivariate Signal of 15-O water PET Studies With a New Non-Linear Neuroanatomical Registration Algorithm IEEE Transactions on Medical Imaging, 1999, 18(6), p306-19 -This a collection of utilities for warpi Vi of MRI image volumes. See the man pages for doc umentation. The warp method is described in det annexed in the following paper Enhancing the Multiv ariate Signal of 15-O water PET Studies With a Ne w Non-Linear Registration Al Neuroanatomical gorithm IEEE Transactions on Medical Imaging, 1999, 18 (6), p306-19
    2022-07-19 08:29:37下载
    积分:1
  • STM32 UCOS 显示源码
    本源码是基于Keil MDK编写的。上面开发环境中没有keil的选项,不知道为什么?本程序可以直接运行在火牛STM32的开发板。是基于UCOS+UCGUI编写的。 -The source code is written based on the Keil MDK. The above development environment does not the keil option, do not know why? This program can run directly on the AC adapter the STM32 development board. Written UCOS+UCGUI.
    2022-02-22 00:27:05下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载