Next Article in Journal
Using UAV-Based Photogrammetry to Obtain Correlation between the Vegetation Indices and Chemical Analysis of Agricultural Crops
Previous Article in Journal
Assessment of Tropospheric Concentrations of NO2 from the TROPOMI/Sentinel-5 Precursor for the Estimation of Long-Term Exposure to Surface NO2 over South Korea
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Wave-Filtered Surf Zone Circulation under High-Energy Waves Derived from Video-Based Optical Systems

1
CNRS, UMR 5805 EPOC, Université de Bordeaux, 33615 Pessac, France
2
SIAME-E2S, Université de Pau et des Pays de l’Adour, 64600 Anglet, France
*
Author to whom correspondence should be addressed.
Remote Sens. 2021, 13(10), 1874; https://doi.org/10.3390/rs13101874
Submission received: 7 April 2021 / Revised: 5 May 2021 / Accepted: 7 May 2021 / Published: 11 May 2021

Abstract

:
This paper examines the potential of an optical flow video-based technique to estimate wave-filtered surface currents in the nearshore where wave-breaking induced foam is present. This approach uses the drifting foam, left after the passage of breaking waves, as a quasi-passive tracer and tracks it to estimate the surface water flow. The optical signature associated with sea-swell waves is first removed from the image sequence to avoid capturing propagating waves instead of the desired foam motion. Waves are removed by applying a temporal Fourier low-pass filter to each pixel of the image. The low-pass filtered images are then fed into an optical flow algorithm to estimate the foam displacement and to produce mean velocity fields (i.e., wave-filtered surface currents). We use one week of consecutive 1-Hz sampled frames collected during daylight hours from a single fixed camera located at La Petite Chambre d’Amour beach (Anglet, SW France) under high-energy conditions with significant wave height ranging from 0.8 to 3.3 m. Optical flow-computed velocities are compared against time-averaged in situ measurements retrieved from one current profiler installed on a submerged reef. The computed circulation patterns are also compared against surf-zone drifter trajectories under different field conditions. Optical flow time-averaged velocities show a good agreement with current profiler measurements: coefficient of determination ( r 2 ) = 0.5–0.8; root mean square error ( RMSE ) = 0.12–0.24 m/s; mean error (bias) = 0.09 to 0.17 m/s; regression slope = 1 ± 0.15 ; coherence 2 = 0.4–0.6. Despite an underestimation of offshore-directed velocities under persistent wave breaking across the reef, the optical flow was able to correctly reproduce the mean flow patterns depicted by drifter trajectories. Such patterns include rip-cell circulation, dominant onshore-directed surface flow and energetic longshore current. Our study suggests that open-source optical flow algorithms are a promising technique for coastal imaging applications, particularly under high-energy wave conditions when in situ instrument deployment can be challenging.

Graphical Abstract

1. Introduction

Currents induced by wave breaking constitute the primary driving mechanism of sediment transport and morphological change in the nearshore [1]. Currents flowing along the shore (longshore currents) have the capacity to transport hundreds of thousands of cubic meters of sand per year, reshaping the underlying bathymetry and mobilizing nutrients, pollutants and biological species [2,3]. Wave action in the breaker zone induces a net transport of water toward the shore, however, at certain locations along the coastline, the water returns seawards through relatively narrows zones as rip currents [4]. Rip currents are concentrated fast-moving flows of water that extend from close to the shoreline through the surf zone, sometimes beyond the breaking region [5]. These seaward-directed currents can pull swimmers offshore into deeper water making them the leading cause of fatal drowning and lifeguard rescues on beaches worldwide [6]. Rip currents and associated surf-zone circulations are subject to tidal and wave group modulation as well as to local bathymetry variations making them highly variable in space and time, with flow pulsing within the infragravity (0.004–0.04 Hz) and very low frequency (VLF) band (<0.004 Hz) [7,8]. In this context, characterizing the nearshore circulation system is crucial for efficient coastal infrastructure planning, reliable environmental assessment and appropriate beach safety strategy.
Traditional nearshore surf-zone velocity measurements are obtained by instruments deployed in situ collecting Eulerian or Lagrangian data. Examples of these instruments are electromagnetic current meters, acoustic sensors, and surface drifters [9,10]. Although these measuring techniques are robust and accurate, they are usually limited to punctual measurements over short durations [11]. Moreover, the deployment and periodic maintainence of the instruments require a significant amount of money, manpower and logistics resources [12]. Overall, collecting Eulerian and particularly Lagrangian data in high-energy beach environments is one of the greatest challenges [5]. In order to overcome these limitations, remote sensing provides an attractive alternative.
Over the past decades, the use of low-cost shore-based video systems and more recently camera-equipped unmanned aerial vehicles (UAVs) have enabled access to high-resolution temporal and spatial data of the water surface layer [13,14,15]. A few approaches based on optical remote sensing techniques have been developed to identify and characterize local surface currents associated with specific frequency bands. Dispersion relation fitting techniques [12,16,17] are one of such methods. Using the Doppler shifting of the surface gravity wave field, the surface velocity vector is estimated from the difference between observed wave phase velocity and that given by the linear dispersion relation [17]. However, the use of the linear wave dispersion in the nearshore region is questionable since non-linear effects in wave hydrodynamics become significant for example, see [18]. Moreover, the method requires a strong optical signature from the waves, which becomes problematic in the surf zone due to the presence of foam and broken waves.
Alternatively, the presence of foam have actually been exploited by optical tracking algorithms to estimate the surface flow velocity and the propagation speed of (broken) wave crests [3,11,19,20,21,22]. In the case of low wind, the remnant foam produced by breaking waves is assumed to act as a quasi-passive tracer being advected only by the underlying currents as long as the passing waves are removed. This assumption has been exploited to estimate mean longshore currents in the surf zone along a transect of pixels parallel to the shore [3,11].
For extraction of the two-dimensional velocity field, perhaps the most common and well-documented video-based technique is particle image velocimetry (PIV) [23,24]. This method essentially splits the image into several user-defined image segments or windows. The spatially-averaged displacement of a cluster of particles inside each window is computed over time using a cross-correlation approach. PIV-based techniques are typically performed in laboratory conditions using particle images (fluids containing reflective and neutrally buoyant tracer particles) to determine the velocity of the flow [25,26]. Nevertheless, several studies have applied the PIV-based approach using shore-based and UAV video footage to estimate bore celerities and surface currents in the nearshore (surf zone and swash zone) [19,20,27,28,29,30,31].
An alternative video-based technique that estimates the velocity field between consecutive images are optical flow algorithms [32]. Dérian and Almar [21] presented a methodology based on an optical flow algorithm named “Typhoon” capable to estimate instantaneous nearshore surface currents from image sequences. More recently, Anderson et al. [22] presented a new technique for processing surf-zone imagery called WAMFlow. Their approach consists of filtering the dominant optical clutter of incident waves from an image sequence by averaging frames over a sliding window in time with size of twice the dominant wave period. The resulting wave-averaged movie (WAM) contains residual foam features which are tracked using an optical flow algorithm to estimate the underlying mean flow motion inside the surf zone.
This paper builds on Anderson et al. [22] similar wave-averaged approach. However, an alternative technique is proposed to remove the dominant wave optical signature present in the image sequence based on the use of a temporal Fourier low-pass filter. The present paper aims to compare for the first time optical flow-derived velocities against in situ velocity measurements from a fixed bottom-mounted Acoustic Doppler Current Profiler (ADCP). Optical flow estimates are also qualitatively compared with Lagrangian drifters deployed at the southern end of Anglet beach (Basque Coast, SW France) during an intensive field experiment carried out in October 2018 under different wave, tide and wind conditions. Furthermore, this study provides some standard parameters for Liu [33] MATLAB open-source optical flow program (“OpenOpticalFlow”) so that anyone can reproduce and estimate wave-filtered surface velocity fields within the surf zone from consecutive images.
This paper is organized as follows: A brief introduction of the optical flow algorithm, as well as the physics-based equations, are detailed in Section 2. The study site and the field experiment, including all available instruments, are described in Section 3. The main processing steps before and after optical flow implementation are introduced in Section 4. Results, performance and limitations of the optical flow method are presented in Section 5 and further discussed in Section 6 before conclusions are drawn in Section 7.

2. Optical Flow Algorithm

Optical flow can be described as the apparent motion of individuals pixels (i.e., brightness patterns) between consecutive frames on the image plane [32,34]. The present optical flow method is a differential approach based on a global formulation with a smoothness constraint which is capable to estimate the entire vector flow field simultaneously by solving a single equation [21,33]. The estimated pixel displacement and the known time interval between frames allow computing 2D velocity components within the entire image domain. The underlying assumption is that the image intensity from one frame to another remains invariant such that the time derivative of the image intensity can be accurately evaluated [35]. This holds under the hypothesis that the pixel displacement is sufficiently small so that the pixel intensity remains constant [32].
We used Liu [33] MATLAB open-source optical flow program (“OpenOpticalFlow”) to extract high-resolution velocity fields from an image sequence containing continuous patterns. The physical and mathematical foundations of Liu [33] optical flow method are well established and have been validated for various fluid flow visualizations using laboratory, cloud and ocean images [35,36,37]. The physics-based optical flow equation in image coordinates is given by:
I t + · I u = f ( x 1 , x 2 , I ) ,
where I is the normalized image pixel intensity, u = u 1 , u 2 is the velocity vector with x 1 , x 2 coordinates in the image plane referred to as the optical flow and f ( x 1 , x 2 , I ) is related to the boundary term and diffusion term. · is the divergence operator and = x 1 , x 2 is the spatial gradient. Equation (1) is a generic form of the projected-motion equations derived by Liu and Shen [36] where the optical flow u is proportional to the path-averaged velocity of fluid or particles in flow visualizations. Equation (1) is treated as an inverse problem since it is one equation with two unknowns ( u 1 , u 2 ) . To determine the optical flow, a variational formulation with a first-order smoothness constraint is typically used [32,36]. Given I and f, we define a functional:
J u = Ω I t + · I u f 2 d x 1 d x 2 + λ Ω | u 1 | 2 + | u 2 | 2 d x 1 d x 2 ,
where λ is the Lagrange multiplier and Ω is the image domain. Minimization of the functional J u leads to the Euler-Lagrange equation:
I I t + · I u f + λ 2 u = 0 ,
where 2 = 2 x 1 2 + 2 x 2 2 is the Laplace operator and λ is the Lagrange multiplier that controls the smoothness of the field. In the special case where u = 0 and f = 0 , Equation (1) reduces to the Horn and Schunck [32] brightness constraint equation:
I t + u · I = 0 ,
and further to the Euler-Lagrange equation originally given by Horn and Schunck [32]:
I t + u · I I λ 2 u = 0 .
Equations (3) and (5) are solved using the standard finite difference method with the Neumann condition u n = 0 on the image domain boundary Ω [36,38]. In computations, the solution of Equation (5) is used as an initial approximation for Equation (3) for faster convergence. The subroutines inside OpenOpticalFlow [33] in charge of solving Equations (3) and (5) are “horn_schunck_estimator.m” and “liu_shen_estimator.m”, respectively. Further details on the mathematical development and error analysis of the optical flow method can be found in [33,36,37,38].
Liu [33] OpenOpticalFlow program also includes additional subroutines for image pre-processing (e.g., Gaussian filter for local illumination correction and random noise removal) and a coarse-to-fine iterative scheme for improvement of the optical flow computation in case of large pixel displacements. A brief description of the relevant input parameters is presented in Appendix A and can be found in Liu [33].

3. La Petite Chambre d’Amour Beach Experiment

3.1. Study Site

