© Copyright 2000-2015 Source Code Online. Free Source Code and Scripts Downloads.
|Code Listing by Tolga Birdal|
A contour of a 2D region is defined by an ordered set of points where the neighboring elements contain the neighboring points. Such representation can be obtained with many techniques such as boundary tracing and chain codes. (In a simple 2D point set or a curve the points do not have to lie in a specific order.)
The contour smoothing is done by projecting all the contour points onto the local regression line. For each point, N...
Shock filters are based in the idea to apply locally either dilation or erosion process, depending on whether the pixel be-longs to the influence zone of a maximum or a minimum.
The decision between dilation and erosion is made using the sign...
Implementation of the well known Haralick Edge Detector.
Here are the steps of the algorithm :
(1) Fit a bi-cubic polynomial to a small neighborhood of each pixel
(this step provides smoothing too).
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...
This is a C implementation of the great Matlab code provided by Darren Engwirda. You can find his code in:
According to my estimates, it works more than 2x as fast. So...
Sharpness estimation using gradients
This is the most simple and basic measure of sharpness. Although many great other techniques exist, even this primitive estimation algorithm finds itself decent practical usage.
The file reads an...
This function creates a structured mesh out of ordered vertices.
It's useful for dealing with depth maps and treating them as meshes. Kinect or ToF cameras would be an option. gen_structured_mesh is a C mex file doing the actual...
All files and free downloads are copyright of their respective owners. We do not provide any hacked, cracked, illegal, pirated version of scripts, codes, components downloads. All files are downloaded from the publishers website, our file servers or download mirrors. Always Virus check files downloaded from the web specially zip, rar, exe, trial, full versions etc. Download links from rapidshare, depositfiles, megaupload etc not published.