Download Shareware and Freeware Software for Windows, Linux, Macintosh, PDA

line Home  |  About Us  |  Link To Us  |  FAQ  |  Contact

Serving Software Downloads in 956 Categories, Downloaded 50.351.341 Times

Maximum Inscribed Circle using Distance Transform 1.0

  Date Added: July 16, 2013  |  Visits: 358

Maximum Inscribed Circle using Distance Transform

Report Broken Link
Printer Friendly Version


Product Homepage
Download (43 downloads)



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.Addressing 2D image/contour processing, I couldn't find a good implementation on the web. Generally, the reasonable way of solving this problem is to make use of Voronoi Diagrams, which are generally O(nlogn).After analyzing the problem a bit, I noticed that the problem can easily and approximately be solved using well-known distance transform.Here is how: The computational aim can be written as:(x, y) maximizes r = min_{i} r_{i}where r_i = ||(x_i, y_i) d-?OCO (x, y)|| and d_i = r_i d-?OCO r (x_i, y_i): Pairs data points(x, y), r : Pair, scalar circle centre and radius In non-mathematical terms: 1. The center of the maximum inscribed circle will lie inside the polygon 2. The center of such a circle will be furthest from any point on the edges of the polygon. So we seek for the point that lies inside the polygon and has maximal distance to the closest edge. This is exactly the maximum value of the pixel (of DT) that lies inside the contour. Notice that this approach is completely in-precise. It is only pixel-precise and never subpixel accurate. However, unlike optimization approaches, it does guarantee a global convergence. In the case of ambiguity, any of the solutions will be valid. To detect the points inside the region, inpolygon remains very slow. So, I make use of the great code of Darren Engwirda, here. As well as being contained in this package, it can also be downloaded from:http://www.mathworks.com/matlabcentral/fileexchange/10391-fast-points-in-polygon-test Here are other implemnatations, which are more accurate, but much slower than my approach (only slower in Matalb of course!) http://www.mathworks.com/matlabcentral/fil...e/2794-cvoronoi Using "Largest pixel that doesn't cross any point" approach: http://www.mathworks.com/matlabcentral/newsreader/view_thread/283296--------Here is a sample call:I=imread('hand_contour.png');[R cx cy]=max_inscribed_circle(I)The max_inscribed_circle function, finds the boundaries of the image, traces them and retrieves a boundary, where neighboring pixels follow each other. It uses the points on the boundary to compute the maximum inscribed circleCheers,

Requirements: No special requirements
Platforms: Matlab
Keyword: Ambiguity Approaches Convergence Global Great Guarantee Optimization Quot Remains Solutions Unlike
Users rating: 0/10

License: Shareware Size: 10 KB
USER REVIEWS
More Reviews or Write Review


MAXIMUM INSCRIBED CIRCLE USING DISTANCE TRANSFORM RELATED
Development Editors  -  PyGMO 1.0.0 PreAlpha
PyGMO is developed in order to offer a user-friendly access to a wide array of global and local optimization algorithms and problems. Basically, PyGMO is a C++ / Python platform to easily perform parallel computations of optimization tasks...
 