La Petite Chambre d’Amour (PCA) beach is the most southern stretch of the 4-km long sandy embayment of Anglet beach located on the Basque Coast, SW France (Figure 1). PCA beach is bounded by a prominent 500-m long rocky headland in the South and comprises a 90-m groin in the North. These two morphological characteristics play an important role on the beach state and rip current location [39]. Close to the headland, a 20-m wide submerged rocky reef is present exerting persistent wave breaking and occasionally bathymetrically-controlled rips at low tide under low-energy waves [40]. The beach is composed of medium to coarse sand ( D 50 2 mm) and is classified as a high-energy intermediate beach with the presence of a double-bar (occasionally single-bar) system [39]. The relative steep beach face ( tan β 1 / 10 ) favors the formation of beach cusps with shoreline dynamics strongly controlled by the geometry of the surf-zone sandbar [41]. The coast is predominantly exposed to Atlantic W-NW high-energy incoming swells with an average annual offshore significant wave height H s = 1.57 m (up to 10 m during winter storms) and average peak wave period T p = 10 s [42]. The tide is semi-diurnal characterized by a meso-macro tidal regime with an average range varying between 1.69 m (for neap tides) and 3.94 m (for spring tides) [43]. Breaking waves are the dominant driver of nearshore currents, with tide elevation affecting breaking patterns and in turn modulating nearshore currents [44]. As opposed to the northern Aquitaine open sandy beaches, PCA beach responds predominantly at individual storm frequency rather than at seasonal timescales [39].

3.2. Field Experiment

An intensive field campaign was performed at PCA beach from 3 to 26 October 2018 with the objective to investigate the nearshore current circulation and headland flows under a range of energetic wave conditions [45]. The 3-week field experiment involved a large display of instruments including four Acoustic Doppler Current Profilers (ADCPs), six surf-zone drifters and high-frequency video monitoring from a fixed video-camera and a camera-equipped UAV. In-situ directional wave and wind measurements were also continuously collected (every 30 min and 1 h, respectively) by a permanent directional wave buoy located approximately 6 km offshore and by the Biarritz airport meteorological station (71 m altitude) located 3 km SE of the study site, respectively. Hourly water level measurements were retrieved from Saint-Jean-De-Luz tide gauge located 15 km SW of the study site. In the frame of the large-scale field experiment described in Mouragues et al. [40], the present dataset gathers the data collected during the longest continuous fixed-camera video recording (8–15 October 2018) together with simultaneous Eulerian measurements collected from a single available ADCP installed over the submerged reef within the camera view field (Figure 1). The field conditions during this week are shown in Figure 2 and are described in the following subsection. In addition, the present study examines simultaneous video and drifter data during four days (on 18, 19, 22 and 23 October 2018) under different wave, wind and tide conditions (Table 1).

3.2.1. Field Conditions and Overall Nearshore Circulation

The 1-week (8–15 October 2018) continuous set of measurements used in this study (Figure 2) builds on the same experiment presented by Mouragues et al. [40]. Overall, PCA beach was exposed to relatively energetic offshore wave conditions (average H s = 1.6 m) with high-energy wave events ( H s > 2 m) with peak wave period T p ranging from 7 to 15 s (Figure 2a,b). Offshore wave conditions also featured a wide range of wave angle of incidence ( 23 < θ p < 20 °; Figure 2c). The sign of the peak wave incidence θ p (angle of wave incidence relative to the shore normal) indicates on which side of the headland waves were coming from. Wind conditions (Figure 2d,e) were relatively weak with mean wind speed values around 3 m/s coming primarily from the S-SE sector. A single moderate wind event was captured on 14 October 2018, reaching wind speed up to 12 m/s coming from the W-NW (roughly shore normal) direction. During the field experiment, PCA beach morphology corresponded to a low-tide terrace beach state (Wright and Short [46] classification) with a mostly alongshore-uniform sandy bed that barely evolved throughout the experiment. The reader is referred to Mouragues et al. [40,45] for more information about PCA bathymetry details.
Mouragues et al. [40] classified wave-induced circulation patterns observed at PCA into three wave angle of incidence configurations. According to this classification, the 1-week dataset was identified as a deflection ( θ p > 0 °; 8–10 October 2018), shore-normal ( θ p = 0 °; 11 October 2018) and shadowed ( θ p < 0 °; 12–15 October 2018) configuration. During deflection configuration (8–10 October 2018), the ADCP captured longshore currents flowing toward the headland (Figure 2f). The seaward deflection of the longshore current against the headland produced deflection rips with offshore surface velocities sporadically exceeding 0.4 m/s. On the single day of shore-normal configuration (11 October 2018) the surface flow was characterized by cross-shore motions with surface velocities oscillating between −0.4 and 0.4 m/s. During the shadowed regime (12–15 October 2018) surface currents were primarily onshore directed flowing away from the headland driven by alongshore variations in wave breaking induced by the shadowing effect of the headland [5]. Overall, surface currents were found to be strongly modulated by the tide, which coincided with a spring tide cycle with the water depth column varying from 1.5 to 5.9 m at the location of the ADCP (gray shaded region in Figure 2f). As opposed to open sandy beach embayments, PCA beach inherited geological features (headland and submerged reef) exert a strong control on nearshore circulation. A close inspection of the time evolution of wave breaking water depth, defined as h b r = H s / 0.5 for PCA field site, indicates that the ADCP is within the outer edge of the surf zone only around low tide for H s < 2 m (red line in Figure 2f). Therefore, the submerged reef (where the ADCP is installed) is assumed to play a major control in flow dynamics as waves start to break over the reef when water depth decreases.
In the frame of the drifter experiment described in Mouragues et al. [40], four days of drifter deployments were selected to analyze PCA beach main circulation patterns under different oblique wave configurations with varying wave, wind and tide conditions (Table 1). In particular, during the rising neap low tide on 23 October 2018, a deflection rip was found to systematically advect drifters from the surf zone to at least 1000 m offshore. The spatial structure of the rip consisted of an approximately 150-m wide rip neck along the headland with a wider rip head extending further offshore the headland. Lagrangian and Eulerian measurements registered mean surface velocities around 0.3 m/s in the rip neck and 0.35 m/s in the rip head along with VLF rip pulsations with characteristic periods around 30 and 50 min [40,44].

3.2.2. Video Data

High-frequency sampled images (1 Hz) recorded at 1624 × 1234 px were collected from a single permanent camera video station installed on the top of Biarritz lighthouse (70 m above mean sea level) located near the tip of the headland (green star in Figure 1). The resulting oblique images covered part of PCA near the headland, including the submerged reef and the surf zone. Unfortunately, only one of the four ADCPs deployed during the experiment was within the camera view field. In order to compare optical flow derived velocities against in-situ instruments, one week of continuous daylight video recording corresponding to simultaneous ADCP measurements were selected from 8 October 2018—07:00:00 to 15 October 2018—15:30:00 GMT. Moreover, Lagrangian measurements together with simultaneous video data were used to provide a spatial insight of the surface flow. Drifter trajectories were captured by the video system on four different days. Between 2 and 3.5-h burst of images were selected from each day of drifter deployment for further post-processing and analysis.

3.2.3. ADCP Data

A single ADCP (Nortek Aquadopp Profiler 2 MHz) was deployed within the fixed camera view field approximately 280 m away from the video station (Figure 1). This ADCP was used to retrieve current measurements to further validate optical flow surface velocities. The ADCP was mounted horizontally on an AquaCross aluminum frame (Figure 3) near the bottom of the submerged rocky reef between 1.5–5.9 m depth (depending on the tide elevation) and 1-Hz continuous measurements of pressure and velocities along the water column were collected during 1 week (8–15 October 2018) for optical flow comparison. The pressure sensor was located 0.2 m above the seabed ( δ s ). The velocity profile was measured over vertical cells ( z c e l l ) of 0.1 m size ( δ c = cell size) after a blanking distance ( δ b ) of 0.1 m from the instrument. Velocity measurements were assigned to the center of each cell starting with the bottom cell at 0.35 m ( z c e l l 1 = δ s + δ b + δ c / 2 ; Figure 3) above the sand bed.
Direct comparison of remotely sensed currents with fixed in situ instruments is not a trivial task [21,22]. Video-derived velocities are extracted from the time-varying water surface layer which is locally influenced by instantaneous wave and wind conditions. On the other hand, conventional ADCPs typically discard data from the upper region of the water column leading to an inevitable spatial mismatch for a true velocity comparison. Upper cells emerge intermittently at the passage of a wave trough restricting the analysis within the water column below this elevation [44]. To overcome this limitation, we make use of the concept of σ -layers, which will be described below.
According to the shallowness parameter μ , the water surface at the location of the ADCP was characterized by weakly dispersive waves propagating in shallow waters ( μ 0.12 ). The shallowness parameter μ is defined as:
μ = h 0 k 2 ,
where h 0 is the mean water depth and k the typical wave number ( k 0.08 1/m). The pressure was used to reconstruct the water surface elevation using Bonneton et al. [47] non-linear shallow water reconstruction formula, valid for weakly dispersive waves propagating in the shoaling and surf zone (see [48,49]):
ζ H = P s P a t m ρ g h 0 + δ s ,
ζ S L = ζ H h 0 2 g 1 δ s h 0 2 2 ζ H t 2 ,
ζ S N L = ζ S L 1 g t ζ S L ζ S L t δ s h 0 2 ζ S L t 2 ,
where ζ H is the hydrostatic reconstruction, ζ S L the linear shallow water reconstruction, ζ S N L the non-linear shallow water reconstruction above the mean water level, 2 t 2 the second-order time derivative, ρ the water density, g the gravity, P s the pressure measured at distance δ s above the bottom and P a t m the (constant) atmospheric pressure. The reconstructed water depth is defined as:
h S N L = h 0 + ζ S N L .
For this study, the mean water depth h 0 and the reconstructed water surface ζ S N L were computed consecutively over ∼17-min segments throughout the whole time series. ADCP cells above the reconstructed water surface were discarded from the analysis and submerged cells were depth-normalized. ADCP horizontal velocities along the water column were transformed to a vertical σ coordinate system in order to measure the velocities close to the water surface consistent with video-camera derived optical flow estimation (see Figure 3). In addition, ADCP depth-averaged velocities were also computed for comparison with optical flow estimates. The σ coordinate system is expressed by a user-defined number of vertical layers m, hereafter referred to as σ -layers. Each σ -layer j is normalized by the distance between the first ADCP cell and the instantaneous water surface elevation:
σ j = j 1 Δ z z c e l l 1 h S N L z c e l l 1 ; j = 1 , 2 , 3 , , m ; Δ z = h S N L z c e l l 1 m 1 .
The first sigma layer ( σ 1 ) corresponding to the near-bottom is equal to zero and the last sigma layer corresponding to the water surface ( σ m ) is equal to one. ADCP vertical cells z c e l l i are interpolated to each σ -layer σ j before normalization. Regardless of the water depth, σ -layers are constrained to be equally divided along the water column so their individual value in terms of sigma (between 0 and 1) remains constant, whereas the thickness between σ -layers ( Δ z ) in terms of meters is varying at each time step. σ -layers coincide with the irregular water wave surface within the water column and allow the calculation of residual velocity around the mean water surface level [50,51]. For the present study, 21 σ -layers were defined where each layer corresponded to 5% of the instantaneous water column. Moreover, the three σ -layers closest to the water surface were averaged ( σ 19 , σ 20 and σ 21 ) and are hereafter referred to as the ADCP surface velocity measurements. Similarly, all the 21 σ -layers were averaged and are hereafter referred to as the ADCP depth-averaged velocity measurements.

3.2.4. Drifter Data

Six GPS-tracked surf-zone drifters were released multiple times on four different days (on 18, 19, 22 and 23 October 2018) with the purpose of providing greater spatial coverage of rip cell circulation. Deployments lasted from 2 to 3.5 h (Table 1). Drifters were individually seeded over the submerged reef region using a jet ski or by swimmers under reasonably safe conditions. Drifters’ positions logged at 2.5 Hz were locally stored on an SD card and transmitted in real-time to a shore station for visualization and retrieving strategy. The drifters were of a robust PVC design modified from that of Schmidt et al. [52] consisting of a subaerial mast containing the GPS antenna and a submerged dampener (circular bottom plate) with external fins to reduce surfing effects and vertical motions [53]. Drifters were provided by CMAR (Coastal Marine Applied Research, coastal consultancy at the University of Plymouth), which have been previously tested for the measurement of surf-zone flows [54,55,56]. According to Mouragues et al. [40], drifter position and velocity uncertainties were estimated to be less than 3 m and approximately 0.1 m/s, respectively, with a maximum windage error of 0.1 m/s due to the effects of wind slippage [57] during drifter deployment.

