Code
Here are some useful projects.
1dspline.zip: This is MATLAB code that will fit a closed 1D spline to a data. This great if your data is "in a loop." Some technical detail of the fitting method as well as an Example fit are in the readme_example.m in the zip archive. For a more detail mathematics and a quick primer on splines see splinefit.pdf
AviViewer.zip : This is a simple "avi viewer." It is a windows app that displays single frames of an avi file. This is done by copying the bytes from the avi's image buffer into another buffer then into the gl buffer.
It illustrates:
- Getting the byte's of a frame of an avi video (compressed and otherwise).
- Setting up a glcontext when using mfc.
minpack.zip - This is a C++ interface to the famous Leevvenberg Marquart Minimizer in minpack. See the readme.txt in the package for details on how to use it.
adatri.zip - Code for Delaunay Triangulation of Imageess. It basically places a triangular mesh over an image by first placing an initial mesh. Then points are added on to the mesh so that the average color variation over the triangles is reduced. This is done by:
1) Finding the largest the largest triangle.
2) Generating a separate triangulations that would result by inserting each edge pixels within that triangulation.
3) Using the triangulation with the smallest color variation as the Updated Triangulation.
This is repeated until a desired color variation is reached.
Within this package are algorithms to incrementally build triangulations of a set of points. See adadoc.txt within zip-archive for details.