]> Pileus Git - ~andy/rsl/blob - doc/RSL_volume_to.html
Initial import
[~andy/rsl] / doc / RSL_volume_to.html
1 <!doctype html public "-//w3c//dtd html 4.0 transitional//en">
2 <html>
3 <head>
4    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
5    <meta name="GENERATOR" content="Mozilla/4.5 [en] (X11; U; Linux 2.0.32 i686) [Netscape]">
6 </head>
7 <body>
8 <a href="index.html"><img SRC="rsl.gif" ></a>
9 <hr>
10 <h1>
11 RSL_volume_to...</h1>
12
13 <hr>
14 <h3>
15 Synopsis</h3>
16 <b>#include "rsl.h"</b>
17 <br><b>void RSL_volume_to_gif(<a href="RSL_volume_struct.html">Volume</a>
18 *v, char *basename, int xdim, int ydim, float range);</b>
19 <br><b>void RSL_volume_to_pict(<a href="RSL_volume_struct.html">Volume</a>
20 *v, char *basename, int xdim, int ydim, float range) ;</b>
21 <br><b>void RSL_volume_to_pgm(<a href="RSL_volume_struct.html">Volume</a>
22 *v, char *basename, int xdim, int ydim, float range);</b>
23 <br><b>void RSL_volume_to_ppm(<a href="RSL_volume_struct.html">Volume</a>
24 *v, char *basename, int xdim, int ydim, float range);</b>
25 <h3>
26
27 <hr>Description</h3>
28 <b>RSL_volume_to_gif</b>: Given a Volume pointer, <b>v</b>, output a series
29 of GIF images. Output filenames are <b>basename</b>.00.gif, <b>basename</b>.01.gif,
30 etc., for the number of sweeps. It calls <a href="RSL_sweep_to.html">RSL_sweep_to_gif</a>
31 once for each sweep. When making images of velocity data, it may be necessary
32 to call <a href="RSL_rebin_velocity.html">RSL_rebin_velocity_sweep</a>
33 to rebin the values from -nyquist to +nyquist.
34 <p><b>RSL_volume_to_pict</b>: Identical to RSL_volume_to_gif except it
35 writes PICT files.
36 <p><b>RSL_volume_to_ppm</b>: Identical to RSL_volume_to_gif except it writes
37 PPM files.
38 <p><b>RSL_volume_to_pgm</b>: Identical to RSL_volume_to_gif except it writes
39 PGM files.
40 <p>Efficiency note: The functions RSL_volume_to_gif and RSL_volume_to_pict.
41 and any other output formats that may arrise, all function identically
42 with the only difference being the output pipe command (ppmtogif, ppmtopict,
43 etc.). Each routine performs a polar to cartesean mapping via RSL_sweep_to_cart,
44 then calls the appropriate write function. If you plan to output many image
45 formats at once, it will be wise to perform the polar to cartesean mapping
46 once, then call RSL_write_gif, RSL_write_pict, etc. This could be done,
47 for instance, in a function called RSL_volume_to_pict_and_gif.&nbsp;
48 <hr>
49 <h3>
50 Return value</h3>
51 None.&nbsp;
52 <hr>
53 <h3>
54 See also</h3>
55 <a href="RSL_rebin_velocity.html">RSL_rebin_velocity_ray</a>, <a href="RSL_rebin_velocity.html">RSL_rebin_velocity_sweep</a>,
56 <a href="RSL_rebin_velocity.html">RSL_rebin_velocity_volume</a>,
57 <br><a href="RSL_sweep_to.html">RSL_sweep_to_gif</a>, <a href="RSL_sweep_to.html">RSL_sweep_to_pict</a>,
58 <a href="RSL_sweep_to.html">RSL_sweep_to_pgm</a>, <a href="RSL_sweep_to.html">RSL_sweep_to_ppm</a>,
59 <br><a href="RSL_load_color_table.html">RSL_load_color_table</a>, <a href="RSL_load_color_table.html">RSL_load_green_table</a>,
60 <a href="RSL_load_color_table.html">RSL_load_red_table</a>, <a href="RSL_load_color_table.html">RSL_load_blue_table</a>,
61 <br><a href="RSL_load_color_table.html">RSL_load_refl_color_table</a>,
62 <a href="RSL_load_color_table.html">RSL_load_sw_color_table</a>, <a href="RSL_load_color_table.html">RSL_load_vel_color_table</a>,
63 <br><a href="RSL_volume_to.html">RSL_volume_to_gif</a>, <a href="RSL_volume_to.html">RSL_volume_to_pict</a>,
64 <a href="RSL_volume_to.html">RSL_volume_to_pgm</a>, <a href="RSL_volume_to.html">RSL_volume_to_ppm,</a>
65 <br><a href="RSL_color_table.html">RSL_get_color_table</a>, <a href="RSL_color_table.html">RSL_set_color_table</a>.
66 <hr>
67 <p>Author: <a href="john.merritt.html">John H. Merritt</a>
68 </body>
69 </html>