4. Video Processing

4.1. Image Pre-Processing

Following Rodriguez-Padilla et al. [43], oblique images were first converted to grayscale, then stabilized and further geo-rectified through a photogrammetric transformation [58] into a longshore/cross-shore local reference frame with 1 × 1 m grid resolution. A direct linear transformation [59] was used to generate the plan-view images considering 16 spatially distributed surveyed ground control points (GCPs) on both land and water. To avoid tide-related inaccuracies in image rectification [60], each image was rectified onto a grid that was updated every 1-min in the vertical coordinate using interpolated water elevation measurements from a tide gauge located 15 km SW of the study site. The intrinsic parameters of the camera (e.g., image center coordinates, effective focal length and scale factors) were also taken into account to remove nonlinear effects such as radial distortion in the images [61]. Two different sub-image domains were selected to reduce computational time when applying the optical flow algorithm: a 100 × 100 m square domain centered at the ADCP image location for the 1-week continuous surface currents measurements (purple polygon in Figure 1) and a 600 × 500 m domain for the drifter deployments (orange polygon in Figure 1).
The approach of the present study is to use the drifting foam, left after the passage of breaking waves, as a quasi-passive tracer and track it to estimate the water surface flow. When using optical flow over consecutive images, the main challenge is to avoid capturing the foam (or any water pixel parcel) moving at wave celerity. As shown in Figure 4, the visible sea-swell wave signature can be removed by applying a temporal Fourier low-pass filter on a pixel-by-pixel basis to the whole image sequence. This is an accurate alternative to remove waves in the frequency domain instead of applying a moving-average over consecutive frames as proposed by Anderson et al. [22]. Figure 4a shows a raw rectified frame containing readily visible alongshore patterns of propagating waves while Figure 4b shows the same frame after wave-filtering all pixels over time using a low-pass filter with cutoff-frequency f c of 1/20 Hz. Figure 4c presents the pixel intensity power spectral density (PSD) computed at the image location of the ADCP (purple and orange dot) using raw and low-pass filtered images. The PSD computed from the raw image time series (purple line) contains the swell and wind sea wave signal centered at frequencies around 1/13.4 Hz and 1/6.6 Hz, respectively. This is in agreement with the average offshore peak wave period ( T p = 12 s) previously shown in Figure 2b. The low-pass filter cutoff-frequency f c should be selected preferably below the lowest peak wave frequency f p of the entire record, to ensure that no wave-train is leaked into the image sequence and tracked by the optical flow algorithm. However, it is important to note that the selection of the cutoff-frequency f c also regulates the degree of image smoothing. Maintaining a sufficient amount of texture (i.e., pixel intensity variations) in the image allows the optical flow algorithm to track fine-scale foam patterns. Thus, a trade-off between separating the optical wave signal and keeping the texture from the image should be considered. During the field experiment, the lowest peak wave frequency registered by the offshore buoy was f p = 1 / 15 Hz (see Figure 2b). For this study, raw images were low-pass filtered using two different cutoff-frequencies: f c = 1 / 20 Hz (as shown in Figure 4b,c) and f c = 1 / 60 Hz. These two different sets of low-pass filtered image sequences will be used as input for the optical flow algorithm to estimate two independent set of wave-filtered surface currents, hereafter referred to as OF ( f c = 1 / 20 Hz) and OF ( f c = 1 / 60 Hz). Confronting the optical flow estimates using two sets of cutoff frequency will help understand the effect of the selection of f c on the results.

4.2. Implementation and Assessment

The optical flow algorithm was applied consecutively to more than 257,000 frames (71.5 h) in an area of 100 × 100 m at an image resolution of 1 m/px. The optical flow estimated surface velocities were spatially interpolated to the ADCP image location and compared against the instrument upper layer σ -velocities (average between σ 19 , σ 20 and σ 21 ) and depth-averaged velocities. Surface velocity time series and PSDs were computed from both, optical flow estimates and ADCP measurements for a qualitative comparison. Optical flow and ADCP velocity values corresponding to the time when the ADCP was outside the surf zone ( h A D C P > h b r ) were identified and excluded from the analysis to ensure the presence of foam and reduce optical flow near-zero velocities. Consequently, the 1-week daylight dataset was reduced by 53% of the original dataset to approximately 137,000 images (38 h). The PSDs of 1-week surface velocity time series were computed using Welch’s method with 17 Hann-windowed non-overlapping records of 2 h (approximately two segments per day). Similarly, the squared-coherence between ADCP and optical flow-derived velocities was estimated from the corresponding 1-week surface velocity time series using the same procedure. This resulted in each spectral estimate having 34 degrees of freedom and a spectral resolution of 0.00014 Hz.
5-min time-averaged optical flow and ADCP velocities associated with different ranges of significant wave height H s were compared in order to assess the optical flow performance under different wave height conditions. Moreover, optical flow and ADCP velocities were averaged over a sliding window in time in order to reduce random noise. Different window sizes, ranging from 1 to 30 min, were selected for the moving average computation. For each window size selected, the resulting estimated and measured time-averaged velocities were quantitatively compared. Performance statistics, comprising the coefficient of determination ( r 2 ), the root mean square error (RMSE), the mean error (bias) and the linear regression slope were computed to assess the optical flow ability to reproduce in situ measurements.

5. Results

5.1. 1-Week Continuous Surface Currents Measurements (8–15 October 2018)

Figure 5 shows the 5-min time-averaged surface velocity components time series corresponding to 1-week of daylight measurements. For the longshore surface velocity component (Figure 5a), the optical flow derived-velocities recreate fairly well the slow fluctuations found in ADCP surface measurements. However, northward-directed currents (positive longshore velocity values) appear to be slightly underestimated. Regarding the cross-shore component (Figure 5b), onshore-directed currents overall match well between optical flow and ADCP, while offshore-directed velocities are less in agreement. This underestimation will be discussed in Section 6. In general, the optical flow velocities obtained using low-pass filtered images with f c = 1 / 20 Hz and f c = 1 / 60 Hz are similar in pattern. However, OF ( f c = 1 / 60 Hz) present a smaller amplitude (i.e., smaller velocities values) with respect to OF ( f c = 1 / 20 Hz). It is important to note that near-zero optical flow values correspond to the time of high tide water elevation with H s < 2 m when no wave breaking was present over the reef and no foam was available for tracking close to the ADCP location (see Figure 2f; blue shaded regions in Figure 5).
Figure 6 shows the 5-min time-averaged ADCP and optical flow surface velocity components of Figure 5 as a comparison under different ranges of significant wave height H s . Surface velocities were grouped into seven H s bins of 0.5-m size. The corresponding statistics for each bin are summarized in Table 2 and Table 3 and depicted with histograms of different colors in Figure 6. Around 80% of the velocity data is concentrated between 1 and 2.5 m of H s . OF ( f c = 1 / 20 Hz) and ADCP surface velocities within this range show a relatively good agreement ( r 2 0.5 and RMSE 0.2 m/s). However, the bias and the skewed bivariate histograms indicate a northward- and offshore-directed current underestimation that becomes more evident for H s > 2.5 m ( bias 0.2 m/s).
Comparison between OF ( f c = 1 / 60 Hz) and ADCP surface velocities shows a smaller bias and less dispersion of the data with respect to OF ( f c = 1 / 20 Hz). Although r 2 suggests a similar linear agreement ( r 2 0.5 ), optical flow velocities are overall smeared as shown in the histograms of Figure 6c,d. This is also evidenced by the steeper values of the regression slope ( slope > 2 ).
Figure 7 quantifies the agreement between optical flow surface velocity estimates and ADCP measurements. ADCP measurements consisted of surface velocities (average between σ 19 , σ 20 and σ 21 ) and depth-averaged velocities (average of all σ -layers within the water column). The estimated and measured time series were moving-averaged and compared against different window size selections. Based only on r 2 , the longshore surface velocity component (Figure 7a) is better reproduced by the optical flow when using low-pass filtered images with f c = 1 / 60 Hz as input. Comparison between OF ( f c = 1 / 60 Hz) and ADCP surface velocities, for a window size larger than 10 min, show r 2 values ranging from 0.55 up to 0.65 with associated RMSE between 0.12 and 0.11 m/s. Similarly, OF ( f c = 1 / 60 Hz) vs. ADCP depth-averaged velocities exhibit r 2 ranging from 0.5 up to 0.6 with lower RMSE between 0.10 and 0.08 m/s. A fair performance is still found when using low-pass filtered images with f c = 1 / 20 Hz. OF ( f c = 1 / 20 Hz) vs. ADCP longshore velocity measurements (surface and depth-averaged velocities) show a consistent agreement ( r 2 = 0.5 ) for any window size larger than 5 min, although RMSE values are relatively lower when compared against ADCP depth-averaged velocities (RMSE between 0.12 and 0.13) than with surface velocities (RMSE between 0.13 and 0.14). By contrast, ADCP cross-shore surface and depth-averaged velocities are better correlated with OF ( f c = 1 / 20 Hz) than with OF ( f c = 1 / 60 Hz) velocity estimates. For a window size larger than 5 min, r 2 values vary between 0.7–0.8 and 0.5–0.7, respectively (Figure 7b). OF ( f c = 1 / 20 Hz) vs. ADCP cross-shore velocity RMSE decreases from 0.21 to 0.19 m/s as the window size increases from 5 to 30 min regardless if the optical flow estimates are compared against surface or depth-averaged ADCP velocities. On the other hand, as the window size increases from 5 to 30 min, OF ( f c = 1 / 60 Hz) vs. ADCP cross-shore surface velocity RMSE decreases from 0.13 to 0.12 m/s and OF ( f c = 1 / 60 Hz) vs. ADCP cross-shore depth-averaged velocity RMSE decreases from 0.11 to 0.08 m/s. In addition to r 2 and RMSE metrics, it is worth noting the values of the linear regression slope for both velocity components (Figure 7e,f). Slope values equal to one indicate a correct steepness for the one-to-one linear relationship between optical flow estimates and ADCP measurements. According to the regression slope, OF ( f c = 1 / 20 ) velocity estimates indeed reproduce better the ADCP measurements for both velocity components with slope values around 1 ± 0.15 . Overall, as the window size is increased, high-frequency noise-related variability (i.e., RMSE) is reduced improving performance metrics (Figure 7c,d).
The bias has been intentionally omitted in Figure 7 as it poorly depends on the time-averaging window size. Regardless of the window size selection for the moving-average, the bias remain constant and correspond to the same values previously shown in Figure 6 and Table 2 and Table 3: OF ( f c = 1 / 20 Hz) vs. ADCP longshore velocity bias = 0.09 m/s, OF ( f c = 1 / 20 Hz) vs. ADCP cross-shore velocity bias = 0.17 m/s, OF ( f c = 1 / 60 Hz) vs. ADCP longshore velocity bias = 0.01 m/s and OF ( f c = 1 / 20 Hz) vs. ADCP cross-shore velocity bias = 0.05 m/s. Moreover, the bias does not appear to change with ADCP surface or depth-averaged velocity measurements.
Figure 8 shows the surface velocity PSDs computed over the 17-averaged 2-h segments 1-week time series. The PSDs reveal a variety of signals present in both ADCP and optical flow time series (e.g., infragravity and VLF fluctuations). As expected, the velocity spectral energy associated with the sea-swell frequency band, previously removed from the image sequence, is subsequently attenuated for frequencies higher than the image low-pass filter cutoff-frequency ( f c = 1 / 20 Hz and f c = 1 / 60 Hz; black dashed lines). The squared coherence is significant at the 95% confidence level in the infragravity frequency range (0.004–0.04 Hz) with values around 0.4 for the cross-shore velocity component. Nevertheless, the frequency region with the highest coherence (≈0.6) is associated with the VLF band (<0.004 Hz). Overall, the squared coherence shows a better agreement for OF ( f c = 1 / 20 Hz) velocities. The low spectral energy found in OF ( f c = 1 / 60 Hz) estimates is related to the low amplitude found in the surface velocity time series.

