Main Features
What is DaVis?DaVis is a commercial software for imaging applications developed by LaVision. For PIV or Synthetic Schlieren applications, DaVis computes vector fields (velocity or displacement fields) from correlations of images of particles. These fields can be saved in a specific DaVis file format (VEC or VC7 files), which can be imported in Matlab using the ReadIMX Loader package provided by LaVision. Based on this package, the PIVMat Toolbox offers a number of command-line functions to further post-process and analyze those vector fields. CompatibilityThe PIVMat Toolbox works with MATLAB 7 or higher, on every plateform (PC, UNIX, Mac). Files from DaVis 6 and 7 (formats VEC, VC7, IMG, IMX, IM7, SET and EXP), files from MatPIV (format MAT) and Optical Flow files (formats UW0 and CM0) are supported. Note that the import of DaVis files works only on Windows (32-bits version only), and requires to install first the MATLABIMX package (version 1.4 or higher) provided by LaVision: see the installation procedure below. If you have a 64-bits Windows XP edition, you will need to install the 32-bits version of Matlab to run the PIVMat toolbox. Once imported, the files can be converted into standard MAT files and further used under all plateform (PC, UNIX, Mac). Some functions require the Image Processing Toolbox. Installation procedure1. Download the PIVMat Toolbox and extract the ZIP file in a folder, for example /My documents/Matlab/toolbox/pivmat (make sure the subdirectories html, sample and private are correctly unzipped as well). If you upgrade from an older version, first empty the previous directory. 2. If you wish to import DaVis files (Windows only), download also the latest version of MATLABIMX ('ReadIMX Loader package for MATLAB'), either from the 'Download' area of the LaVision web site www.lavision.de, or simply here, and extract the ZIP file in another folder, for example /My documents/Matlab/toolbox/readimx. Note that you need to sign up first and login to access to the LaVision download area. 3. From the menu 'File > Set Path', click on 'Add Folder' (not Add with Subfolders) and select the directory pivmat (and also the directory readimx if needed). Click on 'Save' and 'Close'. 4. Restart MATLAB. To get started, type docpivmat, or select Toolboxes > PIVMat from the Start button. Getting startedThe first step is to import some vector fields into a MATLAB structure array. The simplest way to import data is to double-click on a file on the Current Directory Browser. You can also import data using the function loadvec. Each element of this structure array contains the two matrices of the velocity components, the coordinate system, and some additional informations (units, axe names, PIV parameters...) Once imported, the velocity fields can be displayed using showf, or converted into various scalar fields using vec2scal. A sample directory, named sample, with 3 experimental series of PIV fields, is provided with the toolbox to test the following example. The example given below is based on DaVis 7 files (format VC7), but can be followed for other formats.
See the Online help and the FAQ for more examples, or type docpivmat in Matlab. How to acknowledge?Go to the PIVMat page on the Matlab Central and offer a 5-stars rating! User CommunityThis toolbox is used by several laboratories and universities worldwide. If you want to submit suggestions, comments, bug reports, or if you wand to receive upgrade informations, please feel free to send an email to the author. Earlier versions
pivmat1.50.zip (21 jul 2006). LinksPIVMat page on the Matlab Central. This page is hosted by FAST |