登录
首页 » 图形图像 » 采用两种不同的方法绘制曲线 a) 二次B样条曲线 二次B样条曲线段的函数表达式为 (1) 其中 为控制顶点。 说明: ① 对任给定的一组控制顶点 ,每相邻三个控...

采用两种不同的方法绘制曲线 a) 二次B样条曲线 二次B样条曲线段的函数表达式为 (1) 其中 为控制顶点。 说明: ① 对任给定的一组控制顶点 ,每相邻三个控...

于 2022-03-20 发布 文件大小:1.80 kB
0 159
下载积分: 2 下载次数: 1

代码说明:

采用两种不同的方法绘制曲线 a) 二次B样条曲线 二次B样条曲线段的函数表达式为 (1) 其中 为控制顶点。 说明: ① 对任给定的一组控制顶点 ,每相邻三个控制顶点为一组进行曲线段绘制。即 为一组, 为一组,…, 为一组,所有曲线段连在一起即构成了整个B样条曲线。事实上,前一条曲线段的终点即是下一条曲线段的起点。 ② 在每一段曲线的绘制过程中, 取不同的值便得到曲线上不同的点。例如 时,由公式(1)可得到曲线的起点, 时可计算得到曲线的终点。为处理方便,可进行等距离选择,如10等份, 依次取0,0.1,0.2…,1.0,从而可计算得到10个曲线段上的点,把这10个点依次连接,就可得到该曲线段。 b) 四点插值细分曲线 四点插值细分曲线的表达规则为 其中 为控制顶点, 为细分次数, 为顶点下标。即每细分一次,在任意两点之间插入一顶点。为方便处理起见,可绘制成封闭曲线。 (初始)控制顶点保存在文件中。 给定两个测试文件c1.txt,c2.txt-using two different methods of drawing curve a) quadratic B-spline curves of the second B-spline curves of expression as a function of (1) for the control vertices. Note :-given right of a group of control vertices per three vertices adjacent to a group Marche line drawing. Namely, a group of a group, ... to a group, all of the curves that together constitute the entire B-spline curves. In fact, a curve before the end of the next one that is the starting point of the curve. curve in every section of the drawing process, different from the value curve will be differe

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

发表评论

0 个回复

  • 利用 OpenCV 实现了根据颜色直方状进行匹配
    想做一些图像匹配,所以最近学习使用openCV,并做了一些试验。利用 OpenCV 实现了根据颜色直方图和形状进行图像匹配的功能,能够对摄像头的实时图像和本地照片进行匹配。Demo仅能在真机中测试,因为需要用到摄像头。作者:jimple_金鸿
    2022-06-01 08:32:00下载
    积分:1
  • beziereditor是Bezier曲线编辑器具有以下功能:<;BR >;
    BezierEditor is a Bezier Curve Editor with follow functions : -add/remove curves and points -move points and curves -zoom in/out/box -load and save in a text file -multiple selection -BezierEditor is a Bezier Curve Editor with follow functions:
    2022-09-13 11:00:03下载
    积分:1
  • Visual C++ CAD应用程序开发技术的源代码
    Visual C++ CAD应用程序开发技术的源代码-Visual C CAD application development technology source code
    2022-03-26 08:02:16下载
    积分:1
  • Graphics programming, it looks like the effect is three
    图像编程,出来效果貌似是三维的地图,但是有一个小BUG,需要改正-Graphics programming, it looks like the effect is three-dimensional map, but there is a small BUG, the need for correction. . . . . . . . . . . . . . . . . . .
    2022-04-17 14:17:38下载
    积分:1
  • 一个开放源代码的光跟踪渲染
    一个开放源代码的光线跟踪渲染器- An open source code light track exaggerating
    2022-07-13 11:06:46下载
    积分:1
  • vc实现跟随鼠标的动态增加文字
    vc实现跟随鼠标的动态增加文字-vc follow the mouse to achieve the dynamic textual
    2022-03-20 04:49:44下载
    积分:1
  • 这是关于计算机学如何用BRESEHAM方法制作直线的课程设计报告,内容有源码,调试过程,截,有文档,希望大家下载...
    这是关于计算机图形学如何用BRESEHAM方法制作直线的课程设计报告,内容有源码,调试过程,截图,有文档,希望大家下载-This is about how to use computer graphics methods BRESEHAM straight report of the curriculum design, content source and debugging process, screenshot, there are documents, I hope you download
    2022-11-25 21:05:03下载
    积分:1
  • 实例2,适用于初学者,在更多的东西…
    matlab的实例2,适用于初学者,图形图像的东西比较多,希望能够有用-matlab examples 2, applicable to beginners, graphic images are more things in the hope of useful
    2022-05-21 22:38:22下载
    积分:1
  • this program will not only draw one of the complex spiral patterns, can be tilte...
    此程序不但画出了其中的复杂的螺旋图案,还可以倾斜任意角度,具有较大的灵活性,其中的一些细节很值得学习,对其他的绘制图形起了一个很好的借鉴作用-this program will not only draw one of the complex spiral patterns, can be tilted at any angle, with greater flexibility, some of which is worth learning details of the other mapping graphics with a good reference
    2022-06-02 20:30:17下载
    积分:1
  • For some images, the commonly used edge detection algorithm sometimes can not be...
    对于一些图像来说,常用的边缘检测算法有时候无法设立合适的阈值将它们的梯度较小的模糊边缘检测出来。为了解决这个问题,有两种解决方法:将图像方差标准化,拉大模糊边缘的梯度值,或通过设置sigmoid函数,将像素所在区域的信息传递到梯度值中去,对其进行调整,就能找到合适阈值,有效地将模糊边缘提取出来。本程序把这两种算法实现并与与传统算法进行了比较。-For some images, the commonly used edge detection algorithm sometimes can not be an appropriate threshold for the gradient of their smaller fuzzy edge detected. To solve this problem, there are two solutions: the image variance standardization, widening the fuzzy edge of the gradient value, or by setting the sigmoid function pixel region to disseminate the message to the gradient values to adjust, on the can find a suitable threshold, effectively extracted fuzzy edge. This procedure of these two algorithms with the traditional algorithm.
    2022-05-27 19:07:29下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载