1 Introduction

Particle image velocimetry (PIV) is a non-intrusive measurement technique that estimates the first-order velocity field in a plane, or even in a volume, by measuring the displacement of particles in a certain time interval \(\Updelta t.\) Due to the nature of the recording principle, each measured velocity vector represents a volume-averaged mean motion of the discretized and quantized tracer particle’s diffraction images, rather than the actual velocity of the flow (Adrian and Westerweel 2010; Raffel et al. 2007). To maximize the bandwidth of PIV measurements, the dynamic spatial range (DSR) and the dynamic velocity range (DVR) must be maximized (Adrian 1997).

Single-pixel ensemble-correlation allows for the reduction in the averaging volume in two dimensions, compared to standard window-correlation (Westerweel et al. 2004; Kähler et al. 2006; Scharnowski et al. 2012). Thus, single-pixel ensemble-correlation yields a very large DSR, in particular for low-magnified images (Kähler et al. 2012).

Eckstein and Vlachos (2009) as well as Sciacchitano et al. (2012) presented methods to improve the accuracy of PIV evaluation, which results in increased DVR values. Another possibility to achieve a large DVR, as well as to get accurate estimations of the velocity and quantities derived from it, especially for low magnifications, is to maximize the particle image shift by selecting a sufficiently large time delay between subsequent illuminations. On the other hand, a large time separation may cause a bias error in areas with curved streamlines, as illustrated in Fig. 1. Wereley and Meinhart (2001) analyzed a method for the estimation of the shift vectors with second-order accuracy, and Scholz and Kähler (2006) applied this method to single-pixel vector fields. To achieve an estimation with higher-order accuracy, more than two time steps are generally required (Lele 1991). A multi-pulse system, as outlined in Kähler and Kompenhans (2000), can be combined with a multi-frame evaluation method. Hain and Kähler (2007) as well as Persoons and O'Donovan (2011) describe such a method, developed for PIV, and Cierpka et al. (2012) recently reported an analogous idea, applicable to PTV. Using either combination would allow for higher-order accuracy velocity measurements.

Fig. 1
figure 1

Particle path estimated from the position of the particle image at time t and \(t+\Updelta t\)

Since multi-pulse techniques require more expensive equipment, the idea of this paper is to achieve higher-order accuracy from conventional double-pulse recordings by estimating the curvature of the particle path from the second-order shift vector field. The reconstruction of the particle path from the local shift vectors and their gradients is mainly based on the assumption that neighboring streamlines do not cross. The article is divided into three main sections. Section 2 discusses the curvature-correction from an analytical point of view. In Sects. 3 and 4, the developed method is applied to synthetic PIV data of a flow fields with constant and non-constant curvature, respectively, in order to verify the theoretical predictions. Finally, the approach is tested on a realistic flow field from the third PIV challenge (Sect. 5)

2 Mathematical description

2.1 First-order bias error

The evaluation of double-pulse double-frame PIV images approximates the path of motion by a straight line, and the first-order shift vector simply connects the location of particle images at time t and at time \(t+\Updelta t.\) The straight line is the shortest possible path; thus, for complex flows, the actual path is usually longer. Hence, the absolute value of the estimated shift vector is generally underestimated. Assuming an actual path with constant curvature, as shown in Fig. 2, this bias error can be computed from the difference of the arc length and the secant

$$ \begin{aligned} \delta_{\rm abs} \Updelta{\bf X}^{(1)} &=\xi\cdot R-\left|\Updelta X^{(1)}\right|\\ &= R\left(\xi-2\cdot\sin\frac{\xi}{2}\right) \end{aligned} $$
(2.1)

where R is the radius of the curvature, \(\left|\Updelta X^{(1)}\right|\) is the absolute value of the first-order shift vector and ξ the arc’s angle (see Fig. 2). Furthermore, the angle of the estimated first-order shift vector is biased if the actual path is curved

$$ \delta_{\rm angle} \Updelta{\bf X}^{(1)} = \frac{\pi}{2}-\arccos\left(\frac{\left|\Updelta X^{(1)}\right|}{2\cdot R}\right) $$
(2.2)
Fig. 2
figure 2

Second-order shift vector and curvature-corrected shift vector

