medpy.graphcut.wrapper.graphcut_subprocesses#
- medpy.graphcut.wrapper.graphcut_subprocesses(graphcut_function, graphcut_arguments, processes=None)[source]#
- Executes multiple graph cuts in parallel. This can result in a significant speed-up. - Parameters:
- graphcut_functionfunction
- The graph cut to use (e.g. - graphcut_stawiaski).
- graphcut_argumentstuple
- List of arguments to pass to the respective subprocesses resp. the - graphcut_function.
- processesinteger or None
- The number of processes to run simultaneously, if not supplied, will be the same as the number of processors. 
 
- Returns:
- segmentationstuple of ndarray
- The graph-cut segmentation results as list of boolean arraya.