Image Adaptive Threshold
This function block is designed to apply adaptive thresholding techniques to an image, helping to highlight features based on local pixel intensity, making it an effective tool for binary segmentation in images.
๐ฅ Inputs
Image Any
The input image on which adaptive thresholding will be applied.
๐ค Outputs
Image Gray
The output will be a grayscale image after applying adaptive thresholding.
๐น๏ธ Controls
Threshold Type
A dropdown menu to select the type of adaptive thresholding method to use: either mean or Gaussian.
Threshold
A slider to set the maximum threshold value. This value determines the cutoff for pixel values when resulting in a binary image.
Kernel Size
A slider to adjust the size of the Gaussian kernel used in the adaptive thresholding process. The kernel size should be odd and determines how much local neighborhood of each pixel is taken into account.
๐จ Features
Adaptive Thresholding Methods
Choose between different adaptive threshold methods to find the most suitable one for your image.
Dynamic Adjustments
The slider controls allow for real-time changes to the threshold and kernel size, enabling immediate feedback for better adjustments.
๐ Usage Instructions
Input Image: Connect an image source to the
Image Any
input.Select Threshold Type: Choose the desired adaptive thresholding method from the
Threshold Type
dropdown.Set Threshold Value: Adjust the
Threshold
slider to set the maximum value for pixels.Configure Kernel Size: Use the
Kernel Size
slider to specify the size of the kernel (this will be multiplied by 2 and subtracted by 1 to ensure it is odd).Evaluate: Run the function block to apply adaptive thresholding to the input image.
๐ Evaluation
When executed, this function block applies the selected adaptive thresholding method to the input image, returning a resultant binary image that highlights significant features based on the local pixel intensity.
๐ก Tips and Tricks
๐ ๏ธ Troubleshooting
Last updated
Was this helpful?