In Eq. 2.2, π/2 is the angle between the tangent of the arc and the radius, whereas the arccos term is the angle between the first-/second-order shift vector and the radius. For \(\left|\xi\right|<\pi, \) Eq. 2.2 can be reduced to

$$ \delta_{\rm angle} \Updelta{\bf X}^{(1)} = \frac{\xi}{2} $$
(2.3)

Both the bias of the absolute value and the bias of the angle depend on the radius of the curved path and on the arc’s angle. However, these quantities are unknown and cannot be measured directly.

2.2 Second-order bias error

For second-order accurate PIV evaluation, the first-order shift vector is moved to the middle position of the start point and the end point of the vector. This fully compensates for the angular error from Eq. 2.2 in the case of constant curvature, since the vector is aligned tangentially to the actual path. However, the vector’s length is still biased. Furthermore, the vector is pushed to a different streamline where the actual velocity is generally different. The bias error of the absolute velocity depends on the curvature, on the arc’s angle and on the change of the second-order shift vector’s absolute value perpendicular to the streamline

$$ \begin{aligned} \delta_{\rm abs}\Updelta{\bf X}^{(2)} &=\xi\cdot R-\left|\Updelta X^{(2)}\right|+\left|{{\varvec{\delta}}}_{\rm cc}\right|\cdot\left|\frac{\partial\left|\Updelta{\bf X}^{(2)}\right|}{\partial{\bf n}}\right|\\ &=R\cdot\left(\xi-2\cdot\sin\frac{\xi}{2}\right) \\ &\quad+R\cdot\left(1-\cos\frac{\xi}{2}\right)\cdot\left|\frac{\partial\left|\Updelta{\bf X}^{(2)}\right|}{\partial{\bf n}}\right| \end{aligned} $$
(2.4)

where n is the unit vector perpendicular to the streamline. As before, the bias depends on the unknown parameters ξ and R.

2.3 Curvature-correction

In order to compensate for first- and second-order bias errors, the parameters ξ and R must be extracted from the shift vector field. Neighboring shift vectors that connect two points on the same streamline can be used to estimate the flow path’s curvature, as illustrated in Fig. 3. For the sake of clarity, the second-order shift vector in Fig. 3 is moved such that its center falls on the original starting point. The same holds for the neighboring vector and for the curvature-corrected one.

Fig. 3
figure 3

Curvature-correction by using neighboring, which are connected by the same streamline

For the curvature-correction, the main idea is to find a neighboring vector in the vicinity (\(r \rightarrow 0,\) see Fig. 3) of the second-order shift vector such that both vectors connect two points on the same circle. Under this condition, the following relation holds between the angles of the vectors \({\varvec{\delta}}_{\bf 1}\) and \({\varvec{\delta}}_{\bf 2}\) and the second-order shift vector

$$ \beta_{1}+\phi-{\phi_{n}}=\beta_{2} $$
(2.5)

Where \(\phi\) and \(\phi_n\) are the angle of the second-order shift vector and the neighboring vector. The starting point of the neighboring vector must be close to the starting point of the shift vector in order to align the vector \({\varvec{\delta}_{\bf 1}}\) tangentially to the circle. Due to the finite vector spacing of PIV data points, a local (first-order) series expansion for the neighboring vector

$$ \Updelta{\bf X}^{\left(2\right)}\left(\left(X_{0},Y_{0}\right)+{\varvec{\delta}_{1}}\right)= \Updelta{\bf X}^{\left(2\right)}\left(X_{0},Y_{0}\right)+\frac{\partial\Updelta{\bf X}^{(2)}}{\partial{\varvec{\delta}_{\bf 1}}}\cdot{\varvec{\delta}_{\bf 1}}+\cdots $$
(2.6)

is required in order to interpolate between the discrete data points. The second-order shift vector \(\Updelta{\bf X}^{\left(2\right)}\left(X_{0},Y_{0}\right)\) and a neighboring shift vector that fulfills the condition in Eq. 2.5 differ by the vector \({\varvec{\delta}_{\bf 2}}-{\varvec{\delta}_{\bf 1}}\):

