Skip to content

CoastCams is an open-source collection of MATLAB scripts to quantify key wave parameters (e.g. significant wave height, peak wave period), mean water levels, and shoreline positions in the nearshore environment.

License

Notifications You must be signed in to change notification settings

manyy/CoastCams

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

76 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CoastCams

CoastCams is an open-source collection of existing MATLAB scripts to quantify key wave parameters (e.g., wave height, wave period), mean water levels, and morphology (e.g., shoreline positions) in the nearshore environment. The repository performs the analysis on oblique orthorectified timestack images from land-based coastal monitoring systems. The proposed approach is a combination of several key parameters that aims to get a better understanding of nearshore processes by leveraging the strength of existing codes. CoastCams provides a unified and simplified method that is accessible for coastal managers, engineers, and scientists with a user-friendly and practical method to monitor and identify key drivers in coastal zone. In this paper, we present the standalone remote video-based method and validate the estimated hydro parameters with sensors deployed in the nearshore on a rocky platform in Socoa, France.

Usage

Overview

CoastCams builds upon the foundation laid by CIRN, while expanding on the capabilities by making the codes accessible to estimate nearshore processes, mean water levels, and morpholigcal changes in a unified and simplified manner that is accessible to a wide range of uers, i.e., from experts to novices. More information can be found in this paper.

The input of CoastCams are georectified timestack images from coastal video cameras. The creation of timestack images and georectification can be achieved with the Quantitative Coastal Imaging Toolbox.

User Inputs

The whole repository can be downloaded and added to your MATLAB path. The only user inputs are required in S01_AnalysisTimestackImages and are dependent are the dimensions and acquisition of your timestack images.

Follow these steps:

  1. Open S01_AnalysisTimestackImages
  2. Add all paths to your MATLAB workspace in section B;
  3. Select the timestack images in section C;
  4. Add your specific parameters for image processing in section D1:
    • dt = Frequency acquisition of the camera e.g., freq = 2 (2 images per second);
    • H_camera = Camera height above MSL im metre;
    • res = Size of each pixel on timestack image in metre;
    • rotation = Waves in the timestack image should come from top-left corner - rotate the timestack image accordingly
  5. Add your specific camera parameters in section D2:
    • dur = duration of the timestack images in minutes
  6. Add your specific parameters for cross-correlation computation:
    • Nlim = width of the timestack images in pixels;
    • dpha = Time lag parameters used for cross-correlation calculations. This should be smaller than the smallest wave period;
    • icmin = Minimum value on the x-axis for pre-processing;
    • icmax = Maximum value on the x-axis for pre-processing;
    • dc = Cross-correlation parameter see Thuan et al., 2019 and Abessolo et al., 2020 - Figure 2 above

Ones these parameters are defined, CoastCams calculates the different outputs automatically.

Contributing and Issues

Having a problem? Post an issue in the Issues Page

If you're willing to contribute:

  1. Fork the repository. A fork is a copy on which you can make your changes.
  2. Create a new branch on your fork
  3. Commit your changes and push them to your branch
  4. When the branch is ready to be merged, create a Pull Request (how to make a clean pull request explained here)

Publication

More information can be found in the following publication:

Nuyts, S., Almar, R., Morichon, D., Dealbera, S., Abalia, A., Muñoz, J. M., Abessolo, G. O., & Regard, V. (2023). CoastCams: A MATLAB toolbox making accessible estimations of nearshore processes, mean water levels, and morphology from timestack images. Environmental Modelling & Software, 168, 105800. https://doi.org/https://doi.org/10.1016/j.envsoft.2023.105800

About

CoastCams is an open-source collection of MATLAB scripts to quantify key wave parameters (e.g. significant wave height, peak wave period), mean water levels, and shoreline positions in the nearshore environment.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages