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 Defined By Implicit Equations, With Applications To Edge And Range Image Segmentation", IEEE Trans. PAMI, Vol. 13, pages 1115-1138, (1991). It is more stable than the simple Circle Fit by Kasa...
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 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...
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.
Code uses Bresenham Algorithm to draw a circle, with a modification parameter to increase/decrease the step for calculation of point. Bresenham Algorithm is used to reduce the calculation needed for drawing a circle by making use of property of...
A simple gui design shows the ability to make dynamic plotting by changing the value of slider which produce a change in the circle radius.
This program uses graphical user interface to demonstrate the detection of moving a small circle toward a circular region. This property is useful foe obstacle detection application.
Ali Talib Oudah MSc. Mechatronics Eng.
This is a good example of the integer midpoint circle algorithm. No pixels are missed or repeated.
Similar to a traditional writers circle, but with a work-flow optimized for bloggers. This helps you get and give constructive criticism of your drafts, without annoying your friends.
Creative writing is surprisingly hard, and it takes...
Circle-U v1.0 is an easy-to-use and completely customizable circular navigation menu with custom cursor support. It adds a unique touch to any site where a non-standard menu is desired and supports a variety of special effects (including...
Script that plots streamlines around a circle and around the correspondig Joukowski airfoil. It's obviously calculated as a potential flow and show an approximation to the Kutta-Joukowski Lift.
This code takes an input of a set of given (x,y) points in the Cartesian coordinates and returns the center and radius of the minimum circle enclosing the points.
This code is based on that of Yazan Ahed, and contains no changes in the...
Mohr's circle is a graphical technique that permits transformation of stress from one plane to another and can also lead to the determination of the maximum normal and shear stresses. This file simply draws Mohr's circle with the correct stress...
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...
Generate a great circle "trajectory" from [lat1,lon1] to [lat2,lon2].
Maximum Inscribed Circle Or in other words, "largest inner circle" , "maximum empty circle" etc.
This is a very common problem in computational geometry, and it is not simple to solve efficiently.
A sample application and a function for solving the maximum inscribed circle problem. Unlike my other submission "Maximum Inscribed Circle using Distance Transform" (at My Webpage), this algorithm is subpixel accurate. It operates...
%Draw a square of area 1 on the ground, then inscribe a circle within it. %Now, scatter some small objects (for example, grains of rice or sand) throughout the square. %If the objects are scattered uniformly, then the proportion of... |