$$ \Updelta{\bf X}^{\left(2\right)}\left(X_{0},Y_{0}\right)+{\varvec{\delta}_{\bf 2}}= {\varvec{\delta}_{\bf 1}}+\Updelta{\bf X}^{\left(2\right)}\left(\left(X_{0},Y_{0}\right)+{\varvec{\delta}_{\bf 1}}\right) $$
(2.7)

In order to find a suitable neighboring shift vector, vectors surrounding \(\left(X_{0},Y_{0}\right)\) are analyzed. For a fixed distance between the second-order vector and the neighboring vector, the angle α is varied (see Fig. 3). The angles β 1 and β 2 depend on α as follows:

$$ \begin{aligned} \beta_{1}\left(\alpha\right)& =-\varphi \\&\quad +\hbox{arctan }\left(\frac{r\cdot\left(2\cdot\sin\alpha-V_{X}\cos\alpha-V_{Y}\sin\alpha\right)}{r\cdot\left(2\cdot\cos\alpha-U_{X}\cos\alpha-U_{Y}\sin\alpha\right)}\right) \end{aligned}$$
(2.8)
$$ \begin{aligned} \beta_{2}\left(\alpha\right)&=\varphi \\&\quad -\hbox{arctan }\left(\frac{r\cdot\left(2\cdot\sin\alpha+V_{X}\cos\alpha+V_{Y}\sin\alpha\right)}{r\cdot\left(2\cdot\cos\alpha+U_{X}\cos\alpha+U_{Y}\sin\alpha\right)}\right) \end{aligned}$$
(2.9)

where \(\left(U_{0},V_{0}\right)\) are the components of the second-order shift vector at \(\left(X_{0},Y_{0}\right),\) and U X ,  U Y ,  V X , and V Y are the partial derivatives with respect to X and Y, respectively. The angle \(\varphi\) is the orientation of the second-order shift vector. It is important to note that β 1 and β 2 are not given explicitly in Eq. 2.8 and 2.9. However, it is possible to compute \(\beta_{1}\left(\alpha\right)\) and \(\beta_{2}\left(\alpha\right)\) for a set of α (ranging from \(\varphi-\pi/2\) to \(\varphi+\pi/2\)) and find the solution for \(\beta_{1}\left(\alpha\right)=\beta_{2}\left(\alpha\right)\) numerically at fairly low computational cost. Once the angle β 1 is found, the radius R of the circle can be computed

$$ R=\frac{\left|\Updelta{\bf X}^{(2)}\left(X_{0},Y_{0}\right)\right|}{2\cdot\sin\frac{\xi}{2}} $$
(2.10)

where the arc’s angle is given by

$$ \frac{\xi}{2}=\beta_{1} $$
(2.11)

The sign of R defines the direction of the curvature: If R > 0, the streamline follows clockwise rotation, and for R < 0, the streamline follows counter-clockwise rotation in a right-handed system. Finally, from the radius R and the arc’s angle ξ, the curvature-correction is applied to the second-order shift vector field in three steps as follows:

  • the second-order vector is shifted toward the streamline with constant curvature using the shift vector \({{\varvec{\delta}}}_{\rm cc}: \)

  • $$ {{\varvec{\delta}}}_{\rm cc}=R\cdot\left(1-\cos\left[\frac{\xi}{2}\right]\right)\cdot \left(\begin{array}{c} -\sin\varphi\\ \cos\varphi \end{array} \right) $$
    (2.12)
  • the second-order shift vector is enlarged from the tangent’s length to the arc length in order to compensate for the bias error of the absolute value from Eq. 2.1

  • the corrected vector field is interpolated to the regular grid of the second-order vector field

It should be emphasized that the estimation of the angle β 1 is based on the gradients of the second-order shift vector field (see Eqs. 2.8 and 2.9). Thus, for reliable curvature-correction, the gradients must be estimated accurately first.

For 3D PTV or tomographic PIV, the approach works in the same way: A neighboring shift vector that fulfills Eq. 2.5 allows for the curvature-correction. Additionally, the vectors δ1 and δ2 from Fig. 3 must lie in the same plane in order to estimate the most likely path of motion with constant curvature.

3 Synthetic example: Lamb-Oseen vortex

