stereo.algorithm.cell_pose.Cellpose.__init__#

Cellpose.__init__(img_path, out_path, photo_size=2048, photo_step=2000, model_type='cyto2', dmin=10, dmax=40, step=10, gpu=False)#
Parameters:
  • img_path (str) – input file path.

  • out_path (str) – file save path.

  • photo_size (Optional[int]) – input image size, the value of the microscope fov image setting, default is 2048.

  • photo_step (Optional[int]) – the step size of each image processing, default is 2000

  • model_type (Optional[str]) –

    the type of model to cellpost, default is ‘cyto2’, available values include:

    ’cyto’: cytoplasm model.
    ’nuclei’: nucleus model.
    ’cyto2’: default and recommended model, optimized on the basis of the cyto model.

  • dmin (Optional[int]) – cell minimum diameter, default is 10.

  • dmax (Optional[int]) – cell diameter, default is 40.

  • step (Optional[int]) – the step size of cell diameter search, default is 10.

  • gpu (Optional[bool]) – Whether to use gpu acceleration, the default is False.