Changes between Version 30 and Version 31 of Tutorial/AdvancedParticleImagingVelocimetry2
- Timestamp:
- Jan 19, 2015, 5:56:37 PM (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Tutorial/AdvancedParticleImagingVelocimetry2
v30 v31 10 10 11 11 = 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.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, 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. 13 13 14 14 = Sub_background = … … 28 28 = Making two masks = 29 29 The 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 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]. 31 31 32 32 = PIV on the parietal plume = 33 Choose the following parameters: 33 Open 'Dalsa1.back' and in the GUI '''series''', change the same on the bottom '''output SubDir''' by Dalsa1.sback.civ_bulk 34 35 Choose the following parameters in the GUI '''civ_input''': 34 36 * pair j=1-2 for Civ1 and Civ2 : it minimises the time interval which is needed to capture the large velocity in the plume. 35 37 * !CorrBox x,y=(5 31) which optimizes the resolution in x (5 pixels) … … 44 46 45 47 = 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.48 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. 47 49 48 Now in seriesopen 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...'''.50 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...'''. 49 51 50 52 Set '''!FieldTransform''' to 'phys', and select '''Projection Object'''. The plane for projection is then incorporated in '''series'''.