The Lamb–Oseen vortex is a frequently used vortex model in fluid dynamics. The circumferential velocity component \(V_{\varphi}\) of this vortex model is given by the following equation:

$$ V_{\varphi}(r)=\frac{\Upgamma}{2\pi r}\left(1-\exp\left[\frac{-r^{2}}{r_{c}^{2}}\right]\right) $$
(3.1)

where \(\Upgamma\) is the total circulation and r c the vortex core radius. The radial velocity of a Lamb–Oseen vortex is zero; thus, the streamlines have a constant curvature. Therefore, this vortex is well suited to validate the capability of the developed method. The curvature-correction eliminates (in theory) the bias error completely due to constant curved streamlines. Thus, no bias error should be visible after correction. To demonstrate the performance of the developed method, synthetic images were generated, as described in Sect. 3.1, and evaluated using different methods: window-correlation for a single pair of PIV images (Sect. 3.2), ensemble-averaged window-correlation (Sect. 3.3) and single-pixel ensemble-correlation (Sect. 3.4).

3.1 Image generation

The analysis based on synthetic images gives full control of all simulation parameters without any limitations regarding their range, and it is possible to detect sensitivities, which indicate what is relevant and what is not (Kähler et al. 2012; Stanislas et al. 2008); 10,000 synthetic image pairs, 512 × 512 px in size, with a stationary Lamb–Oseen vortex in the center, were generated for different total circulations \(\Upgamma.\)

A particle image density of dens = 25 % was applied, meaning that 25 % of the image area was covered by particle images. The digital particle image diameter was set to D = 3 px; hence, the number of particles per pixel was \(N_{\rm ppp}=4\cdot dens/\left(D^{2}\cdot\pi\right)=0.035\) on average. A Gaussian particle image shape was assumed

$$ I\left(X,Y\right)= I_{0}\cdot\exp\left[-8\cdot\left[\left(\frac{X-X_{0}}{D}\right)^{2}+\left(\frac{Y-Y_{0}}{D}\right)^{2}\right]\right] $$
(3.2)

where \(\left(X_{0},Y_{0}\right)\) is the randomly chosen center position, and D is the diameter at 1/e 2 of the maximum intensity (4 times the standard deviation). The maximum intensity of the particle images was I 0 = 214. From Eq. 3.2, the discrete pixel’s gray values were computed from the integral over the pixel’s area, corresponding to a sensor fill factor of 1. Non-uniform pixel response, as outlined in Kähler (2004), was not considered.

The intensity distribution of the first synthetic PIV frame A is given by the following equation:

$$ A\left(X,Y\right)=\sum_{p=1}^{P}\left[\int\limits_{X-0.5}^{X+0.5} \int\limits_{Y-0.5}^{Y+0.5}I_{p}\left(X,Y\right){\text {d}}x{\text {d}}y\right] $$
(3.3)

where P and p are the number of particle images and the corresponding control variable, respectively. On top of the particle image intensities, a Gaussian noise with zero mean and a standard deviation of \(1\,\%\cdot I_{0}\) were added. Finally, the intensity distribution was converted into a 16-bit unsigned integer matrix.

For the second frame, the center positions of the particle images were shifted such that the distances to the vortex center remained constant and the arc lengths were proportional to the circumferential velocity from Eq. 3.1. The image generation was performed using MatLab functions.

3.2 Window-correlation

To analyze the effect of curved streamlines on the accuracy of the estimated vector fields, single PIV image pairs of a synthetic vortex are processed. Figure 4a shows an instantaneous vector field computed with window-correlation using DaVis8.1 (by LaVision GmbH), including multi-pass evaluation with decreasing window size, iterative window shifting, image deformation and adaptive Gaussian window weighting. The interrogation window size was reduced from 64 × 64 px down to 16 × 16 px, and two passes were performed for each window size. Furthermore, an initial shift vector field, computed from the product of a constant and the field of a slowly rotating vortex, was used to overcome the difficulties due to the large shift vector length and the strong gradients. The background color in Fig. 4a represents the absolute value of the curvature-corrected shift vector. Shift vectors with first- and second-order accuracy as well as curvature-corrected ones are shown in different colors for X =  − 4 px. The vortex core radius and the total circulation were r c  = 20 px and \(\Upgamma=10^{4}\,\hbox{px}^{2},\) respectively. This results in a relatively large maximum particle image shift of 36 px. Figure 4b shows the circumferential shift vector component \(\Updelta X_{\Upphi}\) for three different circulations (\(\Upgamma=\left[1,000; 5,000; 10^{4}\right]\,\hbox{px}^{2}\)) estimated with first- and second-order accuracy and for curvature-corrected vectors using a final interrogation window size of 8 × 8 px and 16 × 16 px.

