$$\rightleftharpoonup{xx}$$
$$\longleftharp{xx}$$,
$$\longrightharp{xx}$$,
Coral reefs are one of the most biodiverse and economically important ecosystems globally and face unprecedented challenges from climate change, disease, overfishing, and other stressors1,2,3. The monitoring of coral reef ecosystems is uniquely difficult due to their often-remote locations and inherent difficulties with underwater research; therefore, reefs have historically been understudied4. Monitoring coral reefs effectively at multiple spatial scales ranging from microbial5 to archipelago6 and global7 is essential to understanding their decline, as well as planning, tracking, and evaluating intervention efforts8. A tool that has become popular for monitoring the condition of coral reef benthos at the scale of tens to hundreds of square meters is photomosaic imaging, a term referring to high-resolution maps consisting of stitched-together overlapping underwater photographs9. These mosaics allow researchers to image an area of reef that is larger than can be captured in a single photograph, hence the term large-area imaging (LAI)10. The mosaics can later be analyzed to extract relevant ecological information, such as coral cover percentage, colony size, species distribution, and benthic composition11. Advances in computing and the availability of off-the-shelf software now allow this process to be completed using structure-from-motion (SfM) photogrammetry. SfM involves analyzing photos for matching points that are used to reconstruct the three-dimensional orientation of the photos and tie-points, enabling the creation of an accurate virtual reef replica12,13,14. SfM/LAI surveys have become commonplace within coral reef research, allowing for novel insights into coral community ecology10, habitat complexity15,16, coral community responses to bleaching events17,18, hurricanes19, and coral restoration20.
Several approaches for using LAI for coral reef monitoring have been developed21,22,23,24, resulting in a diverse array of choices available to practitioners seeking to leverage the technology. However, the effective use of LAI in coral reef research is complex and demands a substantial learning effort. Proficiency in SCUBA diving, underwater navigation, underwater photography, software utilization, data curation, and management are essential. Additionally, expertise in ecology is fundamental to effectively analyzing and interpreting data products. Existing workflows tend to focus primarily on image acquisition without providing sufficient guidance for time-series protocols, metadata collection (e.g., scaling, depth, and location), or post-field trip data processing: all steps that are essential for accurate and repeatable data collection. Costs associated with LAI workflows also tend to be high, utilizing expensive camera systems and computer setups. There remains a strong need among researchers for a comprehensive, straightforward, and efficient methodology, resulting in data of sufficient quality to answer a wide range of current and future research questions. We address this by developing a robust and efficient approach for underwater LAI that reduces processing effort and complexity and minimizes costs while improving the quality of data. Our new approach allows for rapid acquisition, automated processing, and time-series alignment of imagery to provide high-quality data products for coral reef ecological study and analysis. The total startup cost of implementing this approach is about $5,000 - $8,000 USD (including camera system, materials, dedicated computer, and software), depending on whether the user can access educational pricing for photogrammetry software. Through the application of our methods, we aim to assist coral reef researchers in optimizing their data collection and processing endeavors, enabling more efficient workflows that facilitate rapid extraction and analysis of critically important coral reef ecological data.
The method described here, which we name "ReefShape," has three main novel contributions: (1) the use of semi-permanent ground control markers fixed to the substrate to enable automatic georeferencing and time-series alignment of datasets, (2) the use of a custom app-based survey to facilitate location data collection and formatting, and (3) the implementation of a comprehensive scripted process built to fully automate the photogrammetry pipeline, dramatically reducing the human labor during the processing phase that is relied on in other LAI protocols20,21,22,23. Like these other LAI protocols, ReefShape relies on the use of Agisoft Metashape25 (hereafter termed "the photogrammetry program") for photogrammetric processing and additionally utilizes the free ESRI Survey12326smartphone application (hereafter termed "the survey app") for location data collection. This protocol is designed to be simple yet robust, not requiring multi-camera systems24 or complex geodetic surveys13 while still meeting the goal of delivering high-quality data, defined as completed 3D models, photomosaics, and digital elevation models with accurate geometry, scale, and position; sufficient resolution and sharpness to visually identify benthic organisms at the species or genus level; no major data gaps or holes; accurate color; and in the case of time-series data, proper alignment between time points. The specific approach described here provides a framework for collecting and processing data to meet these goals.
Driven by advances in machine learning, we anticipate that new analysis tools will be developed for faster, more accurate extraction of ecological data from photomosaics. Therefore, we focus our efforts on the collection of high-quality underwater imagery and the automation of the photogrammetry pipeline, leaving specific analyses largely up to users of this protocol based on their own diverse sets of needs. This scripted process, aimed to be broadly applicable to the coral reef research community, includes options to export data products formatted as GeoTIFFs of varying specifications tailored for common GIS software and TagLab, a purpose-built application for rapid annotation of coral reef orthomosaics27.
Protocol overview
The ReefShape method is broken down into two main phases: in situ data collection and data processing on a computer. The method is functional for plot sizes from ~25 m2 up to >1000 m2, ranging in depth from ~1 m to 30 m. It has been demonstrated that plots of 300-400 m2 are ideal to effectively capture the coral diversity on Caribbean reefs28. However, it was found that plots larger than ~100 m2 can be difficult for novice surveyors to navigate. Therefore, a plot size of 10 m x 10 m is described in the protocol as a starting point, but we do not intend to constrain users with this suggestion. Rather, it is suggested that users choose their plot size based on their own experience and research needs. The process for data collection remains effectively the same for any plot size chosen.
When a plot is first established, the surveyor begins by permanently fixing four unique marker tags featuring coded photogrammetry targets (Figure 1D) to the substrate at each corner (Figure 2), using a dive computer to measure the depth of each marker. Coded scale bars (Figure 1E) are temporarily placed within the plot, and substrate-facing photos are collected by the diver with a single mirrorless camera and wide-angle rectilinear lens positioned 1.5 m - 2 m above the reef, swimming in a double-crossed "lawnmower" pattern, similar to other established protocols11,21,24,. The entire process (including first-time setup and photography) can typically be completed in a single dive, though multiple dives may be required for deeper or larger plots. After photography, the surveyor uses a Bluetooth GPS unit mounted to a floatation device (Figure 1C) and a smartphone to collect GPS points at the surface above each corner marker using a custom form within the survey app, which then emails the reference data to the user in a pre-formatted spreadsheet. At subsequent plot surveys, the surveyor does not collect reference data or install markers and needs only to locate and clean the existing corner markers and collect photos, streamlining the process for time-series data collection.
For data processing, a set of custom Python scripts was developed that interface with the photogrammetry program to automate the pipeline (Figure 3), normally a process that requires human intervention at several points. The main processing steps of the automated pipeline include creating a tie-point cloud and estimating camera positions, building a 3D mesh model of the reef, building a 2.5D digital elevation model (DEM), building a 2D orthorectified photomosaic, and defining a region of interest (ROI) bounded by the four corner markers (Figure 4). In this workflow, the user inputs the photos and reference data in a graphic interface (Supplementary Figure 1) at the onset of processing, rather than needing to proceed through numerous steps before manually adding reference data and generating data products, as is common in other workflows21,22,23,24. For time-series processing, permanent corner markers facilitate the automatic alignment of time points, eliminating the need for manual alignment. The use of a standardized, scripted workflow helps ensure data consistency and saves significant human effort during processing, especially in projects with many time points. A suite of standalone scripts is also included to automate various processing tasks, including calculating a 3D surface area to planar area ratio, an important metric for assessing reef structural complexity19,29.

Figure 1: Key materials required for the data collection portion of this protocol. (A) mirrorless camera with wide-angle rectilinear lens, (B) underwater housing with dome port to fit camera/lens, (C) Bluetooth GPS kickboard device, (D) automatically detectable coded corner markers for permanent plot ground control and georeferencing, and (E) coded scale bars used for setting model size. Please click here to view a larger version of this figure.