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 ofgef_pathandgem_path.gem_path (
Optional[str]) – just likegef_path.bin_size (
int) – set 1 meanbin1for high quality, or usebin100for 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.