Fig. 4
figure 4

Instantaneous curvature-corrected shift vector field computed with window-correlation (a) and estimated circumferential velocity component of a simulated Lamb–Oseen vortex (b)

It can be concluded from Fig. 4 that for the test case

  • for a shift vector length of <3.6 px, the maximum bias error of first-order and second-order evaluation is 0.01 px which is in the order of (or even below) the random error

  • for regions with large gradients (r < 30 px), small interrogation windows are required for reliable velocity estimations because the bias error due to the spatial averaging is large compared to the bias error caused by the curvature

  • the curvature-correction results in significantly decreased bias in the case of large shift vectors for 8 × 8 px interrogation windows.

3.3 Averaged window-correlation

While instantaneous velocity fields are very important for a deeper understanding of the flow physics, statistical values, such as the mean velocity and Reynolds stresses, are required for the validation of numerical flow simulations and for the proof of analytical theories in fluid mechanics. For the estimation of average quantities, the sum-of-correlation approach is more accurate (Wereley and Meinhart 2001). This is because of two reasons: First, the bias error arising from gradients can be reduced as smaller interrogation windows can be applied. Second, the error in estimating the maximum of the correlation is not summed up as in the case of classical cross correlation analysis.

To analyze the effect of curved streamlines on the accuracy of estimated shift vector fields by using sum-of-correlation evaluation, 100 PIV image pairs of a synthetic vortex were processed. Figure 5a shows an averaged vector field computed with window-correlation using DaVis8.1 (by LaVision GmbH) with the same processing parameters as before. Once again, the vortex core radius and the total circulation were r c  = 20 px and \(\Upgamma=10^{4}\,\hbox{px}^{2},\) respectively. Figure 5b shows the circumferential shift vector component for three different circulations, estimated with first- and second-order accuracy using 8 × 8 px interrogation windows for the final pass as well as curvature-corrected results.

Fig. 5
figure 5

Averaged curvature-corrected shift vector field computed with sum-of-window-correlation (a) and estimated circumferential velocity component of a simulated Lamb–Oseen vortex (b)

Figure 5a, b show that the curvature-correction reduces the bias error significantly in the case of large shift vectors. However, for regions with large gradients (r < 30 px), a small systematic deviation remains even for the curvature-correction. This bias is caused by the final size of the interrogation windows. To reduce this bias error, single-pixel ensemble-correlation analysis is required.

3.4 Single-pixel ensemble-correlation

Single-pixel evaluation can be used for a large amount of PIV image pairs and results in significantly improved spatial resolution (Kähler et al. 2012). This is always of importance for the analysis of flow fields with strong gradients. Single-pixel ensemble-correlation was first applied by Westerweel et al (2004) for stationary laminar flows in microfluidics. In the last years, the approach was extended for the analysis of periodic laminar flows (Billy et al. 2004), of macroscopic laminar, transitional and turbulent flows (Kähler et al. 2006) and for compressible flows at large Mach numbers (Kähler and Scholz 2006; Bitter et al. 2011). Scholz and Kähler (2006) have extended the high-resolution evaluation concept also for stereoscopic PIV recording configurations. Recently, based on the work of (Kähler et al. 2006), the single-pixel evaluation was further expanded to estimate Reynolds stresses in turbulent flows with very high resolution (Scharnowski et al. 2012).

For single-pixel ensemble-correlation, the correlation functions C(ξψXY) can be computed from a pair of PIV image sets A(XY) and B(XY) as follows:

