Changes between Version 209 and Version 210 of UvmatHelp


Ignore:
Timestamp:
Jun 16, 2018, 10:45:10 PM (7 years ago)
Author:
sommeria
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • UvmatHelp

    v209 v210  
    104104 * '''Extracting data''' as Matlab arrays. Information stored in the GUI UVMAT (as ''!UserData'' in the figure) can be extracted in the Matlab work space by the menu bar command  '''[Export/field in workspace]''' (or by pressing the right mouse button on the GUI). Type '>>Data_uvmat.Field' to get the current input field as a Matlab structure. An image or scalar matrix is for instance obtained as Data_uvmat.Field.A.
    105105
    106  * '''Extracting a movie'''. You can create a movie reproducing the effect of the button ++> of uvmat: the content of each successive view is reproduced in an ancilary figure whose content is eventually saved as a movie with format .avi (no compression). Display in uvmat the field chosen as  the first frame of the movie, and adjust the settings: it is advised to fix the scale of the scalar or vector fields to keep it constant during the movie. Then use the upper bar menu option '''[Export/make movie]'''. The figure used for the movie appears as well as an ancillary GUI '''[set_movie]''' used to set the frame rate,the image resolution and the total number of frames. It is possible to edit the titles in the figure using the tools of Matlab. When everything is ready, press '''[START]''' in '''[set_movie]'''. 
     106 * '''Extracting a movie'''. You can create a movie reproducing the effect of the button ++> of uvmat: the content of each successive view is reproduced in an ancilary figure whose content is eventually saved as a movie with format .avi (no compression). Display in uvmat the field chosen as  the first frame of the movie, and adjust the settings: it is advised to fix the scale of the scalar or vector fields to keep it constant during the movie. Then use the upper bar menu option '''[Export/make movie]'''. The figure used for the movie appears as well as an ancillary GUI '''[set_movie]''' used to set the frame rate,the image resolution and the total number of frames. It is possible to edit the titles in the figure using the tools of Matlab. When everything is ready, press '''[START]''' in '''[set_movie]'''.
    107107
    108108----
    109109== 3 - Input files and navigation with UVMAT ==
    110110=== 3.1  Input data formats ===
    111 Uvmat can read any image format recognised by the Matlab image reading function ''imread.m''. Images can be in true color or B&W, with 8 bit or 16 bit grey levels. Image files containing multiple frames are handled. Movie files can be also opened, using the Matlab function ''!VideoReader.m'', or ''mmreader.m'' for older versions of Matlab.
    112 
    113 ''UVMAT'' can also read various kinds of data in the binary format NetCDF, as described in [#a7Netcdffilesandget_field section 7]. Velocity fields obtained by PIV and results of data processing are stored in this format. Derived quantities (vorticity, divergence...) can be directly obtained. The input file type is recognized by the function ''get_file_type.m'' of UVMAT and the file is opened by the function ''read_field.m'' according to this file type. It is possible to include new input file types by a modification of these two functions.
    114 
    115 The PIV software provided in UVMAT can deal with any image or movie format recognised by Matlab, while the older fortran version CIVx requires B&W images in the format png (portable network graphics). It is a binary format for images with lossless (reversible) compression, recommended by w3c (http://www.w3.org/Graphics/PNG). It is an open source patent-free replacement of GIF and can also replace many common uses of TIFF. It can be read directly by all standard programs of image visualisation and processing.  Compressing a raw binary image to its png form typically saves disk storage by a factor of 3.
    116 
    117 In addition to standard formats, uvmat can also read the proprietary formats from the companies Lavision (.im7), cameras Phantom (.cine), and the company Rdvision.
    118 
    119 For 3D PIV**, 'volume' images, with file extension .vol are used. These are images in the  png format, where the npz slices are concatenated along the y direction, forming a composite image of dimension (npy x npz, npx) from the images (npy x npx).
     111The package'' UVMAT'' can read any image format recognised by the Matlab image reading function ''imread.m''. Images can be in true color or B&W, with 8 bit or 16 bit grey levels. Image files containing multiple frames are handled. Movie files can be also opened, using the Matlab function ''!VideoReader.m'', or ''mmreader.m'' for older versions of Matlab. ''UVMAT'' can also read the proprietary  image formats from the companies Lavision (.im7), cameras Phantom (.cine), and  the company Rdvision.
     112
     113Images produced by the software are in the format png (portable network graphics).  It is a binary format for images with lossless (reversible) compression,  recommended by w3c (http://www.w3.org/Graphics/PNG).  It is an open source patent-free replacement of GIF. It can be read directly by all  standard programs of image visualisation and processing.  Compressing a  raw binary image to its png form typically saves disk storage by a  factor of 3.
     114
     115''UVMAT'' can also read data in the binary format NetCDF, as described in [#a7Netcdffilesandget_field section 7]. Velocity fields obtained by PIV and results of data processing are stored in this format. For 3D PIV, 'volume' images are also stored in this format.
     116
     117The input file type is recognized in ''UVMAT'' by the function ''get_file_type.m''  and the file is opened by the function ''read_field.m'' according to this file type. It is possible to include new input file types by a modification of these two functions.
    120118
    121119=== 3.2 Selecting fields from CIV ===