Path: news.mathworks.com!not-for-mail
From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: Implementing splines in a microcontroller
Date: Wed, 18 Nov 2009 20:13:20 +0000 (UTC)
Organization: The MathWorks, Inc.
Lines: 19
Message-ID: <he1kh0$26s$1@fred.mathworks.com>
Reply-To: <HIDDEN>
NNTP-Posting-Host: webapp-05-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1258575200 2268 172.30.248.35 (18 Nov 2009 20:13:20 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Wed, 18 Nov 2009 20:13:20 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 2100208
Xref: news.mathworks.com comp.soft-sys.matlab:586227


Hi folks,

I have a reasonably simple task to do for uni:
Take an image
Extract the edges
Display this using a microcontroller.

Because the display method is as a vector, I have chosen to interpret the edges as splines.

So far I have managed to extract the edges and convert to a series of splines.

Now i've come to the problem of how to implement the resultant data in a microcontroller. I don't really understand how splines are stored in matlab. As far as I understand, splines are a series of curves, all joined together (Bezier curves, paths, however you'd like to call them).

So given a spline in ppform, or B-form, how do I know what the equations are for each of the curves?

I'm also open to other suggestions for how to solve my problem. If splines aren't the way to go, no worries. The only problem is that my supervisor is convinced I should implement the images as a vector.

Thanks for any help you can give!
Tom