$$ C(\xi,\psi,X,Y)= \frac{\sum\nolimits_{n}{\left[A_{n}(X,Y)-\bar{A}(X,Y) \right]\cdot\left[B_{n}(X+\xi,Y+\psi)-\bar{B}(X+\xi, Y+\psi)\right]}}{\sigma A(X,Y)\cdot\sigma B(X+\xi,Y+\psi)}$$
(3.4)

where the standard deviation is given by:

$$ \sigma A\left(X,Y\right)= \sqrt{\frac{1}{N-1}\sum\limits_{n}\left[A_{n} \left(X,Y\right)-\bar{A}\left(X,Y\right)\right]^{2}} $$
(3.5)

(XY) are discrete coordinates of the pixel in question in both images and (ξψ) are the coordinates on the correlation plane. The maximum position of the correlation function C represents the mean shift vector with first-order accuracy. Second-order accuracy can be achieved by moving the first-order vectors to their middle position as demonstrated in Scholz and Kähler (2006). Furthermore, the curvature-correction discussed in Sect. 2.3 can be applied to the second-order vector field (or directly from the first-order field by applying some modifications to Eq. 2.8). In the case of a stationary laminar flow, the curvature-correction estimates the most likely streamline with constant curvature. On the other hand, for turbulent flows, the curvature-correction estimates the mean path with constant curvature which is not identical with the actual streamline of instantaneous vector fields.

In order to analyze the effect of curved streamlines on the accuracy of estimated shift vector fields using single-pixel ensemble-correlation, 10,000 synthetic PIV images were generated and evaluated. Figure 6a shows an averaged vector field computed with single-pixel ensemble-correlation using Eq. 3.4. As before, the vortex core radius and the total circulation were r c  = 20 px and \(\Upgamma=10^{4}\,\hbox{px}^{2},\) respectively. Figure 6b shows the circumferential shift vector component for three different circulations estimated with first- and second-order accuracy as well as with curvature-correction. Figure 6b shows that the curvature-correction causes the expected bias error reduction for the single-pixel evaluation. Furthermore, even for regions with strong gradients (r < 30 px), the third-order accurate data points fit the theoretical curve closely. Thus, the remaining bias of the window-correlation approach could be eliminated completely, as expected from the theory.

Fig. 6
figure 6

Bias error of the shift vector’s absolute value (left) and angle (right) for first-order (top) and second-order (bottom) accuracy using single-pixel ensemble-correlation

Figure 7 shows the difference of the shift vector’s absolute value (left) and angle (right) for first-order (top) and second-order (bottom) accuracy with respect to the curvature-corrected shift vector. The simple first-order approximation underestimates the circumferential velocity (Fig. 7a) and causes a strong inward-facing radial component, indicated by the positive sign of the angular bias in Fig. 7b. The second-order approximation gives the right values for the shift vector’s angle (Fig. 7d) but the circumferential component is still biased. Figure 7c shows that the velocity in the core (r < 20 px) is overestimated, while the velocity outside the core is underestimated. The curvature-corrected estimation does not suffer from any bias error for the tested Lamb–Oseen vortex. These findings are in agreement with the theoretical predictions in Sect. 2.

Fig. 7
figure 7

Averaged curvature-corrected shift vector field computed with single-pixel ensemble-correlation (a) and estimated circumferential velocity component of a simulated Lamb–Oseen vortex (b)

Figure 8 shows the relative bias error of the second-order shift vector’s absolute value with respect to the arc’s angle ξ. From the figure, it can be concluded that for the tested cases, the bias error is negligible for angles smaller than ξ < 10°. Only for large angles ξ, which require strongly curved streamlines, combined with large shift vectors, are the curvature-correction necessary.

Fig. 8
figure 8

Bias error of the estimated second-order shift vector’s absolute value with respect to the arc’s angle

4 Non-constant curvature

So far, the developed method was applied to synthetic shift vector fields of stationary vortices, where the curvature along the streamlines is constant. This section analyzes vector fields with non-constant curvature. Again, synthetic images are used to have full control of all involved parameters. The test case is a flow along sinusoidal streamlines, as shown in Fig. 9. The shape of a streamline centered at Y 0 is given as follows:

$$ Y(X)=a\cdot\sin\left(\frac{X\cdot2\pi}{b}\right)+Y_{0} $$
(4.1)

