RSL_volume_to...
Synopsis
#include "rsl.h"
void RSL_volume_to_gif(Volume
*v, char *basename, int xdim, int ydim, float range);
void RSL_volume_to_pict(Volume
*v, char *basename, int xdim, int ydim, float range) ;
void RSL_volume_to_pgm(Volume
*v, char *basename, int xdim, int ydim, float range);
void RSL_volume_to_ppm(Volume
*v, char *basename, int xdim, int ydim, float range);
Description
RSL_volume_to_gif: Given a Volume pointer, v, output a series
of GIF images. Output filenames are basename.00.gif, basename.01.gif,
etc., for the number of sweeps. It calls RSL_sweep_to_gif
once for each sweep. When making images of velocity data, it may be necessary
to call RSL_rebin_velocity_sweep
to rebin the values from -nyquist to +nyquist.
RSL_volume_to_pict: Identical to RSL_volume_to_gif except it
writes PICT files.
RSL_volume_to_ppm: Identical to RSL_volume_to_gif except it writes
PPM files.
RSL_volume_to_pgm: Identical to RSL_volume_to_gif except it writes
PGM files.
Efficiency note: The functions RSL_volume_to_gif and RSL_volume_to_pict.
and any other output formats that may arrise, all function identically
with the only difference being the output pipe command (ppmtogif, ppmtopict,
etc.). Each routine performs a polar to cartesean mapping via RSL_sweep_to_cart,
then calls the appropriate write function. If you plan to output many image
formats at once, it will be wise to perform the polar to cartesean mapping
once, then call RSL_write_gif, RSL_write_pict, etc. This could be done,
for instance, in a function called RSL_volume_to_pict_and_gif.
Return value
None.
See also
RSL_rebin_velocity_ray, RSL_rebin_velocity_sweep,
RSL_rebin_velocity_volume,
RSL_sweep_to_gif, RSL_sweep_to_pict,
RSL_sweep_to_pgm, RSL_sweep_to_ppm,
RSL_load_color_table, RSL_load_green_table,
RSL_load_red_table, RSL_load_blue_table,
RSL_load_refl_color_table,
RSL_load_sw_color_table, RSL_load_vel_color_table,
RSL_volume_to_gif, RSL_volume_to_pict,
RSL_volume_to_pgm, RSL_volume_to_ppm,
RSL_get_color_table, RSL_set_color_table.
Author: John H. Merritt