Changes between Version 30 and Version 31 of Tutorial/AdvancedParticleImagingVelocimetry2


Ignore:
Timestamp:
Jan 19, 2015, 5:56:37 PM (6 years ago)
Author:
vaillant1p
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Tutorial/AdvancedParticleImagingVelocimetry2

    v30 v31  
    1010
    1111= Mask =
    12 Open the original image with '''uvmat''', selecting the transform option 'phys'. Create a mask polygon by the menu bar command '''Projection object/mask_polygon'''. Set the option 'mask_outside' and introduce the coordinates of the four corners in '''Coord''' (like for geometry calib). Plot the polygon then create the corresponding mask by '''Tools/make mask'''. The default name is 'mask_1.png' in the subfolder Dalsa1.mask.
     12Open the original image with '''uvmat''', selecting the transform option 'phys'. Create a mask polygon by the menu bar command '''Projection object/mask_polygon'''. Set the option 'mask_outside' and introduce the coordinates of the four corners in '''Coord''' (like for geometry calib). Plot the polygon, save it as 'contour_mask.xml' then create the corresponding mask by '''Tools/make mask'''. The default name is 'mask_1.png' in the subfolder Dalsa1.mask.
    1313
    1414= Sub_background =
     
    2828= Making two masks =
    2929The parietal jet requires a very good resolution, particularly among x. To limitate PIV to this jet, let us create a specific mask.
    30 Open the previously created contour polygon contour_mask.xml in uvmat  by the menu bar '''Projection object/browse...'''. Check the box '''edit''' (tag '''[!CheckEditObject]''') in the frame '''Object''' of uvmat (right hand side) to allow editing of the polygon then replace the lower x bound 0 by 52. Create the corresponding mask by '''Tools/make mask''', save it with name Dalsa1.mask/mask_plume.png. Similarly create a mask for the bulk Dalsa1.mask/mask_bulk.png, with bounds in x [0 55].
     30Open the previously created contour polygon contour_mask.xml in uvmat by the menu bar '''Projection object/browse...'''. Check the box '''edit''' (tag '''[!CheckEditObject]''') in the frame '''Object''' of uvmat (right hand side) to allow editing of the polygon then replace the lower x bound 0 by 52. Create the corresponding mask by '''Tools/make mask''', save it with name Dalsa1.mask/mask_plume.png. Similarly create a mask for the bulk Dalsa1.mask/mask_bulk.png, with bounds in x [0 55].
    3131 
    3232= PIV on the parietal plume =
    33 Choose the following parameters:
     33Open 'Dalsa1.back' and in the GUI '''series''', change the same on the bottom '''output SubDir''' by Dalsa1.sback.civ_bulk
     34
     35Choose the following parameters in the GUI '''civ_input''':
    3436 * pair j=1-2 for Civ1 and Civ2 : it minimises the time interval which is needed to capture the large velocity in the plume.
    3537 * !CorrBox x,y=(5 31) which optimizes the resolution in x (5 pixels)
     
    4446
    4547= Merging data on a common grid =
    46 create a projection grid in phys coordinates. For that open a velocity field with uvmat, displayed in phys coordinates. Use the upper bar menu option Projection object/plane. Then in the GUI '''set_object''', choose the option !ProjMode=interp_lin. Choose a mesh 0.1 cm in each direction, ranging from 0 to 58.8 in x and 0 to 55 in y. Press REFRESH to see the result of projection in the GUI view_field. Check the option '''nb_vec/4''' to reduce the number of vectors displayed on the plot.
     48Create a projection grid in phys coordinates. For that open a velocity field with uvmat, displayed in phys coordinates. Use the upper bar menu option '''Projection object/plane'''. Then in the GUI '''set_object''', choose the option '''!ProjMode=interp_lin'''. Choose a mesh 0.1 cm in each direction, ranging from 0 to 58.8 in x and 0 to 55 in y. Press REFRESH to see the result of projection in the GUI view_field. Check the option '''nb_vec/4''' to reduce the number of vectors displayed on the plot.
    4749
    48 Now in series open the PIV file Dalsa1.sback.civ_bulk as input. Then append the second file Dalsa1.sback.civ_plume using the menu bar selection '''Open/Browse append...'''.
     50Now in '''series''' open the PIV file Dalsa1.sback.civ_bulk as input. Then append the second file Dalsa1.sback.civ_plume using the menu bar selection '''Open/Browse append...'''.
    4951
    5052Set '''!FieldTransform''' to 'phys', and select '''Projection Object'''. The plane for projection is then incorporated in '''series'''.