where a and b are the amplitude and the period, respectively. The streamline’s curvature 1/R changes periodically with respect to X

$$ 1/R=\frac{4\cdot a\cdot\pi^{2}\sin\left(\frac{2\cdot\pi\cdot X}{b}\right)}{\left(b^{2}+4\cdot a^{2}\cdot\pi^{2}\cos^{2}\left(\frac{2\cdot\pi\cdot X}{b}\right)\right)^{3/2}} $$
(4.2)
Fig. 9
figure 9

Synthetic shift vector field with sinusoidal streamlines

At the inflection points, the curvature is zero, where it reaches values of up to \(4\cdot a\cdot\pi^{2}/b^{2}\) at the extrema of the sin function in Eq. (4.1). To analyze the effect of this non-constant curved streamlines on the accuracy of the estimated shift vector field, synthetic image pairs were generated, as discussed in Sect. 3.1. A constant shift vector length \(\Updelta S\) along the streamlines was simulated. Therefore, for each point \(\left(X_{0},Y_{0}\right),\) the displacement in the X direction \(\Updelta X\) is computed from the curve’s length

$$ \Updelta S=\int\limits_{X_{0}}^{X_{0}+\Updelta X}\sqrt{1+\frac{4\cdot\pi^{2}}{b^{2}}\cdot\cos^{2} \left(\frac{2\cdot\pi\cdot X}{b}\right)}{\text {d}}X $$
(4.3)

and the displacement in the Y direction from

$$ \Updelta Y=Y\left(X_{0}+\Updelta X\right)-Y\left(\Updelta X\right) $$
(4.4)

using the definition in Eq. (4.1). The resulting shift vector field is shown in Fig. 9 for a = 20 px and b = 128 px.

Synthetic PIV image pairs, 256 × 256 px in size, with sinusoidal streamlines were generated and evaluated with averaged window-correlation. Figure 10 shows cross section plots of the estimated shift vector length for different simulated \(\Updelta S\) ranging from 5 to 50 px. Each point in Fig. 10 represents the mean displacement (absolute value) averaged over Y computed from 100 image pairs with sum-of-window-correlation using a final interrogation window size of 8 × 8 px.

Fig. 10
figure 10

Bias error of the estimated shift vector’s absolute value for a vector field with sinusoidal streamlines computed with second order accuracy and with curvature-correction using average window-correlation

The upper part of Fig. 10 clearly shows a significant bias error: The shift vector length is underestimated in regions with strong curvature. The bias error is largest for large simulated shift vectors and reaches a maximum of 12 % for \(\Updelta S=50\,{\text {px}}\) at the extrema of the sinusoidal function, which illustrate the importance of this correction for precise measurements. The curvature-correction, shown in the lower part of Fig. 10, results in significantly reduced bias error. The maximum bias error is only 5 %. Similar results were achieved by applying window-correlation to single image pairs (resulting in a higher random error) as well as by applying single-pixel ensemble-correlation to 1,000 image pairs.

The mean bias error, averaged over the image area, as a function of the shift vector length is illustrated in Fig. 11; it can be seen that the curvature-correction results in reduced bias error for all tested shift vector lengths. Additionally, the mean random error is shown in Fig. 11. For the averaged window-correlation of the test case, the mean random error is always lower than the mean bias error. Thus, the shift vector gradients can be reliably detected, and curvature-correction results in improved accuracy.

Fig. 11
figure 11

Mean bias and random error of the second-order accurate shift vectors and of the curvature-corrected ones for a flow field with sinusoidal streamlines

Figure 12 shows the normalized maximum bias error as a function of the arc’s angle ξ. The curvature at the extrema of the sinusoidal streamline is relatively large (\(1/R_{\rm min}=4\cdot a\cdot\pi^{2}/b^{2}=4\cdot20\cdot\pi^{2}/128^{2}\approx 0.05\,\hbox{px }^{-1},\,R_{\rm min} \approx 20\,\hbox{ px}\)); thus, the second-order accurate shift vectors are strongly biased. The curvature-correction reduces the maximum bias error significantly. For arc angles ξ ≤ 20°, the maximum bias error of the second-order shift vector is below 1 %, which is likely to be smaller than the random error for real PIV images. Thus, curvature-correction becomes important for ξ > 20°.

