smoothing

Scale and move a text smoothly with javascript

Hi, I'm having a text scaled and moved via JavaScript / jQuery. I can't use jQuerys animate() because it has to fade in and out and has to be repeated and with more elements (end result: "flying" from the background, moving in different directions and fading out). My problem: It's not running smoothly and causes quite the cpu-usage. He...

how to use Savitzky-Golay smooth coefficient to calculate derivatives

Savitzky-Golay smoothing filter can be used to calculate the coefficients so as to calculate the smoothed y-values by applying the coefficients to the adjacent values. The smoothed curve looks great. According to the papers, the coefficients can also be used to calculate the derivatives up to 5th order. The coefficients calculation para...

OpenGL Heightmap

I am working on a project for school and part of it was making a height map. I managed to create the height map as requested, but was hoping to go for a little extra credit and smooth the entire surface. Here's an image of what I have now: http://img.photobucket.com/albums/v222/shavus/hMap.png The code that I used to generate it was ...

Using graphics hardware for audio processing in iphone app

We are developing an iphone app that needs to process audio data in real time, but we are suffering with performance. The bottlenecks are in audio effects, which are in fact quite simple, but the performance hit is noticeable when several are added. Most of the audio effects code is written in C. We think there are two places we can us...

Using a smoother with the L Method to determine the number of K-Means clusters

Has anyone tried to apply a smoother to the evaluation metric before applying the L-method to determine the number of k-means clusters in a dataset? If so, did it improve the results? Or allow a lower number of k-means trials and hence much greater increase in speed? Which smoothing algorithm/method did you use? The "L-Method" is deta...