vfv1.01

所属分类:matlab编程
开发工具:matlab
文件大小:133KB
下载次数:7
上传日期:2010-07-20 05:56:54
上 传 者changazi
说明:  LIC toolbox for matlab 2D data

文件列表:
Tools (0, 2005-11-16)
Tools\animvfield.asv (3056, 2005-09-07)
Tools\animvfield.m (3376, 2005-11-15)
Tools\explorevfield.asv (2737, 2005-09-07)
Tools\explorevfield.m (2804, 2005-11-15)
Tools\fastLICFunction.asv (4607, 2005-09-07)
Tools\fastLICFunction.c (4758, 2005-09-07)
Tools\fastLICFunction.dll (7680, 2005-11-15)
Tools\grayFastLIC.asv (5548, 2005-08-31)
Tools\grayFastLIC.m (5766, 2005-11-15)
Tools\grayLIC.asv (2606, 2005-07-26)
Tools\grayLIC.m (3440, 2005-11-15)
Tools\grayLICExternal.asv (732, 2005-07-31)
Tools\grayLICExternal.m (1612, 2005-11-15)
Tools\help.htm (22149, 2005-12-04)
Tools\installvfv.m (165, 2005-11-15)
Tools\intensity2color.asv (1251, 2005-09-03)
Tools\intensity2color.m (1273, 2005-11-15)
Tools\LICFunction.c (3442, 2005-04-28)
Tools\LICFunction.dll (7168, 2005-04-28)
Tools\plotvfield.asv (3050, 2005-09-07)
Tools\plotvfield.m (3056, 2005-11-15)
Tools\previewvfield.asv (1123, 2005-09-07)
Tools\previewvfield.m (1129, 2005-11-15)
Tools\quivervfield.asv (1148, 2005-09-06)
Tools\quivervfield.m (1356, 2005-09-06)
Tools\test.asv (1061, 2005-08-14)
Tools\testvfv.asv (554, 2005-09-06)
Tools\testvfv.m (548, 2005-09-06)
Tools\value2hue.m (114, 2005-01-10)
Tools\vectorFieldSample.jpg (93315, 2005-11-16)
Tools\VFVlicense.txt (18011, 2005-11-15)

Matlab VFV Toolbox 1.0 By Nima Bigdely Shamlo (email: bigdelys-vfv@yahoo.com) Computational Science Research Center San Diego State University Under GNU GENERAL PUBLIC LICENSE Function: Matlab VFV toolbox is developed to help spot intricate details of a vector field. It uses Fast LIC method to produce texture and employs histogram determination methods to increase the contrast of output images. Matlab VFV toolbox provides a complete set of commands to generate LIC images and animations. The tools are arranged in a graphical user interface (GUI) for exploring vector fields with zooming capabilities. Requirements: Matlab version 6+. Matlab Image Processing toolbox. How to Install: Copy all toolbox files into one folder, then make it Matlab current folder. This distribution contains a compiled DLL for windows, for use in other operating systems please type: > installvfv This will compile external functions written in C. How to Begin: Type: > testvfv This brings up toolbox GUI to explore a test data set. Commands: * EXPLOREVFIELD: Provides a GUI for exploring vector fields. * PREVIEWVFIELD: Make an easy preview of the vector field. * PLOTVFIELD: Visualizes a vector field. * ANIMVFIELD: Generates an LIC animation. VFV toolbox also includes several functions used only internally. Each of these functions includes a detailed description in its .M file. Command Syntax: * EXPLOREVFIELD Provides a GUI for exploring vector fields. It offers Zoom-in, Zoom-out and Animation capabilities. [RECT, LICMOVIE] = EXPLOREVFIELD (VX, VY) brings up the GUI for the vector field by VX and VY. VX and VY should contain X and Y components of the vector field. They should be M x N floating point arrays with equal sizes. RECT returns the last region selected in a 4-element vector with the form [XMIN YMIN WIDTH HEIGHT]. LICMOVIE returns the last Matlab movie generated by 'Make Animation' command. * PREVIEWVFIELD Provides an easy preview of the vector field using LIC method. It automatically resizes the vector field to a convenient size. [PREVIEW,ZOOMFACTOR] = PREVIEWVFIELD (VX, VY, COLORMAP, MAXDIMENSION); PREVIEW returns the generated colored LIC image. ZOOMFACTOR returns the zoom factor being used. VX and VY should contain X and Y components of the vector field. They should be M x N floating point arrays with equal sizes. COLORMAP is a standard matlab colormap array (an M-by-3 matrix) used by this function to convert scalar values to colors. MAXDIMENSION is the largest preview image dimension. Field is resized in a manner that the largest dimension of the output image will be MAXDIMENSION. Example: previewvfield(vx,vy); * PLOTVFIELD Uses LIC method to visualize a vector field. FINALLIC = PLOTVFIELD(VX, VY, ZOOMFACTOR, ITERATIONS, COLORMAP, RECT, METHOD) makes a colored LIC image and returns it in FINALLIC. VX and VY should contain X and Y components of the vector field. They should be M x N floating point arrays with equal sizes. ZOOMFACTOR should be a floating point number for magnification of an area indicated in RECT parameter. If this parameter is not specified, default value of 1.0 will be used. ITERATIONS is an integer number for the number of iterations used in Iterative LIC method. Use number 2 or 3 to get a more coherent output image. COLORMAP is a standard matlab colormap array (an M-by-3 matrix) used by this function to convert scalar values to colors. RECT is a 4-element vector with the form [XMIN YMIN WIDTH HEIGHT]; these values are specified in spatial coordinates of vector field (VX and VY arrays). Input field will first cropped to this region then zoomed using ZOOMFACTOR. If this parameter is not specified, the entire area of the field will be zoomed. METHOD specifies which implementation of LIC should be used. Default method is using externally implemented Fast LIC method. Use 'ef' for externally implemented Fast LIC method. Use 'f' for internally implemented Fast LIC method. Use 'r' for internally implemented Regular LIC method. Example: LICimage = plot(vx,vy); (vx, vy are M x N matrices) This makes a LIC image stores it in LICimage variable. * ANIMVFIELD Uses Animated LIC method to generate an animation showing the direction of a steady-flow (time-invariant) vector field by apparent motion. LICMOVIE = ANIMVFIELD(VX, VY, ZOOMFACTOR, FRAMES, COLORMAP, RECT) makes a Matlab movie and returns it in LICMOVIE. VX and VY should contain X and Y components of the vector field. They should be M x N floating point arrays with equal sizes. ZOOMFACTOR should be a floating point number for magnification of an area indicated in RECT parameter. If this parameter is not specified, default value of 1.0 will be used. FRAMES should contain an integer for the number of animation frames. If this parameter is not specified, default value of 10 will be used. COLORMAP is a standard matlab colormap array (an M-by-3 matrix) used by this function to convert scalar values to colors. RECT is a 4-element vector with the form [XMIN YMIN WIDTH HEIGHT]; these values are specified in spatial coordinates of vector field (VX and VY arrays). Input field will first get cropped to this region then zoomed using ZOOMFACTOR. If this parameter is not specified, the entire area of the field will be zoomed.

近期下载者

相关文件


收藏者