Skip to content

About

Code and data processing tutorials to accompany coral densitometry paper

Resources

Stars

0 stars

Watchers

1 watching

Forks

Repository files navigation

Introduction

This repository contains Supporting Material with code, data processing tutorials and links to datasets that accompany the following publication:

**"How to quantify and minimise error in coral skeletal density estimates using X-ray µCT"**

                        Corresponding author: Leonardo Bertini
                    
                e-mail : l.bertini@nhm.ac.uk | l.bertini@bristol.ac.uk

License: CC BY 4.0 Open Access Paper

This project was supported by:

This work was a joint effort across people from the following institutions:

drawing

Below, you'll find a brief description of all the directories in this repository, which might have their own 'README' files with further info.

Instructions for X-ray volume operations using Avizo® covering :

  • How to align replicate X-ray µCT scans

  • How to segment X-ray volumes and shrinkwrap them quickly

  • How to export 16-bit single-binned histogram datasets for large X-ray volumes

  • How to extract volume metrics (e.g., Volume and SurfaceArea)

  • How to create a '.VolMetrics' file containing information from a respective scan

Python code for extracting greyscale values from an X-ray stack of a density phantom disc containing embedded density standard materials (i.e., 'greyscale probing'):

-SemiAutomated_Extraction_Phantom.py: Extraction across the stack by prompting user interaction to mark density standard materials embedded in or attached around a radiology phantom.

  • ExtractStandard.py: Automated extraction of phantom density inserts using computer vision to detect regular circular features across the phantom stack.

Python code for density calibration and mass tests on X-ray µCT volumes that have been previously shrinkwraped (refer to AvizoTutorials) :

  • Phantom_Fittings.py: Fitting different calibration curves to PhantomExtract results and performing mass tests.

  • MassTest_DiagnosticFigures.py: Producing diagnostic figures to visualize different calibration fits and how µCT histogram and phantom density standards overlap.

  • ResultsAggregator.py: A wrapper to aggregate and bind mass test results across the ProjectRoot. This also appends volume and area measurements to resulting dataframes.

Python code for generating figures of X-ray histograms of replicate scans done under varying settings

R code to produce all base figures used in the publication. Statistical analyses therein. Code written in R version 4.2.2. Scripts are named based on the figure they generate and are self-explanatory.

Data used in the paper and figures.

Citation

Please cite this work as:

Bertini L, Hendy E, Summerfield R, Fernandez V, Clark B, Martin-Silverstone E, Lucka F, Kiss MB, 
Johnson K. 2026. How to quantify and minimise error in coral skeletal density estimates 
using X-ray µCT. R. Soc.Open Sci. 13: 251288. https://doi.org/10.1098/rsos.251288

About

Code and data processing tutorials to accompany coral densitometry paper

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Used by

Contributors

Languages