Code covered by the BSD License  

Highlights from
PIVMat 3.02

image thumbnail

PIVMat 3.02


Frederic Moisy (view profile)


27 Apr 2006 (Updated )

A PIV Post-processing and data analysis toolbox

filterf (PIVMat Toolbox)
filterf (PIVMat Toolbox)
PIVMat Function Reference<< Prev | Next >> 
Apply a lowpass filter to a vector/scalar field.

FF = filterf(F,FSIZE) applies a Gaussian filter of size FSIZE to the 
vector/scalar field(s) F. If FSIZE is an array, its dimension must 
match the dimension of F. If FSIZE is a scalar, the same filter size is 
applied to each field of F. FSIZE=1 is taken by default if not specified. 
FF = filterf(F,FSIZE,METHOD) specifies the filter: 
      'flat':    flat (or top-hat) matrix, ones(FSIZE,FSIZE) 
                 (FSIZE must be an even integer) 
      'gauss':   gaussian (by default) 
      'igauss':  derivative of the integrated gaussian (minimized 
                 discretisation effects for small FSIZE). 
Note : If there are missing data in the field, it is better to first 
interpolate the data. See interpf. 
The size of the filtered field is smaller than the original field, to 
avoid boundary effects (the convolution is done by CONV2 with the 
option 'valid'). If you prefer to keep the whole field, use 
If no output argument, the result is displayed by showf. 
   v = loadvec('*.vc7'); 
See Also
showf, medianf, bwfilterf, addnoisef, interpf, 
Published output in the Help browser 
   showdemo filterf 

 Previous: extractfNext: flipf 

2005-2013 PIVMat Toolbox 3.02

Contact us