These short MATLAB functions were written to assist pre-processing of video data prior to surface velocimetry analysis and post-processing of data output from various surface velocimetry codes.
The code is explained the the Selkie Project guidance document 'GUIDELINES FOR USING DRONES TO MAP SURFACE CURRENTS'
Scientific background to the code and approach can be found in:
Fairley, I., et al., A preliminary assessment of the use of drones to quantify current velocities at tidal stream sites, in European Wave and Tidal Energy Conference 2021. 2021: Plymouth. ( https://www.researchgate.net/publication/354386418_A_preliminary_assessment_of_the_use_of_drones_to_quantify_current_velocities_at_tidal_stream_sites )
Fairley, I., et al., Drone-based large-scale particle image velocimetry applied to tidal stream energy resource assessment. Renewable Energy, 2022. 196: p. 839-855. DOI: https://doi.org/10.1016/j.renene.2022.07.030
McIlvenny, J., et al., Comparison of dense optical flow and PIV techniques for mapping surface current flow in tidal stream energy sites. International Journal of Energy and Environmental Engineering, 2022. DOI: https://doi.org/10.1007/s40095-022-00519-z
Fairley et al. A comparison between surface velocimetry techniques for drone-based marine current characterization. In Prep.