-
采用两种不同的方法绘制曲线 a) 二次B样条曲线 二次B样条曲线段的函数表达式为 (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
- 2022-03-20 07:54:53下载
- 积分:1
-
这是我珍藏的一个屏幕录像工具。希望大家会喜欢。
这是我珍藏的一个屏幕录像工具。希望大家会喜欢。-This is my collection of one-screen video tool. Hope you will like it.
- 2022-12-28 07:00:04下载
- 积分:1
-
因为VTK可视化工具包具有的强大的功能,可视化领域的研究人员很多都在应用它。本压缩包是在VC下编写的一个使用vtk实现平面生成的例程。...
因为VTK可视化工具包具有的强大的功能,可视化领域的研究人员很多都在应用它。本压缩包是在VC下编写的一个使用vtk实现平面生成的例程。-Because the VTK visualization toolkit with powerful functionality, visualization research in the field of personnel and many of them in the application of it. The compressed packet is prepared with a VC using VTK realize plane generated routines.
- 2023-05-18 18:25:03下载
- 积分:1
-
在图形模式下显示3D图形绕任意轴旋转的程序。
在图形模式下显示3D图形绕任意轴旋转的程序。 -in graphic mode display 3D graphics rotating procedures.
- 2022-07-07 11:08:21下载
- 积分:1
-
打开并显示bmp格式的图像,并生成并显示该图像的灰度直方图。 灰度直方图各项参数都可自定义。...
打开并显示bmp格式的图像,并生成并显示该图像的灰度直方图。 灰度直方图各项参数都可自定义。-open bmp format and display images, and generate and display the image histogram. Histogram parameters can be defined.
- 2022-07-17 22:12:27下载
- 积分:1
-
计算图像直方图的统计特征,包括平均值、方差…
计算图像直方图的统计特征,包括均值,方差,熵,三阶矩等。-image histogram calculated the statistical characteristics, including mean, variance, entropy, such as third-order moments.
- 2022-03-23 02:53:35下载
- 积分:1
-
在这个目录中包含代码实现K
kmeans This directory contains code implementing the K-means algorithm. Source code may be found in KMEANS.CPP. Sample data isfound in KM2.DAT. The KMEANS program accepts input consisting of vectors and calculates the given number of cluster centers using the K-means algorithm. Output is directed to the screen. Usage for KMEANS is: KMEANS SOURCEFILE The format of the source file is: NPat - Number of patterns (int) SizeVect - Size of vector (int) NClust - Number of cluster centers(int) vect[1,1] ... vect[1,SizeVect] - vector 1 (real) vect[2,1] ... vect[2,SizeVect] - vector 2 (real) . . . . . . vect[NPat,1] ... vect[NClust,SizeVector] - vector N (real) To compile: ICC KMEANS.CPP -kmeans This directory contains code implementing the K-means algorithm. Source code may be found in KMEANS.CPP. Sample data isfound in KM2.DAT. The KMEANS program accepts input consisting of vectors and calculates the given number of cluster centers using the K-means algorithm. Outpu
- 2022-08-15 00:35:38下载
- 积分:1
-
本程序是关于ontimer()时间函数在VC++中的应用,运行结果可以动态显示文本,实现动画功能,是学习VC++延时的好代码,希望大家从中得到更多的收获,代码可...
本程序是关于ontimer()时间函数在VC++中的应用,运行结果可以动态显示文本,实现动画功能,是学习VC++延时的好代码,希望大家从中得到更多的收获,代码可以运行。-This procedure is about ontimer () function of time in VC++ Application, operation results can be dynamic display text, realize animated features, is to learn from VC++ Delay a good code, I hope everyone can get more benefits, code can run.
- 2022-08-16 10:06:30下载
- 积分:1
-
颜色空间转换代码,ycbcr对rgb的转换verilog代码.YCBCR的格式是ITU601格式....
颜色空间转换代码,ycbcr对rgb的转换verilog代码.YCBCR的格式是ITU601格式.-color space conversion code, RS right rgb conversion Verilog code. YCBCR format is ITU601 format.
- 2022-06-13 03:09:55下载
- 积分:1
-
剪贴的生成的算法
剪贴的生成的算法-cut-and-paste generation algorithm
- 2023-04-29 23:55:03下载
- 积分:1