[51] | 1 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" |
---|
| 2 | "http://www.w3.org/TR/REC-html40/loose.dtd"> |
---|
| 3 | <html> |
---|
| 4 | <head> |
---|
| 5 | <title>Description of RUN_FIX</title> |
---|
| 6 | <meta name="keywords" content="RUN_FIX"> |
---|
| 7 | <meta name="description" content="'RUN_FIX': function for fixing velocity fields:"> |
---|
| 8 | <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> |
---|
| 9 | <meta name="generator" content="m2html © 2003 Guillaume Flandin"> |
---|
| 10 | <meta name="robots" content="index, follow"> |
---|
| 11 | <link type="text/css" rel="stylesheet" href="../m2html.css"> |
---|
| 12 | </head> |
---|
| 13 | <body> |
---|
| 14 | <a name="_top"></a> |
---|
| 15 | <div><a href="../index.html">Home</a> > <a href="index.html">.</a> > RUN_FIX.m</div> |
---|
| 16 | |
---|
| 17 | <!--<table width="100%"><tr><td align="left"><a href="../index.html"><img alt="<" border="0" src="../left.png"> Master index</a></td> |
---|
| 18 | <td align="right"><a href="index.html">Index for . <img alt=">" border="0" src="../right.png"></a></td></tr></table>--> |
---|
| 19 | |
---|
| 20 | <h1>RUN_FIX |
---|
| 21 | </h1> |
---|
| 22 | |
---|
| 23 | <h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../up.png"></a></h2> |
---|
| 24 | <div class="box"><strong>'RUN_FIX': function for fixing velocity fields:</strong></div> |
---|
| 25 | |
---|
| 26 | <h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../up.png"></a></h2> |
---|
| 27 | <div class="box"><strong>function error=RUN_FIX(filename,field,flagindex,iter,thresh_vecC,flag_mask,maskname,thresh_vel,inf_sup,fileref,fieldref) </strong></div> |
---|
| 28 | |
---|
| 29 | <h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../up.png"></a></h2> |
---|
| 30 | <div class="fragment"><pre class="comment">'RUN_FIX': function for fixing velocity fields: |
---|
| 31 | ----------------------------------------------- |
---|
| 32 | RUN_FIX(filename,field,flagindex,thresh_vecC,thresh_vel,iter,flag_mask,maskname,fileref,fieldref) |
---|
| 33 | |
---|
| 34 | filename: name of the netcdf file (used as input and output) |
---|
| 35 | field: structure specifying the field to fix (field.vel_type='civ1' or 'civ2') |
---|
| 36 | flagindex: flag specifying which values of vec_f are removed: |
---|
| 37 | if flagindex(1)=1: vec_f=-2 vectors are removed |
---|
| 38 | if flagindex(2)=1: vec_f=3 vectors are removed |
---|
| 39 | if flagindex(3)=1: vec_f=2 vectors are removed (if iter=1) or vec_f=4 vectors are removed (if iter=2) |
---|
| 40 | iter=1 for civ1 fields and iter=2 for civ2 fields |
---|
| 41 | thresh_vecC: threshold in the image correlation vec_C |
---|
| 42 | flag_mask: =1 mask used to remove vectors (0 else) |
---|
| 43 | maskname: name of the mask image file for fix |
---|
| 44 | thresh_vel: threshold on velocity, or on the difference with the reference file fileref if exists |
---|
| 45 | inf_sup=1: remove values smaller than threshold thresh_vel, =2, larger than threshold |
---|
| 46 | fileref: .nc file name for a reference velocity (='': refrence 0 used) |
---|
| 47 | fieldref: 'civ1','filter1'...feld used in fileref</pre></div> |
---|
| 48 | |
---|
| 49 | <!-- crossreference --> |
---|
| 50 | <h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../up.png"></a></h2> |
---|
| 51 | This function calls: |
---|
| 52 | <ul style="list-style-image:url(../matlabicon.gif)"> |
---|
| 53 | <li><a href="griddata_uvmat.html" class="code" title="function ZI = griddata_uvmat(X,Y,Z,XI,YI)">griddata_uvmat</a> 'griddata_uvmat': function griddata_uvmat(vec2_X,vec2_Y,vec2_U,vec_X,vec_Y,'linear')</li><li><a href="msgbox_uvmat.html" class="code" title="function varargout = msgbox_uvmat(varargin)">msgbox_uvmat</a> 'msgbox_uvmat': associated with GUI msgbox_uvmat.fig to display message boxes, for error, warning or input calls</li><li><a href="read_civxdata.html" class="code" title="function [Field,VelTypeOut]=read_civxdata(filename,FieldNames,VelType)">read_civxdata</a> 'read_civxdata': reads civx data from netcdf files</li></ul> |
---|
| 54 | This function is called by: |
---|
| 55 | <ul style="list-style-image:url(../matlabicon.gif)"> |
---|
| 56 | <li><a href="civ.html" class="code" title="function varargout = civ(varargin)">civ</a> 'civ': function associated with the interface 'civ.fig' for PIV, spline interpolation and stereo PIV (patch)</li></ul> |
---|
| 57 | <!-- crossreference --> |
---|
| 58 | |
---|
| 59 | |
---|
| 60 | |
---|
| 61 | <hr><address>Generated on Wed 10-Mar-2010 20:42:36 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/">m2html</a></strong> © 2003</address> |
---|
| 62 | </body> |
---|
| 63 | </html> |
---|