spacer spacer spacer
spacer spacer spacer
spacer
NASA Logo - Jet Propulsion Laboratory    + View the NASA Portal
spacer
JPL Home Earth Solar System Stars & Galaxies Technology
ParVox Parallel Volume Rendering System
ParVox Home ../Images & Animations ParVox Document Download Source PAT Home Section 387 Division 38
spacer
spacer spacer spacer
spacer

vlchange_filter


NAME

    vlchange_filter   -  Change the splatting filter type and its parameters

SYNOPSIS

    #include <parvox.h>

    void vlchange_filter(char* filter_type, float sigma, float radius);


DESCRIPTION

    ParVox uses three different filters to construct the kernel for the splatting algorithm, namely, Gaussian filter, Max filter, Box filter, or none.  filter_type can be one of the four choices, "gaussian", "max", "box", or "pt" with "pt" representing point sampling without filter.  The selection of the filter and its parameters determines the quality of the rendered image and the rendering time.  Gaussian filter is the highest quality filter used in Parvox where sigma defines the spread of the kernel.  A sigma of 2.5 is equivalent to a spread of 160 percent, in other words, the tail of the Gaussian kernel stops 60% of the way to the next voxel.    Max filter is a 1-D square root filter and the radius defines the normalized distance from the center of the kernel. Box filter is a box (at value 1) filter with radius defining the spread of the filter.   Point sampling simply projects the voxel to the image space as a point source and resamples it to the nearest pixel, no splatting is applied.


SEE ALSO

    
 

DIAGNOSTICS

 v
spacer
spacer spacer spacer
spacer
Privacy / Copyrights FAQ Contact JPL Sitemap
spacer
spacer spacer spacer
spacer
FIRST GOV   NASA Home Page This page, http://pat.jpl.nasa.gov/public/ParVox/API/vlchange_filter.html, is maintained by Peggy Li and was last modified Wednesday, 09-Mar-2005 16:31:46 PST
spacer
spacer spacer spacer
spacer spacer spacer
JPL NASA Caltech