5.2. Drifter Deployments

Figure 9 shows drifter tracks on 18, 19, 22 and 23 October 2018 along with corresponding optical flow stream plots under different field conditions (Table 1). The pixel intensity standard deviation image is also overlaid in each plot to highlight wave breaking spatial variability (e.g., surf zone and reef location) and foam availability during drifter deployment. Days corresponding to 18 and 19 October 2018 (Figure 9a–d) show evidence of primarily onshore-directed flows. Intermittent traces of foam along the headland made it possible to compute mean optical flow estimates outside the surf zone, although velocities in this region may not be reliable due to a lower number of observations [22]. This is the main reason why only qualitatively streamlines are shown to represent the mean surface flow.
More complex circulations are described by the drifters on 22 October 2018 (Figure 9e,f). The presence of a quasi-steady circulation cell at the location of the reef is displayed under a combination of moderate-energy and shore-normal incident waves ( H s = 1 m; T p = 11 s; θ p = 0 °) around low tide. It is interesting to note the evolution of rip channels inside the surf zone which in turn influences the circulation. Nevertheless, optical flow estimation of the circulation patterns is consistent with the observed drifter tracks. Figure 9g presents the trajectories of the first set of drifters released around neap low tide on 23 October 2018, whereas Figure 9i shows the trajectories of the remaining drifters deployed during rising low tide. During low tide (Figure 9g,h), the wave-induced longshore current is deflected against the headland and affected by wave breaking across the reef resulting in a transient counter-clockwise circulation cell and a deflection rip. As the water level increases (Figure 9i,j), the reef exerts less control on rip dynamics allowing the dominant longshore current to completely deflect offshore resulting in a fully-developed deflection rip.
Movies were generated for the four days of drifter deployments and are provided as Supplementary Materials (Video S1, Video S2, Video S3 and Video S4). The movies contain the 2-min time-averaged optical flow velocity field overlapped with drifter trajectories. Overall, optical flow is able to recreate satisfactorily the main circulation patterns described by drifters trajectories reproducing smaller circulation structures with a great spatial resolution. Moreover, results are in agreement with previous studies describing the same events [40,44].

6. Discussion

6.1. Comparison to Other Optical Flow-Based Methods

In the context of coastal imagery, the shortcomings of the PIV approach and cross-correlation based methods, is that the estimated velocity field resolution is dependent on the size of the user-defined image segments (i.e., one displacement vector per image segment or window) being sparser than the input image resolution [21]. PIV is also prone to errors under conditions of insufficient surface texture, limiting it to spatially small areas [20]. On the other hand, the optical flow method is capable to provide a velocity vector at every pixel of the image. Despite the high potential of this technique, coastal applications are scarce [21,22,62] in contrast with PIV studies [19,20,27,28,29,30,31].
Table 4 summarizes the performance of existing optical flow-based techniques previously reported in the literature [21,22] for estimating two-dimensional nearshore surface currents. The velocity outcomes provided by each method are compared with measurements from specific in situ instruments deployed under different field conditions at particular sites. The main difference between the three methods relies in the pre-processing of the images before the optical flow is applied. In Dérian and Almar [21] method, a two-dimensional spatial high-pass median filter is applied to each image in order to enhance the foam texture. While this filter improves the fine-scale foam patterns from large-scale structures such as propagating wave rollers, it does not remove the optical wave signal from the images. Their method has the potential to compute instantaneous (wave-by-wave fluctuations) surface velocities, however, the optical flow algorithm is also subject to track pixels propagating at wave celerity and disregard the actual flow. By contrast, Anderson et al. [22] and the present method filter the wave signal from the image sequence in order to track coherent foam patterns carried by the time-averaged flow, thus constraining the computed surface velocities below the sea-swell frequency band.
Dérian and Almar [21] compared shore-based image-derived surface velocities against near-bottom velocities collected from a single Acoustic Doppler Velocimeter (ADV) deployed within the swash zone. As the authors recognized, the comparison between optical flow estimates and instrument measurements was limited by their different location of the vertical profile. Despite drifter measurements acquired during the same field experiment were available [63,64], they were not considered in their analysis. On the other hand, Anderson et al. [22] compared optical flow derived-velocities against surf-zone drifters velocities using 15 × 15 m spatial bins. As mentioned by Anderson et al. [22], drifters were often subject to surfing effects from localized wave-breaking such that they experienced motions at the scale of wave-by-wave fluctuations suggesting that in situ drifter might be unreliable tools for estimating mean currents at the scale of wave groups.

6.2. Low-Pass Filter Cutoff-Frequency Selection

The optical flow algorithm is very sensitive to the image input and the selection of the cutoff-frequency for the temporal low-pass filter can have a great impact on the final velocity estimates. OF ( f c = 1 / 60 Hz) velocity estimates presented lower velocities and less spectral energy than ADCP measurements. For the temporal low-pass filter, using a cutoff-frequency of 1/60 Hz is equivalent to averaging images consecutively over 1 min. By proceeding with this selection, the dominant sea-swell band is evidently removed from the image sequence, however, all residual foam features become smeared and over-smoothed resulting in lower and underestimated velocity values (see histograms in Figure 6c,d). Furthermore, time-averaging these values can result in velocities close to zero with still a good linear correspondence to ADCP measurements with low RMSE and low bias. This can lead to a misinterpretation of good performance, as shown by the regression slope (Figure 6c,d and Figure 7e,f) and the damped velocity time series (Figure 5). By contrast, OF ( f c = 1 / 20 Hz) velocity estimates demonstrate satisfactory agreement with surf-zone drifters tracks and ADCP measurements under relatively high-energy waves ( H s < 2.5 m). Velocity RMSE of less than 0.25 m/s is a reasonably satisfactory result considering that the spatial resolution of the image grid is 1 m and the pixel footprint at the ADCP location is 0.6 m. On the other hand, the apparent bias and overall underestimation in offshore-directed currents (overestimation in onshore-directed currents) can be explained by other sources of error (see Section 6.4).

6.3. ADCP Measurements: Surface vs. Depth-Averaged Velocities

Directly comparing remote sensing products with in situ instruments is complicated. Optical flow estimates are representative of the motions occurring in the water surface layer, whereas, in the case of the ADCP, velocities corresponding to the upper region of the water column are usually removed to avoid possible errors associated with sidelobe interference, bubble injection, Stokes drift and wind contamination. Thus, it is difficult to evaluate “true” errors as velocities are compared from different locations of the vertical profile. However, for this particular study, the fact that r 2 and RMSE do not differ as much when compared against ADCP surface or depth-averaged velocities suggests that the vertical variability of the flow is nearly depth-uniform. Figure 10 illustrates three representative 2-h time-averaged velocity profiles in σ coordinates. The velocity profiles were computed under different angles of wave incidence at low tide (around 2 and 3 m of water depth). The three configurations indicate shallow water flows with no significant vertical gradient, consistent with previous observations around the ADCP location [40,44]. These results show evidence of a nearly depth-uniform flow; however, for other locations inside the surf zone the visual surface layer might not always be representative of the entire water column. In case of strong vertical shear, the proposed ADCP transformation to σ coordinates can be an alternative to derive velocities near the water surface consistent with video-derived estimates. However, caution must be exercised given the inherent limitations of the instrument when measuring close to the free surface.

6.4. Sources of Error

It should be noted that optical flow struggled to reproduce offshore-directed velocities at the ADCP location as revealed in the cross-shore velocity time series (Figure 5b) and the one-to-one comparison (Figure 6b). This can be mainly attributed to wave breaking. Although the frequency band corresponding to sea-swell waves is removed from the images, the source of foam, induced by wave breaking, appears as a blob that increases and spreads with time in the onshore direction following the filtered pre-existing wave front. Figure 11 illustrates the instantaneous circulation flow under wave breaking at two different instants separated by 7 s. In this representative example, ADCP velocities indicate a depth-uniform offshore-directed flow (as previously suggested). A close inspection of the optical flow velocity field near the ADCP location (Figure 11a,c) reveals instead a transient clockwise circulation cell which after 7 s (Figure 11b,d) is modified to be aligned with the incoming filtered wave front moving toward the shore. This effect is also observed with the isolated foam blob advancing around coordinates with alongshore distance = 410 m and cross-shore distance = 350 m (green polygon). However, this issue occurs in any region where strong wave breaking is present (e.g., reef and sandbar) and is also observed with low-pass filtered images with f c = 1 / 60 Hz. This suggests that the optical flow can erroneously track foam patches at the instant of their creation potentially masking true underlying velocities at those times. Therefore, a proper definition for the f ( x 1 , x 2 , I ) term inside the physics-based optical flow equation (Equation (1)) is needed in order to account for specific foam properties such as source and dissipation rates, or alternatively, remove the velocity estimates associated with pixels that break in post-processing [22].
Surface velocity accuracy can also be limited by windage effects. Ideally, foam is expected to be advected only by the underlying currents, however, under high wind conditions, wind stress can induce surface currents that can advect the foam in a different direction than the desired surface/near-surface water flow. This could be probably the case during the relatively strong wind event on 14 October 2018, when wind speed reached up to 12 m/s. Other video-related sources of errors such as unwanted camera movement (e.g., produced by wind) [43,65], overlapping camera boundaries and tide dependent inaccuracies in geo-rectification [60] may also affect the performance of the optical flow-based technique and should be properly addressed before the optical flow method is applied.

6.5. Recommendations and Future Work

Optical flow is a powerful technique, however, certain factors and limitations must be considered in order to obtain satisfactory results. The first assumption, inherent to any optical flow algorithm, is that the pixel intensity between two consecutive frames should be nearly constant. Therefore, it is preferable to correct the scene illumination (e.g., by histogram equalization) before applying the optical flow method to increase accuracy. As described in Appendix A, we used a subroutine included in Liu [33] OpenOpticalFlow algorithm to correct the local illumination intensity changes between frames. Brightness variations can also be constrained to small changes if a coarse-to-fine scheme is used (see Appendix A) or if frames are sampled at a high rate (>1 Hz). However, this can have a direct impact on storage resources. An alternative to overcome this issue, as proposed by Anderson et al. [22], is to downsample the number of frames (e.g., by a factor of 5) once the dominant optical sea-swell wave signal is filtered from the image sequence, and then further apply the optical flow algorithm. Image temporal downsampling is possible after removing the wave clutter since the residual foam is smoothed in such a way that brightness variations between consecutive frames are kept low. However, filtering the optical signature from the images is a key step that must not be overlooked.
As shown in Figure 5, it is important to discard velocity values associated with pixels outside the surf zone or regions where no foam is present, otherwise, the optical flow algorithm will assign velocity values close to zero and underestimate the actual surface flow. For the ADCP pixel location we deduced the time when the instrument was inside the surf zone based on the water depth and kept only those corresponding velocity values. On the other hand, for the drifter experiments we removed all time-averaged velocities smaller than 0.02 m/s to ensure that the remaining velocities (streamlines) corresponded to regions where foam was present (e.g., surf zone). Future work should include a post-processing step, similar to the one proposed by Anderson et al. [22], to automatically identify and isolate foam regions based on a local pixel brightness variation threshold between frames in order to discard spurious velocities when there is limited texture on the water surface to track.
It should be noted that the intermittent wave breaking region where the ADCP was deployed was a particularly challenging location for the optical flow algorithm to produce accurate velocity estimations. Therefore, we propose that further research should be undertaken by mounting current profilers distributed at different locations within the surf zone to provide the optical flow algorithm the optimal conditions for a consistent comparison.

