@@ -48,23 +48,23 @@ webknossos convert \
4848
4949# Create downsampled magnifications
5050webknossos downsample data/target
51- webknossos downsample --layer_name color data/target
51+ webknossos downsample --layer-name color data/target
5252
5353# Compress data in-place (mostly useful for segmentation)
54- webknossos compress --layer_name segmentation data/target
54+ webknossos compress data/target
5555webknossos compress data/target
5656
5757# Convert Knossos cubes to wkw cubes
58- webknossos convert-knossos --layer_name color data/source/mag1 data/target
58+ webknossos convert-knossos --layer-name color --voxel-size 11.24,11.24,25 data/source/mag1 data/target
5959
6060# Convert NIFTI file to wkw file
61- webknossos convert-nifti --layer-name color --scale 10,10,30 data/source/nifti_file data/target
61+ webknossos convert-nifti --layer-name color --voxel-size 10,10,30 data/source/nifti_file data/target
6262
6363# Convert folder with NIFTI files to wkw files
64- webknossos convert-nifti --color-file one_nifti_file --segmentation_file --scale 10,10,30 another_nifti data/source/ data/target
64+ webknossos convert-nifti --color-file one_nifti_file --segmentation-file another_nifti --voxel-size 10,10,30 data/source/ data/target
6565
6666# Convert RAW file to wkw file
67- webknossos convert-raw --layer-name color --scale 10,10,30 --input -dtype uint8 --shape 2048,2048,1024 data/source/raw_file.raw data/target
67+ webknossos convert-raw --layer-name color --voxel-size 10,10,30 --dtype uint8 --shape 2048,2048,1024 data/source/raw_file.raw data/target
6868
6969
7070```
0 commit comments