stereo.image.tissue_cut.RNATissueCut.__init__#

RNATissueCut.__init__(dst_img_path=None, gef_path=None, gem_path=None, bin_size=1, model_path=None, gpu=-1, num_threads=-1)[source]#

Tissue Segmentation based on raw.gef/raw.gem.

Parameters:
  • dst_img_path (Optional[str]) – the path of directory to save result mask.tif, defaults to save into the directory of regist.tif.

  • gef_path (Optional[str]) – choose one of gef_path and gem_path.

  • gem_path (Optional[str]) – just like gef_path.

  • bin_size (int) – set 1 mean bin1 for high quality, or use bin100 for efficiency.

  • model_path (Optional[str]) – the path of model.

  • gpu (Union[int, str]) – the gpu on which the model will work, -1 means working on cpu.

  • num_threads (int) – the number of threads when model work on cpu, -1 means using all the cores.