spacr.spacr_cellpose
====================

.. py:module:: spacr.spacr_cellpose




Module Contents
---------------

.. py:function:: parse_cellpose4_output(output)

   General parser for Cellpose eval output.
   Handles:
   - batched format (list of 4 arrays)
   - per-image list of flows
   :returns: masks, flows0, flows1, flows2, flows3


.. py:function:: identify_masks_finetune(settings)

.. py:function:: generate_masks_from_imgs(src, model, model_name, batch_size, diameter, cellprob_threshold, flow_threshold, grayscale, save, normalize, channels, percentiles, invert, plot, resize, target_height, target_width, remove_background, background, Signal_to_noise, verbose)

.. py:function:: check_cellpose_models(settings)

.. py:function:: save_results_and_figure(src, fig, results)

.. py:function:: compare_mask(args)

.. py:function:: compare_cellpose_masks(src, verbose=False, processes=None, save=True)

