Morph Snakes3D¶
Description¶
A Plugin to 3D segment reconstructed data using Morphsnakes module. When initialised with a mask, the active contour propagates to find the minimum of energy (a possible edge countour).
Parameters
in_datasets:
visibility: datasets
dtype: "[list[],list[str]]"
description:
summary: A list of the dataset(s) to process.
verbose: A list of strings, where each string gives the name of a dataset that was either specified by a loader plugin or created as output to a previous plugin. The length of the list is the number of input datasets requested by the plugin. If there is only one dataset and the list is left empty it will default to that dataset.
default: "[]"
out_datasets:
visibility: datasets
dtype: "[list[],list[str]]"
description: The default names
default: "['MASK_MORPH_EVOLVED3D']"
lambda1:
visibility: basic
dtype: int
description: Weight parameter for the outer region, if lambda1 is larger than lambda2, the outer region will contain a larger range of values than the inner region.
default: "1"
lambda2:
visibility: basic
dtype: int
description: Weight parameter for the inner region, if lambda2 is larger than lambda1, the inner region will contain a larger range of values than the outer region.
default: "1"
smoothing:
visibility: intermediate
dtype: int
description: Number of times the smoothing operator is applied per iteration, reasonable values are around 1-4 and larger values lead to smoother segmentations.
default: "1"
iterations:
visibility: basic
dtype: int
description: The number of iterations.
default: "350"
Key
visibility: The visibility level of the parameter
dtype: The type of data
description: A short explanation of the parameter
default: The default value
options: A list of permitted values
dependency: The name of the parameter and value which this parameter depends upon
range: A guide for the range of the parameter
Citations
No citations
API
-
class
MorphSnakes3d
[source] -
nInput_datasets
()[source] The number of datasets required as input to the plugin
- Returns
Number of input datasets
-
nOutput_datasets
()[source] The number of datasets created by the plugin
- Returns
Number of output datasets
-
pre_process
()[source] This method is called immediately after base_pre_process().
-
process_frames
(data)[source] This method is called after the plugin has been created by the pipeline framework and forms the main processing step
- Parameters
data (list(np.array)) – A list of numpy arrays for each input dataset.
-
setup
()[source] This method is first to be called after the plugin has been created. It determines input/output datasets and plugin specific dataset information such as the pattern (e.g. sinogram/projection).
-