Generating contour lines from regular data intervals

I am currently working on a data visualization project. My goal is to create contour lines, in other words, iso-lines, from data snapped to the grid. The data may be temperature, meteorological data or any other environmental parameters, but only the condition should be on a regular basis. I searched on the Internet, however I could not find a good algorithm, pseudocode or source code for creating contour lines from grids. Does anyone know a library, source code, or algorithm for creating contour lines from gridded data? it will be good if your proposal has good runtime performance, I don’t want to wait so long for my users :)

Edit: thanks for the answer, but the contours have some limitations, as they should not intersect, so just generating Bezier curves does not reach my goal.

+5
source share
4 answers

See this question: How to approximate a vector outline from a height raster?

This is almost a duplicate, but uses a completely different terminology. You will find that cartography and computer graphics solve many of the same problems, but use different terminology for them.

+4
source

GNUplot has a pretty good outline if you can use the GPL code, which can help.

+1
source

, ( B-) . , , , , . DirectX, , brew , 1001 -, .

0

, ( , ). , . , ( / ), .

, 2 1/2 ( , , ) 4 , , . - 4 , "" true ( ).

, , .

0

All Articles