Decimation - NSBezierPath or something else?
Decimation - NSBezierPath or something else?
- Subject: Decimation - NSBezierPath or something else?
- From: N!K <email@hidden>
- Date: Mon, 08 Aug 2011 17:16:43 -0700
Does NSBezierPath do decimation as well as interpolation? I didn't find it in the Class Reference.
Or is there another class that does it?
Or must I do the decimation before plotting the data with NSBezierPath?
Decimation reduces the original sampling rate for a sequence to a lower rate, the opposite of interpolation. The decimation process filters the input data with a lowpass filter and then resamples the resulting smoothed signal at a lower rate.
In my application, the math generates hundreds of points for accuracy, for every one that needs to be plotted to make a decent looking plot. Signal processing theory says that you can't just throw away points, or you can generate errors.
For example, I might generate 25,000 points and be happy to look at a 200 point plot. Throwing 25,000 points at NSBezierPath might swamp it, or at least run very slowly.
Nick_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden