home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / graphics / 11589 < prev    next >
Encoding:
Text File  |  1992-11-08  |  9.4 KB  |  277 lines

  1. Newsgroups: comp.graphics
  2. Path: sparky!uunet!cis.ohio-state.edu!magnus.acs.ohio-state.edu!usenet.ins.cwru.edu!agate!boulder!ucsu!rintintin.Colorado.EDU!chickles
  3. From: chickles@rintintin.Colorado.EDU (CHICKLES DEREK JASON)
  4. Subject: Responses from Contouring Non-gridded Data
  5. Message-ID: <1992Nov6.204241.11028@ucsu.Colorado.EDU>
  6. Keywords: responses, non-gridded data
  7. Sender: news@ucsu.Colorado.EDU (USENET News System)
  8. Nntp-Posting-Host: rintintin.colorado.edu
  9. Organization: University of Colorado, Boulder
  10. Date: Fri, 6 Nov 1992 20:42:41 GMT
  11. Lines: 264
  12.  
  13. Here are the responses I got from posting the following:
  14.  
  15. >Hello,
  16. >
  17. >I am looking for any free source out there that will make contours of
  18. >non-gridded data. I would prefer to have source in C or C++, but other
  19. >languages are usable. The data I am using contains a coordinate (x,y)
  20. >and a value associated with each coordinate.
  21. >
  22. >I haven't found any algorithms yet that do contours without the data being in
  23. >a grid. Does the data need to be mapped into a grid then contoured? -- Or
  24. >is there some slick method for doing this?
  25.  
  26. Mail these people for more information.
  27.  
  28.     DEREK    chickles@rintintin.colorado.edu
  29.  
  30. ---------------------------------------------------------------------------
  31. From dave@stereo.mitre.org Wed Oct 28 14:59:36 1992
  32. Subject: Re: Contouring non-gridded data
  33.  
  34. One approach would be to triangulate the data using a Delaunay
  35. triangulation, then for each triangle draw a line segment where
  36. the triangle intersects any contour threshold, which defines a plane.
  37.  
  38. Petroleum engineers, cartographers, and geographers do this type of
  39. thing all the time, and there are many more advanced methods than
  40. the one I suggest.
  41.  
  42. I can supply you with a few specific references if you are interested.
  43.  
  44.  
  45.  
  46. ---------------------------------------------------------------------------
  47. From spl@szechuan.UCSD.EDU Wed Oct 28 16:16:37 1992
  48. Subject: Re: Contouring non-gridded data
  49.  
  50. I've got a subroutine called CONISD (CONtour Irregularly Spaced Data)
  51. that's written in FORTRAN.  Drop me a note if you want it.
  52.  
  53.                             spl
  54. -- 
  55. Steve Lamont, SciViGuy -- (619) 534-7968 -- spl@szechuan.ucsd.edu
  56. UCSD Microscopy and Imaging Resource/UCSD Med School/La Jolla, CA 92093-0608
  57. Let the people who own the country govern the country.
  58. Vote Perot in `92.
  59.  
  60. ---------------------------------------------------------------------------
  61. From ruprecht@corse.informatik.uni-freiburg.de Thu Oct 29 04:33:40 1992
  62. Subject: Re: Contouring non-gridded data
  63. Organization:     Institut fuer Informatik der Universitaet Freiburg
  64. Address:     Rheinstrasse 10-12, D-7800 Freiburg i. Br., Germany
  65. Phone:         +49-761-203 3884, fax: +49-761-203 3889
  66.  
  67. If you are willing to write your own code, here are some references
  68. that might be of use for you:
  69.  
  70. @InCollection{Alfeld89,
  71.   author =    {P. Alfeld},
  72.   title =    {Scattered Data Interpolation in Three or More Variables},
  73.   booktitle =    {Mathematical Methods in CAGD},
  74.   publisher =    {Academic Press},
  75.   year =    {1989},
  76.   editor =    {T. Lyche and L.L. Schumaker},
  77.   pages =    {1-33}
  78. }
  79. Abstract = {This is a survey of techniques for the interpolation of
  80. scattered data in three or more independent variables. It covers
  81. schemes that can be used for any number of variables as well as
  82. schemes specifically designed for three variables. Emphasis is on
  83. breadth rather than depth, but there are explicit illustrations of
  84. different techniques used in the solution of multivariate
  85. interpolation problems.}
  86.  
  87. @Article{Hardy71,
  88.   author =    {R.L. Hardy},
  89.   OPTfullname =    {Rolland L. Hardy},
  90.   title =     {Multiquadric Equations of Topography and other
  91.          Irregular Surfaces},
  92.   journal =     {J. Geophys. Res.},
  93.   year =     {1971},
  94.   volume =     {76},
  95.   OPTnumber =     {},
  96.   pages =     {1905-1915},
  97.   OPTmonth =     {}
  98. }
  99.  
  100. @Article{Hardy90,
  101.   author =    {R.L. Hardy},
  102.   title =    {Theory and Applications of the multiquadric--biharmonic
  103.          Method},
  104.   journal =    {Computers and Mathematics with Applications},
  105.   year =    1990,
  106.   volume =    19,
  107.   pages =    {163-208}
  108. }
  109.  
  110. @Article{Carlson91,
  111.   author =    {R.E. Carlson and T.A. Foley},
  112.   title =    {The parameter ${R}^2$ in multiquadric interpolation},
  113.   journal =    {Computers and Mathematics with Applications},
  114.   year =    1991,
  115.   volume =    21,
  116.   pages =    {29-42}
  117. }
  118.  
  119. @InCollection{Sibson81,
  120.   author =     {R. Sibson},
  121.   title =     {A Brief Description of Natural Neighbour Interpolation},
  122.   booktitle =     {Interpreting Multivariate Data},
  123.   publisher =     {Wiley},
  124.   year =     {1981},
  125.   editor =     {D.V. Barnett},
  126.   pages =     {21-36},
  127.   address =     {New York}
  128. }
  129.  
  130. @Article{Watson87,
  131.   author =    {D. Watson},
  132.   title =    {Neighborhood-based Interpolation},
  133.   journal =    {Geobyte},
  134.   volume =    2,
  135.   number =    2,
  136.   pages =    {12-16},
  137.   year =    1987
  138. }
  139.  
  140. @Article{Farin90,
  141.   author =    {G. Farin},
  142.   title =    {Surfaces over Dirichlet Tesselations},
  143.   journal =    {Computer Aided Geometric Design},
  144.   volume =    7,
  145.   year =    1990,
  146.   pages =    {281-292}
  147. }
  148.  
  149. @Article{Franke82,
  150.   author =    {R. Franke},
  151.   title =    {Scattered Data Interpolation: Tests of Some
  152.            Methods},
  153.   journal =    {Mathematics of Computation},
  154.   year =    {1982},
  155.   volume =    {38},
  156.   number =    {157},
  157.   pages =    {181-200},
  158.   month =    {Jan.},
  159.   note =    {}
  160. }
  161. Abstract = {This paper is concerned with the evaluation of methods
  162. for scattered data interpolation and some of the results of the
  163. tests when applied to a number of different methods. The process
  164. involves evaluation of the methods in terms of timing, storage,
  165. accuracy, visual pleasantness of the surface, and ease of
  166. implementation. To indicate the flavor of the type of results
  167. obtained, we give a summary table and representative perspective
  168. plots of several surfaces.}
  169.  
  170. @InCollection{Franke87,
  171.   author =    {R. Franke},
  172.   title =    {Recent advances in the approximation of surfaces from
  173.          scattered data},
  174.   booktitle =    {Topics in Multivariate Approximation},
  175.   publisher =    {Academic Press},
  176.   address =    {New York},
  177.   year =    1987,
  178.   editor =    {L.L. Schumaker and C.C. Chui and F.Utreras et al.},
  179.   pages =    {175-184}
  180. }
  181.  
  182. -- 
  183.  
  184. Nick Ruprecht
  185. Institut fuer Informatik der Universitaet Freiburg
  186.  
  187. ---------------------------------------------------------------------------
  188. From dave@stereo.mitre.org Thu Oct 29 07:15:49 1992
  189. Subject: Re: Contouring non-gridded data
  190.  
  191. Here are some references on the triangulation method I suggested:
  192.  
  193. CL Lawson (1977), Software for C1 surface interpolation, In: JR Rice (ed)
  194. Mathematical Software III, Academic Press, New York, pp. 161-194.
  195.  
  196. RF Fowler & JJ Little (1979), Automatic extraction of irregular digital 
  197. terrain models, Computer Graphics 13(3) 199-207.  (discusses contour
  198. map generation from triangulation)
  199.  
  200. SW Sloan (1987), A fast algorithm for constructing Delaunay triangulations
  201. in the plane, Advances in Engineering Software 9(1) 34-55.
  202.  
  203. The method I suggest is probably the simplest & fastest way.  This is
  204. a piecewise linear interpolation of the sample points.
  205.  
  206. Geologists often use a more sophisticated method called 'kriging' to
  207. interpolate the data, and then fit smooth curves to the interpolated
  208. data for the contour maps.  If you do a library search on kriging and
  209. contour mapping, you should come up with a _lot_ of references.
  210.  
  211. David A. Southard                     tel: (617)271-7425
  212. The MITRE Corporation E073            fax: (617)271-2964
  213. Bedford MA 01730-1420 USA             net: southard@mitre.org (internet)
  214.  
  215.  
  216.  
  217. ---------------------------------------------------------------------------
  218. From ma@informatik.uni-kiel.dbp.de Thu Oct 29 08:23:35 1992
  219. Subject: Re: Contouring non-gridded data
  220.  
  221. There are a number of methods for contouring non-gridded data,
  222. most of them involving triangulation.
  223. David Watson (somewhere in Australia) is writing or has written a book on that
  224. subject; he'll probably reply to your query as well.
  225. I don't know of any freely available program, but I guess I could dig out
  226. a couple of papers.
  227.  
  228. If, however, you have access to GRASS (free GIS distributed by CERL) - they
  229. include one or two functions for interpolating scattered data using
  230. thin-plate splines. If interested, ask me for details.
  231.  
  232. Martin
  233. --
  234. Martin Ameskamp, Kiel University, Germany
  235. Fax: ++49 431 8804054, Voice: ++49 431 8804474, 
  236. email: ma@informatik.uni-kiel.dbp.de
  237.  
  238. ---------------------------------------------------------------------------
  239. From orgk2-a.sundin@macpost.lu.se Thu Oct 29 13:17:45 1992
  240.  
  241. Check out
  242.  
  243. A Method of Bivariate Interpolation and Smooth Surface Fitting for Irregularly 
  244. Distributed Data Points., Akima, Hiroshi, ACM-Transactions of  Mathematical 
  245. Software, Vol. 4, No 2, 1978, pp 148-159 
  246.  
  247. An improved (?) method was described in the same journal:
  248. Vol.10, NO. 4, December 1984, pp. 473-.
  249.  
  250. The source code is available from netlib:
  251. ==========================================================
  252. Do:
  253.         mail netlib@nac.no
  254.         send index
  255.  
  256. If ftp is more convenient for you than email, you may connect to
  257. "research.att.com"; log in as "netlib".
  258. ==========================================================
  259.  
  260. The source code is in FORTRAN and is in the TOMS directory.
  261.  
  262. --
  263.  Anders Sundin                e-mail: Anders.Sundin@orgk2.lth.se
  264.  Organic Chemistry 2                  sundinKC@dna.lth.se
  265.  Lund University                      ok2aps@seldc52.bitnet
  266.  P.O. Box 124                 voice:  +46 46 104139
  267.  S-22100 Lund, Sweden         fax:    +46 46 108209
  268.  
  269. ---------------------------------------------------------------------------
  270. From pbuttuls@seymour.ucs.ualberta.ca Tue Nov  3 10:37:21 1992
  271. Subject: Re: Contouring non-gridded data
  272.  
  273. I have a program written in FORTRAN '66 that has been running on our
  274. mainframe successfully for over 10 years. You'd have to convert it to
  275. call the graphics routines you want. Right now it uses the CalComp 
  276. routines PLOTS, PLOT, SYMBOL,...
  277.