7. Conclusions

In this paper, we presented an alternative method to filter the dominant optical signal associated with sea-swell waves from an image sequence. Waves were removed from the image time series by applying a temporal Fourier low-pass filter to each pixel of the image. After image-wave-filtering, the residual foam left by wave breaking was used as a quasi-passive tracer and was assumed to be advected primarily by the underlying flow; wind conditions during the experiment were relatively weak with mean wind speed values around 3 m/s. Foam trajectories within the surf zone were tracked using Liu [33] open-source optical flow algorithm (“OpenOpticalFlow”) to derive wave-filtered surface velocities (comprising frequencies below 1/20 Hz and 1/60 Hz). We proposed an approach based on depth-normalization of the water profile ( σ -layers) to retrieve surface velocities from ADCP measurements. A transformation of z to σ coordinates ensures that the velocities derived from the ACDP are as consistent as possible with those estimated from the optical flow algorithm. Optical flow-derived velocities were compared with ADCP time-averaged surface and depth-averaged velocities. ADCP measurements displayed nearly depth-uniform time-averaged velocities. Time-averaged optical flow velocity estimates, using low-pass filtered images with f c = 1 / 20 Hz as input, showed to be in good agreement with ADCP measurements ( r 2 = 0.5–0.8; RMSE = 0.12–0.24 m/s; bias = 0.09 to 0.17 m/s; slope = 1 ± 0.15 ; coherence 2 = 0.4–0.6). By contrast, optical flow-derived velocities, using low-pass filtered images with f c = 1 / 60 Hz as input, were overall underestimated due to an over-smooth of the foam features. In any case, optical flow offshore-directed velocities were systematically underestimated. This outcome can be justified by waves breaking over the reef (i.e., ADCP location) that produce and advect foam persistently toward the shore. The onshore-directed motion of the foam, induced by wave breaking, can differ from the actual underlying flow and can inadvertently be captured by the optical flow algorithm. Despite this apparent limitation, optical flow was able to qualitatively reproduce with a good agreement the mean current circulation patterns described by drifter trajectories under different wave, tide and wind conditions. Among these patterns, a rip-circulation cell was captured as well as a prominent and persistent rip current flowing against the headland (deflection rip). Such findings highlight the ability to detect rip currents and associated circulations at different time-averaging scales providing new insights into surf-zone hydrodynamics and invaluable resources for beach safety strategy.

Supplementary Materials

The following are available online at https://www.mdpi.com/article/10.3390/rs13101874/s1, Video S1: Drifter trajectories on 18 October 2018 superimposed on the 2-min time-averaged optical flow velocity field, Video S2: Drifter trajectories on 19 October 2018 superimposed on the 2-min time-averaged optical flow velocity field, Video S3: Drifter trajectories on 22 October 2018 superimposed on the 2-min time-averaged optical flow velocity field, Video S4: Drifter trajectories on 23 October 2018 superimposed on the 2-min time-averaged optical flow velocity field.

Author Contributions

Conceptualization, I.R.-P., B.C., V.M. and K.M.; Data curation, A.M.; Formal analysis, I.R.-P., B.C., V.M., P.B. and K.M.; Investigation, I.R.-P.; Methodology, I.R.-P. and K.M.; Resources, D.M.; Supervision, B.C., V.M., P.B. and D.M.; Writing—original draft, I.R.-P.; Writing—review & editing, I.R.-P., B.C., V.M., P.B., A.M., K.M. and D.M. All authors have read and agreed to the published version of the manuscript.

Funding

This research received external funding by CONACyT (México) through the PhD scholarship of I.R.-P. (grant 540839). The PCA field experiment received financial support from Region Nouvelle Aquitaine (contract number 2017-1R20107) and was carried out as part of the project MEPELS (contract number 18CP05), performed under the auspices of the DGA and led by SHOM. B.C. and V.M. are funded by Agence Nationale de la Recherche (ANR) grant number ANR-17-CE01-0014.

Data Availability Statement

Data presented in this study are available on request from the corresponding author.

Acknowledgments

