Threshold image¶
Some of the docstrings for this module have been extracted from the scikit-image library and are covered by their respective licenses.
-
class
node_threshold.
ThresholdImage
[source]¶ Applies a threshold to an image giving a boolean output
Algorithms: -
Applies an adaptive threshold to an array.
Also known as local or dynamic thresholding where the threshold value is the weighted mean for the local neighborhood of a pixel subtracted by a constant.
- threshold method:
Method used for calculating adaptive threshold
- kernel size:
Size of blocks used during threshold check.
Must be an odd number. (default 3)
- offset:
Constant subtracted from weighted mean of neighborhood to calculate the local threshold value. (default 0.0)
- sigma:
Standard deviation of gaussian kernel when method gaussian is used.
-
Performs global thresholding based a selection of automatic algorithms with none or few parameters
- auto threshold method:
Method used for calculating threshold
basic
Compares each channel with a threshold
- threshold:
Threshold value to compare with
Inputs: source : image
source image to filter
Outputs: result : image
result after filtering
-