资源简介
PIV的matlab实现,PIV的实例程序(一共3个DEMO)
代码片段和文件信息
% MatPIV - Particle Image Velocimetry (PIV) Toolbox
% Version 1.6.1
%
% Written by J. Kristian Sveen 1998-2004
% J.K.Sveen@damtp.cam.ac.uk jks@math.uio.no
%
% Release information
% Readme - New features bug fixes and changes in this version.
%
% PIV - files
% matpiv - Core PIV file. All calculations start here.
% Call MatPIV using one of the following options:
% singlepass - ‘single‘ PIV with a single pass through images
% multipass - ‘multi‘ PIV using 3 iterations
% multipassx - ‘multin‘ PIV using N iterations
% mqd - ‘mqd‘ PIV using minimum quadratic difference 1 pass
% normpass - ‘norm‘ PIV using normalized correlations 1 pass
% definewoco - define transformation between pixels and centimeters
% mask - mask out regions of the flow from calculations
% mask2 - version of MASK that avoids use of the Image Proc. Toolb.
% snrfilt - Filter velocities based on Signal to Noise
% ratio in correlation plane
% peakfilt - Filter velocities based on correlation peak height
% globfilt - Filter velocities based on global vector properties
% localfilt - Filter velocities based on local vector properties
% naninterp - Interpolate NaNs after filtering
%
%
% Visualisation tools
% vekplot2 - Plot vectors. Same functionality as QUIVER
% but here the scale is known so two vector
% fields can be compared easily
% magnitude - plot sqrt(u^2+v^2) as an image
% mstreamline - wrapper call to STREAMLINE. Creates starting
% points for streamlines based on image edges
% strain - Calculate strain in a vector field
% vorticity - Calculate vorticity in a vector field
%
%
% Additional files
% mnanmedian - Calculate the median value in an array
% disregarding NaNs
% mnanmean - As above but mean.
% mnanstd - As above but Standard Deviation.
% weight - Create weight-matrix to remove bias errors due
% to particles truncated on interrogation region edges.
% bgconstruct2 - Construct a background image from a number of
% PIV images.
% automask - A first attempt to construct an automatic mask
% for PIV images
% mginput - reworking of original ginput function to
% change the pointer type to a circle
% articross.mat - Artificial cross needed in DEFINEWOCO
% articross2.mat - Artificial X needed in DEFINEWOCO
%
% Example (cd to the MatPIV directory first):
% [xyuvsnr]=matpiv(‘Demo3/mpim1b.bmp‘‘Demo3/mpim1c.bmp‘...
% [128 128; 64 64;32 32; 32 32]0.0080.5...
% ‘multin‘‘Demo3/worldco0.mat
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 1663 2004-07-18 10:31 MatPIV161\CHANGES
文件 3475 2004-07-18 10:31 MatPIV161\Contents.m
文件 231414 2004-07-18 10:30 MatPIV161\Demo1\im00.bmp
文件 231414 2004-07-18 10:30 MatPIV161\Demo1\im04.bmp
文件 231414 2004-07-18 10:30 MatPIV161\Demo1\im08.bmp
文件 231112 2004-07-18 10:30 MatPIV161\Demo1\polymask.mat
文件 7680 2010-07-13 14:03 MatPIV161\Demo1\Thumbs.db
文件 7688 2004-07-18 10:30 MatPIV161\Demo1\velocityfield.mat
文件 231414 2004-07-18 10:30 MatPIV161\Demo1\woco.bmp
文件 240 2004-07-18 10:30 MatPIV161\Demo1\worldco.mat
文件 240 2004-07-18 10:30 MatPIV161\Demo1\worldco11.mat
文件 1311798 2004-07-18 10:30 MatPIV161\Demo2\map000b.bmp
文件 1311798 2004-07-18 10:30 MatPIV161\Demo2\MatPIV000b.bmp
文件 1311798 2004-07-18 10:30 MatPIV161\Demo2\MatPIV000c.bmp
文件 1637 2004-07-18 10:30 MatPIV161\Demo2\myptvsettings.m
文件 1590 2004-07-18 10:30 MatPIV161\Demo2\myptvsettings.m~
文件 6144 2010-07-13 14:03 MatPIV161\Demo2\Thumbs.db
文件 15846 2004-07-18 10:30 MatPIV161\Demo3\articross2.bmp
文件 1152 2004-07-18 10:30 MatPIV161\Demo3\articross2.mat
文件 1201 2004-07-18 10:30 MatPIV161\Demo3\corrshifter.m
文件 917 2004-07-18 10:30 MatPIV161\Demo3\corrshifter.m~
文件 1225 2004-07-18 10:30 MatPIV161\Demo3\corrtest.m
文件 1225 2004-07-18 10:30 MatPIV161\Demo3\corrtest.m~
文件 60396 2004-07-18 10:30 MatPIV161\Demo3\default.jpg
文件 63237 2004-07-18 10:30 MatPIV161\Demo3\default.png
文件 1311798 2004-07-18 10:30 MatPIV161\Demo3\mpim1b.bmp
文件 1311798 2004-07-18 10:30 MatPIV161\Demo3\mpim1c.bmp
文件 1311798 2004-07-18 10:30 MatPIV161\Demo3\mpwoco.bmp
文件 1559 2004-07-18 10:30 MatPIV161\Demo3\myptvsettings.m
文件 5164 2004-07-18 10:30 MatPIV161\Demo3\phasetest.m
............此处省略232个文件信息
评论
共有 条评论