neuralib.segmentation.stardist
StarDist
Example of run an image segmentation in 2D mode and visualize using napari
python -m neuralib.segmentation.stardist.run_2d -F <IMAGE_FILE> --napari
It produces an output
<IMAGE_FILE>.npzin the same directory, If the output exists, the napari will directly use the output. If need run again and rewrite the output, use--force-evaloption
Example of run batch image segmentation in 2D mode from a directory (.tif files)
python -m neuralib.segmentation.stardist.run_2d -D <DIRECTORY> --suffix .tif
It produces multiple
*.npzin the same directory.
See help using -h option
python -m neuralib.segmentation.stardist.run_2d -h