[center,rad,v1,v2] = circlefit3d(p1,p2,p3)
This function computes centers and radii of circles, that interpolate some given triples of points in 3d space.
The function accepts the input of matrices of trial points also, returning a matrix of corresponding centroids and a vector of corresponding radii. Corresponding points are assumed to be located in the same row in each matrix p1, p2 and p3.
Several error...
This is a robust and accurate circle fit. It works well even if data points are observed only within a small arc. This circle fit was proposed by G. Taubin in article "Estimation Of Planar Curves, Surfaces And Nonplanar Space Curves...
This is a robust and accurate circle fit. It works well even if data points are observed only within a small arc. This circle fit was proposed by V. Pratt in article "Direct least-squares fitting of algebraic surfaces", Computer...
Iterative, robust fit of the exact equation of a circle to xy data. Outliers are identified based on multiples of current standard deviation and "set aside". The interative solution proceeds until there are no remaining outliers. Returns...
ICP - Iterative Closest Point algorithm, c++ implementation. Handles only points in R^3. Makes use of a kd-tree for closest-point search. ICP finds the transformation of points in data to fit points in model. Fit with respect to minimize a...
Adaptive Simulated Annealing (ASA) is a C-language code that finds the best global fit of a nonlinear cost-function over a D-dimensional space. ASA has over 100 OPTIONS to provide robust tuning over many classes of nonlinear stochastic systems.
The SMLogger suite contains the five components for logging of errors/exceptions, tracing of messages, events etc1. TSMExceptionLog:drop this component and you'll receive the useful processing of errors and exceptions for your application in one...
SMExport for Delphi&C++Builder is componentsuite for data export from TDBGrid/TDataSet(with BDE or without) into: XLS (Excel spreadsheet without OLE) MS Excel (using OLE) MS Word (using OLE) MS Access (using DAO 3.5 or 3.6) Text (fixed or...
DXF Import .NET is an easy-to-use API for reading AutoCAD DXF in C# and VB.NET applications. It is completely programmed in C# and supports the following entities: 3dFace, Arc, Attdef, Block, BlockRecord, Circle, Dimension, Ellipse, Insert, Layer,...
Stringa is a simple C++ class, importable in console programs by clause: #include stringa.hpp.It was conceived to make esier character string managing into console (but not only) C++ programs.It treats strings as well as dynamic objects: carry out...
This code changes any c/c file into html file and then it asks you either you want to excute the html file or not.
Snake game C is a classical game of snake.
This is the fastest (though not most accurate) method of fitting a circlle to data points on a plane (given by their xy-coordinates). It returns the circle center (a,b) and radius R. It was proposed by I. Kasa in article "A curve fitting...
This is a fast non-iterative ellipse fit, and among fast non-iterative ellipse fits this is the most accurate and robust.
It takes the xy-coordinates of data points, and returns the coefficients of the equation of the ellipse:
This is a fast and non-iterative ellipse fit. Usage:
A = EllipseDirectFit(XY)
Input: XY(n,2) is the array of coordinates of n points x(i)=XY(i,1), y(i)=XY(i,2)
Output: A = [a b c d e f]' is the vector...
Arbitrary-order polynomial datum is fit to and extracted from input xy data. Outliers - defined based either on a non-parametric or mutliples-of-standard deviation criteria - are optionally identified and "set aside". The interative...
This function detects a circle in any gray scale image by thesholding using Ostu's rule. The range of radius for detection of circle can be defined inside the function named Hughcir.m.
This function will compute the great circle distance between two points on a sphere of uniform radius using the Vincenty formula. At minimum, four inputs are required: lat1, long1, lat2, long2. Optionally, a fifth parameter (r) can be specified....
This function uses rectangle command to plot a circle. The center is to be given in a vector form and radius is a non-negative number.
Draws a circle or ellipse on a RGB image. can be used to insert circles into movies. Includes a little animation demo that demonstrates the use. |