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

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

于 2022-03-20 发布 文件大小:1.80 kB
0 105
下载积分: 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 个回复

  • 本代码实现了矢量绘功能:直线、圆,各类曲线一应俱全,并可进行画笔画刷风格与颜色设定,并有文件保存功能。...
    本代码实现了矢量绘图功能:直线、圆,各类曲线一应俱全,并可进行画笔画刷风格与颜色设定,并有文件保存功能。 -The code vector graphics functions: linear, circular, various types of curves were readily available, and to carry out painting brush stroke style and color settings, and save the file function.
    2022-02-22 06:17:28下载
    积分:1
  • 高斯平滑,在readme.txt里有详细的使用说明
    高斯平滑,在readme.txt里有详细的使用说明-Gaussian smoothing the readme.txt are detailed usage
    2022-02-06 15:27:56下载
    积分:1
  • 用MATLAB进行静态压缩编程中的游长编码部分的程序实现
    用MATLAB进行静态图像压缩编程中的游长编码部分的程序实现-using MATLAB programming static image compression of outbound long-coding part of the program
    2023-03-09 10:30:03下载
    积分:1
  • B样条源程序,vc编写
    B样条源程序,vc编写-source of the B-spline, vc prepared
    2022-03-24 09:01:48下载
    积分:1
  • The use of DC to draw SourceFilter generated picture Visual C++, DirextX program...
    使用DC来绘制SourceFilter生成的图片Visual C++,DirextX编程_DirextX-The use of DC to draw SourceFilter generated picture Visual C++, DirextX programming _DirextX
    2022-08-13 14:11:15下载
    积分:1
  • 本人独创的位处理思路,利用24与8位数据区的特点建立互换函数,可以不需使用繁琐的调色板....
    本人独创的位图处理思路,利用24与8位图像数据区的特点建立互换函数,可以不需使用繁琐的调色板.-original bitmap processing, use 24 and eight image data characteristics of the establishment of the exchange functions, you need to use cumbersome palette.
    2023-02-23 09:10:03下载
    积分:1
  • 用VB编写的模拟麻将程序,三维光影效果,学习篇。有很多不足之处。...
    用VB编写的模拟麻将程序,三维光影效果,学习篇。有很多不足之处。-VB mahjong prepared by the simulation procedure, 3D visuals and learning chapter. There are many deficiencies.
    2023-07-22 14:30:03下载
    积分:1
  • QR解码 C++ 正常解码
    QR解码  C++  正常解码  二维码编码器,日本人编的,可以用,在下面框中写入内容,自动转为二维码-Two-dimensional encoder, the Japanese series, you can use the box below to write content, automatically become the two-dimensional code
    2022-03-04 05:49:49下载
    积分:1
  • 本程序实现基于差平方和的匹配,本程序的优点是在大噪声条件下的匹配成功率很高,缺点是随着匹配区域以及的扩大,程序的耗时越来越长...
    本程序实现基于差平方和的图像匹配,本程序的优点是在大噪声条件下的匹配成功率很高,缺点是随着匹配区域以及图像的扩大,程序的耗时越来越长-This procedure square and bad based on the implementation of image matching, the advantages of this procedure are in the noise of the match under the conditions of a very high success rate, with the disadvantage match the expansion of regional as well as images, more and more time-consuming process long
    2022-02-02 10:47:45下载
    积分:1
  • 提出了一种新的皮肤分割和人脸特征提取方法…
    提出一种新的非线性变换的彩色空间 ″″, 利用次高斯概率分布函数拟合皮肤色度信息, 得到候选区 YC C r b 域。为了排除候选区域中的非人脸, 首先根据均值和方差信息分割出候选区域中的纹理特征信息, 再通过多尺度 ) ( 信息定位眼睛, 然后根据人脸特征的几 形态边缘检测算子检测候选区域的边缘, 利用 边缘方向 PCA PCAED ( ) 何形状信息定位其他特征 鼻、嘴 , 通过这些几何特征信息对肤色分割得到的候选区域进行验证, 最终得到正确 的人脸区域。利用3 个实验数据集测试该算法, 并与其它相应的算法相比较, 提出的非线性彩色空间对于肤色分 割具有很好的效果, 且对光照和姿态具有良好的不变性。另外, 利用 信息和几何特征信息检测人脸特征 PCAED 具有很高的定位精度, 定位检测率优于其他方法。实验结果表明, 该算法具有定位准确率高, 漏检率和误检率低 等特点。- A novel approach for skin segmentation and facial feature extraction is proposed The proposed skin segmentation is a method for integrating the chrominance components of ″″ . ″″ r b r b nonlinear YC C color model The chrominance components of nonlinear YC C color space , are modeled using a subgaussian probability density function and then the face skin is seg . , mented based on this function In order to authenticate the face candidate regions firstly tex ture information in face candidate regions is segmented using mean and variance of luminance ,
    2023-07-24 06:40:03下载
    积分:1
  • 696518资源总数
  • 105873会员总数
  • 12今日下载