• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Decimation - NSBezierPath or something else?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Decimation - NSBezierPath or something else?
      • From: email@hidden
    • Re: Decimation - NSBezierPath or something else?
      • From: Wim Lewis <email@hidden>
    • Re: Decimation - NSBezierPath or something else?
      • From: Conrad Shultz <email@hidden>
  • Prev by Date: Re: help with this error
  • Next by Date: Re: help with this error
  • Previous by thread: Re: Know when text is edited in any app
  • Next by thread: Re: Decimation - NSBezierPath or something else?
  • Index(es):
    • Date
    • Thread