-
采用两种不同的方法绘制曲线 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
-
JPEG image compression and decompression
JPEG image compression and decompression
- 2022-02-26 20:50:27下载
- 积分:1
-
CAD实用LISP文件提取一个单独的层的程序,实际@!!!
CAD实用LISP文件单独提取图层程序,实用@-CAD Practical Extraction LISP file a separate layer procedures, practical @! ! !
- 2022-05-10 15:44:52下载
- 积分:1
-
Fourier Transform image transformation, can support multiple formats of images,...
用傅立叶变换实现图像变换,可支持多种格式的图像,方法简单实用。-Fourier Transform image transformation, can support multiple formats of images, methods, simple and practical.
- 2022-01-24 13:47:41下载
- 积分:1
-
贺兰山岩画边缘检测代码
针对贺兰山岩画提出了3个合适的边缘检测算法。算法的核心是将岩画的亮度信息和彩色信息,融合于非线性双边滤波技术,通过
- 2023-03-31 13:45:04下载
- 积分:1
-
高斯混合
基于混合高斯的运动目标检测的跟踪!修改后可以使用。-Gaussian mixture-based tracking of moving target detection! Modifications can be used.
- 2022-03-15 08:13:04下载
- 积分:1
-
多窗口编程的C函数库和演示程序
多窗口编程的C函数库和演示程序-more windows on the C function libraries and Demonstration Program
- 2022-03-24 16:26:16下载
- 积分:1
-
1。鼠标交互绘制Bezier曲线2。贝塞尔三C0 C1、C2为曲线…
1.鼠标交互式绘制三次bezier曲线
2.Bezier曲线的C0,C1,C2连续拼接,
3.交互式操作(绘制好后可以鼠标拖动控制点,bezier曲线实时更新)-1. Mouse interactive rendering Bezier curves 2.Bezier three curves C0, C1, C2 for splicing, 3. Interactive operations (drawing good can drag the control point the mouse, bezier curves of real-time updates)
- 2022-03-12 20:12:16下载
- 积分:1
-
Visual C++ CAD应用程序开发技术源代码ch3
Visual C++ CAD应用程序开发技术源代码ch3-Visual C CAD application development technology source code CH3
- 2022-08-07 09:36:20下载
- 积分:1
-
用c++编写的一个图像分水岭算法的程序,用于图像分割
用c++编写的一个图像分水岭算法的程序,用于图像分割-With c++ Prepared an image procedures watershed algorithm for image segmentation
- 2022-02-19 23:03:16下载
- 积分:1