Programming  -  NLopt 2.1.1
NLopt is a free/open-source library for nonlinear optimization, providing a common interface for a number of different free optimization routines available online as well as original implementations of various other algorithms. Its features...
2.17 MB  
Utilities  -  USB Redirector RDP Edition 3.1.1
USB Redirector RDP Edition allows to redirect USB devices to the remote computer when working via Remote Desktop. It consists of two parts - Server part and Workstation part. USB devices connected to a Workstation become available on remote PC,...
9 MB  
Web Authoring  -  JazzMenu 1.0
Don't know how to use Flash? Baffled by Dreamweaver? JazzMenu can rescue you from your website menu hassles. This simple menu applet can provide you with great looking menus, quickly and easily - unlike many other options! Simply specify the...
47 KB  
Calendars & Scheduling Tools  -  Agenda One for Windows Mobile 2.3.9039
Agenda One makes keeping up with your life so much easier.It all starts with an ease of use you've never experienced before. Powerful features make it ideal for business. Personalization and Simplicity make it great for everyone.Agenda One is...
1.14 MB  
Development Tools  -  Global and Non-smooth optimization toolbox 1.0
GANSO is a programming library for global and nonsmooth, nonlinear optimization. Unlike local methods (e.g., quasi-Newton), global optimization methods aim at locating the absolute minimum of a function, not the nearest stationary point. GANSO...
204.8 KB  
Development Tools  -  New Approaches to Constrained Optimization in MATLAB 1.0
M-files accompanying the webinar titled "New Approaches to Constrained Optimization in MATLAB" held on November 05, 2005These files provide what you need to run the two demos:1) The first demo is a demonstration of bound constrained optimization...
10 KB  
Development Tools  -  Particle Swarm Optimization Simulation 1.0
An animated simulation of Particles in 2D searching for a global minima of a simple function using Particle Swarm Optimization algorithm
10 KB  
Development Tools  -  Global Optimization with MATLAB 1.0
This submission contains the demo files used in the Global Optimization with MATLAB webinar: http://www.mathworks.com/wbnr43346MultStart Demos * Peaks Minimization * Nonlinear Curve FittingGlobalSearch Demos * Peaks Minimization * Volumentric...
1.19 MB  
Development Tools  -  Global maximum point for 3D surface using GA 1.0
This program demonstrates the optimization by genetic algorithm to find the global maximum height for thee dimensional multiple peak surface. The GA operates by real coding method with elitism
10 KB  
NEW DOWNLOADS IN SCRIPTS, DEVELOPMENT TOOLS
Scripts  -  Freelancer Script 5.05
Main Features: 100% Secured. Email Support (3 Years). FREE Updates (3 Years). Post projects. Featured projects. Private projects. Sealed projects. Edit/delete projects. Select freelancers....
5.49 MB  
Scripts  -  B2B Script 4.20
Main Features: 100% Secured. Email Support (3 Years). FREE Updates (3 Years). Sign-up Account (Registration of account). Lead generation tools (for the sellers). Email verification to...
5.49 MB  
Scripts  -  B2C Script 5.06
Main Features: 100% Secured. Email Support (3 Years). FREE Updates (3 Years). The script comes with totally editable site colors, icons and graphics Multilevel categories allows extensive browsing Admin can change Category ordering or...
5.49 MB  
Scripts  -  Social Networking Script 2.86
Main Features: 100% Secured. Email Support (3 Years). FREE Updates (3 Years). Registration with name, email, password, date of birth etc. User can add multiple school, college, university with start...
5.49 MB  
Scripts  -  Business Networking Script 8.04
Main Features: 100% Secured. Email Support (3 Years). FREE Updates (3 Years). Ajax based interface. Profile creation. Different types of profile. Profile for jobseekers, employers and employed...
5.49 MB  
Development Tools  -  Aml2CHM 3.50
Those who use the popular Aml Pages text editor might be looking out for a way of generating help files from their text and notes. Aml2CHM is a plug-in that was developed to offer people a quick and efficient way of converting Aml Pages documents...
549.99 KB  
Development Tools  -  VMP Viewer 1.0
This is a very rudimentary tool to visualize the VMP files generated by BrainVoyager. Useful to share files with people who do not have BV.
10 KB  
Development Tools  -  Sending reports and timestamped file by emailing 1.0
main executing reference usage:[1] usage_send_mail.mIllustrates email sending with multiple separate files or single timestamped tar file. Attachment failure is properly handled, with continuation of report emailing without the attachment.[2]...
768 KB  
Development Tools  -  IrisMVC 2.0 rc1
IrisMVC is an OOP PHP framework that developers can use as a strong and secure foundation to build on various web applications following the Model-View-Controller (MVC) pattern. It provides the basic functionality developers need, without...
51.2 KB  
Development Tools  -  7-Zip for Script 4.42
7-Zip is a file archiver with a high compression ratio.Features:- High compression ratio in new 7z format with LZMA compression- Supported formats:- Packing / unpacking: 7z, ZIP, GZIP, BZIP2 and TAR- Unpacking only: RAR, CAB, ISO, ARJ, LZH, CHM,...
624.64 KB