Running the runner.py will yield the following outputs.
[outputdir]/[name].nii
[outputdir]/[name]/
in which you will find the following outputs
Segmentation.nii
(Can be viewed in ITK-SNAP by opening one of the channels as main image and the 'Segmentation.nii' as segmentation)TemplateSlice__InverseWarped.nii.gz
im_c[dapi_index]_template.nii
Detailed parameter description. For example see ../Example/runner_example.sh
Usage
python3 runner.py sliceloc segloc templateloc bregma outputdir
Positional/Required Arguments
sliceloc |
Location of the slice you wish to register (.nii or.nii.gz) |
segloc |
Location of file containing segmentation of the template (.nii or.nii.gz) |
templateloc |
Location of template file (.nii or .nii.gz) |
bregma [coord] |
Bregma coordinate of input slice |
outputdir |
Location for the output of the registration files |
Optional arguments
--dapi [index] |
Index of the DAPI channel in the slice, by default the DAPI channel is assumed to be the last channel |