Fig. 12
figure 12

Maximum bias error of the second-order accurate shift vectors and of the curvature-corrected ones for a flow field with sinusoidal streamlines

5 Flow field example

In the following, the curvature-correction is applied to a realistic flow field example: test case B of the third PIV challenge (Stanislas et al. 2008). Case B is a synthetic sequence of 120 images with equidistant time intervals of a laminar separation bubble. The image size is 1,440 × 688 px, the particle image diameter is around 2 px and the number of particles per pixel is N ppp = 0.024.

Images 10 and 11 were evaluated with window-correlation using DaVis8.1 (by LaVision GmbH), including multi-pass evaluation with decreasing window size, iterative window shifting, image deformation and adaptive Gaussian window weighting. A final interrogation window size of 16 × 16 px was chosen. The curvature-correction, as discussed in Sect. 2.3, was applied to the second-order accurate vector field.

Figure 13a shows the estimated curvature-corrected shift vector field. The background color in the figure represents the absolute value of the shift vector, which is characterized by a very large dynamic range. Additionally, characteristic streamlines are drawn in Fig. 13a. Several regions with very strong curvature can be identified from the streamlines. Thus, the curvature-correction approach should help to reduce bias errors.

Fig. 13
figure 13

Test case B2 from the third PIV challenge (Stanislas et al. 2008): Velocity distribution and streamlines (a), covered angle of streamline with respect to the local curvature (b), and difference between the length of second-order shift vectors and curvature-corrected ones (c)

However, the bias does not only depend on the streamline’s curvature but also on the local shift vector length. The arc’s angle ξ (see Fig. 2) is an indicator of the necessity of curvature-correction. The spatial distribution of the angle ξ is illustrated in Fig. 13b. It reaches a maximum of ξ max = 1.75° at X = 1,140 px and Y = 452 px. However, according to the findings of Sects. 3 and 4, values of ξ < 10° result in negligible bias errors. This is also the case here, as can be seen from the difference of the shift vector length for the second-order accurate vectors and for the curvature-corrected ones, illustrated in Fig. 13c. The estimated maximum bias error is 5 orders (!) of magnitude smaller then the maximum shift vector length. It can be concluded that the developed method of curvature-correction does not improve the accuracy for this particular test case. In order to have a useful correction, the shift vectors must be much larger (factor of 5 or more). This would, on the other hand, increase the amount of loss of paired particle images due to out of plane motion for this 3D flow field. However, for all volumetric PIV and PTV techniques, where out of plane loss of pairs is not possible, this approach can enhance the quality of the results.

6 Conclusion

The presented method allows for the estimation and correction of the bias error due to curved streamlines from PIV data. This result is of great importance for the accurate estimation of velocity fields from PIV data acquired at low optical magnification, as required for high dynamic spatial range. The developed method was validated by analyzing synthetic PIV images of a stationary Lamb–Oseen vortex and of a flow with sinusoidal streamlines. The curvature-corrected vector fields demonstrated the benefit for standard window-correlation (instantaneous and ensemble-averaged) as well as for single-pixel ensemble-correlation. Due to the curvature-correction, the bias error of the shift vector’s absolute value and angle is significantly reduced.

The approach is limited to vector fields with low noise level, since the spatial derivatives of the second-order shift vector must be estimated reliably in order to perform the curvature-correction. Furthermore, the detectable curvature is limited by the averaging area: The interrogation window size must be significantly smaller than the streamline radius for reliable second-order accuracy and curvature-correction. The accuracy of a second-order accurate shift vector field that suffers from bias errors due to limited spatial resolution cannot be improved by applying the curvature-correction.

On the other hand, it was shown that the bias error due to curved streamlines is usually negligible for flow fields with moderate shift vector lengths and curvatures (\({\Updelta X}<20\,\hbox{ px}, \xi<10^{\circ}\)). Thus, it can be concluded that second-order accurate PIV evaluation reveals reliable results for most practical applications. However, for highly accurate measurements of the mean velocity field with up to single-pixel resolution, the approach outlined in the paper is recommended to be applied.