bspline

所属分类:matlab编程
开发工具:matlab
文件大小:21KB
下载次数:1
上传日期:2020-07-28 11:43:35
上 传 者shs1992shs
说明:  matlab编程的B样条曲线工具箱,用于给定控制点计算B样条曲线
(B-spline curve toolbox programmed by Matlab is used to calculate B-spline curve given control points)

文件列表:
bspline (0, 2020-06-30)
bspline\Contents.m (1817, 2011-05-22)
bspline\bspline_approx.m (882, 2011-05-22)
bspline\bspline_basis.m (1652, 2011-05-22)
bspline\bspline_basismatrix.m (750, 2011-05-22)
bspline\bspline_deboor.m (3060, 2011-05-22)
bspline\bspline_deriv.m (876, 2011-05-22)
bspline\bspline_estimate.m (921, 2011-05-22)
bspline\bspline_footpoint.m (1536, 2011-05-22)
bspline\bspline_gui.m (8817, 2011-05-22)
bspline\bspline_wapprox.m (1832, 2011-05-22)
bspline\bspline_wdeboor.m (872, 2011-05-22)
bspline\example_bindevent.m (1070, 2011-05-22)
bspline\example_bsplineapprox.m (1661, 2011-05-22)
bspline\example_bsplinebasis.m (845, 2011-05-22)
bspline\example_bsplinedeboor.m (1782, 2011-05-22)
bspline\example_bsplinederiv.m (842, 2011-05-22)
bspline\example_bsplineestim.m (1019, 2011-05-22)
bspline\example_bsplinefoot.m (837, 2011-05-22)
bspline\funminbnd.m (3222, 2011-05-22)
bspline\gui_bind_event.m (2215, 2011-05-22)
bspline\gui_dock_vertical.m (1904, 2011-05-22)
bspline\guipoints.m (1303, 2011-05-22)
bspline\license.txt (1320, 2014-02-12)
bspline\uispanedit.m (1136, 2011-05-22)

B-splines Copyright 2010 Levente Hunyadi Draw, manipulate and reconstruct B-splines. The package comprises of a graphical utility to place uniform B-spline control points and see how the B-spline is redrawn as control points or control point weights are adjusted, and functions to estimate B-splines with known knot vector, given a set of noisy data points either with known or unknown associated parameter values. As regards the interactive interface, the user is shown a figure window with axes in which to choose control points of a uniform B-spline. As points are placed in the axes, the B-spline of specified order is drawn progressively. The user may terminate adding control points by pressing ENTER or ESC, or may place the last control point with a right mouse button click. Once done, control points may be adjusted with drag-and-drop. Hold down the left mouse button over any control point and drag it to another location. Control point adjustment works in 3D; use the rotation tool to set a different camera position. It is also possible to explicitly set the x, y and z coordinates as well as the weight of a control point: click on the point, enter new values and hit ENTER. As regards the non-interactive interface, functions include calculating and drawing basis functions, computing points of a (weighed or unweighed) B-spline curve with de Boor's algorithm, and estimating B-spline control points given noisy data, either with or without parameter values associated with the observed data points. From a programmers' perspective, this example illustrates how to use nested functions to extend variable scope, implement drag-and-drop operations, combine normalized and pixel units for control docking and register multiple callbacks for a single event in an interactive user interface. USAGE The simplest way to get started is to run "bspline_gui", which activates the figure window to place B-spline control points interactively. Examples are bundled to illustrate various B-spline curve computation and approximation methods. DISCLAIMER This component is provided in the hope that it will be useful, but no claims are made as to the fitness for any purpose. You are welcome to submit bug reports directly to the author; comments made at the MathWorks File Exchange site might be ignored. CONTACT INFORMATION Levente Hunyadi http://hunyadi.info.hu

近期下载者

相关文件


收藏者