smoothing

How to: Font smoothing test

The real question is this: I am trying to figure out the effect of font smoothing in my web page. On my LCD panel the text looks the same with font smoothing on/off. Are there are any particular fonts that need smoothing. Can you suggest any example font best suited for font-smoothing (i.e. it gives good result on applying smoothing)....

Font smoothing in Delphi

I had cause to need a label with a large font on a Delphi form and noticed that its curves were still slightly jagged. I compared this with the same size and font in MSWord which was much smoother. After research I found code that allowed me to smooth my fonts but it's messy and I was wondering if there was a better way? Looking in t...

Techniques to smooth face edges in OpenGL

When I light my human model in OpenGL using face normals it is very apparent where each face is on the model. The lighting becomes considerably smoother using vertex normals but still noticeable. Is there any technique available to smooth organic models without adding additional vertices (ex. subdivisions)? ...

smoothing irregularly sampled time data

Given a table where the first column is seconds past a certain reference point and the second one is an arbitrary measurement: 6 0.738158581 21 0.801697222 39 1.797224596 49 2.77920469 54 2.839757536 79 3.832232283 91 4.676794376 97 5.18244704 100 5.521878863 118 6.316630137 131 6.778507504 147 7.020395216 157 7.331607129 176 7.63749222...

Smoothing Data Array PHP

I have an array: Array ( [1] => 25 [2] => 50 [3] => 25 ) I would like to make it into: Array ( [1] => 50 [2] => 50 ) To do this I split the middle value between 1 and 3. This is the simplest example, where the split is 50,50. I would like to be able to take a 15 element array down to 6 elements. Any ideas? Add...

Smooth gps data

Hi, I'm working with gps data, getting values every second and displaying current position on a map. The problem is that sometimes (specially when accuracy is low) the values vary a lot, making the current position to "jump" between distant points in the map I was wondering about some easy enough method to avoid this. As a first idea,...

Optimizing transition/movement smoothness for a 2D flash game.

Update 6: Fenomenas suggested me to re-create everything as simple as possible. I had my doubts that this would make any difference as the algorithm remains the same, and performance did not seem to be the issue. Anyway, it was the only suggestion I got so here it is: 30 FPS: http://www.feedpostal.com/test/simple/30/SimpleMovement.htm...

Image scaling and smoothing

I'm importing some images dynamically into a SWF from an external site using AS2. It works perfectly when I load my images from my computer, but when I try to load them from the external server the smoothing doesn't work. My code: var imageLoad:MovieClipLoader = new MovieClipLoader(); imageLoad.addListener({ onLoadInit:function ...

How to paint a precise Gradient with LinearGradientBrush in C#?

Hi, I'm painting this object in C# using GDI and I need to have precise pixel painting. However, this is not working... I don't know if it matters but the object I'm painting is a ToolStrip, I'm doing a custom ToolStrip render. I drew a horizontal blue line at y-pixel 1, than a yellow one at y-pixel 2 than a red one at y-pixel 3. These...

Smooth polyline with minimal deformation

I've got a 2D closed polyline, which is reasonably smooth. The vertices that define the polyline however are not spaced equally. Sometimes two will be very close, sometimes as many as four will be very close together. I'd like to smooth the polyline, but a regular averaging algorithm tends to shrink the area: for (int i = 0; i < (V.Len...

How to smoothen a plot in MATLAB?

I have some 9000 points that are plotted on a graph: [Full resolution] Actually, the plot is not as smooth as I wanted it to be. Is there some way I can smoothen the graph to a required degree? Or some form of thresholding so that I can selectively smoothen out the parts that is too bumpy? I am not sure but can fast-fourier-transfo...

Per panel smoothing in ggplot2

I'm plotting a group of curves, using facet in ggplot2. I'd like to have a smoother applied to plots where there are enough points to smooth, but not on plots with very few points. In particular I'd like to stop the plot failing when one of the panels only has 1 or 2 points. Example: a <- data.frame( x=1:100, y=sin(seq(0.1,10,0.1) )) ...

Visual Studio & GDI++

Hi. I tried to find a similar question here, but found something different. I prefer to use display fonts smoothing in Windows, but I don't like the way how Windows XP smoothes the display font edges. Currently I use GDI++ that smoothes the display fonts making them look very similar to text rendered in Safari browser for Windows (as fa...

Smoothing a rounded stroke in Core Graphics

I am creating my own UITableViewCells with a gradient background. I have all the logic and drawing worked out, but one thing I want to fix is the "chunkiness" around the corners of my custom cell: If you zoom in on the corners, you can see what I am talking about. Here is the code I a using to generate the cell: CGContextRef c = UI...

IE smoothing a map pan when dragging

I've trying to smooth out the performance of a map application i've been building using javascript. I initially implemented a dragging pan using onmousedown onmousemove onmouseup However in IE it feels really sluggish and it appears that when you move the cursor really fast the map doesn't update it position until you stop moving. I...

Mesh smoothing with Gaussian

I wish to smooth a given 3D mesh, which uses the Half-Edge structure to store adjacency information, using a Gaussian function. The following is the algorithm that was proposed: Smooth the mesh by moving every vertex to a position determined by a weighted average of its immediate neighbors (with weights determined by a Gaussian...

C# - How to make text/labels smooth?

Hello. Does anyone know how to make labels, or text, smoother? At the moment they look quite jagged. As I want to make the label dynamic, I can't just insert the text from Photoshop. Any idea? Thanks. ...

How I can disable font smoothing on imagick?

I use php+imagick and can not turn off font smoothing. When I used the GD, could simply set a negative font color and smoothing switching off. ...

help: how to smooth a mesh generated by Marching Cubes in real-time?‏

Hi, I'm now using the marching cubes algorithm for a project (real-time rendering of human teeth from CT images). Here is the rendering result: http://www.freeimagehosting.net/uploads/4c2e2c94be.jpg You can see that the mesh generated by MC is not so smooth. Are you guys aware of any real-time smoothing algorithm which can be applied ...

Math: Ease In, ease Out a displacement using Hermite curve with time constraint

Hi, I'm trying to write a method that interpolates from 0 to x (position of an object in one dimension) over time using acceleration at the beginning and deceleration at the end (ease out / ease in) with the only constraints that the total time is provided, as well as the duration of the acceleration and deceleration. the motion should r...