SANDI is a free, open-source software designed for oceanography and sedimentology initiated at the Royal Belgian Institute of Natural Sciences. It can be used to extract particles from high-resolution underwater images (on a single image or on a batch) and to extract gravels (> 1 mm) from a laboratory image, in order to measure their size and shape and to compute some statistics.
Disclaimer: This software is under development, and it may therefore still contain some errors or malfunctions. In the TODO document, you can see the improvements planned for future versions, but any additional feedback or suggestion is welcome and appreciated, as we hope to make it a collaboratively improving tool.
Homepage of SANDI v0.1.8. Artwork is from Sophie Delhaye.
Check out the full documentation here.
There are three ways to install and use SANDI, we recommend using option 3:
- Users can choose to download the full code and run the ‘main’ file from GitHub. This is the most up-to-date version, but it might still contain several bugs and errors and hasn't been approved for release yet.
- Users can download the executable in the 'tags' section of the repository. This is a self-contained software, the easiest option for users with no experience in coding but is only compatible with Windows systems and is the least frequently updated of the three options. To run it, you then only need to run the exe file and can ignore the rest of this document.
- Users can choose to work with the sandi package referenced in PyPI. This is the easiest and most reliable option, it contains the latest approved updates of the software and can simply be installed with the few following steps (provided that Anaconda or Miniconda is already installed on the user's computer) :
- download the environment_user.yml file
- open the miniconda/anaconda prompt and type the following lines to install the package:
# Navigate to the folder where your .yml file is located
cd directory/of/your/yml-file
# Create the environment
conda env create -f environment_user.yml
- open the miniconda/anaconda prompt and type the following lines to run the package after installation:
# Activate the environment
conda activate sandi_env
# Run the package
python -m sandi
- open the miniconda/anaconda prompt and type the following lines to update the package after installation in order to have the latest available version:
# Activate the environment
conda activate sandi_env
# Check the version of the package that is installed
pip show sandi
# Upgrade if necessary
python -m pip install --upgrade sandi
If you encounter any problem with the installation and/or use of SANDI on your computer, please make an issue on the repository so we can help you resolve it.
For certain types of images, you might experience an issue with the vignette export in the single image processing page if you don't previously apply a resampling on the image. We are aware of this issue and are currently working on resolving it. Know you should be able to export the correct vignettes when applying the resampling.