PCA beach is a monitoring site labelled by the Service National d’Observation (SNO) Dynalit (https://www.dynalit.fr) with additional funding from the Observatoire de la Côte Aquitaine (OCA) to ensure the maintenance of the video station. Storage resources for this study was provided by the computing facilities MCIA (Mésocentre de Calcul Intensif Aquitain) of Univ. Bordeaux and Univ. Pau et Pays de l’Adour. The authors would like to thank Guillaume Detandt, Damien Sous, Jak McCarroll, Tim Scott, Aaron Barrett and Timothy Poate for their valuable help in the field during drifter deployment. Finally, the authors wish to thank Tianshu Liu, Rob Holman, Pierre Dérian and Marco Larrañaga for their valuable comments through email correspondence.

Conflicts of Interest

The authors declare no conflict of interest.

Abbreviations

The following abbreviations are used in this manuscript (in order of appearance):
OFOptical Flow
VLFVery Low Frequency
UAVUnmanned Aerial Vehicle
PIVParticle Image Velocimetry
WAMWave averaged movie
RMSERoot mean square error
ADCPAcoustic Doppler Current Profiler
PCALa Petite Chambre d’Amour
CMARCoastal Marine Applied Research
GCPsGround Control Points
PSDPower Spectral Density
ADVAcoustic Doppler Velocimeter

Appendix A. Optical Flow Algorithm Setup

The relevant parameters used for Liu [33] OpenOpticalFlow algorithm are listed in Table A1.
As previously mentioned in Section 2, OpenOpticalFlow uses the Horn-Schunck estimator for an initial solution and the Liu-Shen estimator for a refined solution of Equation (3). The term f ( x 1 , x 2 , I ) depends on a specific flow visualization. For a transport of a scalar (i.e., foam concentration), it is related to the molecular diffusion plus the boundary term. For simplicity, we defined f ( x 1 , x 2 , I ) = 0 , a reasonable approximation for most fluid mechanics problems where the convection is dominant as shown in Liu [33], Liu and Shen [36]. The Lagrange multipliers “lambda_1” and “lambda_2” ( λ in Equations (3) and (5)) are selected for the Horn-Schunck and Liu-Shen estimators, respectively. The Lagrange multipliers act like a diffusion coefficient in the corresponding Euler-Lagrange equations (Equations (3) and (5)) and tend to smooth out finer flow structures [33,35,37]. There is no rigorous theory for determining the Lagrange multiplier in the variational formulation of the optical flow equation. Within a considerable range of the Lagrange multipliers, the solution is not significantly sensitive to its selection [33,35,36,37,38].
The pixel displacement between frames should be small (typically less than 5 px depending on the size of image patterns [33]). Otherwise, the time derivative of the image intensity will be underestimated in the finite difference method and the optical flow error would be significant [35]. To handle large displacements (e.g., >10 px), a coarse-to-fine iterative scheme is adopted to improve the accuracy of optical flow computation [33]. First, the raw images are downsampled by a suitable scale factor (parameter called “scale_im”) using the wavelet transform [21] so that the displacements in pixels remain small enough (1–5 px). Next, the optical flow algorithm is applied to the downsampled images to estimate a coarse-grained velocity field. Finally, the original resolution velocity field is recovered by iterations (parameter called “no_iteration”) using an image-shifting (image-warping) algorithm with an embedded spatial interpolation scheme [37]. Usually, one or two iterations are sufficient [33]. In addition to the main program, ref. [33] OpenOpticalFlow include two image pre-processing routines (Gaussian filters) for removing small random noise and correcting the effect of local illumination intensity change. The mask size of the Gaussian filter is given by the parameter called “size_filter” and the standard deviation of the Gaussian filter is 0.6 of the mask size. The standard deviation (or size) of the Gaussian filter is given by the parameter called “size_average” in the program. A full description of the parameters and subroutines involved in the usage of OpenOpticalFlow can be found in [33].
For this study, the Lagrange multipliers in the Horn-Schunck and Liu-Shen estimators were set at 20 and 2000, respectively. In the coarse-to-fine scheme, raw images were initially downsampled by 2 (reduced to 50% of their original size) and then refined to their original resolution by the first iteration. The mask sizes of the Gaussian filter for removing small random noise was set to 4 px in the raw images, while the standard deviation of the Gaussian filter was set at 60% of the mask size. The mask size of the filter for correcting the effect of the changing illumination intensity was fixed at 30 px for the raw images (Table A1).
Table A1. Optical flow input parameters and settings.
Table A1. Optical flow input parameters and settings.
ParameterNotationValueNote
Lagrange multiplierslambda_1 for the Horn-Schunk estimator20regularization parameters in
lambda_2 for the Liu-Shen estimator2000variational solution
scale factor for downsampling ofscale_im0.5reduction of initial image size in
raw images coarse-to-fine scheme
number of iterationsno_iteration1iteration in coarse-to-fine scheme
Gaussian filter sizesize_filter4 pxremoving random image noise
Gaussian filter sizesize_average30 pxcorrection for local illumination
intensity change

References

  1. Castelle, B.; Bonneton, P.; Senechal, N.; Dupuis, H.; Butel, R.; Michel, D. Dynamics of wave-induced currents over an alongshore non-uniform multiple-barred sandy beach on the Aquitanian Coast, France. Cont. Shelf Res. 2006, 26, 113–131. [Google Scholar] [CrossRef]
  2. Komar, P.D. Beach Processes and Sedimentation; Prentice Hall: Hoboken, NJ, USA, 1998; Volume 539. [Google Scholar]
  3. Chickadel, C.C.; Holman, R.A.; Freilich, M.H. An optical technique for the measurement of longshore currents. J. Geophys. Res. Ocean. 2003, 108. [Google Scholar] [CrossRef] [Green Version]
  4. Inman, D.L. Nearshore Processes. 2002. Available online: https://escholarship.org/uc/item/204201x5 (accessed on 1 November 2020).
  5. Castelle, B.; Scott, T.; Brander, R.; McCarroll, R. Rip current types, circulation and hazard. Earth Sci. Rev. 2016, 163, 1–21. [Google Scholar] [CrossRef]
  6. Castelle, B.; McCarroll, R.J.; Brander, R.W.; Scott, T.; Dubarbier, B. Modelling the alongshore variability of optimum rip current escape strategies on a multiple rip-channelled beach. Nat. Hazards 2016, 81, 663–686. [Google Scholar] [CrossRef]
  7. MacMahan, J.H.; Thornton, E.B.; Reniers, A.J. Rip current review. Coast. Eng. 2006, 53, 191–208. [Google Scholar] [CrossRef] [Green Version]
  8. Castelle, B.; Michallet, H.; Marieu, V.; Leckler, F.; Dubardier, B.; Lambert, A.; Berni, C.; Bonneton, P.; Barthélemy, E.; Bouchette, F. Laboratory experiment on rip current circulations over a moveable bed: Drifter measurements. J. Geophys. Res. Ocean. 2010, 115. [Google Scholar] [CrossRef] [Green Version]
  9. Rijn, L.C. Manual Sediment Transport Measurements in Rivers, Estuaries and Coastal Seas; Aqua Publications: Delft, The Netherlands, 2007. [Google Scholar]
  10. Inch, K. Surf zone hydrodynamics: Measuring waves and currents. Geomorphol. Tech. 2014, 3, 1–13. [Google Scholar]
  11. Almar, R.; Larnier, S.; Castelle, B.; Scott, T.; Floc’h, F. On the use of the Radon transform to estimate longshore currents from video imagery. Coast. Eng. 2016, 114, 301–308. [Google Scholar] [CrossRef] [Green Version]
  12. Streßer, M.; Carrasco, R.; Horstmann, J. Video-based estimation of surface currents using a low-cost quadcopter. IEEE Geosci. Remote Sens. Lett. 2017, 14, 2027–2031. [Google Scholar] [CrossRef] [Green Version]
  13. Holman, R.A.; Brodie, K.L.; Spore, N.J. Surf Zone Characterization Using a Small Quadcopter: Technical Issues and Procedures. IEEE Trans. Geosci. Remote Sens. 2017, 55, 2017–2027. [Google Scholar] [CrossRef]
  14. Splinter, K.D.; Harley, M.D.; Turner, I.L. Remote sensing is changing our view of the coast: Insights from 40 years of monitoring at Narrabeen-Collaroy, Australia. Remote Sens. 2018, 10, 1744. [Google Scholar] [CrossRef] [Green Version]
  15. Andriolo, U.; Sánchez-García, E.; Taborda, R. Operational use of surfcam online streaming images for coastal morphodynamic studies. Remote Sens. 2019, 11, 78. [Google Scholar] [CrossRef] [Green Version]
  16. Young, I.R.; Rosenthal, W.; Ziemer, F. A three-dimensional analysis of marine radar images for the determination of ocean wave directionality and surface currents. J. Geophys. Res. Ocean. 1985, 90, 1049–1059. [Google Scholar] [CrossRef] [Green Version]
  17. Horstmann, J.; Stresser, M.; Carrasco, R. Surface currents retrieved from airborne video. In Proceedings of the OCEANS 2017-Aberdeen, Aberdeen, UK, 19–22 June 2017; pp. 1–4. [Google Scholar] [CrossRef]
  18. Thornton, E.B.; Guza, R. Energy saturation and phase speeds measured on a natural beach. J. Geophys. Res. Ocean. 1982, 87, 9499–9508. [Google Scholar] [CrossRef]
  19. Holland, K.; Puleo, J.; Kooney, T. Quantification of swash flows using video-based particle image velocimetry. Coast. Eng. 2001, 44, 65–77. [Google Scholar] [CrossRef]
  20. Puleo, J.A.; Farquharson, G.; Frasier, S.J.; Holland, K.T. Comparison of optical and radar measurements of surf and swash zone velocity fields. J. Geophys. Res. Ocean. 2003, 108. [Google Scholar] [CrossRef]
  21. Dérian, P.; Almar, R. Wavelet-Based Optical Flow Estimation of Instant Surface Currents From Shore-Based and UAV Videos. IEEE Trans. Geosci. Remote Sens. 2017, 55, 5790–5797. [Google Scholar] [CrossRef]
  22. Anderson, D.; Bak, A.S.; Brodie, K.L.; Cohn, N.; Holman, R.A.; Stanley, J. Quantifying Optically Derived Two-Dimensional Wave-Averaged Currents in the Surf Zone. Remote Sens. 2021, 13, 690. [Google Scholar] [CrossRef]
  23. Adrian, R.J. Particle-Imaging Techniques for Experimental Fluid Mechanics. Annu. Rev. Fluid Mech. 1991, 23, 261–304. [Google Scholar] [CrossRef]
  24. Thielicke, W.; Stamhuis, E. PIVlab–towards user-friendly, affordable and accurate digital particle image velocimetry in MATLAB. J. Open Res. Softw. 2014, 2. [Google Scholar] [CrossRef] [Green Version]
  25. Cox, D.T.; Anderson, S.L. Statistics of intermittent surf zone turbulence and observations of large eddies using PIV. Coast. Eng. J. 2001, 43, 121–131. [Google Scholar] [CrossRef]
  26. Kimmoun, O.; Branger, H. A particle image velocimetry investigation on laboratory surf-zone breaking waves over a sloping beach. J. Fluid Mech. 2007, 588, 353. [Google Scholar] [CrossRef]
  27. Puleo, J.; Holland, K. Field observations of three-dimensional swash flow patterns and morphodynamics. In Proceedings of the 27th International Conference on Coastal Engineering, Sydney, Australia, 16–21 July 2000; pp. 637–650. [Google Scholar]
  28. Perkovic, D.; Lippmann, T.C.; Frasier, S.J. Longshore surface currents measured by Doppler radar and video PIV techniques. IEEE Trans. Geosci. Remote Sens. 2009, 47, 2787–2800. [Google Scholar] [CrossRef]
  29. Wilson, G.; Özkan-Haller, H.; Holman, R.; Haller, M.; Honegger, D.; Chickadel, C. Surf zone bathymetry and circulation predictions via data assimilation of remote sensing observations. J. Geophys. Res. Ocean. 2014, 119, 1993–2016. [Google Scholar] [CrossRef] [Green Version]
  30. Wilson, G.; Berezhnoy, S. Surfzone state estimation, with applications to quadcopter-based remote sensing data. J. Atmos. Ocean. Technol. 2018, 35, 1881–1896. [Google Scholar] [CrossRef]
  31. Chapman, H.R.; O’Connor, H.; Starek, M.J.; Kar, D.C. A Framework for Determination of Ocean Wave Properties Using Unmanned Aerial Systems. In Proceedings of the International Conference on Scientific Computing (CSC), the Steering Committee of the World Congress in Computer Science, Shenyang, China, 8–11 August 2019; pp. 35–39. [Google Scholar]
  32. Horn, B.K.; Schunck, B.G. Determining optical flow. Techniques and Applications of Image Understanding. Int. Soc. Opt. Photonics 1981, 281, 319–331. [Google Scholar]
  33. Liu, T. OpenOpticalFlow: An open source program for extraction of velocity fields from flow visualization images. J. Open Res. Softw. 2017, 5. [Google Scholar] [CrossRef] [Green Version]
  34. Turaga, P.; Chellappa, R.; Veeraraghavan, A. Advances in Video-Based Human Activity Analysis: Challenges and Approaches. In Advances in Computers; Zelkowitz, M.V., Ed.; Elsevier: Amsterdam, The Netherlands, 2010; Volume 80, pp. 237–290. [Google Scholar] [CrossRef]
  35. Liu, T.; Wang, B.; Choi, D.S. Flow structures of Jupiter’s Great Red Spot extracted by using optical flow method. Phys. Fluids 2012, 24, 096601. [Google Scholar] [CrossRef]
  36. Liu, T.; Shen, L. Fluid flow and optical flow. J. Fluid Mech. 2008, 614, 253–291. [Google Scholar] [CrossRef]
  37. Liu, T.; Merat, A.; Makhmalbaf, M.; Fajardo, C.; Merati, P. Comparison between optical flow and cross-correlation methods for extraction of velocity fields from particle images. Exp. Fluids 2015, 56, 166. [Google Scholar] [CrossRef]
  38. Wang, B.; Cai, Z.; Shen, L.; Liu, T. An analysis of physics-based optical flow. J. Comput. Appl. Math. 2015, 276, 62–80. [Google Scholar] [CrossRef]
  39. Huguet, J.R.; Castelle, B.; Marieu, V.; Morichon, D.; de Santiago, I. Shoreline-Sandbar Dynamics at a High-Energy Embayed and Structurally-Engineered Sandy Beach: Anglet, SW France. J. Coast. Res. 2016, 75, 393–397. [Google Scholar] [CrossRef]
  40. Mouragues, A.; Bonneton, P.; Castelle, B.; Marieu, V.; Jak McCarroll, R.; Rodriguez-Padilla, I.; Scott, T.; Sous, D. High-Energy Surf Zone Currents and Headland Rips at a Geologically Constrained Mesotidal Beach. J. Geophys. Res. Ocean. 2020, 125, e2020JC016259. [Google Scholar] [CrossRef]
  41. Birrien, F.; Castelle, B.; Dailloux, D.; Marieu, V.; Rihouey, D.; Price, T. Video observation of megacusp evolution along a high-energy engineered sandy beach: Anglet, SW France. J. Coast. Res. 2013, 65, 1727–1732. [Google Scholar] [CrossRef]
  42. Abadie, S.; Butel, R.; Dupuis, H.; Brière, C. Paramètres statistiques de la houle au large de la côte sud-aquitaine. C. R. Geosci. 2005, 337, 769–776. [Google Scholar] [CrossRef]
  43. Rodriguez-Padilla, I.; Castelle, B.; Marieu, V.; Morichon, D. A Simple and Efficient Image Stabilization Method for Coastal Monitoring Video Systems. Remote Sens. 2020, 12, 70. [Google Scholar] [CrossRef] [Green Version]
  44. Sous, D.; Castelle, B.; Mouragues, A.; Bonneton, P. Field measurements of a high-energy headland deflection rip current: Tidal modulation, very low frequency pulsation and vertical structure. J. Mar. Sci. Eng. 2020, 8, 534. [Google Scholar] [CrossRef]
  45. Mouragues, A.; Bonneton, P.; Castelle, B.; Marieu, V.; Barrett, A.; Bonneton, N.; Detand, G.; Martins, K.; McCarroll, J.; Morichon, D.; et al. Field Observations of Wave-induced Headland Rips. J. Coast. Res. 2020, 95, 578–582. [Google Scholar] [CrossRef]
  46. Wright, L.; Short, A. Morphodynamic variability of surf zones and beaches: A synthesis. Mar. Geol. 1984, 56, 93–118. [Google Scholar] [CrossRef]
  47. Bonneton, P.; Lannes, D.; Martins, K.; Michallet, H. A nonlinear weakly dispersive method for recovering the elevation of irrotational surface waves from pressure measurements. Coast. Eng. 2018, 138, 1–8. [Google Scholar] [CrossRef] [Green Version]
  48. Mouragues, A.; Bonneton, P.; Lannes, D.; Castelle, B.; Marieu, V. Field data-based evaluation of methods for recovering surface wave elevation from pressure measurements. Coast. Eng. 2019, 150, 147–159. [Google Scholar] [CrossRef] [Green Version]
  49. Martins, K.; Bonneton, P.; Mouragues, A.; Castelle, B. Non-hydrostatic, Non-linear Processes in the Surf Zone. J. Geophys. Res. Ocean. 2020, 125, e2019JC015521. [Google Scholar] [CrossRef]
  50. Giddings, S.N.; Monismith, S.G.; Fong, D.A.; Stacey, M.T. Using depth-normalized coordinates to examine mass transport residual circulation in estuaries with large tidal amplitude relative to the mean depth. J. Phys. Oceanogr. 2014, 44, 128–148. [Google Scholar] [CrossRef]
  51. Cheng, P. On residual velocities in sigma coordinates in narrow tidal channels. Acta Oceanol. Sin. 2020, 39, 1–10. [Google Scholar] [CrossRef]
  52. Schmidt, W.E.; Woodward, B.T.; Millikan, K.S.; Guza, R.T.; Raubenheimer, B.; Elgar, S. A GPS-Tracked Surf Zone Drifter. J. Atmos. Ocean. Technol. 2003, 20, 1069–1075. [Google Scholar] [CrossRef]
  53. MacMahan, J.; Brown, J.; Thornton, E. Low-Cost Handheld Global Positioning System for Measuring Surf-Zone Currents. J. Coast. Res. 2009, 2009, 744–754. [Google Scholar] [CrossRef]
  54. Austin, M.J.; Scott, T.M.; Russell, P.E.; Masselink, G. Rip current prediction: Development, validation, and evaluation of an operational tool. J. Coast. Res. 2013, 29, 283–300. [Google Scholar]
  55. McCarroll, R.J.; Brander, R.W.; Turner, I.L.; Power, H.E.; Mortlock, T.R. Lagrangian observations of circulation on an embayed beach with headland rip currents. Mar. Geol. 2014, 355, 173–188. [Google Scholar] [CrossRef]
  56. Scott, T.; Austin, M.; Masselink, G.; Russell, P. Dynamics of rip currents associated with groynes — field measurements, modelling and implications for beach safety. Coast. Eng. 2016, 107, 53–69. [Google Scholar] [CrossRef] [Green Version]
  57. Murray, S.P. Trajectories and Speeds of Wind-Driven Currents Wear the Coast. J. Phys. Oceanogr. 1975, 5, 347–360. [Google Scholar] [CrossRef] [Green Version]
  58. Hartley, R.; Zisserman, A. Multiple View Geometry in Computer Vision, 2nd ed.; Cambridge University Press: Cambridge, UK, 2004. [Google Scholar] [CrossRef] [Green Version]
  59. Abdel-Aziz, Y.; Karara, H. Direct linear transformation from comparator co-ordinates into object space co-ordinates. In Proceedings of the ASP/UI Symposium on Close-Range Photogrammetry, Urbana, IL, USA, 26–29 January 1971. [Google Scholar]
  60. Bergsma, E.; Conley, D.; Davidson, M.; O’Hare, T. Video-based nearshore bathymetry estimation in macro-tidal environments. Mar. Geol. 2016, 374, 31–41. [Google Scholar] [CrossRef] [Green Version]
  61. Holland, K.T.; Holman, R.A.; Lippmann, T.C.; Stanley, J.; Plant, N. Practical use of video imagery in nearshore oceanographic field studies. IEEE J. Ocean. Eng. 1997, 22, 81–92. [Google Scholar] [CrossRef]
  62. Philip, S.; Pang, A. Detecting and Visualizing Rip Current Using Optical Flow; EuroVis: Groningen, The Netherlands, 2016; pp. 19–23. [Google Scholar]
  63. Castelle, B.; Almar, R.; Dorel, M.; Lefebvre, J.P.; Sénéchal, N.; Anthony, E.J.; Laibi, R.; Chuchla, R.; Penhoat, Y.D. Rip currents and circulation on a high-energy low-tide-terraced beach (Grand Popo, Benin, West Africa). J. Coast. Res. 2014, 70, 633–638. [Google Scholar] [CrossRef]
  64. Scott, T.; Castelle, B.; Almar, R.; Senechal, N.; Floc’h, F.; Detandt, G. Controls on flash rip current hazard on low-tide terraced tropical beaches in West Africa. J. Coast. Res. 2018, 81, 92–99. [Google Scholar]
  65. Bouvier, C.; Balouin, Y.; Castelle, B.; Holman, R. Modelling camera viewing angle deviation to improve nearshore video monitoring. Coast. Eng. 2019, 147, 99–106. [Google Scholar] [CrossRef]
Figure 1. (a) Study site of PCA beach, southwestern France. The green star indicates the location of the fixed camera system installed at the top of Biarritz lighthouse near the tip of the headland. (b) Example of a snapshot (oblique image) captured by the video monitoring system. The orange and purple polygons show the image-domains used for optical flow implementation. The orange domain corresponds to the drifter experiment area and the purple domain to the ADCP (purple dot) continuous recording within the submerged reef.
Figure 1. (a) Study site of PCA beach, southwestern France. The green star indicates the location of the fixed camera system installed at the top of Biarritz lighthouse near the tip of the headland. (b) Example of a snapshot (oblique image) captured by the video monitoring system. The orange and purple polygons show the image-domains used for optical flow implementation. The orange domain corresponds to the drifter experiment area and the purple domain to the ADCP (purple dot) continuous recording within the submerged reef.
Remotesensing 13 01874 g001
Figure 2. Field conditions during the 1-week (8–15 October 2018) continuous ADCP recording. Offshore (a) significant wave height ( H s ), (b) peak wave period ( T p ) and (c) peak wave angle of incidence relative to the shore normal ( θ p ; green dots) and its 12 h-averaged values (purple line). (d) Wind direction; wind incidence relative to the shore normal (green dots). The red line shows the north direction with respect to the shore normal (60°). (e) Longshore (purple line) and cross-shore (orange line) wind speed components. (f) ADCP 5-min time-averaged surface longshore (purple line) and cross-shore (orange line) velocity components. Positive cross-shore (longshore) surface velocities values correspond to an offshore-directed (directed away from the headland) current (see Figure 1). The latter convention is the same for the wind speed components. The gray filled area represents the water depth time series at the ADCP location and the red line shows the temporal evolution of wave breaking water depth ( h b r ) defined as h b r = H s / 0.5 . Non-shaded regions indicate video recording during daylight hours (blue shaded regions corresponds to nightlight hours). Field conditions during the drifter experiment are shown in Table 1, as drifters were deployed on 18, 19, 22 and 23 October 2018 outside of the 1-week ADCP recording period.
Figure 2. Field conditions during the 1-week (8–15 October 2018) continuous ADCP recording. Offshore (a) significant wave height ( H s ), (b) peak wave period ( T p ) and (c) peak wave angle of incidence relative to the shore normal ( θ p ; green dots) and its 12 h-averaged values (purple line). (d) Wind direction; wind incidence relative to the shore normal (green dots). The red line shows the north direction with respect to the shore normal (60°). (e) Longshore (purple line) and cross-shore (orange line) wind speed components. (f) ADCP 5-min time-averaged surface longshore (purple line) and cross-shore (orange line) velocity components. Positive cross-shore (longshore) surface velocities values correspond to an offshore-directed (directed away from the headland) current (see Figure 1). The latter convention is the same for the wind speed components. The gray filled area represents the water depth time series at the ADCP location and the red line shows the temporal evolution of wave breaking water depth ( h b r ) defined as h b r = H s / 0.5 . Non-shaded regions indicate video recording during daylight hours (blue shaded regions corresponds to nightlight hours). Field conditions during the drifter experiment are shown in Table 1, as drifters were deployed on 18, 19, 22 and 23 October 2018 outside of the 1-week ADCP recording period.
Remotesensing 13 01874 g002
Figure 3. Sketch showing the ADCP velocity measuring positions throughout the water column in terms of vertical cells ( z c e l l ) and σ layers. The red line ( h S N L ) represents the reconstructed water depth time evolution. δ s indicates the pressure sensor height (green line) with respect to the bottom. The velocity profile is measured after a blanking distance ( δ b ; black line) from the instrument. The measurements are assigned to the middle of each cell ( δ c = cell size) delimited by the orange dashed lines. The blue lines represent the user-defined σ layers normalized by the distance between the first cell and the water surface. σ layers are designed to follow the irregular shape of the water surface at different elevations of the water column. Velocities measurements at these positions are obtained by interpolating the vertical cells’ velocity profile.
Figure 3. Sketch showing the ADCP velocity measuring positions throughout the water column in terms of vertical cells ( z c e l l ) and σ layers. The red line ( h S N L ) represents the reconstructed water depth time evolution. δ s indicates the pressure sensor height (green line) with respect to the bottom. The velocity profile is measured after a blanking distance ( δ b ; black line) from the instrument. The measurements are assigned to the middle of each cell ( δ c = cell size) delimited by the orange dashed lines. The blue lines represent the user-defined σ layers normalized by the distance between the first cell and the water surface. σ layers are designed to follow the irregular shape of the water surface at different elevations of the water column. Velocities measurements at these positions are obtained by interpolating the vertical cells’ velocity profile.
Remotesensing 13 01874 g003
Figure 4. Surface gravity waves removal from images. (a) Raw rectified image sequence containing visible waves; (b) rectified image sequence after wave-filtering. (c) Pixel intensity power spectral density (PSD) computed at the image location of the ADCP (purple and orange dot). The PSD is computed from the raw image time series (purple line) and the low-pass filtered image sequence (orange dashed line). The black dashed line corresponds to the cutoff frequency (1/20 Hz) of the low-pass filter previously applied to the raw image sequence.
Figure 4. Surface gravity waves removal from images. (a) Raw rectified image sequence containing visible waves; (b) rectified image sequence after wave-filtering. (c) Pixel intensity power spectral density (PSD) computed at the image location of the ADCP (purple and orange dot). The PSD is computed from the raw image time series (purple line) and the low-pass filtered image sequence (orange dashed line). The black dashed line corresponds to the cutoff frequency (1/20 Hz) of the low-pass filter previously applied to the raw image sequence.
Remotesensing 13 01874 g004
Figure 5. Five minute time-averaged (a) longshore and (b) cross-shore surface velocity components time series from 8 to 15 October 2018. ADCP surface velocity measurements (average between σ 19 , σ 20 and σ 21 ) are displayed with a purple line. Optical flow velocity estimates computed from low-pass filtered images with f c = 1 / 20 Hz and f c = 1 / 60 Hz are shown with an orange and a green line, respectively. Positive cross-shore (longshore) surface velocities values correspond to an offshore-directed (directed away from the headland) current. Non-shaded (blue shaded) regions indicate the time when the ADCP is located inside (outside) the surf zone. For better visualization, surface velocities are concatenated in time to avoid gaps during nightlight hours.
Figure 5. Five minute time-averaged (a) longshore and (b) cross-shore surface velocity components time series from 8 to 15 October 2018. ADCP surface velocity measurements (average between σ 19 , σ 20 and σ 21 ) are displayed with a purple line. Optical flow velocity estimates computed from low-pass filtered images with f c = 1 / 20 Hz and f c = 1 / 60 Hz are shown with an orange and a green line, respectively. Positive cross-shore (longshore) surface velocities values correspond to an offshore-directed (directed away from the headland) current. Non-shaded (blue shaded) regions indicate the time when the ADCP is located inside (outside) the surf zone. For better visualization, surface velocities are concatenated in time to avoid gaps during nightlight hours.
Remotesensing 13 01874 g005
Figure 6. Five minute time-averaged ADCP vs. optical flow surface velocity components from 8 to 15 October 2018 under different wave height conditions during low tide when the ADCP is located inside the surf zone. ADCP surface velocity measurements (average between σ 19 , σ 20 and σ 21 ) are compared against optical flow velocity estimates computed from low-pass filtered images with (a,b) f c = 1 / 20 Hz and (c,d) f c = 1 / 60 Hz. The colors denote the velocities associated with different ranges of offshore significant wave height H s . The red line indicates the linear regression and the black line the 1:1 perfect match. Positive cross-shore (longshore) surface velocities values correspond to an offshore-directed (directed away from the headland) current.
Figure 6. Five minute time-averaged ADCP vs. optical flow surface velocity components from 8 to 15 October 2018 under different wave height conditions during low tide when the ADCP is located inside the surf zone. ADCP surface velocity measurements (average between σ 19 , σ 20 and σ 21 ) are compared against optical flow velocity estimates computed from low-pass filtered images with (a,b) f c = 1 / 20 Hz and (c,d) f c = 1 / 60 Hz. The colors denote the velocities associated with different ranges of offshore significant wave height H s . The red line indicates the linear regression and the black line the 1:1 perfect match. Positive cross-shore (longshore) surface velocities values correspond to an offshore-directed (directed away from the headland) current.
Remotesensing 13 01874 g006
Figure 7. Statistical parameters showing the agreement between ADCP vs. optical flow velocity components by changing the temporal moving-average window size. Data set from 8 to 15 October 2018 using low-pass filtered images with f c = 1 / 20 Hz (orange line) and f c = 1 / 60 Hz (green line) for optical flow input. Optical flow velocities are compared against ADCP surface velocities (average between σ 19 , σ 20 and σ 21 ; line with circles) and depth-averaged velocity measurements (average of all σ -layers; line with triangles). (a,b) Coefficient of determination ( r 2 ), (c,d) root mean square error (RMSE) and (e,f) linear regression slope for longshore and cross-shore velocity components. The black dots correspond to the 5-min time-averaging window used in previous figures.
Figure 7. Statistical parameters showing the agreement between ADCP vs. optical flow velocity components by changing the temporal moving-average window size. Data set from 8 to 15 October 2018 using low-pass filtered images with f c = 1 / 20 Hz (orange line) and f c = 1 / 60 Hz (green line) for optical flow input. Optical flow velocities are compared against ADCP surface velocities (average between σ 19 , σ 20 and σ 21 ; line with circles) and depth-averaged velocity measurements (average of all σ -layers; line with triangles). (a,b) Coefficient of determination ( r 2 ), (c,d) root mean square error (RMSE) and (e,f) linear regression slope for longshore and cross-shore velocity components. The black dots correspond to the 5-min time-averaging window used in previous figures.
Remotesensing 13 01874 g007
Figure 8. Surface velocity components power spectral density (PSD) and squared coherence computed from the 1-week time series (8 to 15 October 2018) during low tide when the ADCP is located inside the surf zone. (a) Longshore and (b) cross-shore surface velocity auto-spectra. Squared coherence computed between ADCP and optical flow (c) longshore and (d) cross-shore surface velocity components along with the 95% confidence bar (red dashed lines). The purple lines indicate the PSDs computed from 1-Hz ADCP surface velocity measurements (average between σ 19 , σ 20 and σ 21 ). The orange and green lines show the PSDs generated from optical flow instantaneous (1 Hz) velocity estimates computed from low-pass filtered images with f c = 1 / 20 Hz and f c = 1 / 60 Hz, respectively. Frequencies equal to 1/20 and 1/60 Hz are shown with black dashed lines.
Figure 8. Surface velocity components power spectral density (PSD) and squared coherence computed from the 1-week time series (8 to 15 October 2018) during low tide when the ADCP is located inside the surf zone. (a) Longshore and (b) cross-shore surface velocity auto-spectra. Squared coherence computed between ADCP and optical flow (c) longshore and (d) cross-shore surface velocity components along with the 95% confidence bar (red dashed lines). The purple lines indicate the PSDs computed from 1-Hz ADCP surface velocity measurements (average between σ 19 , σ 20 and σ 21 ). The orange and green lines show the PSDs generated from optical flow instantaneous (1 Hz) velocity estimates computed from low-pass filtered images with f c = 1 / 20 Hz and f c = 1 / 60 Hz, respectively. Frequencies equal to 1/20 and 1/60 Hz are shown with black dashed lines.
Remotesensing 13 01874 g008
Figure 9. Drifter trajectories (left panel) and optical flow image-derived velocity stream plots (right panel) corresponding to (a,b) 18, (c,d) 19, (e,f) 22 and (gj) 23 October 2018. (g,h) Neap low tide and (i,j) rising low tide on 23 October 2018. For each event, the pixel intensity standard deviation image is overlaid to highlight wave breaking spatial variability and foam availability. The blue points indicate the location of drifter seeding. The headland is located within the white masked image region between 0 and 150 m in the alongshore distance.
Figure 9. Drifter trajectories (left panel) and optical flow image-derived velocity stream plots (right panel) corresponding to (a,b) 18, (c,d) 19, (e,f) 22 and (gj) 23 October 2018. (g,h) Neap low tide and (i,j) rising low tide on 23 October 2018. For each event, the pixel intensity standard deviation image is overlaid to highlight wave breaking spatial variability and foam availability. The blue points indicate the location of drifter seeding. The headland is located within the white masked image region between 0 and 150 m in the alongshore distance.
Remotesensing 13 01874 g009
Figure 10. ADCP 2-h burst-averaged σ -velocity profiles under different offshore incident wave obliquity at low tide. (a) Deflection configuration (8 October 2018-08–10:00:00 GMT), (b) shore-normal configuration (11 October 2018-11–13:00:00 GMT) and (c) shadowed configuration (15 October 2018-12–14:00:00 GMT). Longshore ( U > 0 ; current directed away from the headland) and cross-shore ( V > 0 ; offshore-directed current) velocity components are shown in purple and orange colors, respectively.
Figure 10. ADCP 2-h burst-averaged σ -velocity profiles under different offshore incident wave obliquity at low tide. (a) Deflection configuration (8 October 2018-08–10:00:00 GMT), (b) shore-normal configuration (11 October 2018-11–13:00:00 GMT) and (c) shadowed configuration (15 October 2018-12–14:00:00 GMT). Longshore ( U > 0 ; current directed away from the headland) and cross-shore ( V > 0 ; offshore-directed current) velocity components are shown in purple and orange colors, respectively.
Remotesensing 13 01874 g010
Figure 11. Influence of wave breaking on optical flow velocity estimates. Example of filtered breaking waves captured at instant (a) 8 October 2018-09:09:20 GMT and (b) 7 s after. (c,d) The same instants are shown for the image-region associated with the ADCP location depicted with blue color. Instantaneous OF ( f c = 1 / 20 Hz) velocity arrows are displayed every 10 m for better visualization. The blue and green arrows correspond to 20-s time-averaged ADCP surface and depth-averaged velocities, respectively. Optical flow and ADCP arrows are scaled the same. The thick red arrow represents the optical flow-derived dominant circulation for each instant. The green dashed line polygon illustrates an example of the creation of a foam blob advancing toward the shore induced by wave breaking.
Figure 11. Influence of wave breaking on optical flow velocity estimates. Example of filtered breaking waves captured at instant (a) 8 October 2018-09:09:20 GMT and (b) 7 s after. (c,d) The same instants are shown for the image-region associated with the ADCP location depicted with blue color. Instantaneous OF ( f c = 1 / 20 Hz) velocity arrows are displayed every 10 m for better visualization. The blue and green arrows correspond to 20-s time-averaged ADCP surface and depth-averaged velocities, respectively. Optical flow and ADCP arrows are scaled the same. The thick red arrow represents the optical flow-derived dominant circulation for each instant. The green dashed line polygon illustrates an example of the creation of a foam blob advancing toward the shore induced by wave breaking.
Remotesensing 13 01874 g011
Table 1. Field conditions during the four days of drifter deployments. Offshore peak wave angle of incidence ( θ p ) and wind direction incidence are relative to the shore normal.
Table 1. Field conditions during the four days of drifter deployments. Offshore peak wave angle of incidence ( θ p ) and wind direction incidence are relative to the shore normal.
18 October 201819 October 201822 October 201823 October 2018
Time [GMT]11:52 to 13:5707:26 to 10:2807:42 to 10:3408:02 to 08:3508:36 to 11:38
ConfigurationShore-normalShadowedShore-normalDeflectionDeflection
Drifter Deployments162846530
H s [m]1.91.611.71.6
T p [s]1413111311
θ p [°]0−5048
Wind Speed [m/s]2.41.13.60.61.7
Wind Direction [°]10−5030−180140
Tide StageEbbFloodFloodEbbFlood
Water Level Range [m]0.66 to 0.08−0.42 to 0.58−1.49 to −0.46−1.70 to −1.74−1.75 to −0.13
Table 2. Five minute time-averaged ADCP vs. optical flow surface velocity components from 8 to 15 October 2018 under different ranges of offshore significant wave height H s during low tide when the ADCP is located inside the surf zone. Optical flow velocities are computed from low-pass filtered images with f c = 1 / 20 Hz.
Table 2. Five minute time-averaged ADCP vs. optical flow surface velocity components from 8 to 15 October 2018 under different ranges of offshore significant wave height H s during low tide when the ADCP is located inside the surf zone. Optical flow velocities are computed from low-pass filtered images with f c = 1 / 20 Hz.
ADCP vs. OF ( f c = 1 / 20 Hz) r 2 RMSE [m/s]Bias [m/s]Slope# Points (%)
thVelocity ComponentthLong.thCross.thLong.thCross.thLong.thCross.thLong.thCross.thLong.thCross.
H s < 0 . 5 m--------0 (0%)
0 . 5 H s < 1 m0.020.490.140.270.06−0.260.451.523482 (3%)
1 H s < 1 . 5 m0.310.690.120.19−0.01−0.160.691.3826,879 (20%)
1 . 5 H s < 2 m0.630.740.160.17−0.13−0.131.161.3560,416 (44%)
2 H s < 2 . 5 m0.670.680.160.24−0.13−0.201.281.2425,920 (19%)
2 . 5 H s < 3 m0.410.130.080.23−0.01−0.211.020.3312,658 (9%)
H s 3 m0.690.590.070.27−0.03−0.271.290.597338 (5%)
H s 0 m0.500.700.150.21−0.09−0.171.001.13136,693 (100%)
Table 3. Five minute time-averaged ADCP vs. optical flow surface velocity components from 8 to 15 October 2018 under different ranges of offshore significant wave height H s during low tide when the ADCP is located inside the surf zone. Optical flow velocities are computed from low-pass filtered images with f c = 1 / 60 Hz.
Table 3. Five minute time-averaged ADCP vs. optical flow surface velocity components from 8 to 15 October 2018 under different ranges of offshore significant wave height H s during low tide when the ADCP is located inside the surf zone. Optical flow velocities are computed from low-pass filtered images with f c = 1 / 60 Hz.
ADCP vs. OF ( f c = 1 / 60 Hz) r 2 RMSE [m/s]Bias [m/s]Slope# Points (%)
Velocity ComponentLong.Cross.Long.Cross.Long.Cross.Long.Cross.Long.Cross.
H s < 0 . 5 m --------0 (0%)
0 . 5 H s < 1 m0.070.380.180.270.13−0.261.151.723482 (3%)
1 H s < 1 . 5 m0.350.440.150.200.09−0.121.372.9326,879 (20%)
1 . 5 H s < 2 m0.450.480.130.18−0.0201.732.3560,416 (44%)
2 H s < 2 . 5 m0.520.610.140.24−0.05−0.162.002.3325,920 (19%)
2 . 5 H s < 3 m0.060.010.100.110.030.080.720.2012,658 (9%)
H s 3 m0.580.020.080.07−0.010.022.170.217338 (5%)
H s 0 m0.470.520.130.190.01−0.051.822.45136,693 (100%)
Table 4. Comparison of optical flow-based techniques previously reported in the literature for estimating nearshore surface currents under different field conditions at different sites.   
Table 4. Comparison of optical flow-based techniques previously reported in the literature for estimating nearshore surface currents under different field conditions at different sites.   
Optical Flow-Based MethodsDérian and Almar (2017) [21]Anderson et al. (2021) [22]Present Study
TyphoonOpenCVOpenOpticalFlow
f s [Hz]221
Image filtering approachHigh-pass median filterMoving-averageLow-pass filter
Study siteGrand Popo Beach, BeninDuck, USAPCA Beach, France
H s range [m]1.2–1.60.9–1.60.8–3.3
T p range [s]10–128–127–15
Water level range [m]0.3 to 1.2−0.14 to 0.901.5 to 5.9
Wind speed range [m/s]-3.3–7.40–12
In situ validationADVDriftersADCP
Nearshore regionSwash/Surf zoneSurf zoneSurf zone
Velocity componentLongshoreCross-shoreLongshoreCross-shoreLongshoreCross-shore
Number of points81308130>90>90136,992136,992
r 2 range0.13–0.290.05–0.58--0.35–0.510.51–0.80
RMSE range [m/s]0.22–0.650.12–0.580.150.130.12–0.170.19–0.24
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Rodríguez-Padilla, I.; Castelle, B.; Marieu, V.; Bonneton, P.; Mouragues, A.; Martins, K.; Morichon, D. Wave-Filtered Surf Zone Circulation under High-Energy Waves Derived from Video-Based Optical Systems. Remote Sens. 2021, 13, 1874. https://doi.org/10.3390/rs13101874

AMA Style

Rodríguez-Padilla I, Castelle B, Marieu V, Bonneton P, Mouragues A, Martins K, Morichon D. Wave-Filtered Surf Zone Circulation under High-Energy Waves Derived from Video-Based Optical Systems. Remote Sensing. 2021; 13(10):1874. https://doi.org/10.3390/rs13101874

Chicago/Turabian Style

Rodríguez-Padilla, Isaac, Bruno Castelle, Vincent Marieu, Philippe Bonneton, Arthur Mouragues, Kevin Martins, and Denis Morichon. 2021. "Wave-Filtered Surf Zone Circulation under High-Energy Waves Derived from Video-Based Optical Systems" Remote Sensing 13, no. 10: 1874. https://doi.org/10.3390/rs13101874

APA Style

Rodríguez-Padilla, I., Castelle, B., Marieu, V., Bonneton, P., Mouragues, A., Martins, K., & Morichon, D. (2021). Wave-Filtered Surf Zone Circulation under High-Energy Waves Derived from Video-Based Optical Systems. Remote Sensing, 13(10), 1874. https://doi.org/10.3390/rs13101874

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop