.Net library for ellipse detection based on the algorithm of very fast ellipse detector, codename: YAED (Yet Another Ellipse Detector).
Simple .Net wrapper for a very fast ellipse detection algorithm.
It uses:
- Open Source Computer Vision Library for image reading and processing.
Real-time ellipse detection is an important yet challenging task, since the estimation of the five parameters of an ellipse requires heavy computation.
A new efficient ellipse detection method (Y. Xie and Q. Ji) has remained ineffective and inappropriate for realtime processing.
This library is suitable in programs which require an approximate ellipse detection and have to do this in realtime.
There are four projects:
- EllipseDetectorLib: the main C++ .Net library. In other words this is the wrapper.
- ImageDetector: the example written in C++ and based on the initial code of YAED.
- libellipsedetect: the code of the YAED library.
- TestCSharp: the example written in C# which uses EllipseDetectorLib library.
This library has been written in Microsoft Visual Studio 2012. Files *.csproj contain all configurations for different platforms x64, x86 as well as Debug and Release modes. For successfull build OpenCV has to be installed. In addition environment variable OPENCV_DIR where opencv is installed should be set.
Here are just a few examples of what EllipseDetectorLib can do:
- Samples: A dozen files shows the initial and result images.
This code is intended for academic use only. You are free to use and modify the code, at your own risk.
If you use this code, or find it useful, please refer to the paper:
Michele Fornaciari, Andrea Prati, Rita Cucchiara, A fast and effective ellipse detector for embedded vision applications Pattern Recognition, Volume 47, Issue 11, November 2014, Pages 3693-3708, ISSN 0031-3203, http://dx.doi.org/10.1016/j.patcog.2014.05.012 http://www.sciencedirect.com/science/article/pii/S0031320314001976
The comments in the code refer to the abovementioned paper. If you need further details about the code or the algorithm, please contact me at:
last update: 23/12/2014