01:01 am Several minor code updates. (All of this is checked into Geoff's subversion server.)
- The edge detector now scans both horizontally and vertically
- Edge pixels are now combined into edge lines - contiguous runs of individual edges
- Polyline class to represent edge lines. This will be especially helpful once I start working on edge smoothing algorithms.

Also, want to see some pretty colors? (Individual lines called out by random coloration.)
John pointed out a blog of a guy doing 2d fluid dynamics with webcams using Flash. Dang, that looks cool. Props to him.
|
11:51 am - Line smoothing algorithms Notes to self on various line smoothing algorithms:
- Moving average (sliding window average of 5 pts, shifted towards mid-point; McMaster)
- Weighted moving average (sliding window, average weighting based on distance from midpoint; McMaster weighted)
- Cubic spline interpolation
- Polynomial fitting
Links:
|