Code covered by the BSD License
-
FindBezierControlPointsND(p,v...
INPUT
-
Q=bezierInterp(P0,P1,P2,P3,va...
Bezier interpolation for given four control points.
-
[MatGlobalInterp]=BezierInter...
% Cubic Bezier interpolation of control points based on segmentation values of
-
[MatOut]=FindGivenRangeMatche...
i stands for index, v stands for value
-
[p0mat,p1mat,p2mat,p3mat,fbi,...
Approximation of data by Cubic Bezier Curves.
-
[p0mat,p1mat,p2mat,p3mat,tout...
% Find Cubic Bezier Control Points of given segments
-
[sqDistAry,indexAryGlobal]=Ma...
There are two matrices mat1 & mat2
-
[squaredmax,rowIndex]=MaxSqDi...
% find max. square distance and corresponding row index
-
ans=isvec(x)
return 1 if input argument is vecotor else return 0
-
plot2d_bz_org_intrp_cp(Mat,Ma...
% plot original data, interpolated data, control points of bezier curve
-
vout=getcolvector(vin)
% if vin is row vector change it to column vector then return it.
-
main.m
-
View all files
cubic Bezier least square fitting
by Dr. Murtaza Khan
10 Jul 2007
(Updated 09 Jul 2009)
Approximation of data using cubic Bezier curve least square fitting
|
Watch this File
|
| File Information |
| Description |
Approximation of data using cubic Bezier curve least square fitting. Uniform parameterization is used. Fitting ensures upper bound of maximum allowed square distance. Break and fit criteria is used to achieve the threshold of fitting.
main.m: Execute/Run this program
cubicbezierleastsquarefit.pdf: Read this file to understand the theory. |
| MATLAB release |
MATLAB 7.0.4 (R14SP2)
|
|
Tags for This File
|
| Everyone's Tags |
|
| Tags I've Applied |
|
| Add New Tags |
Please login to tag files.
|
| Comments and Ratings (1) |
| 31 Dec 2011 |
Gabriel
|
|
|
| Updates |
| 09 Jul 2009 |
BSD License |
|
Contact us at files@mathworks.com