crimac/bottomdetection
1.2K
This repository contains code for bottom detection in the CRIMAC project.
The bottom detection works on zarr files created by CRIMAC-preprocessing.
Two directories must be mounted:
/in_dir
- Input directory containing zarr data./out_dir
- Output directory where the annotation file will be written.Options as environment variables:
INPUT_NAME
- Name of the zarr file in in_dir
.OUTPUT_NAME
- Name of the annotation file in out_dir
.
The output format is given by the file name suffix.
.csv
.html
.parquet
.nc
.zarr
ALGORITHM
- Optional. The bottom detection algorithm to use:
constant
- A very fast algorithm for testing and debugging.simple
- A very simple threshold based algorithm.PARAMETER_minimum_range
[m] - The minimum range of the detected bottom.PARAMETER_offset
[m] - Additional offset to the bottom after backstepping.PARAMETER_threshold_log_sv
[dB] - The minimum Sv value for detecting bottom.Example:
docker run -it --name bottomdetection \
-v /home/user/data:/in_dir \
-v /home/user/output:/out_dir \
--env INPUT_NAME=dataset.zarr \
--env OUTPUT_NAME=bottom.parquet \
--env ALGORITHM=simple \
--env PARAMETER_offset=0.5 \
crimac/bottomdetection
docker pull crimac/bottomdetection