Changes between Version 2 and Version 3 of Tutorial/ParticleImageVelocimetry
- Timestamp:
- Aug 28, 2013, 11:19:09 AM (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Tutorial/ParticleImageVelocimetry
v2 v3 1 Open again the first example EX1_pair.1 Open again the first example of image pair in UVMAT_DEMO01_pair.(accessible on http://servforge.legi.grenoble-inp.fr/pub/soft-uvmat/). 2 2 3 3 == Visual check == 4 Particle Image Velocimetry (PIV) measures the displacement of features in a pair of images. Visual evidence of feature displacement between the two images is a prerequisite for the success of the computation. To observe this motion, write the file indices 1 and 2 in the boxes '''[i1]''' and '''[i2]''' respectively, in the frame '''[File Indices]''' on the left. Then push the red button '''[< html><--></html>]''' in the frame '''[Navigate]''', see figure. The image then alternatively switches from 1 to 2. The speed of motion can be adjusted with the slider '''[speed]'''. Press '''[STOP]''' to stop the motion.4 Particle Image Velocimetry (PIV) measures the displacement of features in a pair of images. Visual evidence of feature displacement between the two images is a prerequisite for the success of the computation. To observe this motion, write the file indices 1 and 2 in the boxes '''[i1]''' and '''[i2]''' respectively, in the frame '''[File Indices]''' on the left. Then push the red button '''[<-->]''' in the frame '''[Navigate]''', see figure. The image then alternatively switches from 1 to 2. The speed of motion can be adjusted with the slider '''[speed]'''. Press '''[STOP]''' to stop the motion. 5 5 6 6 <doc138|center> 7 7 8 8 == Launching PIV == 9 The PIV computation is launched from the GUI 'civ', opened from uvmat by the upper bar command '''[RUN/PIV]''', or from '''series''' by selecting the function '''civ_series'''. The name CIV means Correlation Imaging Velocity to stress that the method relies on image correlations, which detect the displacement of image textures, not necessarily from particles.9 The PIV computation is launched from the GUI 'civ', opened from uvmat by the upper bar command '''[RUN/PIV]''', or from '''series''' by selecting the function '''civ_series'''. The name CIV means Correlation Imaging Velocity to stress that the method relies on image correlations, which detects the displacement of image textures, not necessarily from particles. 10 10 11 11 The PIV operation depends on many parameters, but the default values proposed by the GUI provide a good first approach in many cases. Press '''[RUN] ''' to get the result. The button is then colored in grey until the computation is finished. The operation produces a file with format netcdf, extension '''.nc''', in a subdirectory called ''''CIV' ''' by default. The file name ends with index string '_1-2' indicating that it results from images 1 and 2. The file name and its status is indicated in a new figure '''civ_status'''. Press the file name to open it with uvmat, or use the browser of '''uvmat'''. … … 14 14 15 15 == Visualizing the velocity fields == 16 } '''{** Vectors'''} To read the velocity field, open it with the GUI ''''uvmat''''. Velocity vectors are displayed in the central window, while the histograms of each component are in the lower left windows, see Fig. [uvmat_fig]. The arrow length is automatically set by default. It can be adjusted by the edit box '''[VecScale]''' in the frame '''[Vectors']''' on the right hand side.16 To read the velocity field, open it with the GUI ''''uvmat''''. Velocity vectors are displayed in the central window, while the histograms of each component are in the lower left windows, see Fig. [uvmat_fig]. The arrow length is automatically set by default. It can be adjusted by the edit box '''[!VecScale]''' in the frame '''[Vectors']''' on the right hand side. 17 17 18 The vector color indicates the quality of the image correlation maximum leading to each vector, blue is excellent, green average, red poor. The thresholds for such color display can be adjusted from 0 to 1 (perfect image correlation) in the frame''' [Vectors]''', using the boxes '''[ ColCode1] ''' and '''[ColCode2]''', or equivalently by the corresponding sliders '''[Slider1]''' and '''[Slider2] '''.18 The vector color indicates the quality of the image correlation maximum leading to each vector, blue is excellent, green average, red poor. The thresholds for such color display can be adjusted from 0 to 1 (perfect image correlation) in the frame''' [Vectors]''', using the boxes '''[!ColCode1] ''' and '''[!ColCode2]''', or equivalently by the corresponding sliders '''[Slider1]''' and '''[Slider2] '''. 19 19 20 Vector color can also represent another quantity, as chosen in the menu '''[ ColorScalar] ''' in the frame '''[Vectors]'''. For instance the vector length norm_vec can be used. Then a color continuous 64 color code is appropriate, as set in the menu '''[ColorCode]'''. The color codes values between the valuies set by '''[MinVec] ''' and '''[MaxVec].'''20 Vector color can also represent another quantity, as chosen in the menu '''[!ColorScalar] ''' in the frame '''[Vectors]'''. For instance the vector length norm_vec can be used. Then a color continuous 64 color code is appropriate, as set in the menu '''[!ColorCode]'''. The color codes values between the valuies set by '''[!MinVec] ''' and '''[!MaxVec].''' 21 21 22 22 The position (x,y) and velocity components (U,V) can be displayed in the upper right text display window by moving the mouse over it. … … 29 29 30 30 == Superposing image and vectors == 31 31 It can be useful to visually superpose the images to the velocity field. This is done by selecting the option 'image' in the popup menu '''[Fields_1]''', located just under the popup menu '''[Fields] ''' in the upper frame '''[Input]'''. To remove the image, select the blank option in '''[Fields_1]''' . 32 32 33 33 Similarly, the velocity vectors can be superposed to the vorticity field, selecting '''[vort] ''' in '''[Fields_1]''' instead of '''[image '''. 34 34 35 35 == Profiles == 36 36 The velocity profile along a line can be obtained by creating a line with the upper menu bar '''[Projection object/line]'''. Then press the left hand side mouse button and draw the line, keeping the button pressed. Release the button to stop the drawing. The transverse and longitudinal velocity components along this line are then plotted in a new figure '''view_field'''. 37 37 38 38 == Histograms == 39 39 The global histograms of the displayed quantities (vector components or image brightness) are available in the lower left windows. Histograms limited to a sub-region can be extracted by the menu bar tool '''[Projection object]''', selecting either ['''rectangle]''', '''[ellipse]''' or '''[polygon]''' to define the sub-region. Then draw the contour with the mouse, like for line profiles.