Default Pipeline¶
Spotlob comes with a predefined pipeline, which has some standard routines built-in. It consists of the following process steps
SimpleReader
GreyscaleConverter
GaussianPreprocess
OtsuThreshold
orBinaryThreshold
PostprocessNothing
ContourFinderSimple
FeatureFormFilter
CircleAnalysis
orLineAnalysis
The default pipeline can be configured with parameters of returned by the following function
-
spotlob.defaults.
default_pipeline
(mode='circle', thresholding='auto')[source]¶ Gives a pipeline which works for many cases and can be used as a starting point for further tuning or as default for the GUI notebook. By default, features with an area smaller than 500 pixels are ignored.
Parameters: - mode (str, optional) –
this defines the way in which detected features will be evaluated
- as line the linewidth is calculated
- as circle an ellipse is fitted and by default features that touch the edge of the image get ignored (the default is “circle”)
- thresholding (str, optional) –
- auto uses Otsu’s thresholding algorithm
- simple uses a fixed threshold value, 100 by default (the default is “auto”)
Returns: the pipeline including default parameters
Return type: - mode (str, optional) –